Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2184473pxb; Fri, 24 Sep 2021 23:46:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxifTlkpvUUIviDVM1QVZ5Q4WIxd4mWDZ49clNDxg37BQCS6yW/mk7SKA2c1W2fUQGbmSnB X-Received: by 2002:aa7:ca19:: with SMTP id y25mr9683660eds.197.1632552411510; Fri, 24 Sep 2021 23:46:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632552411; cv=none; d=google.com; s=arc-20160816; b=C+KgIy0hIhcviRJ5IW+xUg4Kg3vkEAe4Makn9/BseLNltKefSw+H78PuQiOnNB97Ia SRLnewz3L4sM6W5RD9wh3tRnyfyVc1gEgT3XfHESRBIsOguzVpvnZf4DsecCyrlOxynU M57gTkcs/vqDP5eiriVSxozHPGL8uGYIOOfJ3gCk9tD9eOiS1aAj56d3Vqo5qzTcwvTC Q1oVplALLhe+RNNV88+duM+d6okNnAFjwKRDgDtUlVMXkbo1ITTTfxgwoMnLu6mDDjQf w8CcnNQtXYvub97WoBKwOoh2NcT5LQoBQjLrgqKCBGp9dhdRABvO05WCO4sVEm+stL/D x8oA== 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=KRHc7ROwi7LqauRv85H2NM7ds2KT/Zv6lv4I4RvMB18=; b=qt1Khvm6mTf+FyPJa8Nzo6MpVvCe1ExcCCVp0qpchZk5h7/UrjYEpZBypLxyApdNEI KH93qcpfA60YPV88JZdAYloJ1cZwyAswob1BHJ+geKlh/9GqnTpvMIBFBlHvtYf7yPL7 J8uPZT34sKZgNZJ4RRm/Sm0RXHybDshP3DKRyV82R9/BXDjGf3W4OZRJ5eRWDmpXJ9/n KGwwpnbSh6/jZaOmWtQtLOAG1v6qj/WB11dIU+zZHYA1WNBTg2UssFRxYtQ78WGreXdG Nx4uww3tTKaE7adjVOrCY1vkWLApsje+SeKTznMlsjUBwj8uTgJcZjSIdC+xstBrJc9P qbkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oyXkVs0M; 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 13si12224777ejg.193.2021.09.24.23.46.28; Fri, 24 Sep 2021 23:46:51 -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=oyXkVs0M; 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 S1346771AbhIYCMv (ORCPT + 99 others); Fri, 24 Sep 2021 22:12:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:50578 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343760AbhIYCMu (ORCPT ); Fri, 24 Sep 2021 22:12:50 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B56D061279; Sat, 25 Sep 2021 02:11:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632535876; bh=bh2NnvETqZ5gppTlIxdn7adU8NHofIsaMMg5rGECvIs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=oyXkVs0M9xuz9X0bXR7/OLdzcXDXj+3NZbVkICK0B6LOn7gsOhWZKos44L9RBL5uD BwIJbHEEidbS9QkrLI2sNoW4Ax3xN9Bmc5DTlxF1VTJibs2mC8MRFn22KYx5dtt3bf cNBDnAA7OuYi1HhmOP4ng/RjMxsnN1vS0WhVzYXGQqyGJS42jWbWlFVa67xx2FAGTY kJXtiagOrPopJiPuMmZGlKivK4QP/7Dd4GFr5B+kfyGAkRHeDkILUYTUItJA48ftFO 66LvFyl/hZc3BaTa11PSR2BzR9HgPQGo74IZopZdl10Kmm/a+2T6k3ahghE+dAI/i0 /aF+O/fDYvGZQ== Received: by mail-ed1-f41.google.com with SMTP id y89so32375392ede.2; Fri, 24 Sep 2021 19:11:16 -0700 (PDT) X-Gm-Message-State: AOAM531ffQ3uxm6+Iz9lIfSB61e9vhJkRgXu1raMheagssu+JEXNM4LV XrLPSeF9un/zOuqIXzTOnc6zdtyFySt5u6enNA== X-Received: by 2002:a17:906:26c4:: with SMTP id u4mr14435742ejc.511.1632535875178; Fri, 24 Sep 2021 19:11:15 -0700 (PDT) MIME-Version: 1.0 References: <20210921155218.10387-1-jason-jh.lin@mediatek.com> <20210921155218.10387-5-jason-jh.lin@mediatek.com> In-Reply-To: <20210921155218.10387-5-jason-jh.lin@mediatek.com> From: Chun-Kuang Hu Date: Sat, 25 Sep 2021 10:11:04 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v11 04/16] dt-bindings: display: mediatek: dsc: add yaml for mt8195 SoC binding 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 > > 1. Add mediatek,dsc.yaml to describe DSC module in details. > 2. Add mt8195 SoC binding to mediatek,dsc.yaml. Reviewed-by: Chun-Kuang Hu > > Signed-off-by: jason-jh.lin > --- > .../display/mediatek/mediatek,dsc.yaml | 71 +++++++++++++++++++ > 1 file changed, 71 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/mediatek/me= diatek,dsc.yaml > > diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,= dsc.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dsc.= yaml > new file mode 100644 > index 000000000000..1ec083eff824 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dsc.yam= l > @@ -0,0 +1,71 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/mediatek/mediatek,dsc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: mediatek display DSC controller > + > +maintainers: > + - Chun-Kuang Hu > + - Philipp Zabel > + > +description: | > + The DSC standard is a specification of the algorithms used for > + compressing and decompressing image display streams, including > + the specification of the syntax and semantics of the compressed > + video bit stream. DSC is designed for real-time systems with > + real-time compression, transmission, decompression and Display. > + > +properties: > + compatible: > + oneOf: > + - items: > + - const: mediatek,mt8195-disp-dsc > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + items: > + - description: DSC Wrapper Clock > + > + power-domains: > + description: A phandle and PM domain specifier as defined by binding= s of > + the power controller specified by phandle. See > + Documentation/devicetree/bindings/power/power-domain.yaml for deta= ils. > + > + mediatek,gce-client-reg: > + description: > + The register of client driver can be configured by gce with 4 argu= ments > + defined in this property, such as phandle of gce, subsys id, > + register offset and size. > + Each subsys id is mapping to a base address of display function bl= ocks > + register which is defined in the gce header > + include/dt-bindings/gce/-gce.h. > + $ref: /schemas/types.yaml#/definitions/phandle-array > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + - power-domains > + - clocks > + > +additionalProperties: false > + > +examples: > + - | > + > + dsc0: disp_dsc_wrap@1c009000 { > + compatible =3D "mediatek,mt8195-disp-dsc"; > + reg =3D <0 0x1c009000 0 0x1000>; > + interrupts =3D ; > + power-domains =3D <&spm MT8195_POWER_DOMAIN_VDOSYS0>; > + clocks =3D <&vdosys0 CLK_VDO0_DSC_WRAP0>; > + mediatek,gce-client-reg =3D <&gce1 SUBSYS_1c00XXXX 0x9000 0x1000= >; > + }; > -- > 2.18.0 >