From: Frank Li <Frank.li@nxp.com>
To: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Cc: Krzysztof Kozlowski <krzk@kernel.org>,
imx@lists.linux.dev, Abel Vesa <abelvesa@kernel.org>,
Peng Fan <peng.fan@nxp.com>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 6/9] dt-bindings: clock: nxp,imx95-blk-ctl: Add ldb child node
Date: Thu, 4 Sep 2025 10:09:58 -0400 [thread overview]
Message-ID: <aLmdttUH/GoIhMRm@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <dkumg46ybhyvjlqgequj52vq4wszjce7myz5of42ofydwuvkp7@2okl64wavaa2>
On Thu, Sep 04, 2025 at 03:14:53PM +0300, Laurentiu Palcu wrote:
> On Thu, Sep 04, 2025 at 09:27:31AM +0200, Krzysztof Kozlowski wrote:
> > On Wed, Sep 03, 2025 at 03:33:24PM +0300, Laurentiu Palcu wrote:
> > > Since the BLK CTL registers, like the LVDS CSR, can be used to control the
> > > LVDS Display Bridge controllers, add 'ldb' child node to handle
> > > these use cases.
> > >
> > > Signed-off-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
> > > ---
> > > .../bindings/clock/nxp,imx95-blk-ctl.yaml | 24 ++++++++++++++++++-
> > > 1 file changed, 23 insertions(+), 1 deletion(-)
> >
> > Nothing in the changelog explains this patch.
> >
> > What happened with entire previous review?
> I will try adding a changlog to the individual patches in the future... :/
>
> >
> > >
> > > diff --git a/Documentation/devicetree/bindings/clock/nxp,imx95-blk-ctl.yaml b/Documentation/devicetree/bindings/clock/nxp,imx95-blk-ctl.yaml
> > > index 27403b4c52d62..f83d96701bb04 100644
> > > --- a/Documentation/devicetree/bindings/clock/nxp,imx95-blk-ctl.yaml
> > > +++ b/Documentation/devicetree/bindings/clock/nxp,imx95-blk-ctl.yaml
> > > @@ -39,6 +39,28 @@ properties:
> > > ID in its "clocks" phandle cell. See
> > > include/dt-bindings/clock/nxp,imx95-clock.h
> > >
> > > +if:
> > > + properties:
> > > + compatible:
> > > + contains:
> > > + const: nxp,imx94-lvds-csr
> > > +then:
> > > + properties:
> > > + "#address-cells":
> > > + const: 1
> > > +
> > > + "#size-cells":
> > > + const: 1
> > > +
> > > + patternProperties:
> > > + "^ldb@[0-9a-f]+$":
> >
> > No, don't define nodes in if:then:. Where did you get this syntax from?
> I guess I looked over various bindings using patternProperties in if:then:
> blocks but I completely missed the fact that the nodes were actually defined
> outside... And you gave me a good hint in a reply for v4 but, somehow, I failed
> to completely understand what you suggested... :/
>
> Hopefully, the following *is* what you meant:
>
> ...
> patternProperties:
> "^ldb@[0-9a-f]+$":
> type: object
> $ref: /schemas/display/bridge/fsl,ldb.yaml#
>
> if:
> not:
> properties:
> compatible:
> contains:
> const: nxp,imx94-lvds-csr
> then:
> patternProperties:
> "^ldb@[0-9a-f]+$": false
> else:
> required:
> - '#address-cells'
> - '#size-cells'
> ...
>
> >
> > > + type: object
> > > + $ref: /schemas/display/bridge/fsl,ldb.yaml#
> > > +
> > > + required:
> > > + - '#address-cells'
> > > + - '#size-cells'
> > > +
> > > required:
> > > - compatible
> > > - reg
> > > @@ -46,7 +68,7 @@ required:
> > > - power-domains
> > > - clocks
> > >
> > > -additionalProperties: false
> > > +unevaluatedProperties: false
> >
> > NAK, so schema warned you above syntax is wrong and you decided to
> > silence the warning with this hack, right?
> Indeed, the checks gave me a warning and I thought it was the right thing to
> use 'unevaluatedProperties: false' since additionalProperties cannot recognize
> properties declared in subschemas...
>
> Anyway, with the change above, 'additionalProperties: false' will do just fine.
Laurentiu:
You can ping me by nxp team first if you have problem or can't
understand Krzysztof's means.
Krzysztof is quite busy!
Frank
>
> Thanks,
> Laurentiu
>
> >
> > Best regards,
> > Krzysztof
> >
next prev parent reply other threads:[~2025-09-04 19:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-03 12:33 [PATCH v4 0/9] Add support for i.MX94 DCIF Laurentiu Palcu
2025-09-03 12:33 ` [PATCH v4 4/9] dt-bindings: display: imx: Add bindings " Laurentiu Palcu
2025-09-03 15:23 ` Frank Li
2025-09-04 7:24 ` Krzysztof Kozlowski
2025-09-04 12:14 ` Laurentiu Palcu
2025-09-04 14:11 ` Frank Li
2025-09-03 12:33 ` [PATCH v4 5/9] drm/imx: Add support " Laurentiu Palcu
2025-09-03 12:33 ` [PATCH v4 6/9] dt-bindings: clock: nxp,imx95-blk-ctl: Add ldb child node Laurentiu Palcu
2025-09-04 7:27 ` Krzysztof Kozlowski
2025-09-04 12:14 ` Laurentiu Palcu
2025-09-04 14:09 ` Frank Li [this message]
2025-09-03 12:33 ` [PATCH v4 7/9] arm64: dts: imx943: Add display pipeline nodes Laurentiu Palcu
2025-09-03 12:33 ` [PATCH v4 8/9] arm64: dts: imx943-evk: Add display support using IT6263 Laurentiu Palcu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aLmdttUH/GoIhMRm@lizhi-Precision-Tower-5810 \
--to=frank.li@nxp.com \
--cc=abelvesa@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=laurentiu.palcu@oss.nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=peng.fan@nxp.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=sboyd@kernel.org \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox