Skip to content

Commit af4d521

Browse files
committed
pinctrl: gpiolib: Add the remaining GPIO chips
The conversion of gpiolib to a proper library omitted some of the 2712 GPIO chips. BCM2712D0 was worst affected, with Pi 500 only showing the main 40-pin header pins. Add the missing drivers to the library_gpiochips array. Signed-off-by: Phil Elwell <[email protected]>
1 parent c57d8c2 commit af4d521

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pinctrl/library_gpiochips.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,25 @@
77
EXTERN_GPIO_CHIP(bcm2835);
88
EXTERN_GPIO_CHIP(bcm2711);
99
EXTERN_GPIO_CHIP(bcm2712);
10+
EXTERN_GPIO_CHIP(bcm2712_aon);
11+
EXTERN_GPIO_CHIP(bcm2712c0);
12+
EXTERN_GPIO_CHIP(bcm2712c0_aon);
13+
EXTERN_GPIO_CHIP(bcm2712d0);
14+
EXTERN_GPIO_CHIP(bcm2712d0_aon);
15+
EXTERN_GPIO_CHIP(brcmstb);
1016
EXTERN_GPIO_CHIP(rp1);
1117

1218
const GPIO_CHIP_T *const library_gpiochips[] =
1319
{
1420
&GPIO_CHIP(bcm2835),
1521
&GPIO_CHIP(bcm2711),
1622
&GPIO_CHIP(bcm2712),
23+
&GPIO_CHIP(bcm2712_aon),
24+
&GPIO_CHIP(bcm2712c0),
25+
&GPIO_CHIP(bcm2712c0_aon),
26+
&GPIO_CHIP(bcm2712d0),
27+
&GPIO_CHIP(bcm2712d0_aon),
28+
&GPIO_CHIP(brcmstb),
1729
&GPIO_CHIP(rp1),
1830
};
1931

0 commit comments

Comments
 (0)