Skip to contentSkip to conversation

ARM: dts: gemini-dlink-dns-313: rename gpio-i2c to i2c

PATCH In review Corentin Labbe 2 participants 4 messages May 21, 2021 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: dts: gemini-dlink-dns-313: rename gpio-i2c to i2c

This fixes dtcheck warning:
arch/arm/boot/dts/gemini-dlink-dns-313.dt.yaml: gpio-i2c: $nodename:0: 'gpio-i2c' does not match '^i2c(@.*)?'

---
 arch/arm/boot/dts/gemini-dlink-dns-313.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/gemini-dlink-dns-313.dts +1 -1
index 34597f21647b..89de8e5145a8 100644
@@ -82,7 +82,7 @@ fan0: gpio-fan {
 
 
 	/* Global Mixed-Mode Technology G751 mounted on GPIO I2C */
-	gpio-i2c {
+	i2c {
 		compatible = "i2c-gpio";
 		sda-gpios = <&gpio0 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
 		scl-gpios = <&gpio0 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
Signature · 1 line
2.26.3
#1 lore raw

PATCH 2/2 ARM: dts: gemini-dlink-dir-685: rename gpio-i2c to i2c

gemini-dlink-dir-685.dt.yaml: gpio-i2c: $nodename:0: 'gpio-i2c' does not match '^i2c(@.*)?' From schema: /usr/src/linux-next/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml

---
 arch/arm/boot/dts/gemini-dlink-dir-685.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/gemini-dlink-dir-685.dts +1 -1
index 111313af04c2..c79a2a02dd6b 100644
@@ -169,7 +169,7 @@ map0 {
 	 * The touchpad input is connected to a GPIO bit-banged
 	 * I2C bus.
 	 */
-	gpio-i2c {
+	i2c {
 		compatible = "i2c-gpio";
 		/* Collides with ICE */
 		sda-gpios = <&gpio0 5 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
Signature · 1 line
2.26.3
#2 lore raw

Re: [PATCH 2/2] ARM: dts: gemini-dlink-dir-685: rename gpio-i2c to i2c

Quoted 4 lines · Corentin Labbe

gemini-dlink-dir-685.dt.yaml: gpio-i2c: $nodename:0: 'gpio-i2c' does not match '^i2c(@.*)?' From schema: /usr/src/linux-next/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml

Patch applied!

Yours,
Linus Walleij