All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: media: imx7-csi: Document i.MX8M power-domains property
@ 2022-11-02 19:19 Marek Vasut
  2022-11-02 21:33 ` Krzysztof Kozlowski
  2022-11-03  8:02 ` Alexander Stein
  0 siblings, 2 replies; 9+ messages in thread
From: Marek Vasut @ 2022-11-02 19:19 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Marek Vasut, Fabio Estevam, Hans Verkuil, Laurent Pinchart,
	Lucas Stach, Martin Kepplinger, Mauro Carvalho Chehab,
	Rob Herring, Shawn Guo, NXP Linux Team

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

Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Martin Kepplinger <martin.kepplinger@puri.sm>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: NXP Linux Team <linux-imx@nxp.com>
To: devicetree@vger.kernel.org
---
 .../devicetree/bindings/media/nxp,imx7-csi.yaml   | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/Documentation/devicetree/bindings/media/nxp,imx7-csi.yaml b/Documentation/devicetree/bindings/media/nxp,imx7-csi.yaml
index 4f7b782653361..358019e85d907 100644
--- a/Documentation/devicetree/bindings/media/nxp,imx7-csi.yaml
+++ b/Documentation/devicetree/bindings/media/nxp,imx7-csi.yaml
@@ -37,6 +37,9 @@ properties:
     items:
       - const: mclk
 
+  power-domains:
+    maxItems: 1
+
   port:
     $ref: /schemas/graph.yaml#/properties/port
 
@@ -50,6 +53,18 @@ required:
 
 additionalProperties: false
 
+allOf:
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - fsl,imx8mq-csi
+              - fsl,imx8mm-csi
+    then:
+      required:
+        - power-domains
+
 examples:
   - |
     #include <dt-bindings/clock/imx7d-clock.h>
-- 
2.35.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-01-02 23:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-02 19:19 [PATCH] dt-bindings: media: imx7-csi: Document i.MX8M power-domains property Marek Vasut
2022-11-02 21:33 ` Krzysztof Kozlowski
2022-11-02 22:07   ` Marek Vasut
2022-12-27 23:11   ` Laurent Pinchart
2022-12-28  9:18     ` Krzysztof Kozlowski
2023-01-02 23:38       ` Marek Vasut
2023-01-02 23:42         ` Laurent Pinchart
2023-01-02 23:42           ` Marek Vasut
2022-11-03  8:02 ` Alexander Stein

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.