Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2184511pxb; Fri, 24 Sep 2021 23:46:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtkxdolufiw5Iwqs0pRpmwnjZvGG8k1ad22s9TyZDujrsxyLKOwuNHAzDYVdo+a9fR311w X-Received: by 2002:a17:906:686:: with SMTP id u6mr15188096ejb.569.1632552417718; Fri, 24 Sep 2021 23:46:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632552417; cv=none; d=google.com; s=arc-20160816; b=vB0BfF/eATdiuNTXa5yiBcWKPOFcG7B8DhRGGQ5L+QfedUhs+09TNEwfOz7GvnhZYs 63tEirc1IhK33X6GGmXqjJ/Vr+MntN6J0hQcGds7BsR9oh638h1uZQz6Y/9aNjJqEXYT wUH4I7HcDblnv0MCDI+GriUY8d5JQMO18ywK7PRqzcHWiPmakeVqcOVm9oU+RpBC8cKC 9D2sSbfuvhuf2obEw15ptzNmFyak/yylDZ+TA6lmZ1Ub0oJ9r/2hbyAPc8+zQqJoUc2V kfxBPf+9lEO5WwgwU6qfSH8x+/WtQiWVIx0E3afnwr78BylRJ4JMnFaAXuuxqB1fdNFz Lttg== 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=ELQo/MLuuEE52e8MqcHxEV/ZYpUUuDavliFZXspxfIk=; b=Ify4r2I+ywn+KZIo5aNn7tBTe5IQSyCGh6jT8LR8vBesPEIU/QwD2DDf3yDuSb7b9b KmWsXdcmoNqxl3ORR02eC8qZ/N2qfZ2QUNFXnAHyVgPOJJr4FoAmrfprQXZRgXgvfdyU edcqhNRykrJI2TmKtm6ZFTo9trA+yPYLx9CjdGp6cAqiVuDUMiE9H38Gn83VwV4EMx1N 9IWuh3HhXDOJUsflnyoMFYP0JuL/pzykmQzs/JJKP537Mjye4r4Vt/qG+BKBvNNOwfGM 56WqfT+CLhSulBnvGdA6wMFHTehSrSAFvWdPm5ISkvA9NyVigiVIH7Y+q1d8/Ls1r0Me njMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CViJisyP; 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 my33si10867028ejc.39.2021.09.24.23.46.34; Fri, 24 Sep 2021 23:46:57 -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=CViJisyP; 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 S1347387AbhIYCTH (ORCPT + 99 others); Fri, 24 Sep 2021 22:19:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:53812 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343760AbhIYCTG (ORCPT ); Fri, 24 Sep 2021 22:19:06 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0DC4461251; Sat, 25 Sep 2021 02:17:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632536253; bh=D6mVq6Ws5LARrt0i89PJK+aDRPrFBg+LXJD8hpN1g/g=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=CViJisyPwkv5aUHbjwT60mL3x9qr1cZjSx1lpiNW8fc46hl26wDvn3hwTH0s+KQ9c txfOWQkvAjBtURVkGR4ZjryyWIceDcWsucyiUlxMDvl508YHexoHy90OLwRVl8gM8l 9GPIChPhvYNDHP00usmTuRefu1vYliyayBzpFmFDhEy6ttTGLo8uUd97PheGMy0Vvt HGIFndGKjusR3hsiAtKoYJQroKz9GiNUEmbYqynCOb77nOjxEEqsmMJh8avv/DRhaU Ja/TMzNE48rwBRoV+oI0+aJdhkQNQlTGgHazEuGxmbUzmgd8kUMzbKCiQmwq0r202s FjTkTPIJLKJSA== Received: by mail-ed1-f43.google.com with SMTP id bx4so43316973edb.4; Fri, 24 Sep 2021 19:17:32 -0700 (PDT) X-Gm-Message-State: AOAM532RCLuJKfOMwhxVW0fRqFE1g5Av8XcrNRh0qeBXGtQgX2K7ZeJ1 D4X+jCENny4fNHpp9QhC8UVLL22LYZnQAHDkEg== X-Received: by 2002:aa7:c617:: with SMTP id h23mr8737188edq.357.1632536251531; Fri, 24 Sep 2021 19:17:31 -0700 (PDT) MIME-Version: 1.0 References: <20210921155218.10387-1-jason-jh.lin@mediatek.com> <20210921155218.10387-6-jason-jh.lin@mediatek.com> In-Reply-To: <20210921155218.10387-6-jason-jh.lin@mediatek.com> From: Chun-Kuang Hu Date: Sat, 25 Sep 2021 10:17:20 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v11 05/16] dt-bindings: display: mediatek: merge: add additional prop for mt8195 To: "jason-jh.lin" Cc: Rob Herring , Matthias Brugger , Chun-Kuang Hu , Philipp Zabel , Enric Balletbo i Serra , Maxime Coquelin , David Airlie , Daniel Vetter , Alexandre Torgue , Hsin-Yi Wang , fshao@chromium.org, Moudy Ho , roy-cw.yeh@mediatek.com, Fabien Parent , Yongqiang Niu , Nancy Lin , singo.chang@mediatek.com, DTML , linux-stm32@st-md-mailman.stormreply.com, Linux ARM , "moderated list:ARM/Mediatek SoC support" , linux-kernel , DRI Development 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, Jason: jason-jh.lin =E6=96=BC 2021=E5=B9=B49=E6=9C=882= 1=E6=97=A5 =E9=80=B1=E4=BA=8C =E4=B8=8B=E5=8D=8811:52=E5=AF=AB=E9=81=93=EF= =BC=9A > > add MERGE additional properties description for mt8195: > 1. async clock > 2. fifo setting enable > 3. reset controller > > Signed-off-by: jason-jh.lin > --- > .../display/mediatek/mediatek,merge.yaml | 31 +++++++++++++++++++ > 1 file changed, 31 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,= merge.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,me= rge.yaml > index 75beeb207ceb..542dd7137d3b 100644 > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.y= aml > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.y= aml > @@ -38,6 +38,19 @@ properties: > clocks: > items: > - description: MERGE Clock > + - description: MERGE Async Clock > + Controlling the synchronous process between MERGE and other di= splay > + function blocks cross clock domain. > + > + mediatek,merge-fifo-en: > + description: > + The setting of merge fifo is mainly provided for the display laten= cy > + buffer to ensure that the back-end panel display data will not be > + underrun, a little more data is needed in the fifo. > + According to the merge fifo settings, when the water level is dete= cted > + to be insufficient, it will trigger RDMA sending ultra and preulra > + command to SMI to speed up the data rate. > + type: boolean > > mediatek,gce-client-reg: > description: > @@ -50,6 +63,11 @@ properties: > $ref: /schemas/types.yaml#/definitions/phandle-array > maxItems: 1 > > + resets: > + description: reset controller > + See Documentation/devicetree/bindings/reset/reset.txt for details. > + maxItems: 1 > + > required: > - compatible > - reg > @@ -67,3 +85,16 @@ examples: > power-domains =3D <&spm MT8173_POWER_DOMAIN_MM>; > clocks =3D <&mmsys CLK_MM_DISP_MERGE>; > }; > + > + merge5: disp_vpp_merge5@1c110000 { > + compatible =3D "mediatek,mt8195-disp-merge"; > + reg =3D <0 0x1c110000 0 0x1000>; > + interrupts =3D ; > + clocks =3D <&vdosys1 CLK_VDO1_VPP_MERGE4>, > + <&vdosys1 CLK_VDO1_MERGE4_DL_ASYNC>; > + clock-names =3D "merge","merge_async"; Define clock-names first. Regards, Chun-Kuang. > + power-domains =3D <&spm MT8195_POWER_DOMAIN_VDOSYS1>; > + mediatek,gce-client-reg =3D <&gce1 SUBSYS_1c11XXXX 0x0000 0x1000= >; > + mediatek,merge-fifo-en =3D <1>; > + resets =3D <&vdosys1 MT8195_VDOSYS1_SW0_RST_B_MERGE4_DL_ASYNC>; > + }; > -- > 2.18.0 >