File tree Expand file tree Collapse file tree 3 files changed +7
-21
lines changed
Documentation/devicetree/bindings/leds Expand file tree Collapse file tree 3 files changed +7
-21
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,8 @@ properties:
56
56
57
57
patternProperties :
58
58
" ^led@[0-2]$ " :
59
- type : object
59
+ $ref : common.yaml#
60
+ unevaluatedProperties : false
60
61
61
62
properties :
62
63
reg :
Original file line number Diff line number Diff line change @@ -30,9 +30,8 @@ properties:
30
30
31
31
patternProperties :
32
32
" ^led@[0-2]$ " :
33
- type : object
34
- description : |
35
- Properties for a single LED.
33
+ $ref : common.yaml#
34
+ unevaluatedProperties : false
36
35
37
36
properties :
38
37
reg :
@@ -41,10 +40,6 @@ patternProperties:
41
40
minimum : 0
42
41
maximum : 2
43
42
44
- label : true
45
-
46
- linux,default-trigger : true
47
-
48
43
required :
49
44
- compatible
50
45
- " #address-cells"
Original file line number Diff line number Diff line change @@ -26,26 +26,16 @@ properties:
26
26
27
27
patternProperties :
28
28
" ^led-[1-2]$ " :
29
- type : object
30
- description :
31
- Properties for a single LED.
29
+ $ref : common.yaml#
30
+ unevaluatedProperties : false
31
+
32
32
properties :
33
- # allOf:
34
- # - $ref: "common.yaml#"
35
33
rohm,led-compatible :
36
34
description : LED identification string
37
35
$ref : " /schemas/types.yaml#/definitions/string"
38
36
enum :
39
37
- bd71828-ambled
40
38
- bd71828-grnled
41
- function :
42
- description :
43
- Purpose of LED as defined in dt-bindings/leds/common.h
44
- $ref : " /schemas/types.yaml#/definitions/string"
45
- color :
46
- description :
47
- LED colour as defined in dt-bindings/leds/common.h
48
- $ref : " /schemas/types.yaml#/definitions/uint32"
49
39
50
40
required :
51
41
- compatible
You can’t perform that action at this time.
0 commit comments