Re: [PATCH] dt-bindings: Fix SPI and I2C bus node names in examples
On Tue, 28 Feb 2023 15:54:33 -0600, Rob Herring wrote: > SPI and I2C bus node names are expected to be "spi" or "i2c", > respectively, with nothing else, a unit-address, or a '-N' index. A > pattern of 'spi0' or 'i2c0' or similar has crept in. Fix all these > cases. Mostly scripted with the following commands: > > git grep -l '\si2c[0-9] {' Documentation/devicetree/ | xargs sed -i -e > 's/i2c[0-9] {/i2c {/' > git grep -l '\sspi[0-9] {' Documentation/devicetree/ | xargs sed -i -e > 's/spi[0-9] {/spi {/' > > With this, a few errors in examples were exposed and fixed. > > Signed-off-by: Rob Herring > --- > Cc: Miguel Ojeda > Cc: Krzysztof Kozlowski > Cc: Benson Leung > Cc: Guenter Roeck > Cc: Stephen Boyd > Cc: Andrzej Hajda > Cc: Neil Armstrong > Cc: Robert Foss > Cc: Thierry Reding > Cc: Sam Ravnborg > Cc: MyungJoo Ham > Cc: Chanwoo Choi > Cc: Linus Walleij > Cc: Bartosz Golaszewski > Cc: Pavel Machek > Cc: Lee Jones > Cc: Mauro Carvalho Chehab > Cc: "David S. Miller" > Cc: Eric Dumazet > Cc: Jakub Kicinski > Cc: Paolo Abeni > Cc: Wolfgang Grandegger > Cc: Kalle Valo > Cc: Sebastian Reichel > Cc: Mark Brown > Cc: Greg Kroah-Hartman > Cc: linux-...@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org > Cc: linux-g...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: linux-l...@vger.kernel.org > Cc: linux-me...@vger.kernel.org > Cc: net...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: linux-wirel...@vger.kernel.org > Cc: linux...@vger.kernel.org > Cc: alsa-de...@alsa-project.org > Cc: linux-...@vger.kernel.org > --- > .../bindings/auxdisplay/holtek,ht16k33.yaml | 2 +- > .../bindings/chrome/google,cros-ec-typec.yaml | 2 +- > .../chrome/google,cros-kbd-led-backlight.yaml | 2 +- > .../devicetree/bindings/clock/ti,lmk04832.yaml| 2 +- > .../bindings/display/bridge/analogix,anx7625.yaml | 2 +- > .../bindings/display/bridge/anx6345.yaml | 2 +- > .../bindings/display/bridge/lontium,lt8912b.yaml | 2 +- > .../bindings/display/bridge/nxp,ptn3460.yaml | 2 +- > .../bindings/display/bridge/ps8640.yaml | 2 +- > .../bindings/display/bridge/sil,sii9234.yaml | 2 +- > .../bindings/display/bridge/ti,dlpc3433.yaml | 2 +- > .../bindings/display/bridge/toshiba,tc358762.yaml | 2 +- > .../bindings/display/bridge/toshiba,tc358768.yaml | 2 +- > .../bindings/display/panel/nec,nl8048hl11.yaml| 2 +- > .../bindings/display/solomon,ssd1307fb.yaml | 4 ++-- > .../devicetree/bindings/eeprom/at25.yaml | 2 +- > .../bindings/extcon/extcon-usbc-cros-ec.yaml | 2 +- > .../bindings/extcon/extcon-usbc-tusb320.yaml | 2 +- > .../devicetree/bindings/gpio/gpio-pca9570.yaml| 2 +- > .../devicetree/bindings/gpio/gpio-pca95xx.yaml| 8 > .../bindings/i2c/google,cros-ec-i2c-tunnel.yaml | 2 +- > .../bindings/leds/cznic,turris-omnia-leds.yaml| 2 +- > .../devicetree/bindings/leds/issi,is31fl319x.yaml | 2 +- > .../devicetree/bindings/leds/leds-aw2013.yaml | 2 +- > .../devicetree/bindings/leds/leds-rt4505.yaml | 2 +- > .../devicetree/bindings/leds/ti,tca6507.yaml | 2 +- > .../bindings/media/i2c/aptina,mt9p031.yaml| 2 +- > .../bindings/media/i2c/aptina,mt9v111.yaml| 2 +- > .../devicetree/bindings/media/i2c/imx219.yaml | 2 +- > .../devicetree/bindings/media/i2c/imx258.yaml | 4 ++-- > .../devicetree/bindings/media/i2c/mipi-ccs.yaml | 2 +- > .../bindings/media/i2c/ovti,ov5648.yaml | 2 +- > .../bindings/media/i2c/ovti,ov772x.yaml | 2 +- > .../bindings/media/i2c/ovti,ov8865.yaml | 2 +- > .../bindings/media/i2c/ovti,ov9282.yaml | 2 +- > .../bindings/media/i2c/rda,rda5807.yaml | 2 +- > .../bindings/media/i2c/sony,imx214.yaml | 2 +- > .../bindings/media/i2c/sony,imx274.yaml | 2 +- > .../bindings/media/i2c/sony,imx334.yaml | 2 +- > .../bindings/media/i2c/sony,imx335.yaml | 2 +- > .../bindings/media/i2c/sony,imx412.yaml | 2 +- > .../devicetree/bindings/mfd/actions,atc260x.yaml | 2 +- > .../devicetree/bindings/mfd/google,cros-ec.yaml | 6 +++--- > .../devicetree/bindings/mfd/ti,tps65086.yaml | 2 +- > .../devicetree/bindings/mfd/x-powers,axp152.yaml | 4 ++-- > .../devicetree/bindings/net/asix,ax88796c.yaml| 2 +- > .../bindings/net/can/microchip,mcp251xfd.yaml | 2 +- > .../bindings/net/dsa/microchip,ksz.yaml | 2 +- > .../bindings/net/nfc/samsung,s3fwrn5.yaml | 2 +- > .../bindings/net/vertexcom-mse102x.yaml | 2 +- > .../bindings/net/wireless/ti,wlcore.yaml | 10 -- > .../devicetree/bindings/pinctrl/pinmux-node.yaml | 2 +- > .../bindings/pinctrl/starfive,jh7100-pinctrl.yaml | 2 +- > .../devicetree/bindings/power/supply/bq2415x.yaml | 2 +- > .../devicetree/bindings/power/supply/bq24190.yaml | 2 +- >
Re: [PATCH] dt-bindings: Fix SPI and I2C bus node names in examples
On Tue, Feb 28, 2023 at 10:54 PM Rob Herring wrote: > > SPI and I2C bus node names are expected to be "spi" or "i2c", > respectively, with nothing else, a unit-address, or a '-N' index. A > pattern of 'spi0' or 'i2c0' or similar has crept in. Fix all these > cases. Mostly scripted with the following commands: > > git grep -l '\si2c[0-9] {' Documentation/devicetree/ | xargs sed -i -e > 's/i2c[0-9] {/i2c {/' > git grep -l '\sspi[0-9] {' Documentation/devicetree/ | xargs sed -i -e > 's/spi[0-9] {/spi {/' > > With this, a few errors in examples were exposed and fixed. > > Signed-off-by: Rob Herring > --- > Cc: Miguel Ojeda > Cc: Krzysztof Kozlowski > Cc: Benson Leung > Cc: Guenter Roeck > Cc: Stephen Boyd > Cc: Andrzej Hajda > Cc: Neil Armstrong > Cc: Robert Foss > Cc: Thierry Reding > Cc: Sam Ravnborg > Cc: MyungJoo Ham > Cc: Chanwoo Choi > Cc: Linus Walleij > Cc: Bartosz Golaszewski > Cc: Pavel Machek > Cc: Lee Jones > Cc: Mauro Carvalho Chehab > Cc: "David S. Miller" > Cc: Eric Dumazet > Cc: Jakub Kicinski > Cc: Paolo Abeni > Cc: Wolfgang Grandegger > Cc: Kalle Valo > Cc: Sebastian Reichel > Cc: Mark Brown > Cc: Greg Kroah-Hartman > Cc: linux-...@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org > Cc: linux-g...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: linux-l...@vger.kernel.org > Cc: linux-me...@vger.kernel.org > Cc: net...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: linux-wirel...@vger.kernel.org > Cc: linux...@vger.kernel.org > Cc: alsa-de...@alsa-project.org > Cc: linux-...@vger.kernel.org > --- > .../bindings/auxdisplay/holtek,ht16k33.yaml | 2 +- > .../bindings/chrome/google,cros-ec-typec.yaml | 2 +- > .../chrome/google,cros-kbd-led-backlight.yaml | 2 +- > .../devicetree/bindings/clock/ti,lmk04832.yaml| 2 +- > .../bindings/display/bridge/analogix,anx7625.yaml | 2 +- > .../bindings/display/bridge/anx6345.yaml | 2 +- > .../bindings/display/bridge/lontium,lt8912b.yaml | 2 +- > .../bindings/display/bridge/nxp,ptn3460.yaml | 2 +- > .../bindings/display/bridge/ps8640.yaml | 2 +- > .../bindings/display/bridge/sil,sii9234.yaml | 2 +- > .../bindings/display/bridge/ti,dlpc3433.yaml | 2 +- > .../bindings/display/bridge/toshiba,tc358762.yaml | 2 +- > .../bindings/display/bridge/toshiba,tc358768.yaml | 2 +- > .../bindings/display/panel/nec,nl8048hl11.yaml| 2 +- > .../bindings/display/solomon,ssd1307fb.yaml | 4 ++-- > .../devicetree/bindings/eeprom/at25.yaml | 2 +- > .../bindings/extcon/extcon-usbc-cros-ec.yaml | 2 +- > .../bindings/extcon/extcon-usbc-tusb320.yaml | 2 +- > .../devicetree/bindings/gpio/gpio-pca9570.yaml| 2 +- > .../devicetree/bindings/gpio/gpio-pca95xx.yaml| 8 Acked-by: Bartosz Golaszewski
Re: [PATCH] dt-bindings: Fix SPI and I2C bus node names in examples
Hi Rob. > .../bindings/display/bridge/analogix,anx7625.yaml | 2 +- > .../bindings/display/bridge/anx6345.yaml | 2 +- > .../bindings/display/bridge/lontium,lt8912b.yaml | 2 +- > .../bindings/display/bridge/nxp,ptn3460.yaml | 2 +- > .../bindings/display/bridge/ps8640.yaml | 2 +- > .../bindings/display/bridge/sil,sii9234.yaml | 2 +- > .../bindings/display/bridge/ti,dlpc3433.yaml | 2 +- > .../bindings/display/bridge/toshiba,tc358762.yaml | 2 +- > .../bindings/display/bridge/toshiba,tc358768.yaml | 2 +- > .../bindings/display/panel/nec,nl8048hl11.yaml| 2 +- Acked-by: Sam Ravnborg > index 669f70b1b4c4..8bd58913804a 100644 > --- a/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml > +++ b/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml > @@ -226,7 +226,7 @@ unevaluatedProperties: false > > examples: >- | > -i2c1 { > +i2c { > #address-cells = <1>; > #size-cells = <0>; > > @@ -239,7 +239,7 @@ examples: > > ssd1306_i2c: oled@3d { > compatible = "solomon,ssd1306"; > -reg = <0x3c>; > +reg = <0x3d>; > pwms = < 4 3000>; > reset-gpios = < 7>; > solomon,com-lrremap; I can see this align the example with i2c-mux-gpio.yaml so the change should be fine. I am just positive surprised the tooling caught it. The change is Acked-by: Sam Ravnborg the above was just me thinking loud. Sam
Re: [PATCH] dt-bindings: Fix SPI and I2C bus node names in examples
On Tue, 28 Feb 2023 at 14:54, Rob Herring wrote: > > SPI and I2C bus node names are expected to be "spi" or "i2c", > respectively, with nothing else, a unit-address, or a '-N' index. A > pattern of 'spi0' or 'i2c0' or similar has crept in. Fix all these > cases. Mostly scripted with the following commands: > > git grep -l '\si2c[0-9] {' Documentation/devicetree/ | xargs sed -i -e > 's/i2c[0-9] {/i2c {/' > git grep -l '\sspi[0-9] {' Documentation/devicetree/ | xargs sed -i -e > 's/spi[0-9] {/spi {/' > > With this, a few errors in examples were exposed and fixed. > > Signed-off-by: Rob Herring > --- > Cc: Miguel Ojeda > Cc: Krzysztof Kozlowski > Cc: Benson Leung > Cc: Guenter Roeck > Cc: Stephen Boyd > Cc: Andrzej Hajda > Cc: Neil Armstrong > Cc: Robert Foss > Cc: Thierry Reding > Cc: Sam Ravnborg > Cc: MyungJoo Ham > Cc: Chanwoo Choi > Cc: Linus Walleij > Cc: Bartosz Golaszewski > Cc: Pavel Machek > Cc: Lee Jones > Cc: Mauro Carvalho Chehab > Cc: "David S. Miller" > Cc: Eric Dumazet > Cc: Jakub Kicinski > Cc: Paolo Abeni > Cc: Wolfgang Grandegger > Cc: Kalle Valo > Cc: Sebastian Reichel > Cc: Mark Brown > Cc: Greg Kroah-Hartman > Cc: linux-...@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org > Cc: linux-g...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: linux-l...@vger.kernel.org > Cc: linux-me...@vger.kernel.org > Cc: net...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: linux-wirel...@vger.kernel.org > Cc: linux...@vger.kernel.org > Cc: alsa-de...@alsa-project.org > Cc: linux-...@vger.kernel.org > --- Reviewed-by: Simon Glass
Re: [PATCH] dt-bindings: Fix SPI and I2C bus node names in examples
Hi, On Tue, Feb 28, 2023 at 03:54:33PM -0600, Rob Herring wrote: > SPI and I2C bus node names are expected to be "spi" or "i2c", > respectively, with nothing else, a unit-address, or a '-N' index. A > pattern of 'spi0' or 'i2c0' or similar has crept in. Fix all these > cases. Mostly scripted with the following commands: > > git grep -l '\si2c[0-9] {' Documentation/devicetree/ | xargs sed -i -e > 's/i2c[0-9] {/i2c {/' > git grep -l '\sspi[0-9] {' Documentation/devicetree/ | xargs sed -i -e > 's/spi[0-9] {/spi {/' > > With this, a few errors in examples were exposed and fixed. > > Signed-off-by: Rob Herring > --- Acked-by: Sebastian Reichel # for power-supply -- Sebastian ... > .../devicetree/bindings/power/supply/bq2415x.yaml | 2 +- > .../devicetree/bindings/power/supply/bq24190.yaml | 2 +- > .../devicetree/bindings/power/supply/bq24257.yaml | 4 ++-- > .../devicetree/bindings/power/supply/bq24735.yaml | 2 +- > .../devicetree/bindings/power/supply/bq2515x.yaml | 2 +- > .../devicetree/bindings/power/supply/bq25890.yaml | 2 +- > .../devicetree/bindings/power/supply/bq25980.yaml | 2 +- > .../devicetree/bindings/power/supply/bq27xxx.yaml | 15 --- > .../bindings/power/supply/lltc,ltc294x.yaml | 2 +- > .../bindings/power/supply/ltc4162-l.yaml | 2 +- > .../bindings/power/supply/maxim,max14656.yaml | 2 +- > .../bindings/power/supply/maxim,max17040.yaml | 4 ++-- > .../bindings/power/supply/maxim,max17042.yaml | 2 +- > .../bindings/power/supply/richtek,rt9455.yaml | 2 +- > .../bindings/power/supply/ti,lp8727.yaml | 2 +- ... > diff --git a/Documentation/devicetree/bindings/power/supply/bq2415x.yaml > b/Documentation/devicetree/bindings/power/supply/bq2415x.yaml > index f7287ffd4b12..13822346e708 100644 > --- a/Documentation/devicetree/bindings/power/supply/bq2415x.yaml > +++ b/Documentation/devicetree/bindings/power/supply/bq2415x.yaml > @@ -77,7 +77,7 @@ additionalProperties: false > > examples: >- | > -i2c0 { > +i2c { >#address-cells = <1>; >#size-cells = <0>; > > diff --git a/Documentation/devicetree/bindings/power/supply/bq24190.yaml > b/Documentation/devicetree/bindings/power/supply/bq24190.yaml > index 001c0ffb408d..d3ebc9de8c0b 100644 > --- a/Documentation/devicetree/bindings/power/supply/bq24190.yaml > +++ b/Documentation/devicetree/bindings/power/supply/bq24190.yaml > @@ -75,7 +75,7 @@ examples: >charge-term-current-microamp = <128000>; > }; > > -i2c0 { > +i2c { >#address-cells = <1>; >#size-cells = <0>; > > diff --git a/Documentation/devicetree/bindings/power/supply/bq24257.yaml > b/Documentation/devicetree/bindings/power/supply/bq24257.yaml > index cc45939d385b..eb064bbf876c 100644 > --- a/Documentation/devicetree/bindings/power/supply/bq24257.yaml > +++ b/Documentation/devicetree/bindings/power/supply/bq24257.yaml > @@ -84,7 +84,7 @@ examples: >- | > #include > #include > -i2c0 { > +i2c { >#address-cells = <1>; >#size-cells = <0>; > > @@ -104,7 +104,7 @@ examples: >- | > #include > #include > -i2c0 { > +i2c { >#address-cells = <1>; >#size-cells = <0>; > > diff --git a/Documentation/devicetree/bindings/power/supply/bq24735.yaml > b/Documentation/devicetree/bindings/power/supply/bq24735.yaml > index 388ee16f8a1e..af41e7ccd784 100644 > --- a/Documentation/devicetree/bindings/power/supply/bq24735.yaml > +++ b/Documentation/devicetree/bindings/power/supply/bq24735.yaml > @@ -77,7 +77,7 @@ examples: >- | > #include > > -i2c0 { > +i2c { >#address-cells = <1>; >#size-cells = <0>; > > diff --git a/Documentation/devicetree/bindings/power/supply/bq2515x.yaml > b/Documentation/devicetree/bindings/power/supply/bq2515x.yaml > index 1a1b240034ef..845822c87f2a 100644 > --- a/Documentation/devicetree/bindings/power/supply/bq2515x.yaml > +++ b/Documentation/devicetree/bindings/power/supply/bq2515x.yaml > @@ -73,7 +73,7 @@ examples: >constant-charge-voltage-max-microvolt = <400>; > }; > #include > -i2c0 { > +i2c { >#address-cells = <1>; >#size-cells = <0>; > > diff --git a/Documentation/devicetree/bindings/power/supply/bq25890.yaml > b/Documentation/devicetree/bindings/power/supply/bq25890.yaml > index dae27e93af09..0ad302ab2bcc 100644 > --- a/Documentation/devicetree/bindings/power/supply/bq25890.yaml > +++ b/Documentation/devicetree/bindings/power/supply/bq25890.yaml > @@ -102,7 +102,7 @@ unevaluatedProperties: false > examples: >- | > #include > -i2c0 { > +i2c { >#address-cells = <1>; >#size-cells = <0>; > > diff --git a/Documentation/devicetree/bindings/power/supply/bq25980.yaml > b/Documentation/devicetree/bindings/power/supply/bq25980.yaml > index b687b8bcd705..b70ce8d7f86c 100644 > ---
Re: [PATCH] dt-bindings: Fix SPI and I2C bus node names in examples
Quoting Rob Herring (2023-02-28 13:54:33) > SPI and I2C bus node names are expected to be "spi" or "i2c", > respectively, with nothing else, a unit-address, or a '-N' index. A > pattern of 'spi0' or 'i2c0' or similar has crept in. Fix all these > cases. Mostly scripted with the following commands: > > git grep -l '\si2c[0-9] {' Documentation/devicetree/ | xargs sed -i -e > 's/i2c[0-9] {/i2c {/' > git grep -l '\sspi[0-9] {' Documentation/devicetree/ | xargs sed -i -e > 's/spi[0-9] {/spi {/' > > With this, a few errors in examples were exposed and fixed. > > Signed-off-by: Rob Herring > --- Reviewed-by: Stephen Boyd > diff --git a/Documentation/devicetree/bindings/clock/ti,lmk04832.yaml > b/Documentation/devicetree/bindings/clock/ti,lmk04832.yaml > index 73d17830f165..13d7b3d03d84 100644 > --- a/Documentation/devicetree/bindings/clock/ti,lmk04832.yaml > +++ b/Documentation/devicetree/bindings/clock/ti,lmk04832.yaml > @@ -160,7 +160,7 @@ examples: > }; > }; > > -spi0 { > +spi { > #address-cells = <1>; > #size-cells = <0>; >
Re: [PATCH] dt-bindings: Fix SPI and I2C bus node names in examples
On Tue, 28 Feb 2023, Rob Herring wrote: > SPI and I2C bus node names are expected to be "spi" or "i2c", > respectively, with nothing else, a unit-address, or a '-N' index. A > pattern of 'spi0' or 'i2c0' or similar has crept in. Fix all these > cases. Mostly scripted with the following commands: > > git grep -l '\si2c[0-9] {' Documentation/devicetree/ | xargs sed -i -e > 's/i2c[0-9] {/i2c {/' > git grep -l '\sspi[0-9] {' Documentation/devicetree/ | xargs sed -i -e > 's/spi[0-9] {/spi {/' > > With this, a few errors in examples were exposed and fixed. > > Signed-off-by: Rob Herring > --- > Cc: Miguel Ojeda > Cc: Krzysztof Kozlowski > Cc: Benson Leung > Cc: Guenter Roeck > Cc: Stephen Boyd > Cc: Andrzej Hajda > Cc: Neil Armstrong > Cc: Robert Foss > Cc: Thierry Reding > Cc: Sam Ravnborg > Cc: MyungJoo Ham > Cc: Chanwoo Choi > Cc: Linus Walleij > Cc: Bartosz Golaszewski > Cc: Pavel Machek > Cc: Lee Jones > Cc: Mauro Carvalho Chehab > Cc: "David S. Miller" > Cc: Eric Dumazet > Cc: Jakub Kicinski > Cc: Paolo Abeni > Cc: Wolfgang Grandegger > Cc: Kalle Valo > Cc: Sebastian Reichel > Cc: Mark Brown > Cc: Greg Kroah-Hartman > Cc: linux-...@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org > Cc: linux-g...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: linux-l...@vger.kernel.org > Cc: linux-me...@vger.kernel.org > Cc: net...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: linux-wirel...@vger.kernel.org > Cc: linux...@vger.kernel.org > Cc: alsa-de...@alsa-project.org > Cc: linux-...@vger.kernel.org > --- > .../bindings/auxdisplay/holtek,ht16k33.yaml | 2 +- > .../bindings/chrome/google,cros-ec-typec.yaml | 2 +- > .../chrome/google,cros-kbd-led-backlight.yaml | 2 +- > .../devicetree/bindings/clock/ti,lmk04832.yaml| 2 +- > .../bindings/display/bridge/analogix,anx7625.yaml | 2 +- > .../bindings/display/bridge/anx6345.yaml | 2 +- > .../bindings/display/bridge/lontium,lt8912b.yaml | 2 +- > .../bindings/display/bridge/nxp,ptn3460.yaml | 2 +- > .../bindings/display/bridge/ps8640.yaml | 2 +- > .../bindings/display/bridge/sil,sii9234.yaml | 2 +- > .../bindings/display/bridge/ti,dlpc3433.yaml | 2 +- > .../bindings/display/bridge/toshiba,tc358762.yaml | 2 +- > .../bindings/display/bridge/toshiba,tc358768.yaml | 2 +- > .../bindings/display/panel/nec,nl8048hl11.yaml| 2 +- > .../bindings/display/solomon,ssd1307fb.yaml | 4 ++-- > .../devicetree/bindings/eeprom/at25.yaml | 2 +- > .../bindings/extcon/extcon-usbc-cros-ec.yaml | 2 +- > .../bindings/extcon/extcon-usbc-tusb320.yaml | 2 +- > .../devicetree/bindings/gpio/gpio-pca9570.yaml| 2 +- > .../devicetree/bindings/gpio/gpio-pca95xx.yaml| 8 > .../bindings/i2c/google,cros-ec-i2c-tunnel.yaml | 2 +- > .../bindings/leds/cznic,turris-omnia-leds.yaml| 2 +- [...] > .../devicetree/bindings/leds/issi,is31fl319x.yaml | 2 +- > .../devicetree/bindings/leds/leds-aw2013.yaml | 2 +- > .../devicetree/bindings/leds/leds-rt4505.yaml | 2 +- > .../devicetree/bindings/leds/ti,tca6507.yaml | 2 +- Acked-by: Lee Jones > .../devicetree/bindings/mfd/actions,atc260x.yaml | 2 +- > .../devicetree/bindings/mfd/google,cros-ec.yaml | 6 +++--- > .../devicetree/bindings/mfd/ti,tps65086.yaml | 2 +- > .../devicetree/bindings/mfd/x-powers,axp152.yaml | 4 ++-- > .../devicetree/bindings/net/asix,ax88796c.yaml| 2 +- Acked-by: Lee Jones [...] -- Lee Jones [李琼斯]
Re: [PATCH] dt-bindings: Fix SPI and I2C bus node names in examples
On 28.02.2023 15:54:33, Rob Herring wrote: > SPI and I2C bus node names are expected to be "spi" or "i2c", > respectively, with nothing else, a unit-address, or a '-N' index. A > pattern of 'spi0' or 'i2c0' or similar has crept in. Fix all these > cases. Mostly scripted with the following commands: > > git grep -l '\si2c[0-9] {' Documentation/devicetree/ | xargs sed -i -e > 's/i2c[0-9] {/i2c {/' > git grep -l '\sspi[0-9] {' Documentation/devicetree/ | xargs sed -i -e > 's/spi[0-9] {/spi {/' > > With this, a few errors in examples were exposed and fixed. > > Signed-off-by: Rob Herring > --- > Cc: Miguel Ojeda > Cc: Krzysztof Kozlowski > Cc: Benson Leung > Cc: Guenter Roeck > Cc: Stephen Boyd > Cc: Andrzej Hajda > Cc: Neil Armstrong > Cc: Robert Foss > Cc: Thierry Reding > Cc: Sam Ravnborg > Cc: MyungJoo Ham > Cc: Chanwoo Choi > Cc: Linus Walleij > Cc: Bartosz Golaszewski > Cc: Pavel Machek > Cc: Lee Jones > Cc: Mauro Carvalho Chehab > Cc: "David S. Miller" > Cc: Eric Dumazet > Cc: Jakub Kicinski > Cc: Paolo Abeni > Cc: Wolfgang Grandegger > Cc: Kalle Valo > Cc: Sebastian Reichel > Cc: Mark Brown > Cc: Greg Kroah-Hartman > Cc: linux-...@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org > Cc: linux-g...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: linux-l...@vger.kernel.org > Cc: linux-me...@vger.kernel.org > Cc: net...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: linux-wirel...@vger.kernel.org > Cc: linux...@vger.kernel.org > Cc: alsa-de...@alsa-project.org > Cc: linux-...@vger.kernel.org > --- > .../bindings/net/can/microchip,mcp251xfd.yaml | 2 +- Acked-by: Marc Kleine-Budde # for the microchip,mcp251xfd.yaml -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | signature.asc Description: PGP signature
Re: [PATCH] dt-bindings: Fix SPI and I2C bus node names in examples
4:33PM -0600, Rob Herring wrote: > SPI and I2C bus node names are expected to be "spi" or "i2c", > respectively, with nothing else, a unit-address, or a '-N' index. A > pattern of 'spi0' or 'i2c0' or similar has crept in. Fix all these > cases. Mostly scripted with the following commands: > > git grep -l '\si2c[0-9] {' Documentation/devicetree/ | xargs sed -i -e > 's/i2c[0-9] {/i2c {/' > git grep -l '\sspi[0-9] {' Documentation/devicetree/ | xargs sed -i -e > 's/spi[0-9] {/spi {/' > > With this, a few errors in examples were exposed and fixed. > > Signed-off-by: Rob Herring Acked-by: Wolfram Sang signature.asc Description: PGP signature
Re: [PATCH] dt-bindings: Fix SPI and I2C bus node names in examples
On Tue, Feb 28, 2023 at 03:54:33PM -0600, Rob Herring wrote: > SPI and I2C bus node names are expected to be "spi" or "i2c", > respectively, with nothing else, a unit-address, or a '-N' index. A > pattern of 'spi0' or 'i2c0' or similar has crept in. Fix all these > cases. Mostly scripted with the following commands: Acked-by: Mark Brown signature.asc Description: PGP signature