Inter-revision diff: patch 5

Comparing v2 (message) to v3 (message)

--- v2
+++ v3
@@ -5,18 +5,18 @@
 
 Signed-off-by: Alexander Kurz <akurz@blala.de>
 ---
- .../devicetree/bindings/mfd/fsl,mc13xxx.yaml  | 214 ++++++++++++++++++
+ .../devicetree/bindings/mfd/fsl,mc13xxx.yaml  | 218 ++++++++++++++++++
  .../devicetree/bindings/mfd/mc13xxx.txt       | 156 -------------
- 2 files changed, 214 insertions(+), 156 deletions(-)
+ 2 files changed, 218 insertions(+), 156 deletions(-)
  create mode 100644 Documentation/devicetree/bindings/mfd/fsl,mc13xxx.yaml
  delete mode 100644 Documentation/devicetree/bindings/mfd/mc13xxx.txt
 
 diff --git a/Documentation/devicetree/bindings/mfd/fsl,mc13xxx.yaml b/Documentation/devicetree/bindings/mfd/fsl,mc13xxx.yaml
 new file mode 100644
-index 000000000000..94e2f6557376
+index 000000000000..007c2e3eee91
 --- /dev/null
 +++ b/Documentation/devicetree/bindings/mfd/fsl,mc13xxx.yaml
-@@ -0,0 +1,214 @@
+@@ -0,0 +1,218 @@
 +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 +%YAML 1.2
 +---
@@ -28,7 +28,7 @@
 +maintainers:
 +  - Alexander Kurz <akurz@blala.de>
 +
-+description:
++description: >
 +  The MC13xxx PMIC series consists of the three models MC13783, MC13892
 +  and MC34708 and provide regulators and other features like RTC, ADC,
 +  LED, touchscreen, codec and input buttons.
@@ -61,8 +61,7 @@
 +  leds:
 +    type: object
 +    $ref: /schemas/leds/common.yaml#
-+    description: |
-+      Leds
++
 +    properties:
 +      reg:
 +        description: |
@@ -80,6 +79,7 @@
 +            9: Red 3
 +            10: Green 3
 +            11: Blue 3
++
 +          MC13892 LED IDs
 +            0: Main display
 +            1: AUX display
@@ -87,11 +87,13 @@
 +            3: Red
 +            4: Green
 +            5: Blue
++
 +          MC34708 LED IDs
 +            0: Charger Red
 +            1: Charger Green
 +        maxItems: 1
-+      fsl,led-control:
++
++      led-control:
 +        $ref: /schemas/types.yaml#/definitions/uint32-array
 +        description: |
 +          Setting for LED-Control register array length depends on model,
@@ -99,14 +101,12 @@
 +
 +  regulators:
 +    type: object
-+    $ref: /schemas/regulator/regulator.yaml#
++
++    additionalProperties:
++      type: object
++
 +    description: |
-+      List of child nodes specifying the regulators, depending on chip variant:
-+      * MC13783: gpo[1-4], pwgt[12]spi, sw[12][ab], sw3, vaudio, vcam, vdig,
-+      vesim, vgen, viohi, violo, vmmc[12], vrf[12], vrfbg, vrfcp, vrfdig,
-+      vrfref, vsim and vvib.
-+      * MC13892: gpo[1-4], pwgt[12]spi, sw[1-4], swbst, vaudio, vcam, vcoincell,
-+      vdig, vgen[1-3], viohi, vpll, vsd, vusb, vusb2, vvideo.
++      List of child nodes specifying the regulators, depending on chip variant.
 +      Each child node is defined using the standard binding for regulators and
 +      the optional regulator properties defined below.
 +
@@ -140,7 +140,7 @@
 +      properties:
 +        leds:
 +          properties:
-+            fsl,led-control:
++            led-control:
 +              minItems: 6
 +              maxItems: 6
 +        regulators:
@@ -149,6 +149,8 @@
 +              type: object
 +              $ref: /schemas/regulator/regulator.yaml#
 +
++              unevaluatedProperties: false
++
 +  - if:
 +      properties:
 +        compatible:
@@ -158,7 +160,7 @@
 +      properties:
 +        leds:
 +          properties:
-+            fsl,led-control:
++            led-control:
 +              minItems: 4
 +              maxItems: 4
 +        regulators:
@@ -167,6 +169,8 @@
 +              type: object
 +              $ref: /schemas/regulator/regulator.yaml#
 +
++              unevaluatedProperties: false
++
 +  - if:
 +      properties:
 +        compatible:
@@ -176,7 +180,7 @@
 +      properties:
 +        leds:
 +          properties:
-+            fsl,led-control:
++            led-control:
 +              minItems: 1
 +              maxItems: 1
 +
@@ -205,7 +209,7 @@
 +            leds {
 +                #address-cells = <1>;
 +                #size-cells = <0>;
-+                fsl,led-control = <0x000 0x000 0x0e0 0x000>;
++                led-control = <0x000 0x000 0x0e0 0x000>;
 +
 +                sysled@3 {
 +                    reg = <3>;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help