linux-mediatek.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Enric Balletbo i Serra <enric.balletbo@collabora.com>
To: Matthias Brugger <matthias.bgg@gmail.com>, linux-kernel@vger.kernel.org
Cc: devicetree@vger.kernel.org, drinkcat@chromium.org,
	weiyi.lu@mediatek.com, fparent@baylibre.com,
	Rob Herring <robh+dt@kernel.org>,
	linux-mediatek@lists.infradead.org, hsinyi@chromium.org,
	Collabora Kernel ML <kernel@collabora.com>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] arm64: dts: mediatek: Add smi_common node for MT8183
Date: Thu, 15 Oct 2020 18:07:34 +0200	[thread overview]
Message-ID: <dbb00f05-6c1f-e5a2-12ae-aca494ecc6da@collabora.com> (raw)
In-Reply-To: <d937daf7-469f-8d74-4267-057b89cf1dd1@gmail.com>

Hi Matthias,

On 2/10/20 11:17, Matthias Brugger wrote:
> 
> 
> On 01/10/2020 18:28, Enric Balletbo i Serra wrote:
>> The SMI (Smart Multimedia Interface) Common is a bridge between the m4u
>> (Multimedia Memory Management Unit) and the Multimedia HW. This block is
>> needed to support different multimedia features, like display, video
>> decode, and camera. Also is needed to control the power domains of such
>> HW blocks.
>>
>> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
>> ---
>>
>>   arch/arm64/boot/dts/mediatek/mt8183.dtsi | 10 ++++++++++
>>   1 file changed, 10 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
>> b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
>> index c2fd141afcf6..9082bc65e15e 100644
>> --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
>> +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
>> @@ -916,6 +916,16 @@ mmsys: syscon@14000000 {
>>               #clock-cells = <1>;
>>           };
>>   +        smi_common: smi@14019000 {
>> +            compatible = "mediatek,mt8183-smi-common", "syscon";
>> +            reg = <0 0x14019000 0 0x1000>;
>> +            clocks = <&mmsys CLK_MM_SMI_COMMON>,
>> +                 <&mmsys CLK_MM_SMI_COMMON>,
>> +                 <&mmsys CLK_MM_GALS_COMM0>,
>> +                 <&mmsys CLK_MM_GALS_COMM1>;
>> +            clock-names = "apb", "smi", "gals0", "gals1";
>> +        };
>> +
> 
> Having a look at the bindings description, it states that the power-domains
> phandle is a required property.

Hmmm, this makes me think that there is a kind of circular dependency for
MT8183, so MT8183 power domains depends on smi_common and smi_common depends on
MT8183 power domains. Will take a deeper look.

Thanks
  Enric


> So I suppose you have to base this on the power domains series.
> 
> Regards,
> Matthias
> 
>>           imgsys: syscon@15020000 {
>>               compatible = "mediatek,mt8183-imgsys", "syscon";
>>               reg = <0 0x15020000 0 0x1000>;
>>

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

      reply	other threads:[~2020-10-15 16:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-01 16:28 [PATCH] arm64: dts: mediatek: Add smi_common node for MT8183 Enric Balletbo i Serra
2020-10-02  9:17 ` Matthias Brugger
2020-10-15 16:07   ` Enric Balletbo i Serra [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=dbb00f05-6c1f-e5a2-12ae-aca494ecc6da@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=kernel@collabora.com \
    --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+dt@kernel.org \
    --cc=weiyi.lu@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;
as well as URLs for NNTP newsgroup(s).