[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250203222018.GA226659-robh@kernel.org>
Date: Mon, 3 Feb 2025 16:20:18 -0600
From: Rob Herring <robh@...nel.org>
To: Frank Li <Frank.Li@....com>
Cc: Vinod Koul <vkoul@...nel.org>,
Kishon Vijay Abraham I <kishon@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
Philipp Zabel <p.zabel@...gutronix.de>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Rui Miguel Silva <rmfrfs@...il.com>,
Martin Kepplinger <martink@...teo.de>,
Purism Kernel Team <kernel@...i.sm>, linux-phy@...ts.infradead.org,
devicetree@...r.kernel.org, imx@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-media@...r.kernel.org, "Guoniu.zhou" <guoniu.zhou@....com>,
Robby Cai <robby.cai@....com>,
Robert Chiras <robert.chiras@....com>,
Mirela Rabulea <mirela.rabulea@....com>,
Laurentiu Palcu <laurentiu.palcu@....nxp.com>
Subject: Re: [PATCH 08/14] media: dt-bindings: nxp,imx8mq-mipi-csi2: Add
i.MX8QM compatible strings
On Fri, Jan 31, 2025 at 04:33:53PM -0500, Frank Li wrote:
> From: Robert Chiras <robert.chiras@....com>
>
> Add compatible strings for i.MX8QM platform. Remove fsl,mipi-phy-gpr from
> required properties and add 'phys', since i.MX8QM use standard phy
> interface.
>
> Keep the same restriction for other compatible strings.
>
> Signed-off-by: Robert Chiras <robert.chiras@....com>
> Reviewed-by: Robby Cai <robby.cai@....com>
> Reviewed-by: Mirela Rabulea <mirela.rabulea@....com>
> Reviewed-by: Laurentiu Palcu <laurentiu.palcu@....nxp.com>
> Signed-off-by: Frank Li <Frank.Li@....com>
> ---
> .../bindings/media/nxp,imx8mq-mipi-csi2.yaml | 30 ++++++++++++++++++++--
> 1 file changed, 28 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/media/nxp,imx8mq-mipi-csi2.yaml b/Documentation/devicetree/bindings/media/nxp,imx8mq-mipi-csi2.yaml
> index 2a14e3b0e0040..91c4d8fbb1f8c 100644
> --- a/Documentation/devicetree/bindings/media/nxp,imx8mq-mipi-csi2.yaml
> +++ b/Documentation/devicetree/bindings/media/nxp,imx8mq-mipi-csi2.yaml
> @@ -18,6 +18,8 @@ properties:
> compatible:
> enum:
> - fsl,imx8mq-mipi-csi2
> + - fsl,imx8qm-mipi-csi2
> + - fsl,imx8ulp-mipi-csi2
>
> reg:
> maxItems: 1
> @@ -39,13 +41,18 @@ properties:
> - const: ui
>
> power-domains:
> - maxItems: 1
> + minItems: 1
> + maxItems: 2
>
> resets:
> items:
> - description: CORE_RESET reset register bit definition
> - description: PHY_REF_RESET reset register bit definition
> - description: ESC_RESET reset register bit definition
> + minItems: 1
> +
> + phys:
> + maxItems: 1
>
> fsl,mipi-phy-gpr:
> description: |
> @@ -113,9 +120,28 @@ required:
> - clock-names
> - power-domains
> - resets
> - - fsl,mipi-phy-gpr
> - ports
>
> +allOf:
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - fsl,imx8qm-mipi-csi2
> + - fsl,imx8ulp-mipi-csi2
> + then:
> + required:
> + - phys
> + else:
> + properties:
> + reg:
> + maxItems: 1
The max is already 1.
> + resets:
> + minItems: 3
1, 2, or 3 resets is valid for imx8qm and imx8ulp?
2 power-domains are also now valid?
> + required:
> + - fsl,mipi-phy-gpr
> +
> additionalProperties: false
>
> examples:
>
> --
> 2.34.1
>
Powered by blists - more mailing lists