[PATCH] dt-bindings: Fix SPI and I2C bus node names in examples
Rob Herring
robh at kernel.org
Wed Mar 8 14:10:52 UTC 2023
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 <robh at kernel.org>
> ---
> Cc: Miguel Ojeda <ojeda at kernel.org>
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt at linaro.org>
> Cc: Benson Leung <bleung at chromium.org>
> Cc: Guenter Roeck <groeck at chromium.org>
> Cc: Stephen Boyd <sboyd at kernel.org>
> Cc: Andrzej Hajda <andrzej.hajda at intel.com>
> Cc: Neil Armstrong <neil.armstrong at linaro.org>
> Cc: Robert Foss <rfoss at kernel.org>
> Cc: Thierry Reding <thierry.reding at gmail.com>
> Cc: Sam Ravnborg <sam at ravnborg.org>
> Cc: MyungJoo Ham <myungjoo.ham at samsung.com>
> Cc: Chanwoo Choi <cw00.choi at samsung.com>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Cc: Bartosz Golaszewski <brgl at bgdev.pl>
> Cc: Pavel Machek <pavel at ucw.cz>
> Cc: Lee Jones <lee at kernel.org>
> Cc: Mauro Carvalho Chehab <mchehab at kernel.org>
> Cc: "David S. Miller" <davem at davemloft.net>
> Cc: Eric Dumazet <edumazet at google.com>
> Cc: Jakub Kicinski <kuba at kernel.org>
> Cc: Paolo Abeni <pabeni at redhat.com>
> Cc: Wolfgang Grandegger <wg at grandegger.com>
> Cc: Kalle Valo <kvalo at kernel.org>
> Cc: Sebastian Reichel <sre at kernel.org>
> Cc: Mark Brown <broonie at kernel.org>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: linux-clk at vger.kernel.org
> Cc: dri-devel at lists.freedesktop.org
> Cc: linux-gpio at vger.kernel.org
> Cc: linux-i2c at vger.kernel.org
> Cc: linux-leds at vger.kernel.org
> Cc: linux-media at vger.kernel.org
> Cc: netdev at vger.kernel.org
> Cc: linux-can at vger.kernel.org
> Cc: linux-wireless at vger.kernel.org
> Cc: linux-pm at vger.kernel.org
> Cc: alsa-devel at alsa-project.org
> Cc: linux-usb at 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 +-
> .../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 +-
> .../bindings/regulator/active-semi,act8865.yaml | 2 +-
> .../regulator/google,cros-ec-regulator.yaml | 2 +-
> .../bindings/regulator/nxp,pf8x00-regulator.yaml | 2 +-
> .../devicetree/bindings/sound/everest,es8316.yaml | 2 +-
> .../devicetree/bindings/sound/tas2562.yaml | 2 +-
> .../devicetree/bindings/sound/tas2770.yaml | 2 +-
> .../devicetree/bindings/sound/tas27xx.yaml | 2 +-
> .../devicetree/bindings/sound/tas5805m.yaml | 2 +-
> .../devicetree/bindings/sound/tlv320adcx140.yaml | 2 +-
> .../devicetree/bindings/sound/zl38060.yaml | 2 +-
> .../devicetree/bindings/usb/maxim,max33359.yaml | 2 +-
> .../bindings/usb/maxim,max3420-udc.yaml | 2 +-
> .../bindings/usb/mediatek,mt6360-tcpc.yaml | 2 +-
> .../devicetree/bindings/usb/richtek,rt1711h.yaml | 2 +-
> .../devicetree/bindings/usb/richtek,rt1719.yaml | 2 +-
> .../devicetree/bindings/usb/st,stusb160x.yaml | 2 +-
> .../devicetree/bindings/usb/ti,hd3ss3220.yaml | 2 +-
> .../devicetree/bindings/usb/ti,tps6598x.yaml | 2 +-
> 86 files changed, 110 insertions(+), 103 deletions(-)
>
Applied, thanks!
More information about the dri-devel
mailing list