[PATCH] dt-bindings: media: imx7-csi: Document i.MX8M power-domains property

Alexander Stein alexander.stein at ew.tq-group.com
Thu Nov 3 01:02:53 PDT 2022


Am Mittwoch, 2. November 2022, 20:19:10 CET schrieb Marek Vasut:
> 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 at denx.de>
> ---
> Cc: Fabio Estevam <festevam at gmail.com>
> Cc: Hans Verkuil <hverkuil-cisco at xs4all.nl>
> Cc: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> Cc: Lucas Stach <l.stach at pengutronix.de>
> Cc: Martin Kepplinger <martin.kepplinger at puri.sm>
> Cc: Mauro Carvalho Chehab <mchehab at kernel.org>
> Cc: Rob Herring <robh+dt at kernel.org>
> Cc: Shawn Guo <shawnguo at kernel.org>
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: NXP Linux Team <linux-imx at nxp.com>
> To: devicetree at 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>

Acked-by:
Alexander Stein <alexander.stein at ew.tq-group.com>






More information about the linux-arm-kernel mailing list