Skip to content

Commit b2b8d24

Browse files
stffrdhrnBartosz Golaszewski
authored andcommitted
dt-bindings: gpio-mmio: Correct opencores GPIO
In commit f48b5e8 ("dt-bindings: gpio-mmio: Add compatible string for opencores,gpio") we marked opencores,gpio to be allowed with brcm,bcm6345-gpio. This was wrong, opencores,gpio is not compatible with brcm,bcm6345-gpio. It has a different register map and is 8-bit vs Broadcom which is 32-bit. Change opencores,gpio to be a separate compatible string for MMIO GPIO. Also, as this change rewrote the entire enum, I took this opportunity to alphabetically sort the list. Fixes: f48b5e8 ("dt-bindings: gpio-mmio: Add compatible string for opencores,gpio") Signed-off-by: Stafford Horne <shorne@gmail.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260115151014.3956805-2-shorne@gmail.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
1 parent 6acd0e8 commit b2b8d24

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

Documentation/devicetree/bindings/gpio/gpio-mmio.yaml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,12 @@ description:
1818

1919
properties:
2020
compatible:
21-
oneOf:
22-
- enum:
23-
- brcm,bcm6345-gpio
24-
- ni,169445-nand-gpio
25-
- wd,mbl-gpio # Western Digital MyBook Live memory-mapped GPIO controller
26-
- intel,ixp4xx-expansion-bus-mmio-gpio
27-
- items:
28-
- enum:
29-
- opencores,gpio
30-
- const: brcm,bcm6345-gpio
21+
enum:
22+
- brcm,bcm6345-gpio
23+
- intel,ixp4xx-expansion-bus-mmio-gpio
24+
- ni,169445-nand-gpio
25+
- opencores,gpio
26+
- wd,mbl-gpio # Western Digital MyBook Live memory-mapped GPIO controller
3127

3228
big-endian: true
3329

0 commit comments

Comments
 (0)