aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/chrome
AgeCommit message (Collapse)AuthorFilesLines
2023-07-27dt-bindings: usb: connector: disallow additional propertiesKrzysztof Kozlowski1-4/+2
USB connector bindings is complete, thus no additional properties should be allowed. Add missing 'reg' property and change additionalProperties to false, so the schema will check for anything unexpected. This also allows to drop the 'reg' from other bindings referencing the usb-connector.yaml and make it required. Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
2023-03-08dt-bindings: Fix SPI and I2C bus node names in examplesRob Herring2-2/+2
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 <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Reviewed-by: Simon Glass <[email protected]> Acked-by: Marc Kleine-Budde <[email protected]> # for the microchip,mcp251xfd.yaml Acked-by: Mark Brown <[email protected]> Acked-by: Bartosz Golaszewski <[email protected]> Acked-by: Sebastian Reichel <[email protected]> # for power-supply Acked-by: Wolfram Sang <[email protected]> Acked-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
2022-10-31dt-bindings: cros-ec: Reorganize and enforce property availabilityStephen Boyd2-0/+2
Various properties in the cros-ec binding only apply to different compatible strings. For example, the interrupts and reg property are required for all cros-ec devices except for the rpmsg version. Add some conditions to update the availability of properties so that they can't be used with compatibles that don't support them. This reveals that many of the examples in bindings that use cros-ec were missing the interrupts property. Add the property to make those bindings whole again. Reviewed-by: Rob Herring <[email protected]> Cc: Krzysztof Kozlowski <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: Guenter Roeck <[email protected]> Reviewed-by: Douglas Anderson <[email protected]> Cc: Craig Hesling <[email protected]> Cc: Tom Hughes <[email protected]> Cc: Alexandru M Stan <[email protected]> Cc: Tzung-Bi Shih <[email protected]> Cc: Matthias Kaehlcke <[email protected]> Cc: Benson Leung <[email protected]> Cc: Lee Jones <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Signed-off-by: Tzung-Bi Shih <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2022-08-12dt-bindings: chrome: google,cros-ec-typec: restrict allowed propertiesKrzysztof Kozlowski1-2/+13
Describe exactly what properties are allowed in Google Chrome OS EC Type C port, so the schema can properly validate the DTS. Existing DTS defines always connectors with unit addresses, not a sole "connector" child. Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Prashant Malani <[email protected]> Signed-off-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2022-06-10dt-bindings: add google,cros-kbd-led-backlightTzung-Bi Shih1-0/+35
Acked-by: Rob Herring <[email protected]> Signed-off-by: Tzung-Bi Shih <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-10-07dt-bindings: Explicitly allow additional properties in common schemasRob Herring1-0/+2
In order to add meta-schema checks for additional/unevaluatedProperties being present, all schema need to make this explicit. As common/shared schema are included by other schemas, they should always allow for additionalProperties. Acked-by: Mark Brown <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Acked-by: Sebastian Reichel <[email protected]> Acked-by: Chanwoo Choi <[email protected]> Acked-By: Vinod Koul <[email protected]> Acked-by: Lee Jones <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Acked-by: Srinivas Kandagatla <[email protected]> Acked-by: Ulf Hansson <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Acked-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: Add cros-ec Type C port driverPrashant Malani1-0/+54
Some Chrome OS devices with Embedded Controllers (EC) can read and modify Type C port state. Add an entry in the DT Bindings documentation that lists out the logical device and describes the relevant port information, to be used by the corresponding driver. Signed-off-by: Prashant Malani <[email protected]> Reviewed-by: Enric Balletbo i Serra <[email protected]> Reviewed-by: Benson Leung <[email protected]> Signed-off-by: Rob Herring <[email protected]>