From patchwork Tue Aug 22 08:59:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 13360395 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 AFCE8EE4996 for ; Tue, 22 Aug 2023 08:56:40 +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=t5BUxxeGCLtVvKNMU2y6PhBZunuWfhqld5POeX92crg=; b=Vc/rF0TcfnwOL2 4XhdNfDyuACn+pvXdWkdmrGYQtk8peFAvqIiNen1pOxA6muvwRqvdMRM0AbA9ZWS+HgSUZXRFd7LB 8ZoH0bvibCNQBAlG1P4yKLDenCB20bBOElaouxDsYu4fhZVx8HUd9JiNUKFuI7+eddXTpuct6Hagl mXtrzT2ZVFyF55Vy2V8ciTaRwzuoLd1Wp8oIL8u4oub9AudE7Hf3G04+cDXgIZLO+N9QPX1bf1KpL y7GnswLax36QNOO0vfbCVvtXhNnZladctjk+GxTK+LIkSnvnKZEsNMkF2KkqVOeITg1TYzWXqi5ID uhSqvA4pojogLWB/N/Ig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qYNBJ-00FW4T-2R; Tue, 22 Aug 2023 08:56:09 +0000 Received: from mail-db3eur04on060c.outbound.protection.outlook.com ([2a01:111:f400:fe0c::60c] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qYNB8-00FW0R-2z for linux-arm-kernel@lists.infradead.org; Tue, 22 Aug 2023 08:56:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E6I7ubmsAkjVCSYtTAqmRYJ4LAJ9EwWYFKSeQQHt0FZ+K83RS974K2OGAnMguEG+1ZD8OandnDW9l+1qw9w4unREqjuHgTDVU0xzfLZNEm+FQtySI8eOF/2kXShhSuzHxZcjuJ/ayhePmGA4Y6lfZdHQwgvAPnbzu6Z+16s6ZMuRifVtwwhW/hbPuAYSyZwQY6qOXcLG2WoKyE8G5arME9+kjYv92LeanCVTVNasg/eYOvRYaajeBQeA2TFomPvNLIGNVfTc9nveXOldAOsmwKAkDKVaxEIo8Khr12ulubKD2c7JJEL9D/x4z8EywfAOgtFf2bq7h5X7xDComYJMdA== 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=3CFlAyI0/S7S6pWy091XZdoIPCsJONHLYiyeHv4LheQ=; b=NP7XkvTAzV/fIQW+QkDF9vDjYF0iUjViGd1+L2uSaX6082dKVVhmBQk1AyWRoew6ozc+Leb/+IvovEy99iwfzMmx84UIEXdvP3TyIBHMuIZu1AvBZgh2upr1nhFUuGtSWHaAeSDflLyBwPBQD8dw9EV8jLJ4yYWfsd3ZQ5f9IoYoccor9eLuOY7Q7WX1iNicIWpqFtGuu2YazpDu8ezF4GG/ePgiETxs52BqTW8cw0us7mYSIARkAda9Pjmvn0CE3LD/s0A6zwYW6Pw8GPcdPqNiqfZkVjxlh5+Oi/XQ+gk69pRUyCfNGn0B4io2OKdzDhmhJtbcRI8BPboyhPvzWw== 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=3CFlAyI0/S7S6pWy091XZdoIPCsJONHLYiyeHv4LheQ=; b=nFmDWsUV8Gh117bNZv5PnKyCdEutK+m5ZWQ8Ks8MeRg+wuZPflQxgqseRjBHGXaHYCshbtbpozbTSb3tKxO+5IgKM0PUZSaK9XNP79oEgfgCDNpUnsZ5mZ8YTggS+tBNPsq/8QuALjwJTfzuspC5Hax45olUhv3KgtZIEsCOgk4= 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 AS5PR04MB9970.eurprd04.prod.outlook.com (2603:10a6:20b:67e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.24; Tue, 22 Aug 2023 08:55:54 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::9018:e395:332c:e24b]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::9018:e395:332c:e24b%4]) with mapi id 15.20.6699.022; Tue, 22 Aug 2023 08:55:54 +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@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.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, robh@kernel.org Subject: [PATCH v14 RESEND 2/6] dt-bindings: display: imx: Add i.MX8qxp/qm PRG binding Date: Tue, 22 Aug 2023 16:59:45 +0800 Message-Id: <20230822085949.816844-3-victor.liu@nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230822085949.816844-1-victor.liu@nxp.com> References: <20230822085949.816844-1-victor.liu@nxp.com> X-ClientProxiedBy: SI2PR02CA0033.apcprd02.prod.outlook.com (2603:1096:4:195::20) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|AS5PR04MB9970:EE_ X-MS-Office365-Filtering-Correlation-Id: 491e1a9d-d633-4207-fdd9-08dba2ed97b8 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: Vhkzx+Y6F7dJNgIFN7dT6RqqCsauwzqIHHgDci/Y9kOCmrd4pqJHuuNzzc3cHsfTgst3EgcQUWPD5OuY2V9d2aYTDrvbJVzAVrt4Wf/1lxD/sIHP2+AGnTO6KdDxCYGg51tqzUDIEw3aNBDJQC1eKFLT5WVLVsxOMhQtyXADLC2B1X6V7L1eIOBINCHsp4+XJn6Y5VInNAe68LlpNe7CniLamoEB/ijRMQKMjHWY3VhbZr20zuV+UTDZmJXHxx+yekxMhECk48Fk6DoZB7+LK9RUUGKd4w1D+ZVYioPiu+bGGVYmTrHBPahZkK0XxMfKWJ7myBeQ6ljc5vsSSBh5dweWQ7UgznLVj2bf8dELX88QTKFSj2D7Chf0WMsTLwlge/H7IgNhk++JSdqD5ulHxK0LKua3tReiXyrNKkT9P9hgs35dvHd9WtKVaOyj0znNlkYwk7hWJ6bGGizCX/SoYHQgzCQoS79DkZxvbYA1Z9SZeLttOYlEJYpIwXrAPdM5FsLvTOUsu1+btdWZIMsONbKckGbF+uL8WLMkXQcTgpW0F1uDi5dye1/l+ud2lgck2btpSs3DJFEOSQLlNd3dwATxrB0zjSEnJPi0a+DMDYlKstmhq0uL+ZAP4WcXGZAJwd1D4MncClMZ6RG0QoXThw== 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:(13230031)(396003)(136003)(39860400002)(346002)(376002)(366004)(1800799009)(186009)(451199024)(66476007)(66556008)(316002)(66946007)(6512007)(8676002)(8936002)(2616005)(4326008)(36756003)(41300700001)(1076003)(966005)(478600001)(6666004)(38100700002)(52116002)(38350700002)(6506007)(6486002)(83380400001)(2906002)(7416002)(86362001)(5660300002)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: PsqYDIs5QKiL8e1SO0SlTnjLBU6nZh+k4VwfXR2mamOnxTIt8k4pucbpqDMKj4gWxwoK5kKA3Oi4GyA7VdXJmEsZdwRdg+gb+ks0dP6rOcTsCaaLl7yEnmpyf0oxjj5FIWX3LWJtw7J1GghXEyIAsA4KWUn2Fqed5FrZJl7UQj4VTjoSFCkB3h0WRct8wNdU9R1AJhE84FYuG8w7DAEJnndqcIgHFlDwjO0qYz3GJ5rOpfnCcwx6ZTYlbn1e564XU9cbpfPrgJ55KPKPUOKN6pDunuVapX67syhvJOc077e9kH/vVGsnwPtx+iiQTotRJJZuhzLF07Y2r4yu48eF+oLKLEs+5VC2FQkEciol8d7al53ztNupZK9rsgHqkpXPH/BqPuHW1GnoVo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XGAaJRut3pSksN8Oc0WqU9NpWtOwbBm42THqpxZFlqVUBsgS6MHEzRkXoDJL9bnUMD9aPmlvYr1YtVOH9PQw9VrTUefUAgckdo1zcWgiyEY1pMKP3A X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 491e1a9d-d633-4207-fdd9-08dba2ed97b8 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Aug 2023 08:55:54.2386 (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: gHu/tqJfAipXTTd48pKuVNWcYmSFb76X1yo2suAQARSAAdRi9FJaH2In4E1RydyKzLEWA0pnuIklliwiO2U7tw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS5PR04MB9970 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230822_015558_978325_AFBF2B50 X-CRM114-Status: GOOD ( 14.51 ) 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 --- v4->v14: * 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>; + };