dt-bindings: usb: connector: disallow additional propertiesUSB connector bindings is complete, thus no additional properties shouldbe allowed. Add missing 'reg' property and change additionalProp
dt-bindings: usb: connector: disallow additional propertiesUSB connector bindings is complete, thus no additional properties shouldbe allowed. Add missing 'reg' property and change additionalPropertiesto false, so the schema will check for anything unexpected. This alsoallows to drop the 'reg' from other bindings referencing theusb-connector.yaml and make it required.Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>Link: https://lore.kernel.org/r/20230725102325.76336-1-krzysztof.kozlowski@linaro.orgSigned-off-by: Rob Herring <robh@kernel.org>
show more ...
dt-bindings: Fix SPI and I2C bus node names in examplesSPI and I2C bus node names are expected to be "spi" or "i2c",respectively, with nothing else, a unit-address, or a '-N' index. Apattern of '
dt-bindings: Fix SPI and I2C bus node names in examplesSPI and I2C bus node names are expected to be "spi" or "i2c",respectively, with nothing else, a unit-address, or a '-N' index. Apattern of 'spi0' or 'i2c0' or similar has crept in. Fix all thesecases. 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.yamlAcked-by: Mark Brown <broonie@kernel.org>Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com> # for power-supplyAcked-by: Wolfram Sang <wsa@kernel.org>Acked-by: Lee Jones <lee@kernel.org>Link: https://lore.kernel.org/r/20230228215433.3944508-1-robh@kernel.orgSigned-off-by: Rob Herring <robh@kernel.org>
dt-bindings: cros-ec: Reorganize and enforce property availabilityVarious properties in the cros-ec binding only apply to differentcompatible strings. For example, the interrupts and reg property
dt-bindings: cros-ec: Reorganize and enforce property availabilityVarious properties in the cros-ec binding only apply to differentcompatible strings. For example, the interrupts and reg property arerequired for all cros-ec devices except for the rpmsg version. Add someconditions to update the availability of properties so that they can'tbe used with compatibles that don't support them.This reveals that many of the examples in bindings that use cros-ec weremissing the interrupts property. Add the property to make those bindingswhole again.Reviewed-by: Rob Herring <robh@kernel.org>Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>Cc: <devicetree@vger.kernel.org>Cc: <chrome-platform@lists.linux.dev>Cc: Guenter Roeck <groeck@chromium.org>Reviewed-by: Douglas Anderson <dianders@chromium.org>Cc: Craig Hesling <hesling@chromium.org>Cc: Tom Hughes <tomhughes@chromium.org>Cc: Alexandru M Stan <amstan@chromium.org>Cc: Tzung-Bi Shih <tzungbi@kernel.org>Cc: Matthias Kaehlcke <mka@chromium.org>Cc: Benson Leung <bleung@chromium.org>Cc: Lee Jones <lee.jones@linaro.org>Signed-off-by: Stephen Boyd <swboyd@chromium.org>Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>Link: https://lore.kernel.org/r/20221026003641.2688765-2-swboyd@chromium.org
dt-bindings: chrome: google,cros-ec-typec: restrict allowed propertiesDescribe exactly what properties are allowed in Google Chrome OS EC TypeC port, so the schema can properly validate the DTS.
dt-bindings: chrome: google,cros-ec-typec: restrict allowed propertiesDescribe exactly what properties are allowed in Google Chrome OS EC TypeC port, so the schema can properly validate the DTS. Existing DTSdefines always connectors with unit addresses, not a sole "connector"child.Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>Acked-by: Prashant Malani <pmalani@chromium.org>Signed-off-by: Rob Herring <robh@kernel.org>Link: https://lore.kernel.org/r/20220811062245.4316-1-krzysztof.kozlowski@linaro.org
dt-bindings: add google,cros-kbd-led-backlightAcked-by: Rob Herring <robh@kernel.org>Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>Link: https://lore.kernel.org/r/20220523090822.3035189-4-tzun
dt-bindings: add google,cros-kbd-led-backlightAcked-by: Rob Herring <robh@kernel.org>Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>Link: https://lore.kernel.org/r/20220523090822.3035189-4-tzungbi@kernel.org
dt-bindings: Explicitly allow additional properties in common schemasIn order to add meta-schema checks for additional/unevaluatedPropertiesbeing present, all schema need to make this explicit. As
dt-bindings: Explicitly allow additional properties in common schemasIn order to add meta-schema checks for additional/unevaluatedPropertiesbeing present, all schema need to make this explicit. As common/sharedschema are included by other schemas, they should always allow foradditionalProperties.Acked-by: Mark Brown <broonie@kernel.org>Acked-by: Krzysztof Kozlowski <krzk@kernel.org>Acked-by: Sebastian Reichel <sre@kernel.org>Acked-by: Chanwoo Choi <cw00.choi@samsung.com>Acked-By: Vinod Koul <vkoul@kernel.org>Acked-by: Lee Jones <lee.jones@linaro.org>Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>Acked-by: Ulf Hansson <ulf.hansson@linaro.org>Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>Acked-by: Guenter Roeck <linux@roeck-us.net>Link: https://lore.kernel.org/r/20201005183830.486085-5-robh@kernel.orgSigned-off-by: Rob Herring <robh@kernel.org>
dt-bindings: Add cros-ec Type C port driverSome Chrome OS devices with Embedded Controllers (EC) can read andmodify Type C port state.Add an entry in the DT Bindings documentation that lists out
dt-bindings: Add cros-ec Type C port driverSome Chrome OS devices with Embedded Controllers (EC) can read andmodify Type C port state.Add an entry in the DT Bindings documentation that lists out the logicaldevice and describes the relevant port information, to be used by thecorresponding driver.Signed-off-by: Prashant Malani <pmalani@chromium.org>Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>Reviewed-by: Benson Leung <bleung@chromium.org>Signed-off-by: Rob Herring <robh@kernel.org>