Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3378619rwb; Fri, 9 Dec 2022 13:45:37 -0800 (PST) X-Google-Smtp-Source: AA0mqf7IUwb/jWj9Rs3/OVfU3/1eIFOpzA1mi7FDAAOzOwMaOHIJzuOS4qurpYclLZO1babmXSnd X-Received: by 2002:a17:906:2345:b0:7ad:9455:d57d with SMTP id m5-20020a170906234500b007ad9455d57dmr6293918eja.74.1670622336849; Fri, 09 Dec 2022 13:45:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670622336; cv=none; d=google.com; s=arc-20160816; b=YIoIWKjK13ktMP5tX/I0SBtGF9THCrihqhbooxaDF3LcXvJAHub1Ffg0e2A2WNj0BT lBJzg5veJhT0ob48ZCqa4IuTUk+8dWwt6ta76vMrntG6eq30TzGfi7BCSRHT9fnVNcUg 0sbrbbnHwGZ4TmDZmW+kSjLpxZIqH0ZHX2DL++ZGfd+/TL2P2j+l69Cm1nrsls7rFu0V 2f8xqOFWPrfyHX9L8tbsgfs59Yj5azIoLgcUswI4c4QYeOGZwvdlQC6A1rwGSy0mBF4y uurFLjJvGDeRfz1rG7GLsmPFriB+uaEK/Qts13okX57NuFBkaz6pdwdt+2u0DNIdsQbN w7ZQ== 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; bh=tmeJVrEJOjzTJixKXt3JyIusK0h5xUR00VNwUCvfUhM=; b=YXyG8oUD5L6BS/YsE4lsxhnD4shfdD9sk+FbKpDd5am+5+8j0YPPx3nWRFyxVZlnoX KuOxIAoBuMRuvSZmVMdDOZpy10onJ1JboYBL5OvXrhS9+GCjuiz0b5NpCcV/WOTzrgIS C/6YmAPtfrJVKpJ0nZo6VHrpFC0anwCHHb86bZ0sxmaJgyqbVre+sDgfaUmFuakQhXXj mPsGWQ8Ka7/i+Pixa7TqTTGT5795BWe7ztnG0BocibG9+sjWi5DS4L1Unq9ebJbd4ksH pjW/vROsspLODWNd6bDx5DLf+VkTbPAIxiQei9WQBLzUu2WyGtieryGIZsK6O8Y0RGov vufQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id au13-20020a170907092d00b007aeef4dd9cfsi509572ejc.908.2022.12.09.13.45.18; Fri, 09 Dec 2022 13:45:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229816AbiLIVGi (ORCPT + 74 others); Fri, 9 Dec 2022 16:06:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229563AbiLIVGe (ORCPT ); Fri, 9 Dec 2022 16:06:34 -0500 Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9848AB07B1; Fri, 9 Dec 2022 13:06:33 -0800 (PST) Received: by mail-ot1-f47.google.com with SMTP id p10-20020a9d76ca000000b0066d6c6bce58so3535207otl.7; Fri, 09 Dec 2022 13:06:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=tmeJVrEJOjzTJixKXt3JyIusK0h5xUR00VNwUCvfUhM=; b=in5Ti+bpwtDtnSlVg5n63R1kuj0+rSLeHw2aDxJ1WabJVpYbm94IkLevgVMk2ayy2R OAmzgiAwlfinE4qg8SUzN0+IN4ev6PIIe3UXmP5zfonvz5lWZvmbz52u+C5OPLR4GvGc tFjuqB5HQSMm/n/yDzKhCRld21o+NiZXRuARqzOIStVqVT8d95LnI4NpBCock9fLv0Uk lHqBEbTb7cSlmeH449Lvw6M8mLzYm39TjjnU3DNw9fRoy9O/xINI/8obp9mJnr8yl+qJ dFcjsi48EHCcsLAdaBq0yxSouLUE+EXVs0psjJYB2qDarOBp4iJGU6okyis76UJROR9p 6hdw== X-Gm-Message-State: ANoB5plrOPMoKbJVB5n5RA3jzWDN6ZCp3XhOPYVuhj/oK01QnlVjBbFb gsxin96P6kD2XvZQlAB/aQ== X-Received: by 2002:a05:6830:6287:b0:661:e43e:aa28 with SMTP id ce7-20020a056830628700b00661e43eaa28mr4674464otb.10.1670619992715; Fri, 09 Dec 2022 13:06:32 -0800 (PST) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id a26-20020a9d725a000000b00661b019accbsm1013724otk.3.2022.12.09.13.06.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Dec 2022 13:06:32 -0800 (PST) Received: (nullmailer pid 3847139 invoked by uid 1000); Fri, 09 Dec 2022 21:06:31 -0000 Date: Fri, 9 Dec 2022 15:06:31 -0600 From: Rob Herring To: Moudy Ho Cc: Krzysztof Kozlowski , Matthias Brugger , AngeloGioacchino Del Regno , Chun-Kuang Hu , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com Subject: Re: [PATCH v2 01/12] dt-binding: mediatek: add bindings for MediaTek 8195 MDP3 components Message-ID: <20221209210631.GA3840519-robh@kernel.org> References: <20221207084412.14075-1-moudy.ho@mediatek.com> <20221207084412.14075-2-moudy.ho@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221207084412.14075-2-moudy.ho@mediatek.com> X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no 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 On Wed, Dec 07, 2022 at 04:44:01PM +0800, Moudy Ho wrote: > This patch adds support for MT8195 MDP3 RDMA, and introduce more > MDP3 components present in MT8195. > > Signed-off-by: Moudy Ho > --- > .../bindings/media/mediatek,mdp3-aal.yaml | 64 ++++++++++++++++ > .../bindings/media/mediatek,mdp3-color.yaml | 64 ++++++++++++++++ > .../bindings/media/mediatek,mdp3-fg.yaml | 64 ++++++++++++++++ > .../bindings/media/mediatek,mdp3-hdr.yaml | 63 +++++++++++++++ > .../bindings/media/mediatek,mdp3-merge.yaml | 64 ++++++++++++++++ > .../bindings/media/mediatek,mdp3-ovl.yaml | 64 ++++++++++++++++ > .../bindings/media/mediatek,mdp3-pad.yaml | 64 ++++++++++++++++ > .../bindings/media/mediatek,mdp3-rdma.yaml | 5 +- > .../bindings/media/mediatek,mdp3-split.yaml | 76 +++++++++++++++++++ > .../bindings/media/mediatek,mdp3-stitch.yaml | 64 ++++++++++++++++ > .../bindings/media/mediatek,mdp3-tcc.yaml | 63 +++++++++++++++ > .../bindings/media/mediatek,mdp3-tdshp.yaml | 64 ++++++++++++++++ > 12 files changed, 717 insertions(+), 2 deletions(-) > create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-aal.yaml > create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-color.yaml > create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-fg.yaml > create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-hdr.yaml > create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-merge.yaml > create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-ovl.yaml > create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-pad.yaml > create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-split.yaml > create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-stitch.yaml > create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-tcc.yaml > create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-tdshp.yaml > > diff --git a/Documentation/devicetree/bindings/media/mediatek,mdp3-aal.yaml b/Documentation/devicetree/bindings/media/mediatek,mdp3-aal.yaml > new file mode 100644 > index 000000000000..5b59e0802357 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/mediatek,mdp3-aal.yaml > @@ -0,0 +1,64 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/mediatek,mdp3-aal.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: MediaTek Media Data Path 3 AAL Device Tree Bindings Drop ' Device Tree Bindings' from titles. > + > +maintainers: > + - Matthias Brugger > + - Moudy Ho > + > +description: | Don't need '|' > + One of Media Data Path 3 (MDP3) components is responsible for backlight > + power saving and sunlight visibility improving. > + > +properties: > + compatible: > + enum: > + - mediatek,mt8195-mdp3-aal > + > + reg: > + maxItems: 1 > + > + mediatek,gce-client-reg: > + $ref: /schemas/types.yaml#/definitions/phandle-array > + items: > + items: > + - description: phandle of GCE > + - description: GCE subsys id > + - description: register offset > + - description: register size > + description: The register of client driver can be configured by gce with > + 4 arguments defined in this property. Each GCE subsys id is mapping to > + a client defined in the header include/dt-bindings/gce/-gce.h. How many 4 cell entries? This allows any number. If 1, then you need 'maxItems: 1' with the outer 'items'. > + > + clocks: > + minItems: 1 > + > + power-domains: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - mediatek,gce-client-reg > + - clocks > + - power-domains > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + > + mdp3-aal0@14005000 { > + compatible = "mediatek,mt8195-mdp3-aal"; > + reg = <0x14005000 0x1000>; > + mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0x5000 0x1000>; > + clocks = <&vppsys0 CLK_VPP0_MDP_AAL>; > + power-domains = <&spm MT8195_POWER_DOMAIN_VPPSYS0>; Indent by 4 spaces here. > + }; Same comments for the rest...