Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp942192pxb; Wed, 3 Mar 2021 21:57:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzX8+0wha7fiNj9tzy04dclHYGoTZGO3qeu9wH3VUZaB81tMb0y8GBin/YpGb6fbQgCTg4E X-Received: by 2002:a05:6402:35d3:: with SMTP id z19mr2470189edc.143.1614837423396; Wed, 03 Mar 2021 21:57:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1614837423; cv=pass; d=google.com; s=arc-20160816; b=QQ7AvJCXSqjEgEHrfqyoK0Zc+8s2xlnFw5XWQgK7oup5u5QLiRuRnP0CHeLKM3M6IT G5zT4C6NHDWry3iOgHCrzsEF13IhQ96cU9TV96fS86NCO61amMtJ9gL2yHfFY8+4m5rm PU5fLanMKYYIuujyldvYQJ+1I0DZ5ggQRqz8YzbC18cNYq/NyAOqMuMaSLVRwdiq7akx Si+bb5toyzL8+f+Bmh1ALCI6i1CHmavmHmGHfVsn4rGqa8LRVnPrz7RrFFqxY7uO0kUl mCpd0zCFGSBVZTAp3BszY9CYIFhcYHoxgLeVnBzJ2PGpLIhhnbLWMjQx7S7VawsFr1xJ XcDw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Lh9rqLx5vGmpHboakKTQD0I67xxhIXeYH/+a7UiuuIk=; b=kWiH3P89MUXm8Vs0xxJseZpdOQfWphzTFxvXnQXYmMHU/vwVHWtZCmwjeGsesBV7rE 8OwTUZ5ge4LAHVYG1HOMxC5aGZ3dbBGZc56YRdE/DFVGy5wFI1bO33XQN9fgjUFmaS8g UyhoA4M2QH1PqGeF+CeZTWINId5giWLbtTmlBWcvX76wzhZ2xLF4yuTbEKGQh9iucEGU 2X/PLZcgfxTV5GbRs0rOLsMRs4GBPgcnpoC+tJFx2tNMMmtC5QDSXKJRPYI9Rm0zqaeX kwUjxtGmqPJnSP6XrZ6LGWa7S93kjS06B7OwgPKI4kqOiDBt7wCx6KMYjt/W+ihLz2L/ CrEA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=pf8kHTiP; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s21si16426119ejj.271.2021.03.03.21.56.40; Wed, 03 Mar 2021 21:57:03 -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; dkim=pass header.i=@nxp.com header.s=selector2 header.b=pf8kHTiP; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1836838AbhCBHVL (ORCPT + 99 others); Tue, 2 Mar 2021 02:21:11 -0500 Received: from mail-eopbgr00071.outbound.protection.outlook.com ([40.107.0.71]:29956 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1349212AbhCBGrs (ORCPT ); Tue, 2 Mar 2021 01:47:48 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VQkUDKKwF1s/BJ5KrYnPKNQsHoXkqASwW14rOB3nQ6UMWmJGVMjim+TG7+5nEDHrYY/9zyEpjA5jSe0NzKM5cIj3vERdgofEYENekHy1hXSnfG8POSZ03WUcprJ/0AWPY/9oudrODZrPDHMawyy0AKePChqcyVwKt2wx5MTE+4XmOjowfHRSilAIpIRkWlgT7azTIYRm01q4H5HdK5jUVLnkLsQvrcMdiYI18C8aQyEqp04874SubU80BMtXPfICxdg1XZHBANBnLBdqJ/IhZLVho4cZSNdBHk/knTWSUCZ5HgzCaKtgob1pW8fRE4E+pMA0+Se/XsJ5sDMVFzm9jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Lh9rqLx5vGmpHboakKTQD0I67xxhIXeYH/+a7UiuuIk=; b=KWSK6plh1FjeCmXTJUQ3g1R1rKwfHDa8MtkmIf0AeH9EdUTrfk/oclSnbYNpMEto1J65wsfkaDlyy3s2L/i5dCbaAZL47pR8CMad97D0HcL5APyT+IHtN/puQpOkgeW5mCdkuAqmi4dXfenf2YJXc1XfpA8JLqr/eLVqiPVXxps5t/NlVIiXyix8Akxy1MCscE0I8zvCy7JE9Cko265gpecFMxzdLH706o8RHVJWhji50uHgp2VmcIb1YSD+TTxETEbGUTOG9XFnlrw9CGWgg46R/EXYqNrPKAXI4OShGHBXj/AVF6zX0sdbjlwk+7tieoiD+qK0wPEpJU9PkLn3aQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Lh9rqLx5vGmpHboakKTQD0I67xxhIXeYH/+a7UiuuIk=; b=pf8kHTiPp6+pm5XDHZxzIFJ/hNlw08X4nK8eTE/gvvwiLmJ6S+bfckbC8HzbRgW8yf0LEXvCU61z5llQr4NZe44h8f9ylISAmAxjiKhVuV2KIp2IKj6JQH92qzDJ/C5XfpN4IwMNczhm+NT7tso1YftFxGhgUHpafpuGNR8bO0c= Authentication-Results: lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB3983.eurprd04.prod.outlook.com (2603:10a6:803:4c::16) by VI1PR04MB6816.eurprd04.prod.outlook.com (2603:10a6:803:12d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.23; Tue, 2 Mar 2021 06:46:20 +0000 Received: from VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::2564:cacc:2da5:52d0]) by VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::2564:cacc:2da5:52d0%5]) with mapi id 15.20.3890.028; Tue, 2 Mar 2021 06:46:20 +0000 From: Liu Ying To: linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: 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, robh+dt@kernel.org, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, laurentiu.palcu@oss.nxp.com, guido.gunther@puri.sm Subject: [PATCH v8 3/6] dt-bindings: display: imx: Add i.MX8qxp/qm DPR channel binding Date: Tue, 2 Mar 2021 14:33:13 +0800 Message-Id: <1614666796-19374-4-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1614666796-19374-1-git-send-email-victor.liu@nxp.com> References: <1614666796-19374-1-git-send-email-victor.liu@nxp.com> Content-Type: text/plain X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK2PR02CA0191.apcprd02.prod.outlook.com (2603:1096:201:21::27) To VI1PR04MB3983.eurprd04.prod.outlook.com (2603:10a6:803:4c::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by HK2PR02CA0191.apcprd02.prod.outlook.com (2603:1096:201:21::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3890.28 via Frontend Transport; Tue, 2 Mar 2021 06:46:15 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: c57bfe9a-54b3-48a4-bc30-08d8dd46e2fa X-MS-TrafficTypeDiagnostic: VI1PR04MB6816: X-MS-Exchange-MinimumUrlDomainAge: devicetree.org#4161 X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: z9lBijeG3NR1rXj3Hj/5PxcAn8BSVw/ToMSpj1NYTdt7XR6IWYeF2luvR8XbSYZ+jJqUGeDgNPgtiBfyyphObPF7ALHo6BQ3NufNqKbVKZRv0oIUhRX1msxz62odXruM54/I3o3tg+owHT1D5w1yu2fwOMn48Jc1x7P+Yyg4Tgsrold49p2EHERuZ7bwXKya8PU03FjGM4cKSbZ/NVokSymbGMn4v4RK71eL54mg7tsuLBKCvYvqI2ldi94AWNmZKdxJJYQkJjogr4Im+Y+H32Of5QmImcJmqNv5/8eej274DbPy2qZ7mmBzCa8tJ4tjXX8nTHrXmPPLL+AJYOdzlP4LpcKe5a7dZq3RxK21HDynn3SRTokMW7V3KunRLWkZ4qVwugV3kOh19kQbGtOUaTNtLOUozCKXMPnXdW7JCfkVMe0YibrZw2NygH7t9TrBc6NRGCekLTEPM1SUuPiIYLa3O3FhYqTd8e82drDklIS8yzc9JtImpjnhiIL3ozcLhA6WNzqTyGQDOgtRHfpQnRASwVglYLISkxwHJpHfXSO1day8x8nvCaUpa45yvz2MGwR6j1G9TwavPmGA+KLfSoPBuCfY9W5re/skBf4Y1DNzQs7XgBDR5bZEgz5/0MVRf6Jx1M7k2laApjsRLJu5oCwGWZRxRYnRpM4PYuCu9/o= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB3983.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(396003)(39860400002)(136003)(376002)(346002)(366004)(956004)(69590400012)(66476007)(16526019)(52116002)(83380400001)(186003)(6486002)(966005)(2616005)(66946007)(7416002)(26005)(66556008)(86362001)(36756003)(8676002)(6506007)(6512007)(478600001)(4326008)(2906002)(316002)(5660300002)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?6QU7AzlSDGZ8/gGBOhK11NToiava+bKixLgTzI78i7TgF45ss9ACtxRpYQc1?= =?us-ascii?Q?BO5OZIpW5hvliQHs/acXZqfVFTpYE3aTxulGnth4S1pF2eAN00GR2OWgyYuo?= =?us-ascii?Q?Xj0adawILiNLhuN3s8og4b1qb9FdMdkzb54JiX4phpNbqrAOqI/XCEP269wN?= =?us-ascii?Q?/65sKJd5QZ/Zi1bMj+tfyDKRtJWKahGIwpPJgugfyPL2s1rbXU0FugZFDUdl?= =?us-ascii?Q?d6F2tx3X/7+uTVmAkJCHk23RqTaj9W07uHeoQNn4XmTGCbBGdnRdByGwDDW5?= =?us-ascii?Q?YVipQAn16OGvAqoQpgAcvqu7eQKMKxs7tsNX3yr5IXpCQ5hGbFiMdvF97Is7?= =?us-ascii?Q?TXDAeuhkW3wji+jQ1HVjNOs74ta9DhGTmCyWdY7nFDnVdB30UQUM7ZfPEFJS?= =?us-ascii?Q?zlKrhArhmi2qjLRWHKb0Pq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ii?Q?mVkHBXM83LyM7LDl1SGAo2B7?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c57bfe9a-54b3-48a4-bc30-08d8dd46e2fa X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2021 06:46:20.0466 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: mhItDH5MIevbYVEqu8XjthvFkBKTV4uYsaikefNKNJ+YtVVz0ldwoRYi+pUJnaxYc+LT2hIc6OIunicBQjN5mw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6816 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds bindings for i.MX8qxp/qm Display Prefetch Resolve Channel. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v7->v8: * No change. v6->v7: * No change. v5->v6: * No change. v4->v5: * No change. v3->v4: * Improve compatible property by using enum instead of oneOf+const. (Rob) * Add Rob's R-b tag. 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..9e05c83 --- /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: + enum: + - fsl,imx8qxp-dpr-channel + - fsl,imx8qm-dpr-channel + + 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