Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: gpio-mmio: Correct opencores GPIO

In commit f48b5e8bc2e1 ("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: f48b5e8bc2e1 ("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>

authored by

Stafford Horne and committed by
Bartosz Golaszewski
b2b8d247 6acd0e82

+6 -10
+6 -10
Documentation/devicetree/bindings/gpio/gpio-mmio.yaml
··· 18 18 19 19 properties: 20 20 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 31 27 32 28 big-endian: true 33 29