mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Fei Shao <fshao@chromium.org>
Cc: AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	Conor Dooley <conor+dt@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Rob Herring <robh@kernel.org>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org
Subject: Re: [PATCH 06/13] arm64: dts: mediatek: mt8188: Update VPPSYS node name and compatible
Date: Tue, 10 Sep 2024 09:18:51 +0200	[thread overview]
Message-ID: <64cc35c8-30df-4882-a933-f42119270f48@kernel.org> (raw)
In-Reply-To: <CAC=S1nhiJ=7yAucJsaYKUUBrwrxOVBMB2CF=bFwyLa2o-5RmWw@mail.gmail.com>

On 10/09/2024 07:12, Fei Shao wrote:
> On Mon, Sep 9, 2024 at 7:41 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>
>> On 09/09/2024 13:14, Fei Shao wrote:
>>> Use and add "syscon" in VPPSYS node names and compatible to fix errors
>>> from `make CHECK_DTBS=y mediatek/mt8188-evb.dtb`.
>>>
>>> Signed-off-by: Fei Shao <fshao@chromium.org>
>>> ---
>>>
>>>  arch/arm64/boot/dts/mediatek/mt8188.dtsi | 8 ++++----
>>>  1 file changed, 4 insertions(+), 4 deletions(-)
>>>
>>> diff --git a/arch/arm64/boot/dts/mediatek/mt8188.dtsi b/arch/arm64/boot/dts/mediatek/mt8188.dtsi
>>> index 2900d78b7ceb..14e51a11f688 100644
>>> --- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi
>>> +++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi
>>> @@ -1799,8 +1799,8 @@ mfgcfg: clock-controller@13fbf000 {
>>>                       #clock-cells = <1>;
>>>               };
>>>
>>> -             vppsys0: clock-controller@14000000 {
>>> -                     compatible = "mediatek,mt8188-vppsys0";
>>> +             vppsys0: syscon@14000000 {
>>> +                     compatible = "mediatek,mt8188-vppsys0", "syscon";
>>
>> If this was working before, it looks like this is not a syscon and
>> bindings need to be fixed.
> 
> I guess it's because the binding was later updated in commit
> 26bcd8a53098 ("dt-bindings: arm: mediatek: mmsys: Add VPPSYS
> compatible for MT8188"), and the corresponding DT update was unnoticed
> at the time.
> If that makes sense then this should be a valid fix.

Not necessarily. Why not fixing bindings? Prove that bindings are
correct, not DTS, first.

Best regards,
Krzysztof


  reply	other threads:[~2024-09-10  7:18 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-09 11:14 [PATCH 00/13] Several fixes and supports for MediaTek MT8188 SoC Fei Shao
2024-09-09 11:14 ` [PATCH 01/13] arm64: dts: mediatek: mt8188: Add CPU performance controller for CPUFreq Fei Shao
2024-09-09 11:42   ` Krzysztof Kozlowski
2024-09-10  5:15     ` Fei Shao
2024-09-09 11:14 ` [PATCH 02/13] arm64: dts: mediatek: mt8188: Specify CPU big core cluster Fei Shao
2024-09-09 11:14 ` [PATCH 03/13] arm64: dts: mediatek: mt8188: Add missing dma-ranges to soc node Fei Shao
2024-09-09 11:14 ` [PATCH 04/13] arm64: dts: mediatek: mt8188: Move vdec1 power domain under vdec0 Fei Shao
2024-09-09 11:14 ` [PATCH 05/13] arm64: dts: mediatek: mt8188: Add missing GCE clock names Fei Shao
2024-09-11 10:46   ` AngeloGioacchino Del Regno
2024-09-11 10:56     ` Fei Shao
2024-09-09 11:14 ` [PATCH 06/13] arm64: dts: mediatek: mt8188: Update VPPSYS node name and compatible Fei Shao
2024-09-09 11:41   ` Krzysztof Kozlowski
2024-09-10  5:12     ` Fei Shao
2024-09-10  7:18       ` Krzysztof Kozlowski [this message]
2024-09-10 11:06         ` Fei Shao
2024-09-16 10:02           ` Krzysztof Kozlowski
2024-09-25 11:06             ` Fei Shao
2024-09-09 11:14 ` [PATCH 07/13] dt-bindings: power: mediatek: Add another nested power-domain layer Fei Shao
2024-09-09 16:12   ` Rob Herring (Arm)
2024-09-09 11:14 ` [PATCH 08/13] arm64: dts: mediatek: mt8188: Add SMI/LARB/IOMMU support Fei Shao
2024-09-09 11:14 ` [PATCH 09/13] arm64: dts: mediatek: mt8188: Add PWM nodes for display backlight Fei Shao
2024-09-09 11:14 ` [PATCH 10/13] dt-bindings: spmi: spmi-mtk-pmif: Add compatible for MT8188 Fei Shao
2024-09-09 16:13   ` Rob Herring (Arm)
2024-09-09 20:53   ` Stephen Boyd
2024-09-09 11:14 ` [PATCH 11/13] arm64: dts: mediatek: mt8188: Add SPMI support for PMIC control Fei Shao
2024-09-09 11:14 ` [PATCH 12/13] dt-bindings: mailbox: mtk,adsp-mbox: Add compatible for MT8188 Fei Shao
2024-09-09 16:13   ` Rob Herring (Arm)
2024-09-09 11:14 ` [PATCH 13/13] arm64: dts: mediatek: mt8188: Add audio support Fei Shao

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=64cc35c8-30df-4882-a933-f42119270f48@kernel.org \
    --to=krzk@kernel.org \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=fshao@chromium.org \
    --cc=krzk+dt@kernel.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=robh@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®