From patchwork Mon Oct 17 09:23:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 13008411 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 8208DC433FE for ; Mon, 17 Oct 2022 09:23:34 +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=91kYPyICx8rJczhhQT1nGk7LmaTiqmhkn7QFmgIjO2w=; b=Fn6imHt30Bf4+/ x+qawF59ojmx2JC9KXTyWqKhGwxy8aKt15GN8YOGlDBnBMnfK2OSUJXOSb60/qTgjNPPp/rX6fsBq rm62SOr8Nz7cTTP2djZrKE2WUKufzn4sve0uG7P1QkhU1FasQ38uJNiPr7bfAjNkgX5FNEcnHZmAw K+a41h2PRCDcACpSkqP7ASIpzJFU9dQxM7rWQIKs93kahrylS3PSUlQ8zjKGoTVyQcl491u/rhAT6 x3vcBCeUKpjEHgv1wkPF46mhJy6RjXhPW0Qy2N0U37qGwVZV9OEse7D7VXlYOZxMb0MurtTHYlnm/ nIxhNQHq9UrHR+pfoc4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okMKE-009fGw-9j; Mon, 17 Oct 2022 09:22:22 +0000 Received: from mail-am6eur05on2088.outbound.protection.outlook.com ([40.107.22.88] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1okMJx-009f9I-Un for linux-arm-kernel@lists.infradead.org; Mon, 17 Oct 2022 09:22:07 +0000 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> 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: rCWM8oAydFNmD2BRyYFksq0kTznpWb8O2l94QhP6HCU8cCu7VJ5L5Mx5PSNYiZCJeO+i1sNqeLcc/9PpMoF83w6eUuXIKmqgz+VSM0Bsh8cDYLZ+CdScIJ60w+tTownv2P4dTjhU6fBwdS99gFgngFvyf7L3W5g7SD81fZUuJE49uuHsl4Lmhf5ZySYSKas/bRusvgPD1psgKH0BHHo3CMcnL3Zu5E7cjlhkjyAQnBkV4XEr9LEMojRZcYqIZTU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4AweKJ05U3eOr+sF31RJFeqXNsqtb+OsMQhtBgEDrnvwpVECRg953bAcymy5Vp+8FFTaHUCVn0b3gQWnY+TC8iKdH8pVtJV8IKMV6IqbVinZwe+WqutU9hg6/42dxUKEtOEiuHycjss/uHgMpkekeEA/cYEyGQg59SInRiAzZIw78HQ6+WocijTmkmyY2a/YjBPEsHh4NdjY+WXS0ZwEXtvGLwuvUe4KatEL73vbG+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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221017_022206_016786_40C334CE X-CRM114-Status: GOOD ( 13.58 ) 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->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>; + };