From: "Moudy Ho (何宗原)" <Moudy.Ho@mediatek.com>
To: "krzk@kernel.org" <krzk@kernel.org>
Cc: "linux-mediatek@lists.infradead.org"
<linux-mediatek@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"chunkuang.hu@kernel.org" <chunkuang.hu@kernel.org>,
"Jason-JH Lin (林睿祥)" <Jason-JH.Lin@mediatek.com>,
"tzimmermann@suse.de" <tzimmermann@suse.de>,
"simona@ffwll.ch" <simona@ffwll.ch>,
"mripard@kernel.org" <mripard@kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"p.zabel@pengutronix.de" <p.zabel@pengutronix.de>,
"maarten.lankhorst@linux.intel.com"
<maarten.lankhorst@linux.intel.com>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"robh@kernel.org" <robh@kernel.org>,
"Macpaul Lin (林智斌)" <Macpaul.Lin@mediatek.com>,
"airlied@gmail.com" <airlied@gmail.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
"matthias.bgg@gmail.com" <matthias.bgg@gmail.com>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"AngeloGioacchino Del Regno"
<angelogioacchino.delregno@collabora.com>
Subject: Re: [PATCH v4] dt-bindings: display: mediatek: split: add subschema property constraints
Date: Fri, 4 Oct 2024 07:16:23 +0000 [thread overview]
Message-ID: <00fe988ac57393eb7dcc837631f2a94bc5e95c0b.camel@mediatek.com> (raw)
In-Reply-To: <ajydpbq4ygrfr3ahs5nuh72pdmbttus2kgjb6csxc3p4tcq5l2@dlmucrzchvgl>
Hi Krzysztof,
On Fri, 2024-10-04 at 08:35 +0200, Krzysztof Kozlowski wrote:
>
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
> On Fri, Oct 04, 2024 at 11:12:45AM +0800, Moudy Ho wrote:
> > The display node in mt8195.dtsi was triggering a CHECK_DTBS error
> due
> > to an excessively long 'clocks' property:
> > display@14f06000: clocks: [[31, 14], [31, 43], [31, 44]] is too
> long
> >
> > To resolve this issue, the constraints for 'clocks' and
> > other properties within the subschema will be reinforced.
> >
> > Fixes: 739058a9c5c3 ("dt-bindings: display: mediatek: split: add
> compatible for MT8195")
> > Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
> > Signed-off-by: Moudy Ho <moudy.ho@mediatek.com>
> >
> > --
> > This is based on [v2] dt-bindings: display: mediatek: split: add
> clocks count constraint for MT8195
> >
> > Changes since v3:
> > - Correct the compatible name for the mt8173 split in the
> subschema.
> >
> > Changes since v2:
> > - Revise the commit message.
> > - Enhance the descriptions of 'clocks'.
> > - Strengthen the conditions within the subschema.
> >
> > Changes since v1:
> > - Adding functional descriptions and quantity restrictions.
> > ---
> > .../display/mediatek/mediatek,split.yaml | 24
> +++++++++++++++++++
> > 1 file changed, 24 insertions(+)
> >
> > diff --git
> a/Documentation/devicetree/bindings/display/mediatek/mediatek,split.y
> aml
> b/Documentation/devicetree/bindings/display/mediatek/mediatek,split.y
> aml
> > index e4affc854f3d..87f8477a7be8 100644
> > ---
> a/Documentation/devicetree/bindings/display/mediatek/mediatek,split.y
> aml
> > +++
> b/Documentation/devicetree/bindings/display/mediatek/mediatek,split.y
> aml
> > @@ -57,6 +57,9 @@ properties:
> > clocks:
> > items:
> > - description: SPLIT Clock
> > + - description: Used for interfacing with the HDMI RX signal
> source.
> > + - description: Paired with receiving HDMI RX metadata.
> > + minItems: 1
> >
> > required:
> > - compatible
> > @@ -72,9 +75,30 @@ allOf:
> > const: mediatek,mt8195-mdp3-split
> >
> > then:
> > + properties:
> > + clocks:
>
> minItems, nothing in your commit msg says that clocks are optional
>
Thanks for the reminder. I misunderstood the implications of using
min/max.
> > + maxItems: 3
> > +
> > + power-domains:
> > + maxItems: 1
>
> This should be in top-level, not here.
>
> Best regards,
> Krzysztof
>
The above two will be corrected in the next version.
Sincerely,
Moudy Ho
prev parent reply other threads:[~2024-10-04 7:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-04 3:12 [PATCH v4] dt-bindings: display: mediatek: split: add subschema property constraints Moudy Ho
2024-10-04 6:35 ` Krzysztof Kozlowski
2024-10-04 7:16 ` Moudy Ho (何宗原) [this message]
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=00fe988ac57393eb7dcc837631f2a94bc5e95c0b.camel@mediatek.com \
--to=moudy.ho@mediatek.com \
--cc=Jason-JH.Lin@mediatek.com \
--cc=Macpaul.Lin@mediatek.com \
--cc=airlied@gmail.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=chunkuang.hu@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=matthias.bgg@gmail.com \
--cc=mripard@kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/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