Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp710407pxb; Sat, 21 Aug 2021 16:16:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwk7R1BpNuJkZLhhaEdbuSlbyWNwmjKyJCpddbN1VoMucHPlQH9OC/i97QoheUbSY/5MFt7 X-Received: by 2002:a02:c507:: with SMTP id s7mr23576000jam.36.1629587767741; Sat, 21 Aug 2021 16:16:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629587767; cv=none; d=google.com; s=arc-20160816; b=NeiaHjh8qq47PYrUmr+5819fd8Ti7ObooL8q4WgM6aan5sTIwN+uzCIRHP0m8DfH+e W1DEAkRvMxSqgf91ZGNvLLGlTmMUMylsWXmXDJKkfbubg5W4iGQzRa9EpM8of0icgCsb GWwUC4SEZZYDKTXcMy4hZWYP+FxRr86BdQKCltef7CP/8PlS0sifBFfzU4YRRHLu89+i 2CzJaBjXj6FWhkFk4BPYogW1AiERq3MtUHUoonh/nSZef4DfdDkG5zQcCl5raycBVPe8 9MmvIyo5ro1qpfh72XsOKMlBp+JohrvIi0iHES2RbGsC6b7HAuH4R9x7aktmLppGy8pF cuaA== 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=ThwbyVEOTpq5cWPKb3e6pRMmLcYDiSwwaJgS1hVgOWM=; b=ZSTCc8McaWfU0zfEmEAh4Iaizszb7gRLKODRHKNmROIagVjyYUuHl0Tn02xz/AGVcA i++C4AI+mHL7BTRi14/SUyCYg2LsKZVF2eBqwMuFshlTRhikfSz7MshLkfJyrUzvtl7z qLxp4MTmNIDFIstB3F0CgocNJrsS2XhgOqhdAwVF0O50hyQkRChD/NQ3kKGRN93CB609 Zf4TUY3NmCCXMiLRBt5WIHVuy9Ppz8nwi3pIrf2EL/0Qt9aN+1BD2YwKgKumzW30IL0H uJqjTykCngzKzTdN0uba1X8Ec98uZXZcGc1XUR8gg42nXCEhWA5Rdldp1t/stz0LiVt1 CjhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RVI+ysbA; 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 b9si1208626ilo.64.2021.08.21.16.15.56; Sat, 21 Aug 2021 16:16:07 -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=RVI+ysbA; 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 S231150AbhHUXO4 (ORCPT + 99 others); Sat, 21 Aug 2021 19:14:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:60646 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230343AbhHUXOw (ORCPT ); Sat, 21 Aug 2021 19:14:52 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C4F916127C; Sat, 21 Aug 2021 23:14:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629587652; bh=tdGAnKxM6kcsoZk3AJYnO2VXuyN1lhYFWXouYEoZxx8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=RVI+ysbAJjBVl8En6Vs6QLGPSDp6AF0fy0i7mrmaMSSjeQpz5Pf+r0dc0wQhRI7TV Kwvrkg+yiFOhgR4iCbVQOo7tKeD4yasJQl6UTs6ErZdFrr0+uR2VrGY7QUNxDzH6+w 9iH8RVxmt+kqUpV0zJs4jF8hwCVbOyPJqrZkcRLTarM1NqycsWOMv6tMTgh7pwbd+n rj5hf9VhejMa/2NxaC5/3DtAZF80309hB0zAUPeOvYpyFZDCSuDkH/fbdE3nG5kOCc 3lkT4RZ6V+vrqBJ94Bp92JJ/0fdZy6A1HR6zxEgWlomfN1/Yn8LQG9cGsqywL0Y39u bkpGgl9NeBvaA== Received: by mail-ej1-f48.google.com with SMTP id u3so28129901ejz.1; Sat, 21 Aug 2021 16:14:12 -0700 (PDT) X-Gm-Message-State: AOAM533ojJiQOEugzYQ6rJPzB4OGK/x06/xBkS5IGEtENSfFUBmgwJS/ hBDlcAr+dl/k/4UZmflg427J9QEBhAuRa0sM6Q== X-Received: by 2002:a17:906:f43:: with SMTP id h3mr29009091ejj.267.1629587651408; Sat, 21 Aug 2021 16:14:11 -0700 (PDT) MIME-Version: 1.0 References: <20210819022327.13040-1-jason-jh.lin@mediatek.com> <20210819022327.13040-4-jason-jh.lin@mediatek.com> In-Reply-To: <20210819022327.13040-4-jason-jh.lin@mediatek.com> From: Chun-Kuang Hu Date: Sun, 22 Aug 2021 07:14:00 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v8 03/13] dt-bindings: mediatek: add mediatek,dsc.yaml for mt8195 SoC binding To: "jason-jh.lin" Cc: Rob Herring , Matthias Brugger , Chun-Kuang Hu , fshao@chromium.org, Philipp Zabel , Enric Balletbo i Serra , David Airlie , Daniel Vetter , Fabien Parent , Hsin-Yi Wang , Yongqiang Niu , Jitao shi , Nancy Lin , singo.chang@mediatek.com, DTML , 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=B48=E6=9C=881= 9=E6=97=A5 =E9=80=B1=E5=9B=9B =E4=B8=8A=E5=8D=8810:23=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. > > Signed-off-by: jason-jh.lin > --- > .../display/mediatek/mediatek,dsc.yaml | 69 +++++++++++++++++++ > 1 file changed, 69 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..f94a95c6a1c5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dsc.yam= l > @@ -0,0 +1,69 @@ > +# 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: > + - CK Hu According to [1], the maintainer should be Chun-Kuang Hu , Philipp Zabel [1] https://www.kernel.org/doc/html/latest/process/maintainers.html > + > +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 display function block to be set by gce. There a= re 4 arguments, > + such as gce node, subsys id, offset and register size. The subsy= s id that is > + mapping to the register of display function blocks is defined in= the gce header > + include/include/dt-bindings/gce/-gce.h of each chips. > + $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 >