Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp4197642rwi; Mon, 17 Oct 2022 03:00:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5ajxerpf+8LGYwejlTACweiUst0sVH1PAgsA1v/93oMI2j0msq1sL7wYPbfmeilUtDw6Jw X-Received: by 2002:a17:90a:d14a:b0:203:7b4b:6010 with SMTP id t10-20020a17090ad14a00b002037b4b6010mr32438292pjw.237.1666000812884; Mon, 17 Oct 2022 03:00:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666000812; cv=pass; d=google.com; s=arc-20160816; b=yzR1aMpFHnJX4zzIyt5PhHO+h2klomui6U6BdSI0u8+v4JIh2sZr9xQPGFitlrqG5D t6uyIN4liMKbTz54zTyrWyRmTVsaNX17VSn9KrWkFmMUK/m6nu3aubj/Re+WkcMdiwGH 813NEfZpxLPlYkiYrekIPYdLnGrYsVtuvCUaZrw8v/J/RLDX2VpGtqmy/Hg+JI3sgzBf F4pJ4kXj5y/ZgDKReZa2AU47ypuDwEDGOt1vtUznMb1GV5EMr+koHz14lzX6+V/8ormh ExR2D+lU8U/Mn6bKVXU9tssBFnE9w1cH/XUipLq+xtclmoiUhdvBLsAdfIy1JRrcBIjv w/IQ== 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=XviswpGi8oS6rIm29AnAAm/rOqyhEgClmtrJLxquOR0=; b=ozo0kc4h/KLXohsw5mMERGX/OoJZrxcg/PkEYc2CRC7Jb8+4YaDGL/zexWOm9ZZnBy yXAuyN9OeRbarMWnL6/QvOY1whiWleyQdSf+uduqimdA8XCbGdUl33ZsAXH0JjEyLxXb JoEhZNE5Xy7iRRiB/MyTFDlmrdOL1+wTivQCneGF0x154dm/jHVRF80Aiz+iBL+d9Tx2 YVdD6gqtx0LdvxXacd2C+ylbdq69hG2FrAwsHxGK8ESEpwrGUNapgaMPG5uSnsx7Aj7f DuqCPpBb2T7C580DoQQkIhvcQQptXXl8+nJMxEybqfXNv+bqq09uJJIyUAszCUyMb3dV FIiw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Q945wfAm; 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 s26-20020a056a00179a00b005633c15f881si11407962pfg.16.2022.10.17.03.00.00; Mon, 17 Oct 2022 03:00:12 -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=Q945wfAm; 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 S231277AbiJQJWZ (ORCPT + 99 others); Mon, 17 Oct 2022 05:22:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231208AbiJQJWH (ORCPT ); Mon, 17 Oct 2022 05:22:07 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2070.outbound.protection.outlook.com [40.107.22.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5ACE213FA4; Mon, 17 Oct 2022 02:22:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y+xSC9cyX2lQjuTA4bKKHNzQJs6kvlW0KVR77csOBI94pq2wpuTr1PMkw01qiIKgzTINJcEAueHTcFe5M+swrnFUrWSUUa7Yi1E6B+2eVn2/t8SGUROVIDGBPBpSY9DXIbJJ315v/gXQ2Yb5WkR/gNH6IpLpFRpl78QAIbCW989VQXQG074iEUcqJ8iIA3QHsKxYtIHeemP/JE5mNBU0JmRfSNXtTZTC/+TT1twi3erSFNh6o2aHW6xoGmY4iV/zYDN3pLfQd8CxYvvRZJXCQi1GTOreGKMvGQocZD2Idu3eMVkJQRWnTRTHaF1izo9ubgWPkHvRgPnscIBv2ugl+w== 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=XviswpGi8oS6rIm29AnAAm/rOqyhEgClmtrJLxquOR0=; b=kUKJfwLQRCYOMUR9gfOYBlVZvmTptZIBbtm7Ti+Cb8GY59n4fx9P2ObhC855pPgeRS3twp1/xeelXziu4u5chvLsygFKw1Sot1zRK71DMGWdLFOAWqV9kGPONkW8NIN/khNOymsubHcMklErDAqct4hvXbyNc5iMG+EC34qdIMeChrltq7tl0VVmTna6FQJ2HKQV9WJQ0NQzPnwZUG1R9hii5dnn3zaJSoh0QQpp/20+SOfXoEGEWKlL6dqeHHSCZXdVkI2CEhi5YkhxMGu0h/M1JuQieKHuk1pSb1JUEjxY3Uo+sN9j/moox8mUgaqtWvWw34Cj486HSjWerNREzQ== 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=XviswpGi8oS6rIm29AnAAm/rOqyhEgClmtrJLxquOR0=; b=Q945wfAmKvxWUQDkMCyaR3TOpzgMquJYAs7pUmb2JQiRsRecqBNI9R5Vm0SH3mku1GNy6oP7Tb5uWbrQH9HrbT4qxvD/5V9MyQr+qwa5DRmF+wjGGvTpdotSqSDwB28HHulKGxYQRlG340oZ5+4QxPygzHcakJTtC2y3rJ0fu6U= 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 AM0PR04MB7188.eurprd04.prod.outlook.com (2603:10a6:208:192::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.29; Mon, 17 Oct 2022 09:22:00 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::181b:75f7:dbc8:b4bc]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::181b:75f7:dbc8:b4bc%6]) with mapi id 15.20.5723.032; Mon, 17 Oct 2022 09:22:00 +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, 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 v12 2/6] dt-bindings: display: imx: Add i.MX8qxp/qm PRG binding Date: Mon, 17 Oct 2022 17:23:04 +0800 Message-Id: <20221017092308.249665-3-victor.liu@nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221017092308.249665-1-victor.liu@nxp.com> References: <20221017092308.249665-1-victor.liu@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR02CA0002.apcprd02.prod.outlook.com (2603:1096:4:194::22) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|AM0PR04MB7188:EE_ X-MS-Office365-Filtering-Correlation-Id: 371a22cc-236a-47d4-3765-08dab0210bb3 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: DJH65lkLfsDPOAWeCMPxJ3xykQazlJeuSB3vJjYXdhQULN81Mji8gGcGbVFvo0nouRpU5WAV4aphzvb1jpLvxXA+GPpg/VORZWH4tzlCDKN3vNKaGGlu4/csAIOEatSPa3VJccou2KqWm/TCKboAOl64fRmW0/Y1K828yzxQqBY8Ibnrk8jl2dzBwv4V1WNGuEUho0Q5BFvdMckZTcf0ZRQWsEEed3lqbPsKo+rT1JMjFhi+SxQejHs6Qlx9LAKrCJiyWMfQ1koLeZpGnoX7hjinpjqBD+G2Ktr4eMVser1mYGiOp7RRA+rA5trIUO7+3Bsb8AZBzfSu5aUGky+SomaYYiPlJdz2oVg6k79Fnh1JYdn47UxH/jYgA6Spr99q9FpuDDQNQQaqzd9J7nGsUpZ9dfWbRNYhW+vio3w/nlcHkIsUqPOBR8x8BlbkLXKKiKYb31FzW8n9In+/j6f428zlgdONhFEvlWZvcUOvfouEtNEA2wYg1TmKqdd2AaqfrJ6OfkqqJdXDRG5dndZrYDaUWsl9McgF6wAAxZfnywS5ceIANzvT/T2AzZ3xibCVpcRNIDNnmtJaiOOLNHs5HaxJ8LW4rYnLxC00xXZtWzA5Thkhl1VO6kkyIVI8akqch70DX5lrkcTx3HyDW7GP55d7vhWwuavxwC+KOPttc3Q5gXYM/sOgw85EiMB/ElY8sjQCAZsy0chVdWpWYzuHlv/0Mu+kPFhMUZCqUZsKdCkRjtQPq1+B+OsiswzQXnSc9Bgai5wdONP+SQWP/7GhvXbeqC+m/QY7jfr000C56YTvGXldriM8TT7q7ShjkFiIhyZvKS5TAB5EbjhjvpPuKg== 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:(13230022)(4636009)(396003)(39860400002)(346002)(376002)(136003)(366004)(451199015)(36756003)(38100700002)(38350700002)(8936002)(5660300002)(83380400001)(86362001)(26005)(6512007)(186003)(1076003)(2616005)(66946007)(7416002)(966005)(478600001)(6486002)(316002)(66556008)(66476007)(41300700001)(8676002)(4326008)(52116002)(6506007)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?rCWM8oAydFNmD2BRyYFksq0kTznpWb8O2l94QhP6HCU8cCu7VJ5L5Mx5PSNY?= =?us-ascii?Q?iZCJeO+i1sNqeLcc/9PpMoF83w6eUuXIKmqgz+VSM0Bsh8cDYLZ+CdScIJ60?= =?us-ascii?Q?w+tTownv2P4dTjhU6fBwdS99gFgngFvyf7L3W5g7SD81fZUuJE49uuHsl4Lm?= =?us-ascii?Q?hf5ZySYSKas/bRusvgPD1psgKH0BHHo3CMcnL3Zu5E7cjlhkjyAQnBkV4XEr?= =?us-ascii?Q?9LEMojRZcYqIZTU49kVtFDIn+Bajv36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SYu33lzkXKewARF/TOGF6C56SmBIKWnmg22vNXb2NG8BvamPk6l?= =?us-ascii?Q?ZUX4ONIr83Sp9M8sD6zFQEUYOYOr2aflJ7Fk9i1tVu/vA695O1y+P24jId80?= =?us-ascii?Q?GTCttprpeVr+Pcc979NBNZ/UTW7D50V/xp7qgMVN01Jh7kAYq7uTQHYs3zsE?= =?us-ascii?Q?gQFeOrcRnroAtZncK0sjRFsj4AweKJ05U3eOr+sF31RJFeqXNsqtb+OsMQht?= =?us-ascii?Q?BgEDrnvwpVECRg953bAcymy5Vp+8FFTaHUCVn0b3gQWnY+TC8iKdH8pVtJV8?= =?us-ascii?Q?IKMV6IqbVinZwe+WqutU9hg6/42dxUKEtOEiuHycjss/uHgMpkekeEA/cYEy?= =?us-ascii?Q?GQg59SInRiAzZIw78HQ6+WocijTmkmyY2a/YjBPEsHh4NdjY+WXS0ZwEXtvG?= =?us-ascii?Q?LwuvUe4KatEL73vbG+FjqhChdeXQEthY8zx//BGJ?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 371a22cc-236a-47d4-3765-08dab0210bb3 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2022 09:22:00.4938 (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: aKmXjvyjRm8vk6zhXpwCC+XqfLfD86KPvLlYWuMmezTP6hNxsAg6/HZy1qT8WiBqZnyNOlBmR38zVsLRdX/Shg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB7188 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 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 --- v4->v12: * 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