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: 3331 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1349216wrs; Mon, 17 Oct 2022 02:23:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5IyFnvfR2JIR/CDG9sNYDNL3cVijdbgVxS9XFGR0szknmCELgHnVN8ZPSKBKwv8ekLijib X-Received: by 2002:a63:106:0:b0:460:64ce:51c4 with SMTP id 6-20020a630106000000b0046064ce51c4mr9820043pgb.17.1665998605020; Mon, 17 Oct 2022 02:23:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1665998605; cv=pass; d=google.com; s=arc-20160816; b=sdeefZ3EnUWL3nN3/41ZAzgdXU3HFOMSVEX6AxS4NwjMViGzcuR5DuTzffLUc7WZ2e XhUmMRzQ8cfhEGIj0Ky6Vp3XjWPkZDf6hUcKXFryBzO9hns3avVWx9cHCBylX09NesJj pFfi106QULSaIzmFQEAvduvR/gquoSJzRXbakqxXzA9BSkwdsaTUJgpZV/1U8vZbRge7 qPxcpy66fvAwitSwzCL2tbuOaSfBX8Ucfbb/C2KULnwxj9yVuVGAHPQAWtKSuUECFQak aADUxfLqt0fZ69iVhuXoo31vG2vSzj2NuMExFFraC2jB9gD5rUh0gOyae6etFkwcct43 Rl6A== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n126-20020a634084000000b0045ecb2679f1si11010134pga.45.2022.10.17.02.23.12; Mon, 17 Oct 2022 02:23:25 -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> 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/bRusvgPD1psgKH0BHHo3CMcnL3Zu5E7cjlhkjyAQnBkV4XEr9LEMojRZ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0sjRFsj4AweKJ05U3eOr+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-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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746926153186926632?= X-GMAIL-MSGID: =?utf-8?q?1746926153186926632?= 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>; + };