From: "Nancy Lin (林欣螢)" <Nancy.Lin@mediatek.com>
To: "matthias.bgg@gmail.com" <matthias.bgg@gmail.com>,
"krzysztof.kozlowski@linaro.org" <krzysztof.kozlowski@linaro.org>,
"chunkuang.hu@kernel.org" <chunkuang.hu@kernel.org>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"krzysztof.kozlowski+dt@linaro.org"
<krzysztof.kozlowski+dt@linaro.org>,
"angelogioacchino.delregno@collabora.com"
<angelogioacchino.delregno@collabora.com>
Cc: "linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-mediatek@lists.infradead.org"
<linux-mediatek@lists.infradead.org>,
"Singo Chang (張興國)" <Singo.Chang@mediatek.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
Project_Global_Chrome_Upstream_Group
<Project_Global_Chrome_Upstream_Group@mediatek.com>
Subject: Re: [PATCH v1] arm64: dts: mt8195: add display node for vdosys1
Date: Wed, 22 Mar 2023 02:04:17 +0000 [thread overview]
Message-ID: <f5eea6b4e12dbd7e1570e5d1cfce81ba7e672186.camel@mediatek.com> (raw)
In-Reply-To: <67b73929-ac8b-0e41-1940-89dcd1090da0@linaro.org>
Hi Krzysztof,
Thanks for the review.
On Tue, 2023-03-21 at 18:42 +0100, Krzysztof Kozlowski wrote:
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
>
>
> On 21/03/2023 14:12, Nancy.Lin wrote:
> > Add display node for vdosys1.
> >
> > Signed-off-by: Nancy.Lin <nancy.lin@mediatek.com>
> > Reviewed-by: AngeloGioacchino Del Regno <
> > angelogioacchino.delregno@collabora.com>
> >
> > ---
> > 1. The dts patch is separated from the following patch:
> > - [v21,25/25] arm64: dts: mt8195: add display node for vdosys1
> > 20220512053128.31415-26-nancy.lin@mediatek.com
> >
> > 2. This patch is based on the following series:
> > - Add MediaTek SoC DRM (vdosys1) support for mt8195
> > 20230321121859.2355-1-nancy.lin@mediatek.com
> > ---
> > arch/arm64/boot/dts/mediatek/mt8195.dtsi | 223
> > +++++++++++++++++++++++
> > 1 file changed, 223 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi
> > b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
> > index 8fc527570791..c6b625350583 100644
> > --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi
> > +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
> > @@ -24,6 +24,22 @@
> > aliases {
> > gce0 = &gce0;
> > gce1 = &gce1;
> > + ethdr0 = ðdr0;
> > + mutex0 = &mutex;
> > + mutex1 = &mutex1;
> > + merge1 = &merge1;
> > + merge2 = &merge2;
> > + merge3 = &merge3;
> > + merge4 = &merge4;
> > + merge5 = &merge5;
> > + vdo1-rdma0 = &vdo1_rdma0;
> > + vdo1-rdma1 = &vdo1_rdma1;
> > + vdo1-rdma2 = &vdo1_rdma2;
> > + vdo1-rdma3 = &vdo1_rdma3;
> > + vdo1-rdma4 = &vdo1_rdma4;
> > + vdo1-rdma5 = &vdo1_rdma5;
> > + vdo1-rdma6 = &vdo1_rdma6;
> > + vdo1-rdma7 = &vdo1_rdma7;
> > };
> >
> > cpus {
> > @@ -2575,7 +2591,10 @@
> > vdosys1: syscon@1c100000 {
> > compatible = "mediatek,mt8195-vdosys1",
> > "syscon";
> > reg = <0 0x1c100000 0 0x1000>;
> > + mboxes = <&gce0 1 CMDQ_THR_PRIO_4>;
> > + mediatek,gce-client-reg = <&gce0
> > SUBSYS_1c10XXXX 0x0000 0x1000>;
> > #clock-cells = <1>;
> > + #reset-cells = <1>;
> > };
> >
> > smi_common_vdo: smi@1c01b000 {
> > @@ -2604,6 +2623,17 @@
> > power-domains = <&spm
> > MT8195_POWER_DOMAIN_VDOSYS0>;
> > };
> >
> > + mutex1: mutex0@1c101000 {
>
> So is it mutex1 or mutex0? Or maybe hwlock?
>
> Node names should be generic.
>
https://urldefense.com/v3/__https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html*generic-names-recommendation__;Iw!!CTRNKA9wMg0ARbw!kTTPHVkRSKyI_lzJLpTAADr2d_0OCzH083AMTTqsEM7lgT7R-0ES2YPejeJUbqGSPR7CYLALr6FsNZ-VLOjIpMAFkOsv$
>
>
>
> Best regards,
> Krzysztof
Mutex is used to send the triggers signals called Star Of
Frame(SOF)/End Of Frame(EOF) to each sub-modules on the display data
path[1]. MT8195 have two mutex, one is for vdosys0[2] and the other is
for vdosys1.
This is typo, the node name is mutex. I will change to
=> mutex1: mutex@1c101000 {
[1]mutex binding yaml
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/soc/mediatek/mediatek,mutex.yaml
[2] arm64: dts: mt8195: Add display node for vdosys0
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm64/boot/dts/mediatek/mt8195.dtsi?id=b852ee68fd722294145d86bb4d383d4ad4ae270f
Regards,
Nancy
>
prev parent reply other threads:[~2023-03-22 2:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20230321131251.3351-1-nancy.lin@mediatek.com>
2023-03-21 17:42 ` Krzysztof Kozlowski
2023-03-22 2:04 ` Nancy Lin (林欣螢) [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=f5eea6b4e12dbd7e1570e5d1cfce81ba7e672186.camel@mediatek.com \
--to=nancy.lin@mediatek.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=Singo.Chang@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=chunkuang.hu@kernel.org \
--cc=devicetree@vger.kernel.org \
--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=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®