Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4139017pxj; Tue, 15 Jun 2021 16:33:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxP7/t0dwsiLD/YcVM68zrPveihoD+Tt5RaAxDxjG7mYReEmlAWiEY9nf30X9vX5jxB65pt X-Received: by 2002:a17:906:848:: with SMTP id f8mr2004890ejd.198.1623800032805; Tue, 15 Jun 2021 16:33:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623800032; cv=none; d=google.com; s=arc-20160816; b=IFPTTBR+c3hSC3dYiRlcvRHcp/jihacGTKaqNIHk9Gff+p8/KSmokRVeyz5PiZ75wa VT0uXmhML4nLac/eN0yw4z3tuTG12mKSioZ7J39j14lCewQ4ezblP1WrXTcN1a1/t/IN ywlQJpzd44OLoCZpGt1JLi4adWS1UVYHUgFDpI3tQv5HV8GroRdi0DEc7EkrXedChkIP uAju37HgSBQoMo686AHvpokT3Mslin2vZNLoHkItbF8j7wCCN+VBKyU8LI7CaEnpJo/2 XI/S65pNHQ2e5SI3pZcl+3zjEQU76LgR/7XCSw5KCWHPQgr4x+Q30AnpAx1brYPKc1kY miSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Yu5ImtVWAp3NizAr6nwbdPQ677KnqNtme81KPPdm3ks=; b=Kqj0YSAMjTYTiLVPrSrFESvJ4P05tjf1DiV8nQWomKn334PdApTyzaL1ZUaAn/ixOV wHLAHvAflA4YPAR57ipnDXkufZRQ4EQuCOWu/BI72rYT+K0qtui+LWdm5nABkb1U0TT+ Py15JesptMJvCJyrR78vX21fBHXmGUTWOMEQW7oWecYBRYirTNoE1K3o+tXxuU1FWP1y pd1OQPppV+N8bUu2xpkNskypY2skqRDyCuCGl5n/Ybhx5cak8n5zCurrR3w4uWmEiu4k QtV3IrR4PAM0V/0JsYOP9U2uMa+kTsXx7o6+S/Pau2WyMklLPbzXQOr8wcHkuHvzgTIS khQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eU2fOUQo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l18si241761edb.254.2021.06.15.16.33.29; Tue, 15 Jun 2021 16:33:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eU2fOUQo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231476AbhFOXcj (ORCPT + 99 others); Tue, 15 Jun 2021 19:32:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:45366 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229898AbhFOXch (ORCPT ); Tue, 15 Jun 2021 19:32:37 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4C0A961356; Tue, 15 Jun 2021 23:30:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623799832; bh=EhsENLIeeDjKwTAN8zz7rBUT0tnSjzg/HSQK5HpPxEw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=eU2fOUQo43Ho6rhJgc0WFrfRqjp3ph7sH6Yth2MReQPshU0dxXLFDUMzoF7d4W/dF o4PCdLs8R5DD/cWn0oD+y2R+S3EXokKfwTMcL2N3YGaeJYMj0eGegjEUi5mAF9COgu +q0cPeeUaRsBunJeqBQcfeESYC+42eRQyCytoiGkD8gRVN+md69pzn1WblfX8o0MoP /wmV7rtkVL+wpoHZ0Psp7HEFGUGW7e4TMt9MHidQ4wiv5w1iCzkQ/q+qt0sdbOJgLT iLJ0uosB4LaAZv/CUqtgTx0p/ydf/Bkm/GXlGmTUBZQMZH4IqBPIJLq8Cil1GmKKyf jDZwerpPDGCnw== Received: by mail-ed1-f47.google.com with SMTP id s15so126163edt.13; Tue, 15 Jun 2021 16:30:32 -0700 (PDT) X-Gm-Message-State: AOAM533b87+si5Bu73Pdl1Lsx53EmMYegUz5rQkGms2eCYGVfAo+vmI7 mB/Hmw4Px0o/ofs3y/Jv/TMffMXdi3a3tn53/g== X-Received: by 2002:aa7:db16:: with SMTP id t22mr666261eds.49.1623799830833; Tue, 15 Jun 2021 16:30:30 -0700 (PDT) MIME-Version: 1.0 References: <20210615173233.26682-1-tinghan.shen@mediatek.com> <20210615173233.26682-22-tinghan.shen@mediatek.com> In-Reply-To: <20210615173233.26682-22-tinghan.shen@mediatek.com> From: Chun-Kuang Hu Date: Wed, 16 Jun 2021 07:30:19 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 22/27] arm64: dts: mt8195: add edp nodes To: Tinghan Shen Cc: Rob Herring , Matthias Brugger , DTML , "moderated list:ARM/Mediatek SoC support" , Linux ARM , linux-kernel , srv_heupstream , Seiya Wang , wenst@google.com, Project_Global_Chrome_Upstream_Group@mediatek.com, Jitao Shi Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Tinghan: Tinghan Shen =E6=96=BC 2021=E5=B9=B46=E6=9C=881= 6=E6=97=A5 =E9=80=B1=E4=B8=89 =E4=B8=8A=E5=8D=885:35=E5=AF=AB=E9=81=93=EF= =BC=9A > > From: Jitao Shi > > add edp nodes for mt8195 > > Signed-off-by: Jitao Shi > --- > arch/arm64/boot/dts/mediatek/mt8195.dtsi | 59 +++++++++++++++++++++++- > 1 file changed, 58 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/d= ts/mediatek/mt8195.dtsi > index 256818c4c0bf..d7d2c2a8f461 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi > @@ -23,6 +23,8 @@ > > aliases { > dpi1 =3D &disp_dpi1; > + dp-intf0 =3D &dp_intf0; > + dp-intf1 =3D &dp_intf1; > }; > > clocks { > @@ -1155,6 +1157,29 @@ > status =3D "disabled"; > }; > > + disp_pwm0: disp_pwm0@1100e000 { > + compatible =3D "mediatek,mt8183-disp-pwm"; You should use compatible =3D "mediatek,mt8195-disp-pwm", "mediatek,mt8183-disp-pwm"; and add definition of "mediatek,mt8195-disp-pwm" in binding document. > + reg =3D <0 0x1100e000 0 0x1000>; > + interrupts =3D = ; > + power-domains =3D <&spm MT8195_POWER_DOMAIN_VDOSY= S0>; > + #pwm-cells =3D <2>; > + clocks =3D <&topckgen CLK_TOP_DISP_PWM0_SEL>, > + <&infracfg_ao CLK_INFRA_AO_DISP_P= WM>; > + clock-names =3D "main", "mm"; > + status =3D "disabled"; > + }; > + > + disp_pwm1: disp_pwm1@1100f000 { > + compatible =3D "mediatek,mt8183-disp-pwm"; Ditto. > + reg =3D <0 0x1100f000 0 0x1000>; > + interrupts =3D ; > + #pwm-cells =3D <2>; > + clocks =3D <&topckgen CLK_TOP_DISP_PWM1_SEL>, > + <&infracfg_ao CLK_INFRA_AO_DISP_PWM1>; > + clock-names =3D "main", "mm"; > + status =3D "disabled"; > + }; > + > spi1: spi@11010000 { > compatible =3D "mediatek,mt8195-spi", > "mediatek,mt6765-spi"; > @@ -2397,6 +2422,30 @@ > status =3D "disabled"; > }; > > + dp_intf1: dp_intf1@1c113000 { > + compatible =3D "mediatek,mt8195-dp-intf"; Where is the definition of this compatible? > + reg =3D <0 0x1c113000 0 0x1000>; > + interrupts =3D ; > + power-domains =3D <&spm MT8195_POWER_DOMAIN_VDOSY= S1>; > + clocks =3D <&vdosys1 CLK_VDO1_DP_INTF0_MM>, > + <&vdosys1 CLK_VDO1_DPINTF>, > + <&topckgen CLK_TOP_DP_SEL>, > + <&topckgen CLK_TOP_TVDPLL2_D2>, > + <&topckgen CLK_TOP_TVDPLL2_D4>, > + <&topckgen CLK_TOP_TVDPLL2_D8>, > + <&topckgen CLK_TOP_TVDPLL2_D16>, > + <&topckgen CLK_TOP_TVDPLL2>; > + clock-names =3D "hf_fmm_ck", > + "hf_fdp_ck", > + "MUX_DP", > + "TVDPLL_D2", > + "TVDPLL_D4", > + "TVDPLL_D8", > + "TVDPLL_D16", > + "DPI_CK"; > + status =3D "disabled"; > + }; > + > hdmi0: hdmi@1c300000 { > compatible =3D "mediatek,mt8195-hdmi"; > reg =3D <0 0x1c300000 0 0x1000>; > @@ -2421,11 +2470,19 @@ > > edp_tx: edp_tx@1c500000 { > status =3D "disabled"; > - compatible =3D "mediatek,mt8195-dp_tx"; > + compatible =3D "mediatek,mt8195-edp_tx"; > reg =3D <0 0x1c500000 0 0x8000>; > power-domains =3D <&spm MT8195_POWER_DOMAIN_EPD_T= X>; > interrupts =3D ; > }; > + > + dp_tx: dp_tx@1c600000 { > + compatible =3D "mediatek,mt8195-dp_tx"; Ditto. Regards, Chun-Kuang. > + reg =3D <0 0x1c600000 0 0x8000>; > + power-domains =3D <&spm MT8195_POWER_DOMAIN_DP_TX= >; > + interrupts =3D ; > + status =3D "disabled"; > + }; > }; > > hdmiddc0: ddc_i2c { > -- > 2.18.0 > _______________________________________________ > Linux-mediatek mailing list > Linux-mediatek@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-mediatek