]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: gpio-mmio: Correct opencores GPIO
authorStafford Horne <shorne@gmail.com>
Thu, 15 Jan 2026 15:09:57 +0000 (15:09 +0000)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Thu, 15 Jan 2026 15:39:16 +0000 (16:39 +0100)
commitb2b8d247ad8ee1abe860598cae70e2dbe8a09128
treea449573bb17be891d20ba470824208d9eae1007d
parent6acd0e82ca8303b5c09ef7870bd40dbfd8dd53d3
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>
Documentation/devicetree/bindings/gpio/gpio-mmio.yaml