Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2542018pxu; Mon, 7 Dec 2020 09:07:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJzbJX1fsxeYOVU3DATi2hHpx4OBU+H8GXWDwSgBdaLPD2jVNnziSwNT3VAHNl4Y6NMGuSIx X-Received: by 2002:a17:906:3899:: with SMTP id q25mr19705994ejd.173.1607360837687; Mon, 07 Dec 2020 09:07:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607360837; cv=none; d=google.com; s=arc-20160816; b=zLKll5M+DAsmCa6xJakwOMU/f8bYyy32P6okPz+t1C4n5Ki3ug/gAqkHpt2AZYO1rg y2dwbxmhyXYtH/scZgQExDPE7Fah10DBzPFLvS8vh0rw4WjL8jmj2A01ecHtaz8L+tzN iVYWHLFq/XzeeAcTub04mDY3Pgx2hWfoNjFwwuBy6drRItFTM1xjN2MvibvJoAUNWg5A mu9SfS21w0Ps/seaP4bIAYmjQ1G53rkYm67whgNTW/h6fASeb0Wrp1f/Y9pVEREBp7qD cDUwn4gqQvFH5mg6eX24/cRmSBR13/4KwkgZPtP/thGMOgj0g8FJWfnbVP2RMyKXpwJc Bb6A== 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=WhUIrDtbx95VVaLpPCnUUxF3hbxbXkZibqs0hBKgFBI=; b=s9CIZSyluHkczVcgv7YpQ9LDTbYLaeTQIyhKol8y/fSJPzNA38Lo5cJyNI6wlbSt3D TdmRw5cuCa2BD3RIvD0BTPvPpbQQwSCwvM9+wwlhy8pDAham2yg+2ACwFxNuIDpNPIjk TPQ97Xf+ZRWFTQkAvR7fHYBQiJvP4gXFpK5jWuPAW20zskHrqqHercr2g0PFYZVkNcGL TZgjzaIZXzh2z22JDMn9Y8MXBkVaXwzMPIh62fGGFodq9atSs6hNNIoQ9iMI+9JIBv8i irnmvzpxAdYn9Ggj5tIFiPbk5gkSm0o8jN/6ZzPLDI5l3M/7NW5pcJIUFHyi0/L2VDMQ jlKg== ARC-Authentication-Results: i=1; mx.google.com; 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 g9si6629335ejm.641.2020.12.07.09.06.53; Mon, 07 Dec 2020 09:07:17 -0800 (PST) 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; 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 S1727783AbgLGRCu (ORCPT + 99 others); Mon, 7 Dec 2020 12:02:50 -0500 Received: from mail-oi1-f194.google.com ([209.85.167.194]:38604 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725863AbgLGRCt (ORCPT ); Mon, 7 Dec 2020 12:02:49 -0500 Received: by mail-oi1-f194.google.com with SMTP id o25so16137094oie.5; Mon, 07 Dec 2020 09:02:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=WhUIrDtbx95VVaLpPCnUUxF3hbxbXkZibqs0hBKgFBI=; b=eZevYyfy8KW8VoIUfstmAgw4/0QpfXVEz8digP+rTxhu6gmx+NqpQRl71KGdojmkFz GUhxvMwrpyV7ijMGI3qZjwtjaYXcwuoSzSh1aM5c9OXpRW2VSzoACy81EK/2bu+GqzVa Hf5JYzJ4iPRSocbWoKmsxkopvyQULuxJdaqqyAE9t5TNIODqsre0npJ33Athh89WSxkA ioYnTvqzySxrwgAYRDg2AkzAit+qVha+JDKQrhGJbroTsyOFsr8mkpZttI1aQa53q6Qu 8rNcLC30nuDo6Pja3PJQDwE3LslUu9c2HdYH8EPXOejxQBTVC2pS/6D7vJTtagUszp2q OAuw== X-Gm-Message-State: AOAM530Edd8xi2jbLJH5sY4G4VBpLqC2RDoaH+vLb+nlS2plHttn49HR 5YGZFYXQwn3SLDtCa1ZPkg== X-Received: by 2002:aca:f289:: with SMTP id q131mr12905613oih.159.1607360528354; Mon, 07 Dec 2020 09:02:08 -0800 (PST) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id j126sm3045161oib.13.2020.12.07.09.02.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Dec 2020 09:02:07 -0800 (PST) Received: (nullmailer pid 437794 invoked by uid 1000); Mon, 07 Dec 2020 17:02:06 -0000 Date: Mon, 7 Dec 2020 11:02:06 -0600 From: Rob Herring To: Liu Ying Cc: linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, p.zabel@pengutronix.de, airlied@linux.ie, daniel@ffwll.ch, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, laurentiu.palcu@oss.nxp.com Subject: Re: [PATCH v3 3/6] dt-bindings: display: imx: Add i.MX8qxp/qm DPR channel binding Message-ID: <20201207170206.GA434964@robh.at.kernel.org> References: <1607311260-13983-1-git-send-email-victor.liu@nxp.com> <1607311260-13983-4-git-send-email-victor.liu@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1607311260-13983-4-git-send-email-victor.liu@nxp.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 07, 2020 at 11:20:57AM +0800, Liu Ying wrote: > This patch adds bindings for i.MX8qxp/qm Display Prefetch Resolve Channel. > > Signed-off-by: Liu Ying > --- > Note that this depends on the 'two cell binding' clock patch set which has > already landed in Shawn's i.MX clk/imx git branch. Otherwise, imx8-lpcg.h > won't be found. > > v2->v3: > * No change. > > v1->v2: > * Use new dt binding way to add clocks in the example. > > .../bindings/display/imx/fsl,imx8qxp-dprc.yaml | 87 ++++++++++++++++++++++ > 1 file changed, 87 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dprc.yaml > > diff --git a/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dprc.yaml b/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dprc.yaml > new file mode 100644 > index 00000000..91e9472 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dprc.yaml > @@ -0,0 +1,87 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dprc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Freescale i.MX8qm/qxp Display Prefetch Resolve Channel > + > +maintainers: > + - Liu Ying > + > +description: | > + The i.MX8qm/qxp Display Prefetch Resolve Channel(DPRC) is an engine which > + fetches display data before the display pipeline needs the data to drive > + pixels in the active display region. This data is transformed, or resolved, > + from a variety of tiled buffer formats into linear format, if needed. > + The DPR works with a double bank memory structure. This memory structure is > + implemented in the Resolve Tile Memory(RTRAM) and the banks are referred to > + as A and B. Each bank is either 4 or 8 lines high depending on the source > + frame buffer format. > + > +properties: > + compatible: > + oneOf: > + - const: fsl,imx8qxp-dpr-channel > + - const: fsl,imx8qm-dpr-channel enum instead of oneOf+const. With that, Reviewed-by: Rob Herring > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + items: > + - description: apb clock > + - description: b clock > + - description: rtram clock > + > + clock-names: > + items: > + - const: apb > + - const: b > + - const: rtram > + > + fsl,sc-resource: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: The SCU resource ID associated with this DPRC instance. > + > + fsl,prgs: > + $ref: /schemas/types.yaml#/definitions/phandle-array > + description: | > + List of phandle which points to Prefetch Resolve Gaskets(PRGs) > + associated with this DPRC instance. > + > + power-domains: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - clock-names > + - fsl,sc-resource > + - fsl,prgs > + - power-domains > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + dpr-channel@56100000 { > + compatible = "fsl,imx8qxp-dpr-channel"; > + reg = <0x56100000 0x10000>; > + interrupts = ; > + clocks = <&dc0_dpr1_lpcg IMX_LPCG_CLK_4>, > + <&dc0_dpr1_lpcg IMX_LPCG_CLK_5>, > + <&dc0_rtram1_lpcg IMX_LPCG_CLK_0>; > + clock-names = "apb", "b", "rtram"; > + fsl,sc-resource = ; > + fsl,prgs = <&dc0_prg4>, <&dc0_prg5>; > + power-domains = <&pd IMX_SC_R_DC_0>; > + }; > -- > 2.7.4 >