From: Jason-JH Lin <jason-jh.lin@mediatek.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>
Cc: Fabien Parent <fparent@baylibre.com>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-mediatek@lists.infradead.org>, CK Hu <ck.hu@mediatek.com>,
Rex-BC Chen <rex-bc.chen@mediatek.com>,
Nancy Lin <nancy.lin@mediatek.com>,
Singo Chang <singo.chang@mediatek.com>,
<Project_Global_Chrome_Upstream_Group@mediatek.com>,
Cellopoint <cellopoint.kai@gmail.com>
Subject: Re: [PATCH v2] dt-bindings: arm: mediatek: mmsys: refine power and gce properties
Date: Sun, 1 May 2022 16:26:24 +0800 [thread overview]
Message-ID: <cf3062c9ebc69642bdc16ce32ed3260486969b04.camel@mediatek.com> (raw)
In-Reply-To: <c9239316-40af-724b-cace-7da5bf7e8e21@linaro.org>
Hi Krzysztof,
Thanks for the reviews.
On Fri, 2022-04-29 at 22:58 +0200, Krzysztof Kozlowski wrote:
> On 29/04/2022 10:30, Jason-JH.Lin wrote:
> > Power:
> > Refine description and add item number for power-domains
> > property.
> >
> > GCE:
> > Refine description and add item number for mboxes property and
> > mediatek,gce-client-reg property.
> >
> > Fixes: 1da90b8a7bae ("dt-bindings: arm: mediatek: mmsys: add power
> > and gce properties")
> > Signed-off-by: Jason-JH.Lin <jason-jh.lin@mediatek.com>
[snip]
> > mboxes:
> > + minItems: 1
> > + maxItems: 24
>
> Wait, no, I wrote it should be 16 for one device and 24 for other,
> not
> 24 for all...
>
Ok, I thought maxItems: 24 contained 16, but it's not clear enough.
I'm not sure how to describe different maxItems for different
platforms. Does it come like this?
1. Remove the maxItems in mboxes property.
2. Add the allOf condition before the line "additionalProperties:
false". E.g.
allOf:
- if:
properties:
compatible:
contains:
const: mediatek,mt8173-mmsys
then:
properties:
mboxes:
maxItems: 16
else:
properties:
mboxes:
maxItems: 24
additionalProperties: false
...
Regards,
Jason-JH.Lin
> Best regards,
> Krzysztof
--
Jason-JH Lin <jason-jh.lin@mediatek.com>
next prev parent reply other threads:[~2022-05-01 8:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20220429083051.11260-1-jason-jh.lin@mediatek.com>
2022-04-29 20:56 ` Krzysztof Kozlowski
2022-04-29 20:58 ` Krzysztof Kozlowski
2022-05-01 8:26 ` Jason-JH Lin [this message]
2022-05-01 8:39 ` Krzysztof Kozlowski
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=cf3062c9ebc69642bdc16ce32ed3260486969b04.camel@mediatek.com \
--to=jason-jh.lin@mediatek.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=cellopoint.kai@gmail.com \
--cc=ck.hu@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=fparent@baylibre.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=nancy.lin@mediatek.com \
--cc=rex-bc.chen@mediatek.com \
--cc=robh+dt@kernel.org \
--cc=singo.chang@mediatek.com \
/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
all inboxes | Powered by JetHome®