Skip to contentSkip to conversation

dt-bindings: mxsfb: Document i.MX8M power-domains property

PATCH Superseded Marek Vasut 3 participants 3 messages Dec 11, 2022 – Dec 12, 2022

Subsystems (4)

v1 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Marek Vasut

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: mxsfb: Document i.MX8M power-domains property

The power-domains property is mandatory on i.MX8M Mini, Nano, Plus. Document the property and mark it as required on the aforementioned variants of the IP, present in those SoCs.

---
Cc: Fabio Estevam <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Lucas Stach <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: [email protected]
To: [email protected]

---
 .../devicetree/bindings/display/fsl,lcdif.yaml     | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
Documentation/devicetree/bindings/display/fsl,lcdif.yaml +14 -0
index 876015a44a1e6..31847efedd8f9 100644
@@ -52,6 +52,9 @@ properties:
   interrupts:
     maxItems: 1
 
+  power-domains:
+    maxItems: 1
+
   port:
     $ref: /schemas/graph.yaml#/properties/port
     description: The LCDIF output port
@@ -87,6 +90,17 @@ allOf:
           maxItems: 1
         clock-names:
           maxItems: 1
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - fsl,imx8mm-lcdif
+              - fsl,imx8mn-lcdif
+              - fsl,imx8mp-lcdif
+    then:
+      required:
+        - power-domains
 
 examples:
   - |
Signature · 1 line
2.35.1
#2 lore raw
In reply to Marek Vasut

Hi Marek,

Quoted 35 lines · Marek Vasut

The power-domains property is mandatory on i.MX8M Mini, Nano, Plus. Document the property and mark it as required on the aforementioned variants of the IP, present in those SoCs.

---
Cc: Fabio Estevam <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Lucas Stach <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: [email protected]
To: [email protected]

---
 .../devicetree/bindings/display/fsl,lcdif.yaml     | 14
++++++++++++++
 1 file changed, 14 insertions(+)
Documentation/devicetree/bindings/display/fsl,lcdif.yaml +3 -0
index 876015a44a1e6..31847efedd8f9 100644
@@ -52,6 +52,9 @@ properties:
   interrupts:
     maxItems: 1
 
+  power-domains:
+    maxItems: 1
+
   port:
     $ref: /schemas/graph.yaml#/properties/port
     description: The LCDIF output port

Documentation/devicetree/bindings/display/fsl,lcdif.yaml allOf: · line 97

Quoted 8 lines
Documentation/devicetree/bindings/display/fsl,lcdif.yaml +5 -0
@@ -87,6 +90,17 @@ allOf:
           maxItems: 1
         clock-names:
           maxItems: 1
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:

There is a power-domains property in the lcdif node of imx6sl.dtsi, so care to add '- fsl,imx6sl-lcdif' here too? The patch subject and commit message need to be updated correspondingly then.

Regards,
Liu Ying

Quoted 9 lines
Documentation/devicetree/bindings/display/fsl,lcdif.yaml +6 -0
+              - fsl,imx8mm-lcdif
+              - fsl,imx8mn-lcdif
+              - fsl,imx8mp-lcdif
+    then:
+      required:
+        - power-domains
 
 examples:
   - |