Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2076652rwa; Mon, 22 Aug 2022 01:24:47 -0700 (PDT) X-Google-Smtp-Source: AA6agR5YUKrJTpdjPdchkTDyf4QAQIpSa30rX8u5G82rdG92VUDh43NdF2943UjVIWuzhVGmuxuK X-Received: by 2002:a17:906:3197:b0:73d:5e1a:44ac with SMTP id 23-20020a170906319700b0073d5e1a44acmr7084887ejy.512.1661156687231; Mon, 22 Aug 2022 01:24:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1661156687; cv=pass; d=google.com; s=arc-20160816; b=kTx+Qz2v7s78OF6b3gCPlBvmLagZqooVrTmjMcpnk+8f8Acr9e76L2zqgTIvh6k/0a EJq8ynVja4cwkVNZ1eLFEHd6LDSWJBw2H9AMao4u7ZOeAa7PQnCFIoGfxI0elXUEn8nu fimQG72eC+ELlPblUIQ9dWCrUlS89XPB8zYtAVk7d8r7x01vmH6W1bewFmLNKCfsEY0i QhClkA2ycSGEsDZOAy1vRztPAAqMQQvd08Qeh/JjOV+9RKe8WZ8Kh8s+HCoTcdx5elxK KrWA8aJXYQj7ROoksYZdcJGkIQLTAEPQhDI27HB7vtzFsGzwbSeY3xxDbDzSfYBRREvA cfSA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fzjd0TuIpxqQmgJxk7XInMLF5hlpswn4ChA7eFZLUWs=; b=iuvSQGUfisC9ar9fKUwJVknFY+AWreZlIuAL5CSCIg/ltf4x1SwAZdp+e12Gwrya06 0t4K17QVcFWKmEjoEm8wyc+ySZaR06LpAw6z7O+1ek7LF9v4nF9VEL1VrBQRMdWyevie ohLoVMr47u2USKsS/AW8DO/5rkJP7zkFonbgxH/Vel3JUYBKI1ZJtgCtazbt9jtYnGCa Jjz2vTjU8PN4yTY/KBDRGpk8XCgJ7j8RA2tz5LCCjmFRmvRaTYXOJGv2QuNZM5QPzww4 M329HXb8Z0DcFWbLPKstiyaxNyBE7OFBo2tngSWKQAmC0nyQm97Yb4xcGna2rQD7DYBT xzVA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=pQj7YmcP; 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 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=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d27-20020a056402401b00b004466a9af14esi4957908eda.461.2022.08.22.01.24.21; Mon, 22 Aug 2022 01:24:47 -0700 (PDT) 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; dkim=pass header.i=@nxp.com header.s=selector2 header.b=pQj7YmcP; 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 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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233801AbiHVIIR (ORCPT + 99 others); Mon, 22 Aug 2022 04:08:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233783AbiHVIHi (ORCPT ); Mon, 22 Aug 2022 04:07:38 -0400 Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50059.outbound.protection.outlook.com [40.107.5.59]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAF452CE1C; Mon, 22 Aug 2022 01:07:08 -0700 (PDT) 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> Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: =?us-ascii?Q?DPvD9vTCwIVUn14ayG55gHmhf0ZhsDjMo79J39cqnjapnShvOjqmlzhzLxLD?= =?us-ascii?Q?611qDZnX1Yc1krexLVUk9uFO7o7ALw5AIZkGyvvpR53W1MZuLJDsgIoJVIRw?= =?us-ascii?Q?vzIzT1Jk+thlK4+DF0RFmcDpXKRPpCL9h+MLVEP/DU3TeAUumwIN+YagM4nT?= =?us-ascii?Q?MKYQ0UUvXkfnUkwF0Yaqf2OwtueHIkjddQQp0jfLUzeuo9AtCKrwjR5bs0vc?= =?us-ascii?Q?Qst9nVok345EasSMpw0o6Dc7cFTUN/gtj3IpiDPpumUfLhGMxz1SBO5zA7d2?= =?us-ascii?Q?Q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wa4+IQ?= =?us-ascii?Q?LBsO/D7VttsIMWY3Wg+YQWGD03ABj9rayT3cCoZaFs/9F/fG94T2YZRBNUAG?= =?us-ascii?Q?lUQiw+ceHq1R/gu9fP3P1dxj8wRR6+rgp0aFteACPppHVgsNxDzk3NwQRS/Z?= =?us-ascii?Q?ixlrBB8DfJ1YxrVzKqm7MfhLbtxBFHRIrCMwANGShKla0/QceBjAmLZQFS3d?= =?us-ascii?Q?mKZmTdt/AXGZPZEpI5W3gRB5wzKJKgtOHVRyNwRvGBVR+8XC/AlFcRMMD25r?= =?us-ascii?Q?yw/EV1/T1teC3r9e+QxaQWs8achVn+Ld0Bhrzy6iGK+3MkU8z5VqblReUxVt?= =?us-ascii?Q?VcJNYsdZM2ToJ7hUf/EQ53R9ZuvWfcUY2XmarAdpkxnRH4xT8D/43oZEZN8T?= =?us-ascii?Q?GHcyENaKyZ+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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 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>; + }; -- 2.37.1