Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp942081pxb; Wed, 3 Mar 2021 21:56:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJzychSH9vT1zTGhhkU+hUo4U3oWw8KK++KB5dEcR79YsWGy2WEY3YtbGqewIxlF2C05dRIg X-Received: by 2002:a17:907:10c1:: with SMTP id rv1mr2484502ejb.5.1614837408027; Wed, 03 Mar 2021 21:56:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1614837408; cv=pass; d=google.com; s=arc-20160816; b=ag09rBGEMnPtmbbAFeZcbhqaVaY531FA4g1pdKdkqzi8osnFiSB8z4cZDK7LgTVVv7 gv0yQR7qtl7KhiVO/g5wrSBdbslo7EwcnePegLeDR21yrF0vGQdNUHHTfSGbT3GySJoD XKZ/C4gZC4NspnjmrgvD9zGXKcRtp6MY2ikrAUVqLAyDhcecK4OrVTaHyZgNnm4rXQc4 xNEJRcbeXfZf9yfZa3XiIPn6LxnwTM2ONm9tGV66c52hSxfFiQchVrT1MAq9N3uk4rLs 4JAQg7Wqo3ijWws2/Tp9dRajanCjb+brt5+RJTpj9wbnc9ATi4jdQIGIYuCfWmv+NR9/ ZFzQ== 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=ni8oGn9dztdE5PX7ZWhiq2bFWVAZaKGnO8SMD5dapsQ=; b=d35icRFCGDDS6zbxPJhxKfPljiEHdGQOvT7mqzv4QJMFRdNGao8OYLCMNUhpd6c23f SXdGqojhy+g3kmczIDnqMc5zlTXa90Yd3o8HCdDEcyU3qoVBxHYW6dKgFHR9DjcJBjFc qCI9izRJ/eZokCJdKViHn2ZoxbedH8hgnbVFRH18hhUnt+fhx0izihe41nTS2DfU4Bxt FpTa7Q2Kle27Kj3Te7/CdMZo97hKmW/hDDgLtTfTQQ7KKjzHTKR4NQVY4X8FzsMSWFYo sbowV1ktSNJJ5Yw9wv7Lhn26mFKyiWDtLBDaZNq8z4GVMxx9BPfImw2T71O7gOvjmZBO JhBg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=MIjpUSwm; 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 h26si15699954edw.139.2021.03.03.21.56.25; Wed, 03 Mar 2021 21:56:48 -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=MIjpUSwm; 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 S1836823AbhCBHVF (ORCPT + 99 others); Tue, 2 Mar 2021 02:21:05 -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 S1348954AbhCBGrX (ORCPT ); Tue, 2 Mar 2021 01:47:23 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T8rVHodh+2OIkeLoQAgSQM0urqoXogVAKCydI74WeJeB7+txpEarFUt1D3bhsQ/FxhlWEjGS8Ev3OoOxUOV5By0HNFTpMPDD16Ph4RrxXlmBbqiIQ8He/9ZJKwIyve7/j04h8gpp3pSj711oRrclfOIrbX6xjBTfodoZzKoaEhYBP/sDFEi+WdQYcdJYPWGGiM9Wd2e6FjRV6B2OGeU+Q6c6c2zJAwe3yZlfNNgdLy/kEyHuNIJRZWHPaLdr4s3sG10VL0SePg5FRU51s27nNlDvr5/3Q+WmdGJ2oE1xRtlulwUa1QuV4SQUBqgRCaqrEWMS8O9bXLW0rpgwc8zXVw== 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=ni8oGn9dztdE5PX7ZWhiq2bFWVAZaKGnO8SMD5dapsQ=; b=iJt/0bQu54EO1HrRgGhM5IcKigynuTx88Sw/D+js8+HJQfddEjAhUE665Va8wgsC3edSwZGc7F5lD29hAUiaG+rbCzD/SgZrLuFX1mWhMLlkyrn/eclJiHF5X0rzeL8/6rhus2fAtYZPouPdGMrhdqJ/a0eLU8Yeerzc6FP+o8CWzcryWitIOcV7Ad72eoXI+bKLOhhAdcwwvHHYUDMdGml7qBBcbItCqSB7khC0xq6NeuqrsvrAO7jt5gNufo1Htshqb8iBcXKDBfxLs3ktwEpFf/T8pLnbKut75rLZ0pJMY7YzS1VSod3z6Gwf/594Ord5NBI9HtQJIUxgmeGeKA== 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=ni8oGn9dztdE5PX7ZWhiq2bFWVAZaKGnO8SMD5dapsQ=; b=MIjpUSwmmaFJPU1NbwMEsnbSdx9CoThXINcFfaaJ2Txw+rcWg2W4X2eSz6rosCi2amHw56NgP0UbE16AapzkTH+08NQSy/qR7vslJFdMaWHD42e6LQOwFYHXC+B16Z5L0+T3sGfbjlyj1M3LfSNupr15NF4kdrAfmxvPygDxekQ= 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:14 +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:14 +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 2/6] dt-bindings: display: imx: Add i.MX8qxp/qm PRG binding Date: Tue, 2 Mar 2021 14:33:12 +0800 Message-Id: <1614666796-19374-3-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:09 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 4d2e6ad6-0ebb-4a62-63c0-08d8dd46dfba 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:4125; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QF65qQvpvT2tuj0hLnhdHMaxU3qIkusY60DpCz3ww3j+ZN2mYlOd/rJm8m2Xiv4//BZDagRQm+EhOWCmXQY+nU7mkEG3vFPA3qJPCwxhQgoUvZjT/eKmTn/g0fJYI6nLG6ijo09lyRMgkJw0Xsuho5wt+hjLqB0bwMArWxZ9mSRBG2jzgn3wj1LRXeNDZgWWcFGGguSJqmwhixMJXeRMa0P6tJdMkJFz1t9NSJDZjiQGixkArc+P7E9KECG/o5ro5CAtQ59UGvJhC4kNeUbZpawDmbWZ1h3teY2xb1ro6caZamdIG3lzX8VHS/VETQRwq/y5EQEN3qpqz7XnUOGxlHq7wgDQTdxgzzL6+VTlia9pGGdwD3KQ5Fdp+CT1xJIFrS125Ovnen9TwP01bQ1JAYy2hAm3eyIHSm2/xDH+lLl7T9wn89vH17Wq6p5euccyu/89/9KKaqw+f29rNGe9yTUi5o+uInQyOJop6zSly+3Bycyqmx/TnwdUqQ+XrMLxdSuCmXNssKcFtz6r+UnYNS83hDt0DvZKf+vUeOjwMCMY6HAYcx4tD0lW5RGVQBw79sO70tsXpV5wrzhuo8L7Af+mgzWaHJwSGjQCupx6z/vMpHUt79OkgqMgcG/WVHcftj2eIArLhTv3mBLSRSSahWzswu8DYqU7CAR/k4HWgJw= 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)(6666004)(2906002)(316002)(5660300002)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?TDQnpdLvpd5U+B6VGltDFYPxqyPFDye10epw2yqYfnH7R+36hLMiR2e6kWxy?= =?us-ascii?Q?ytEaDGcytjGKM6QrOH9YPmsynAYtuni7iqDfl6JyeVk2psJqZCI4mz2+DmM3?= =?us-ascii?Q?Yrpl1IXNQqJesh84mbj0SSPrhttzDHDWReDxl/DGjamyF7F+vuEvOQNmZk7B?= =?us-ascii?Q?tE+SEgJnS/sEB9SUQ7xYDMRLv9/LxmsO8laLMULE7J/yCL5aMADN9ExB1JoQ?= =?us-ascii?Q?m4L+Qg3cDwsjwyQwzp42cmPZ4wngL7bQ0M2iNzqjMbXzut2htJn1c9sKnFPF?= =?us-ascii?Q?SVXvAqEAnU3qvfUQQNJDM3D+jKMqZqQ20K35x59PzIj4He1m7IwvPUW7/kmi?= =?us-ascii?Q?pjwfD7FyJ9jtrmTMSkqkfBchrp64tThfuWt4C6a1N0od5dWoGfkxutSpDss3?= =?us-ascii?Q?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j0HkMNFQ3NqEu9oIyziT5ZRKCEH?= =?us-ascii?Q?4vdvw8KXqDw+EyuXPss76cN7?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4d2e6ad6-0ebb-4a62-63c0-08d8dd46dfba 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:14.6117 (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: z1YT02hvGqpqyxUIwkKO4Z7FtGL1gGLDm7w+lgztD4/ejv3l6oURJ1e4qodhdEUP1YTDup1RdGIrILifQV3hBQ== 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 Gasket. 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-prg.yaml | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-prg.yaml diff --git a/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-prg.yaml b/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-prg.yaml new file mode 100644 index 00000000..3ff46e0 --- /dev/null +++ b/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-prg.yaml @@ -0,0 +1,60 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/imx/fsl,imx8qxp-prg.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX8qm/qxp Display Prefetch Resolve Gasket + +maintainers: + - Liu Ying + +description: | + The i.MX8qm/qxp Prefetch Resolve Gasket (PRG) is a gasket interface between + RTRAM controller and Display Controller. The main function is to convert + the AXI interface to the RTRAM interface, which includes re-mapping the + ARADDR to a RTRAM address. + +properties: + compatible: + enum: + - fsl,imx8qxp-prg + - fsl,imx8qm-prg + + reg: + maxItems: 1 + + clocks: + items: + - description: rtram clock + - description: apb clock + + clock-names: + items: + - const: rtram + - const: apb + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - power-domains + +additionalProperties: false + +examples: + - | + #include + #include + prg@56040000 { + compatible = "fsl,imx8qxp-prg"; + reg = <0x56040000 0x10000>; + clocks = <&dc0_prg0_lpcg IMX_LPCG_CLK_0>, + <&dc0_prg0_lpcg IMX_LPCG_CLK_4>; + clock-names = "rtram", "apb"; + power-domains = <&pd IMX_SC_R_DC_0>; + }; -- 2.7.4