Skip to content

pinctrl-bcm2835 gpio-ranges bugfix

Florian Fainelli linux-arm-kernel linux-devicetree linux-gpio lkml stable 1 version Applied

Status from this message: This is a note to let you know that I've just added the patch titled

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7pinctrl: bcm2835: Drop unused definedrivers/pinctrl/bcm/pinctrl-bcm2835.c+0 -31 reply
2/7pinctrl: bcm2835: Refactor platform datadrivers/pinctrl/bcm/pinctrl-bcm2835.c+44 -131 reply
3/7pinctrl: bcm2835: Add support for all GPIOs on BCM2711drivers/pinctrl/bcm/pinctrl-bcm2835.c+42 -121 reply
4/7pinctrl: bcm2835: Match BCM7211 compatible stringdrivers/pinctrl/bcm/pinctrl-bcm2835.c+4 -01 reply
5/7pinctrl: bcm2835: Add support for wake-up interruptsdrivers/pinctrl/bcm/pinctrl-bcm2835.c+75 -11 reply
6/7pinctrl: bcm2835: Change init order for gpio hogsdrivers/pinctrl/bcm/pinctrl-bcm2835.c+16 -131 reply
7/7ARM: dts: gpio-ranges property is now requiredarch/arm/boot/dts/bcm283x.dtsi+1 -01 reply

Reviews trailers per patch

5 of 7 patches have a Reviewed-by or Acked-by.

PatchNicolas Saenz JulienneFlorian FainelliLinus Walleij
1/7R-b R-b
2/7R-b R-b
3/7R-b R-b
4/7
5/7
6/7R-b R-b
7/7A-b A-b A-b A-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

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

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(-)
Signature · 1 line
2.25.1