Skip to content

Commit 14ea5a3

Browse files
AaronDotchenhuacai
authored andcommitted
LoongArch: dts: loongson-2k1000: Fix i2c-gpio node names
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>
1 parent e65df3f commit 14ea5a3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/loongarch/boot/dts/loongson-2k1000.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
};
4747

4848
/* i2c of the dvi eeprom edid */
49-
i2c-gpio-0 {
49+
i2c-0 {
5050
compatible = "i2c-gpio";
5151
scl-gpios = <&gpio0 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
5252
sda-gpios = <&gpio0 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
@@ -57,7 +57,7 @@
5757
};
5858

5959
/* i2c of the eeprom edid */
60-
i2c-gpio-1 {
60+
i2c-1 {
6161
compatible = "i2c-gpio";
6262
scl-gpios = <&gpio0 33 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
6363
sda-gpios = <&gpio0 32 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;

0 commit comments

Comments
 (0)