lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z6I2i73OLftL/k4a@lizhi-Precision-Tower-5810>
Date: Tue, 4 Feb 2025 10:47:23 -0500
From: Frank Li <Frank.li@....com>
To: Rob Herring <robh@...nel.org>
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 Mon, Feb 03, 2025 at 04:20:18PM -0600, Rob Herring wrote:
> 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?

It should be 1 for imx8qm and imx8ulp, I will update.

>
> 2 power-domains are also now valid?

Sorry, missed it. I will update it.

Frank

>
> > +      required:
> > +        - fsl,mipi-phy-gpr
> > +
> >  additionalProperties: false
> >
> >  examples:
> >
> > --
> > 2.34.1
> >

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ