Rob Herring
20a72af11f
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 >
2023-03-08 09:04:53 -06:00
Krzysztof Kozlowski
07d1caa4c2
dt-bindings: Drop Dan Murphy and Ricardo Rivera-Matos
...
Emails to Dan Murphy and Ricardo Rivera-Matos bounce ("550 Invalid
recipient"). Andrew Davis agreed to take over the bindings.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Andrew Davis <afd@ti.com >
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220809162752.10186-6-krzysztof.kozlowski@linaro.org
2022-08-12 11:13:32 -06:00
Krzysztof Kozlowski
1ea78ec5ba
dt-bindings: power: supply: drop quotes when not needed
...
Id and schema fields do not need quotes.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220726115748.101015-3-krzysztof.kozlowski@linaro.org
2022-08-02 11:00:30 -06:00
Rob Herring
32ada6b098
dt-bindings: Cleanup standard unit properties
...
Properties with standard unit suffixes already have a type and don't need
type definitions. They also default to a single entry, so 'maxItems: 1'
can be dropped.
adi,ad5758 is an oddball which defined an enum of arrays. While a valid
schema, it is simpler as a whole to only define scalar constraints.
Cc: Jean Delvare <jdelvare@suse.com >
Cc: Lars-Peter Clausen <lars@metafoo.de >
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com >
Cc: Ulf Hansson <ulf.hansson@linaro.org >
Cc: "David S. Miller" <davem@davemloft.net >
Cc: Jakub Kicinski <kuba@kernel.org >
Cc: Serge Semin <fancer.lancer@gmail.com >
Cc: linux-hwmon@vger.kernel.org
Cc: linux-i2c@vger.kernel.org
Cc: linux-iio@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-input@vger.kernel.org
Cc: linux-mmc@vger.kernel.org
Cc: netdev@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: linux-rtc@vger.kernel.org
Cc: linux-serial@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Cc: linux-watchdog@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: Guenter Roeck <linux@roeck-us.net >
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Wolfram Sang <wsa@kernel.org > # for I2C
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Acked-by: Sebastian Reichel <sre@kernel.org > # for power-supply
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com > #for-iio
Acked-by: Alexandre TORGUE <alexandre.torgue@foss.st.com >
Link: https://lore.kernel.org/r/20210128194515.743252-1-robh@kernel.org
2021-01-29 16:36:06 -06:00
Ricardo Rivera-Matos
8f7bda7a66
dt-bindings: power: Add the bindings for the bq2515x family of chargers.
...
The BQ2515X family of devices are highly integrated battery management
ICs that integrate the most common functions for wearable devices
namely a charger, an output voltage rail, ADC for battery and system
monitoring, and a push-button controller.
Datasheets:
http://www.ti.com/lit/ds/symlink/bq25150.pdf
http://www.ti.com/lit/ds/symlink/bq25155.pdf
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Ricardo Rivera-Matos <r-rivera-matos@ti.com >
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com >
2020-07-21 22:42:47 +02:00