From eba1af01dbc94c6ed7c49b9b2142b54c61b8506b Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 9 Nov 2020 12:38:55 +0100 Subject: dts: update to v5.10-rc2 Signed-off-by: Sascha Hauer --- dts/Bindings/leds/backlight/common.yaml | 2 ++ dts/Bindings/leds/common.yaml | 2 +- dts/Bindings/leds/leds-class-multicolor.yaml | 9 +++++---- dts/Bindings/leds/leds-lp50xx.yaml | 8 ++++++++ 4 files changed, 16 insertions(+), 5 deletions(-) (limited to 'dts/Bindings/leds') diff --git a/dts/Bindings/leds/backlight/common.yaml b/dts/Bindings/leds/backlight/common.yaml index 4e7e95e331..bc817f77d2 100644 --- a/dts/Bindings/leds/backlight/common.yaml +++ b/dts/Bindings/leds/backlight/common.yaml @@ -32,3 +32,5 @@ properties: that a LED can be made so bright that it gets damaged or causes damage due to restrictions in a specific system, such as mounting conditions. $ref: /schemas/types.yaml#definitions/uint32 + +additionalProperties: true diff --git a/dts/Bindings/leds/common.yaml b/dts/Bindings/leds/common.yaml index 08b6700ca6..f1211e7045 100644 --- a/dts/Bindings/leds/common.yaml +++ b/dts/Bindings/leds/common.yaml @@ -43,7 +43,7 @@ properties: LED_COLOR_ID available, add a new one. $ref: /schemas/types.yaml#definitions/uint32 minimum: 0 - maximum: 8 + maximum: 9 function-enumerator: description: diff --git a/dts/Bindings/leds/leds-class-multicolor.yaml b/dts/Bindings/leds/leds-class-multicolor.yaml index b1a53f054b..37445c68cd 100644 --- a/dts/Bindings/leds/leds-class-multicolor.yaml +++ b/dts/Bindings/leds/leds-class-multicolor.yaml @@ -16,7 +16,7 @@ description: | modules. This is achieved by adding multi-led nodes layer to the monochrome LED bindings. The nodes and properties defined in this document are unique to the multicolor - LED class. Common LED nodes and properties are inherited from the common.txt + LED class. Common LED nodes and properties are inherited from the common.yaml within this documentation directory. patternProperties: @@ -25,10 +25,11 @@ patternProperties: description: Represents the LEDs that are to be grouped. properties: color: - const: 8 # LED_COLOR_ID_MULTI description: | - For multicolor LED support this property should be defined as - LED_COLOR_ID_MULTI which can be found in include/linux/leds/common.h. + For multicolor LED support this property should be defined as either + LED_COLOR_ID_RGB or LED_COLOR_ID_MULTI which can be found in + include/linux/leds/common.h. + enum: [ 8, 9 ] $ref: "common.yaml#" diff --git a/dts/Bindings/leds/leds-lp50xx.yaml b/dts/Bindings/leds/leds-lp50xx.yaml index 947542a253..c192b5fead 100644 --- a/dts/Bindings/leds/leds-lp50xx.yaml +++ b/dts/Bindings/leds/leds-lp50xx.yaml @@ -46,6 +46,12 @@ properties: vled-supply: description: LED supply. + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + patternProperties: '^multi-led@[0-9a-f]$': type: object @@ -69,6 +75,8 @@ required: - compatible - reg +additionalProperties: false + examples: - | #include -- cgit v1.2.3