From: Enric Balletbo i Serra <enric.balletbo@collabora.com>
To: Matthias Brugger <matthias.bgg@gmail.com>,
Nicolas Boichat <drinkcat@chromium.org>,
matthias.bgg@kernel.org
Cc: Hsin-Yi Wang <hsinyi@chromium.org>,
Fabien Parent <fparent@baylibre.com>,
"moderated list:ARM/Mediatek SoC support"
<linux-mediatek@lists.infradead.org>,
Rob Herring <robh+dt@kernel.org>,
Devicetree List <devicetree@vger.kernel.org>,
linux-arm Mailing List <linux-arm-kernel@lists.infradead.org>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 3/3] arm64: dts: mt8183-kukui: fix dtbs_check warnings
Date: Thu, 15 Apr 2021 10:37:59 +0200 [thread overview]
Message-ID: <82fdfa6e-9c4d-7146-fd90-353e350159c2@collabora.com> (raw)
In-Reply-To: <d87f20bd-2195-663b-dd0b-ea1fa2f28a46@gmail.com>
Hi Matthias,
On 15/4/21 9:47, Matthias Brugger wrote:
> Hi Nicolas,
>
> On 15/04/2021 02:29, Nicolas Boichat wrote:
>> On Wed, Apr 14, 2021 at 10:46 PM <matthias.bgg@kernel.org> wrote:
>>>
>>> From: Matthias Brugger <matthias.bgg@gmail.com>
>>>
>>> The dsi children don't have any reg property,
>>
>> Confused, see below.
>>
>>> so we don't need address and
>>> size cells. This makes dtbs_check happy.
>>>
>>> CC: Hsin-Yi Wang <hsinyi@chromium.org>
>>> CC: Enric Balletbo i Serra <enric.balletbo@collabora.com>
>>> CC: Nicolas Boichat <drinkcat@chromium.org>
>>> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
>>>
>>> ---
>>>
>>> arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 3 +--
>>> 1 file changed, 1 insertion(+), 2 deletions(-)
>>>
>>> diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
>>> index ff56bcfa3370..f4dca6a33168 100644
>>> --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
>>> +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
>>> @@ -251,8 +251,7 @@ &cpu7 {
>>>
>>> &dsi0 {
>>> status = "okay";
>>> - #address-cells = <1>;
>>> - #size-cells = <0>;
>>> +
>>> panel: panel@0 {
>>> /* compatible will be set in board dts */
>>> reg = <0>;
>>
>> ^^ isn't that... a reg property?
>>
>
> Yes, that's my fault. I'm not quite sure why we would need this reg property. In
> any case also we have it present "dtbs_check W=1" throws the following warning:
> mediatek/mt8183.dtsi:1234.22-1246.5: Warning (avoid_unnecessary_addr_size):
> /soc/dsi@14014000: unnecessary #address-cells/#size-cells without "ranges" or
> child "reg" property
>
>
> Can you have a look at that?
>
I think it is needed reg. See at
Documentation/devicetree/bindings/display/dsi-controller.yaml
Regards,
Enric
> Regards,
> Matthias
>
>>> --
>>> 2.30.2
>>>
next prev parent reply other threads:[~2021-04-15 8:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-14 14:46 [PATCH 1/3] arm64: dts: mt8183-pumpkin: fix dtbs_check warning matthias.bgg
2021-04-14 14:46 ` [PATCH 2/3] arm64: dts: mt8183: " matthias.bgg
2021-04-16 5:53 ` Enric Balletbo Serra
2021-04-14 14:46 ` [PATCH 3/3] arm64: dts: mt8183-kukui: fix dtbs_check warnings matthias.bgg
2021-04-15 0:29 ` Nicolas Boichat
2021-04-15 7:47 ` Matthias Brugger
2021-04-15 8:37 ` Enric Balletbo i Serra [this message]
2021-04-16 5:52 ` [PATCH 1/3] arm64: dts: mt8183-pumpkin: fix dtbs_check warning Enric Balletbo Serra
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=82fdfa6e-9c4d-7146-fd90-353e350159c2@collabora.com \
--to=enric.balletbo@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=drinkcat@chromium.org \
--cc=fparent@baylibre.com \
--cc=hsinyi@chromium.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=matthias.bgg@kernel.org \
--cc=robh+dt@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
all inboxes | Powered by JetHome®