dt-bindings: Fix SPI and I2C bus node names in examples
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.
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de> # for the microchip,mcp251xfd.yaml
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com> # for power-supply
Acked-by: Wolfram Sang <wsa@kernel.org>
Acked-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230228215433.3944508-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
- Documentation/devicetree/bindings/auxdisplay/holtek,ht16k33.yaml[diff]
- Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml[diff]
- Documentation/devicetree/bindings/chrome/google,cros-kbd-led-backlight.yaml[diff]
- Documentation/devicetree/bindings/clock/ti,lmk04832.yaml[diff]
- Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml[diff]
- Documentation/devicetree/bindings/display/bridge/anx6345.yaml[diff]
- Documentation/devicetree/bindings/display/bridge/lontium,lt8912b.yaml[diff]
- Documentation/devicetree/bindings/display/bridge/nxp,ptn3460.yaml[diff]
- Documentation/devicetree/bindings/display/bridge/ps8640.yaml[diff]
- Documentation/devicetree/bindings/display/bridge/sil,sii9234.yaml[diff]
- Documentation/devicetree/bindings/display/bridge/ti,dlpc3433.yaml[diff]
- Documentation/devicetree/bindings/display/bridge/toshiba,tc358762.yaml[diff]
- Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml[diff]
- Documentation/devicetree/bindings/display/panel/nec,nl8048hl11.yaml[diff]
- Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml[diff]
- Documentation/devicetree/bindings/eeprom/at25.yaml[diff]
- Documentation/devicetree/bindings/extcon/extcon-usbc-cros-ec.yaml[diff]
- Documentation/devicetree/bindings/extcon/extcon-usbc-tusb320.yaml[diff]
- Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml[diff]
- Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml[diff]
- Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml[diff]
- Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml[diff]
- Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml[diff]
- Documentation/devicetree/bindings/leds/issi,is31fl319x.yaml[diff]
- Documentation/devicetree/bindings/leds/leds-aw2013.yaml[diff]
- Documentation/devicetree/bindings/leds/leds-rt4505.yaml[diff]
- Documentation/devicetree/bindings/leds/ti,tca6507.yaml[diff]
- Documentation/devicetree/bindings/media/i2c/aptina,mt9p031.yaml[diff]
- Documentation/devicetree/bindings/media/i2c/aptina,mt9v111.yaml[diff]
- Documentation/devicetree/bindings/media/i2c/imx219.yaml[diff]
- Documentation/devicetree/bindings/media/i2c/imx258.yaml[diff]
- Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml[diff]
- Documentation/devicetree/bindings/media/i2c/ovti,ov5648.yaml[diff]
- Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml[diff]
- Documentation/devicetree/bindings/media/i2c/ovti,ov8865.yaml[diff]
- Documentation/devicetree/bindings/media/i2c/ovti,ov9282.yaml[diff]
- Documentation/devicetree/bindings/media/i2c/rda,rda5807.yaml[diff]
- Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml[diff]
- Documentation/devicetree/bindings/media/i2c/sony,imx274.yaml[diff]
- Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml[diff]
- Documentation/devicetree/bindings/media/i2c/sony,imx335.yaml[diff]
- Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml[diff]
- Documentation/devicetree/bindings/mfd/actions,atc260x.yaml[diff]
- Documentation/devicetree/bindings/mfd/google,cros-ec.yaml[diff]
- Documentation/devicetree/bindings/mfd/ti,tps65086.yaml[diff]
- Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml[diff]
- Documentation/devicetree/bindings/net/asix,ax88796c.yaml[diff]
- Documentation/devicetree/bindings/net/can/microchip,mcp251xfd.yaml[diff]
- Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml[diff]
- Documentation/devicetree/bindings/net/nfc/samsung,s3fwrn5.yaml[diff]
- Documentation/devicetree/bindings/net/vertexcom-mse102x.yaml[diff]
- Documentation/devicetree/bindings/net/wireless/ti,wlcore.yaml[diff]
- Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml[diff]
- Documentation/devicetree/bindings/pinctrl/starfive,jh7100-pinctrl.yaml[diff]
- Documentation/devicetree/bindings/power/supply/bq2415x.yaml[diff]
- Documentation/devicetree/bindings/power/supply/bq24190.yaml[diff]
- Documentation/devicetree/bindings/power/supply/bq24257.yaml[diff]
- Documentation/devicetree/bindings/power/supply/bq24735.yaml[diff]
- Documentation/devicetree/bindings/power/supply/bq2515x.yaml[diff]
- Documentation/devicetree/bindings/power/supply/bq25890.yaml[diff]
- Documentation/devicetree/bindings/power/supply/bq25980.yaml[diff]
- Documentation/devicetree/bindings/power/supply/bq27xxx.yaml[diff]
- Documentation/devicetree/bindings/power/supply/lltc,ltc294x.yaml[diff]
- Documentation/devicetree/bindings/power/supply/ltc4162-l.yaml[diff]
- Documentation/devicetree/bindings/power/supply/maxim,max14656.yaml[diff]
- Documentation/devicetree/bindings/power/supply/maxim,max17040.yaml[diff]
- Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml[diff]
- Documentation/devicetree/bindings/power/supply/richtek,rt9455.yaml[diff]
- Documentation/devicetree/bindings/power/supply/ti,lp8727.yaml[diff]
- Documentation/devicetree/bindings/regulator/active-semi,act8865.yaml[diff]
- Documentation/devicetree/bindings/regulator/google,cros-ec-regulator.yaml[diff]
- Documentation/devicetree/bindings/regulator/nxp,pf8x00-regulator.yaml[diff]
- Documentation/devicetree/bindings/sound/everest,es8316.yaml[diff]
- Documentation/devicetree/bindings/sound/tas2562.yaml[diff]
- Documentation/devicetree/bindings/sound/tas2770.yaml[diff]
- Documentation/devicetree/bindings/sound/tas27xx.yaml[diff]
- Documentation/devicetree/bindings/sound/tas5805m.yaml[diff]
- Documentation/devicetree/bindings/sound/tlv320adcx140.yaml[diff]
- Documentation/devicetree/bindings/sound/zl38060.yaml[diff]
- Documentation/devicetree/bindings/usb/maxim,max33359.yaml[diff]
- Documentation/devicetree/bindings/usb/maxim,max3420-udc.yaml[diff]
- Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml[diff]
- Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml[diff]
- Documentation/devicetree/bindings/usb/richtek,rt1719.yaml[diff]
- Documentation/devicetree/bindings/usb/st,stusb160x.yaml[diff]
- Documentation/devicetree/bindings/usb/ti,hd3ss3220.yaml[diff]
- Documentation/devicetree/bindings/usb/ti,tps6598x.yaml[diff]
87 files changed