]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
LoongArch: dts: loongson-2k1000: Fix i2c-gpio node names
authorBinbin Zhou <zhoubinbin@loongson.cn>
Sat, 17 Jan 2026 02:56:53 +0000 (10:56 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Sat, 17 Jan 2026 02:56:53 +0000 (10:56 +0800)
The binding wants the node to be named "i2c-number", but those are named
"i2c-gpio-number" instead.

Thus rename those to i2c-0, i2c-1 to adhere to the binding and suppress
dtbs_check warnings.

Cc: stable@vger.kernel.org
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/boot/dts/loongson-2k1000.dtsi

index 440a8f3c01f4853ee97ce872a71c1c097418b36b..be4f7d119660ee0090bd39a0ea3df159759d78ee 100644 (file)
@@ -46,7 +46,7 @@
        };
 
        /* i2c of the dvi eeprom edid */
-       i2c-gpio-0 {
+       i2c-0 {
                compatible = "i2c-gpio";
                scl-gpios = <&gpio0 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
                sda-gpios = <&gpio0 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
@@ -57,7 +57,7 @@
        };
 
        /* i2c of the eeprom edid */
-       i2c-gpio-1 {
+       i2c-1 {
                compatible = "i2c-gpio";
                scl-gpios = <&gpio0 33 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
                sda-gpios = <&gpio0 32 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;