Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1375411rdh; Mon, 25 Sep 2023 10:44:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEX4VCwNkvUkI1gGp11XrieWwixEa7dfxZTkYHv+JMHgq07pWSF0XOi95meVZDUcGNuzOIV X-Received: by 2002:a17:90a:bc9:b0:268:38a7:842e with SMTP id x9-20020a17090a0bc900b0026838a7842emr6590908pjd.2.1695663849429; Mon, 25 Sep 2023 10:44:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695663849; cv=none; d=google.com; s=arc-20160816; b=IwQE87YvFUFNOfIL5R2IkxFoclO00FqylAFvX1imenh49101vXo/31yhQHD5c4JRaw lLv5HKwT1fBmed5qTcNiydeYoMvtvQ8XftLHeB5zpTIQN/l+2qjDHZlecdkhBJni/UTm nF5/eXdoRrPyluOomPYKlZ7WTUQD7zLwh6jymSGEIVOQz+3w7IUa5VqoTXsNGqjEFhNH JKpFUKxAFwxYlDYv3RyGTZz89g0Z/wVtOqfmmTPv1wv+gkCM8KwTdeBcDIwopTI5/xoH GWVSIb/rr1hUhH75jeIGBQ50zvOrMf7QuyKffL+xvZ2U4NUixRH46KevTHWUA8LfVJj+ tkzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0ktPmLhNhLEfNJrEHYP8HMWO1VFqz+A1N7LM/ojmMkE=; fh=qpUVuT279iZVDMJNEkh2XfItI/xKBBEVQfE+GcqMhW0=; b=zXyHmFJphn4ESRfiqQviPWYL6kQAZCkB0B6AKLLCc7Ld90yYxhcA/S15ou5J1/Ni6x rwESOuctP6uvjTq4hP1pDk6vEHZA+ItsSw8f2KJAlzOoEcpv+IO1oGkqlk/QS0rjelU1 nTbT9+eoZU9uUKx0YB62T7cPeCGJbEYu2UIkNF7j3i6PYHJSWkgz6NltR4rFKNcX0h5q afk65Hw4VAgmiyijaU80ecMppM0MkqELJWkSCxqmocfwaL4OkA+xGwTchcxVZ3aD4WBY FiNl6nIaITQs66t82zQf4mcb7yLpcGZ0PkvDOOvSjWOf8D/EaDRvz6nkYmO6+NqkUW+R E5hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Hu2v/FnF"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id t12-20020a17090aba8c00b002774d978e19si3484383pjr.175.2023.09.25.10.44.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 10:44:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Hu2v/FnF"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 9FA70810C2F7; Mon, 25 Sep 2023 09:10:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232936AbjIYQKE (ORCPT + 99 others); Mon, 25 Sep 2023 12:10:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231698AbjIYQKD (ORCPT ); Mon, 25 Sep 2023 12:10:03 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3556F92; Mon, 25 Sep 2023 09:09:57 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB61DC433C8; Mon, 25 Sep 2023 16:09:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695658196; bh=gcYDTYUu2Rp4Bf6iNJVLLlvth+kTKaTp+V7uWoNTvk8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Hu2v/FnFlxjU8frwOTv6HaE3GhqkL+iRiOrNGXeHONKhx+WqEGulB3iqEsO3IGGEy hgAxAAIBiVgi0fbqtFZJzQoffRDSYG8edHwQHI7nB+R1IdsW+9XyPHFjVb4u2EZiLY JBVpmpogNZg4gAdhy3ntRNlS1U9mG7GoKkWczxIV84y7xqI4WCiRcIQHYtqNhgXRBP 704vKdl227PqSW7OAhjhl/wWj4vywJ+yrbw/EzARX1CuDXNFdDm7eSGy1cgYCAjguf aJnuvJGV82DqnjfRPknQoBcOHD90E7VyUwr1ytV1fLcLZgm21GlTTlXPGjygHgL2WS llt0nJ8BZyO4Q== Received: (nullmailer pid 1450584 invoked by uid 1000); Mon, 25 Sep 2023 16:09:53 -0000 Date: Mon, 25 Sep 2023 11:09:53 -0500 From: Rob Herring To: Moudy Ho Cc: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Krzysztof Kozlowski , Conor Dooley , Mauro Carvalho Chehab , Matthias Brugger , AngeloGioacchino Del Regno , Hans Verkuil , dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v6 09/16] dt-bindings: media: mediatek: mdp3: add component STITCH for MT8195 Message-ID: <20230925160953.GA1449445-robh@kernel.org> References: <20230922072116.11009-1-moudy.ho@mediatek.com> <20230922072116.11009-10-moudy.ho@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230922072116.11009-10-moudy.ho@mediatek.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 25 Sep 2023 09:10:01 -0700 (PDT) On Fri, Sep 22, 2023 at 03:21:09PM +0800, Moudy Ho wrote: > Add the fundamental hardware configuration of component STITCH, STITCH? You mean TCC? > which is controlled by MDP3 on MT8195. > > Signed-off-by: Moudy Ho > --- > .../bindings/media/mediatek,mdp3-tcc.yaml | 60 +++++++++++++++++++ > 1 file changed, 60 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-tcc.yaml > > diff --git a/Documentation/devicetree/bindings/media/mediatek,mdp3-tcc.yaml b/Documentation/devicetree/bindings/media/mediatek,mdp3-tcc.yaml > new file mode 100644 > index 000000000000..245e2134c74a > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/mediatek,mdp3-tcc.yaml > @@ -0,0 +1,60 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/mediatek,mdp3-tcc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: MediaTek Media Data Path 3 TCC > + > +maintainers: > + - Matthias Brugger > + > +description: > + One of Media Data Path 3 (MDP3) components used to support > + HDR gamma curve conversion HDR displays. Please say what the block does. > + > +properties: > + compatible: > + enum: > + - mediatek,mt8195-mdp3-tcc > + > + reg: > + maxItems: 1 > + > + mediatek,gce-client-reg: > + description: > + The register of display function block to be set by gce. There are 4 arguments, > + such as gce node, subsys id, offset and register size. The subsys id that is > + mapping to the register of display function blocks is defined in the gce header > + include/dt-bindings/gce/-gce.h of each chips. > + $ref: /schemas/types.yaml#/definitions/phandle-array > + items: > + items: > + - description: phandle of GCE > + - description: GCE subsys id > + - description: register offset > + - description: register size > + maxItems: 1 > + > + clocks: > + minItems: 1 > + > +required: > + - compatible > + - reg > + - mediatek,gce-client-reg > + - clocks > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + > + display@1400b000 { > + compatible = "mediatek,mt8195-mdp3-tcc"; > + reg = <0x1400b000 0x1000>; > + mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0xb000 0x1000>; > + clocks = <&vppsys0 CLK_VPP0_MDP_TCC>; > + }; > -- > 2.18.0 >