From patchwork Mon Aug 22 08:07:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 12950328 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1F622C28D13 for ; Mon, 22 Aug 2022 08:22:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jZhEaIr8+fv26AzgdxPIay0PqIArBaIn8ITQvgdgWik=; b=ohE8o0yLM+lHnj buFQpRUA6i2Du47cOfmNzEfpibQTa/8VUfB1ACBdlM1aTGIIIdCokWaBSLo/2eHxIL6xTMt52fh6i iXjQOPXOGcU6xFG/CIiXfHf5J3EPP5EYNjbq8eAIpTLNLfv7xfAyLc+ZNIZ29KLnIyCOH/TZQQZOx zp8d/lAKrI/AeOh3X1CvnPrceF/1u/vmPH0yiWuFBdKe4dLhbbU7sAJiyw9KmDGd+AdzXK2rVkfTU kyhsNOSAvaMSduRcNn/xSLtZIvsDpsFUhSHfQwNnB7p5sK7uhUDN6GT8k3wglwvCszfzOCgo94yA3 ILrFz2be5nrrmJFwnK3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oQ2gZ-006PCn-PC; Mon, 22 Aug 2022 08:21:29 +0000 Received: from mail-eopbgr50062.outbound.protection.outlook.com ([40.107.5.62] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oQ2Se-006Gq9-PH for linux-arm-kernel@lists.infradead.org; Mon, 22 Aug 2022 08:07:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PngVYTGO87hSQ0g6JvLjBEzvVHDMAmEmBCku3DNaGwNOMPh43yli0sgSE4y7L/Bma4aZ7eYjmiAK8f9amTpHbO3LzDVGLzl59DrPF8sDXwnhn+2NHhuSKEooGpMKOh+VnEjE2q13CqgeGz9V6MvpRXbRu9Xn2olKImB98WRcD4S4INhhuC8Vdj5pVEa2MrwhGvRat9kAS29XIdMdEzd0PJ3s/rqTGGYMCMUR/rG49j8TGvWwq7701OEtWksl/4jzEFir2lwjlyOjUCvvabfEqIOOh9fKCLROW18RBf69DCysdKhM+Yfb+wcbrkiweSA3/j+88cbzN3cfNigdHygtXA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fzjd0TuIpxqQmgJxk7XInMLF5hlpswn4ChA7eFZLUWs=; b=TPOMwNncI0Qf/+kkFwMygnMAvPWOipup9YVn8Tbd8EICmiZC25FGBTasCafKISToHI6tltzT8FqZpd8PiDA5T0/FEV/90GMJkMJK8BQaMbOBn8/qnzRa4JMujacFIUStk+3A7rHJpciy24yD5caPQ20Rr8fDKzTFdGPgmKiuEGkFjVIEZZOrzafi2d88GQjkF6Wp5h3KReCWO/gVr6TLQ4DQa0b4FYOGoUBghKsvcHQ5LR+XC3d0HkhE9qUorFAWI3f4NC4eu9lsRORXcc4IKStUHWaPYRxOpVMiAhuPs8VzzKZyDEeHuzsBPI8efcDf5YelDYXXE5dYVwK2sRpWdA== 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=fzjd0TuIpxqQmgJxk7XInMLF5hlpswn4ChA7eFZLUWs=; b=pQj7YmcP6RhrHujLWUxkThOSvZCvEF+nmSOXBjbKad5KJkjQ7zoC12idJ0+AQb55E9B5DBSh0xYxkQ/nDCwIjaj0OjelexmTnudM2RWVVwqEkCvu5yj9odf41kb1AkFc+6jrlrrDrxyeAKCZpKsY4Yzsg3CrELFpnP97yHNyS7I= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) by AM0PR04MB4865.eurprd04.prod.outlook.com (2603:10a6:208:c4::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.22; Mon, 22 Aug 2022 08:06:57 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::2549:869e:d80b:3a1b]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::2549:869e:d80b:3a1b%6]) with mapi id 15.20.5504.027; Mon, 22 Aug 2022 08:06:57 +0000 From: Liu Ying To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: p.zabel@pengutronix.de, airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, 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, guido.gunther@puri.sm, marcel.ziswiler@toradex.com, laurentiu.palcu@oss.nxp.com, Rob Herring Subject: [PATCH v11 2/6] dt-bindings: display: imx: Add i.MX8qxp/qm PRG binding Date: Mon, 22 Aug 2022 16:07:52 +0800 Message-Id: <20220822080756.37400-3-victor.liu@nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220822080756.37400-1-victor.liu@nxp.com> References: <20220822080756.37400-1-victor.liu@nxp.com> X-ClientProxiedBy: SG2PR02CA0128.apcprd02.prod.outlook.com (2603:1096:4:188::20) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 122a0ad0-37be-4637-a154-08da84154844 X-MS-TrafficTypeDiagnostic: AM0PR04MB4865:EE_ X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eHPS/SmQmBabc4zQjklvZ/J6x+s8sIWCzyqsu5GAizayy0z/VjqztoVba+p45nm85sgh6rfeeiV66sNC1v6+jUt/Z5usvlanYYx1+Etnrz+LEKC9UrcaVwRCXi+7IoK1eBj783qZSxj4uC2xCmbpf4vUHBbQ8Zyc4mmUIYvKL+sGVcNL10GgqblmsaU7s7OGO/qk7C3HdwpzjuvhUJRm9bRs/8vad0IM90rYj2MjTwA8cKfTqCK5JqL8d8Qcx6auhgqa0axvOeoWr2MyAOjV3inliLy+JcRHwlTDR6cl+p1Zmz7cUhbHWQyTtZvADcHCOMBHIP7VbR0YXwfQKWSht3NBi4Ovfxq3CusXs2bOSRkp98aa8xedhHckpFefLsTOAdE7mmwLsLroJKYL0ME20rpAbatSJa4srBh5/9R6wRrx73MFWq8qnEsQI1oiOAqcUQNO9aFni0pP8YYNOB+w+ctshoZXt4vcOqgy9K9tLiU8nD4ibi/4x8i71T28pNnopSm6eEsoC++JVMwpXP9W9kn52t9gCfjVDsd8xw20alMyyhMmppcd03183SbpzGC0nqxCDwviIOvFCxtmYYbos2uVQ1PFi56tr89QE6EMs9T8hXmrAGz131ulNnkutGH4Y+Y7H58MCTLUuEx+rjdz148L46U+IPf5sNcjVKcJEVprvrFROxaepsiT/rAFXlhB5dBcosS8Qi4JQMyZLPGuHnlL7iSQfUhXAfNfMuBwvHRE/VBE65Smy+Uah55n9J+tYTDAVpwuUG15UjWrLTTRYOfnVyo5PIeyx79CaXVsWBNUOoP4Fe44D3Afs9z338AQAf6iMoA6uL43jhssW84Gjw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7PR04MB7046.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(366004)(39860400002)(346002)(376002)(136003)(396003)(6512007)(6506007)(316002)(6666004)(26005)(52116002)(6486002)(966005)(86362001)(41300700001)(478600001)(38350700002)(38100700002)(2616005)(186003)(1076003)(7416002)(83380400001)(66946007)(66556008)(66476007)(8936002)(2906002)(36756003)(8676002)(4326008)(5660300002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: DPvD9vTCwIVUn14ayG55gHmhf0ZhsDjMo79J39cqnjapnShvOjqmlzhzLxLD611qDZnX1Yc1krexLVUk9uFO7o7ALw5AIZkGyvvpR53W1MZuLJDsgIoJVIRwvzIzT1Jk+thlK4+DF0RFmcDpXKRPpCL9h+MLVEP/DU3TeAUumwIN+YagM4nTMKYQ0UUvXkfnUkwF0Yaqf2OwtueHIkjddQQp0jfLUzeuo9AtCKrwjR5bs0vcQst9nVok345EasSMpw0o6Dc7cFTUN/gtj3IpiDPpumUfLhGMxz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ZmTdt/AXGZPZEpI5W3gRB5wzKJKgtOHVRyNwRvGBVR+8XC/AlFcRMMD25ryw/EV1/T1teC3r9e+QxaQWs8achVn+Ld0Bhrzy6iGK+3MkU8z5VqblReUxVtVcJNYsdZM2ToJ7hUf/EQ53R9ZuvWfcUY2XmarAdpkxnRH4xT8D/43oZEZN8TGHcyENaKyZ+39XxqrV7CBAb1X8hf1mHlSDWIPQPy X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 122a0ad0-37be-4637-a154-08da84154844 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Aug 2022 08:06:57.4388 (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: sdJKP9H9M7dbnQU8/jLjw6Omt6aUj0ZQ/k+KEplJdlmCwD0vM8sdh0NbWjQFsSxehXfXnvuu/lPMr1jnpXf1Dg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4865 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220822_010704_964088_8D274F70 X-CRM114-Status: GOOD ( 13.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch adds bindings for i.MX8qxp/qm Display Prefetch Resolve Gasket. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v10->v11: * No change. v9->v10: * No change. v8->v9: * No change. 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 000000000000..3ff46e0d4e73 --- /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>; + };