HomeFreeBSD

bcm2835_gpio: Handle BCM2711 pin configuration

Description

bcm2835_gpio: Handle BCM2711 pin configuration

Add support for GPIO internal pull up/down configuration on RPi4 family.

BCM2711 SoC on 4th generation Raspberry Pi changed the way to configure
its GPIO pins' internal pull up/down resistors. NetBSD already have
support for this change, and port it to FreeBSD is trivial.

This patch, based on the NetBSD commit adds the appropriate method for
BCM2711 and now we can properly configure the GPIO pins' pull status.

PR: 256372
Reviewed by: mhorne
Obtained from: NetBSD bb88cfa64ad8
Pull Request: https://github.com/freebsd/freebsd-src/pull/746

Details

Provenance
t_uemura_macome.co.jpAuthored on May 28 2023, 12:56 PM
mhorneCommitted on May 29 2023, 6:47 PM
Parents
rG67c802c948ab: libpcap: Update PACKAGE_VERSION definition to 1.10.4
Branches
Unknown
Tags
Unknown