lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f5eea6b4e12dbd7e1570e5d1cfce81ba7e672186.camel@mediatek.com>
Date:   Wed, 22 Mar 2023 02:04:17 +0000
From:   Nancy Lin (林欣螢) <Nancy.Lin@...iatek.com>
To:     "matthias.bgg@...il.com" <matthias.bgg@...il.com>,
        "krzysztof.kozlowski@...aro.org" <krzysztof.kozlowski@...aro.org>,
        "chunkuang.hu@...nel.org" <chunkuang.hu@...nel.org>,
        "robh+dt@...nel.org" <robh+dt@...nel.org>,
        "krzysztof.kozlowski+dt@...aro.org" 
        <krzysztof.kozlowski+dt@...aro.org>,
        "angelogioacchino.delregno@...labora.com" 
        <angelogioacchino.delregno@...labora.com>
CC:     "linux-arm-kernel@...ts.infradead.org" 
        <linux-arm-kernel@...ts.infradead.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "linux-mediatek@...ts.infradead.org" 
        <linux-mediatek@...ts.infradead.org>,
        Singo Chang (張興國) 
        <Singo.Chang@...iatek.com>,
        "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
        Project_Global_Chrome_Upstream_Group 
        <Project_Global_Chrome_Upstream_Group@...iatek.com>
Subject: Re: [PATCH v1] arm64: dts: mt8195: add display node for vdosys1

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@...iatek.com>
> > Reviewed-by: AngeloGioacchino Del Regno <
> > angelogioacchino.delregno@...labora.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@...iatek.com
> > 
> > 2. This patch is based on the following series:
> >  - Add MediaTek SoC DRM (vdosys1) support for mt8195
> >    20230321121859.2355-1-nancy.lin@...iatek.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 = &ethdr0;
> > +             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@...00000 {
> >                       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@...1b000 {
> > @@ -2604,6 +2623,17 @@
> >                       power-domains = <&spm
> > MT8195_POWER_DOMAIN_VDOSYS0>;
> >               };
> > 
> > +             mutex1: mutex0@...01000 {
> 
> 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@...01000 {


[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



> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ