]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commitdiff
riscv: dts: allwinner: rename devterm i2c-gpio node to comply with binding
authorConor Dooley <conor.dooley@microchip.com>
Tue, 9 Sep 2025 19:58:17 +0000 (20:58 +0100)
committerChen-Yu Tsai <wens@csie.org>
Wed, 10 Sep 2025 12:56:43 +0000 (20:56 +0800)
The i2c controller binding does not permit permit the node name to
contain "gpio", resulting in two warnings:

i2c-gpio-0 (i2c-gpio): $nodename:0: 'i2c-gpio-0' does not match '^i2c(@.+|-[a-z0-9]+)?$'
i2c-gpio-0 (i2c-gpio): Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'adc@54' were unexpected)

Drop it to satisfy dtbs_check.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20250909-frown-wrinkle-f16df243a970@spud
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/riscv/boot/dts/allwinner/sun20i-d1-devterm-v3.14.dts

index bc5c84f227622ee423880fff6bbae6c1a740df79..5f2e5cc3e3d555c65fcf302b3e4c7ab8110ff9b8 100644 (file)
@@ -17,7 +17,7 @@
                #cooling-cells = <2>;
        };
 
-       i2c-gpio-0 {
+       i2c-0 {
                compatible = "i2c-gpio";
                sda-gpios = <&pio 3 14 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PD14/GPIO44 */
                scl-gpios = <&pio 3 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PD15/GPIO45 */