[PATCH stable 5.4 0/7] pinctrl-bcm2835 gpio-ranges bugfix

Florian Fainelli f.fainelli at gmail.com
Tue Jan 25 11:42:15 PST 2022


Hi all,

This patch series is intended to backport the fix from Phil "pinctrl:
bcm2835: Change init order for gpio hogs" into the 5.4 tree since the
blamed commit:

73345a18d464b ("pinctrl: bcm2835: Pass irqchip when adding gpiochip")

is in 5.4. To get there, I did backport a number of changes in order for
the commit "pinctrl: bcm2835: Change init order for gpio hogs" to apply
cleanly with no hunks.

Those should have no functional impact since we do not have support for
7211 or 2711 in the upstream stable 5.4.

Both the pinctrl *and* the DTS changes must be taken in lockstep
otherwise the GPIO pins are simply not usable unfortunately.

Thanks!

Florian Fainelli (2):
  pinctrl: bcm2835: Match BCM7211 compatible string
  pinctrl: bcm2835: Add support for wake-up interrupts

Phil Elwell (2):
  pinctrl: bcm2835: Change init order for gpio hogs
  ARM: dts: gpio-ranges property is now required

Stefan Wahren (3):
  pinctrl: bcm2835: Drop unused define
  pinctrl: bcm2835: Refactor platform data
  pinctrl: bcm2835: Add support for all GPIOs on BCM2711

 arch/arm/boot/dts/bcm283x.dtsi        |   1 +
 drivers/pinctrl/bcm/pinctrl-bcm2835.c | 209 +++++++++++++++++++++-----
 2 files changed, 175 insertions(+), 35 deletions(-)

-- 
2.25.1




More information about the linux-arm-kernel mailing list