Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1885175rwl; Thu, 5 Jan 2023 21:59:02 -0800 (PST) X-Google-Smtp-Source: AMrXdXsyLAlXseFPfa1hE3MZzFw6wzJHQzyw/e2P8j3bOiTzqwvD3jLHnXS4R3lD1UwRqP8xxWdk X-Received: by 2002:a17:903:189:b0:189:ba1f:b178 with SMTP id z9-20020a170903018900b00189ba1fb178mr88124829plg.9.1672984742279; Thu, 05 Jan 2023 21:59:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1672984742; cv=pass; d=google.com; s=arc-20160816; b=ijMtwhqKt29VQgRSgxnAnm5bw065uczFMQcCpI/EFq0ioDyykfJZnMTMu/2rdwaUEF s9lUG9hzVAlPp1DjjPkhZn6q/OthMmi/IDKZbizxy8hWaypPQLZRGtaR1Du3mPZZx6zw j42/gBIM/tkE4wx0BXKSqeVW7jXvepWl0Ty6rjXY9V/bgsFsuN7EGbPqSTgtDRNBxRQ8 YbqhtY3v0bi+Z315U1U44rCX9VlhxJNdDYGl1vdsaQK3wy2krOduzi42gZYHZELOlVbn aw5F0153ufEKev0BRvzZjGvlbnoJcur+O+JrTLZHefAAAflLvMDjTnIybB3rB0k2kpbw h3pg== 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=3CFlAyI0/S7S6pWy091XZdoIPCsJONHLYiyeHv4LheQ=; b=s+t35LsDKMLj1rVBvlJv2mUM/r4B12Nl33EnMj8xcMC3GSZZDV0uXHEHmXoCUIINuw 55KNGyia+Kk1yASxUK0KA1rA7VVDsW35GrjnTg0GSYRIkcGONoPlCuD9/nJ1rDr2G5BE iWuY3UpqYqywdwF6iH/5JAnoe8cwWQSelzeKlSwkq2AEdV2jE+t0A3VmRlQx4Ck+uHc6 9oLCjWW1DxyMvELV8RZz56qkkzqOVghbAmCZCDX+6G8fMapsKxVAMny07BMg8jAR0MgX VMTT5wCotecXoQ+zUoaRfyk8yG1goWYQA0Ys2Hlx4a+UP0ch+BAQOkCV51DR5ZsMoYY7 bLzA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=b930W5Zd; 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 u3-20020a17090282c300b00189d56098b3si99825plz.113.2023.01.05.21.58.55; Thu, 05 Jan 2023 21:59:02 -0800 (PST) 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=b930W5Zd; 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 S231514AbjAFFua (ORCPT + 56 others); Fri, 6 Jan 2023 00:50:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231453AbjAFFuR (ORCPT ); Fri, 6 Jan 2023 00:50:17 -0500 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2041.outbound.protection.outlook.com [40.107.103.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 393766C7F9; Thu, 5 Jan 2023 21:50:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hrHaIjmpUn6EZnp1GhZ6Ph2zyONWU5y19jBrEFyP4J+FFkZyBvJs2KcV0DNKJtP60adRSM/g5HvaipzcrPm55k+d+w9wFb6SzQPPynQepro49FSrNg+MMwj8mCJUOfG96M/35l7ZCYvZJkUQNNgkHKwzY+zLH+pSjAjpe6Mt29NrbTuZE6ixv8YB8uvZ01coLAHyu93ovniRomIP900b5WRqOs3add25EcHhUjL8ynmfVFWsCMFJrNxodlqGcgNKWOXbAhorsOtmK2ZfQ3iOUSLe05aBOjpGuYqosI7lfa5MInECoi+WrygzMgrmAcfoLzjbJVZZfaiexeUTSSkYmA== 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=d2pfcIcMigELHJZOfOkcm9bYemvCH9ULnU6a79dToPHB2VpJxEA67kJHa5SdRWpYhKBcmxHRfSDTqznQLOPRuexTMMVO1lu2Q9GdfWOVewLRzLZB6QOaXSQo9yXVVbL7+Tooaa63hetNDq5lnABL+iSVGY4TlRXEZlBh1Ou8duMOk4GoFl0oUKdBTonz+3ICTYVHhFR41YNC5oGEyvul86NdQix+jHpLuU6yYDGEGrfm145zB5zfo96R7YmrTwxi9ViUJzsfKtE1i+2VBJWYecKNXZaV2b+WW9yWCi5EAueTvqncp1gVZcKF1ji6T2wyap07ROVupOSLihklGRRMZQ== 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=b930W5Zd4zhmuYVHHfLyYmHYLQvI0M30dBjSraL3TCB8G/7rUJx/Hcjxc+euTJy03RV74HuNucmy+Mq582MjxEWewezwIyknBkex+0QV/s07fsZTBzw1UZ10TlSzR/9nrnw/0NB9qD7nIGLvaRL97ws26CIeV4H+HyHx1xoRmKA= 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 AS8PR04MB8310.eurprd04.prod.outlook.com (2603:10a6:20b:3b2::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Fri, 6 Jan 2023 05:50:13 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::5098:b45:626e:a5c1]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::5098:b45:626e:a5c1%7]) with mapi id 15.20.5944.019; Fri, 6 Jan 2023 05:50:13 +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 v14 2/6] dt-bindings: display: imx: Add i.MX8qxp/qm PRG binding Date: Fri, 6 Jan 2023 13:50:52 +0800 Message-Id: <20230106055056.2883302-3-victor.liu@nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230106055056.2883302-1-victor.liu@nxp.com> References: <20230106055056.2883302-1-victor.liu@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SGXP274CA0001.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::13) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|AS8PR04MB8310:EE_ X-MS-Office365-Filtering-Correlation-Id: 27577670-5cdb-44a6-cd11-08daefa9e132 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: aqfC2u8ymV784K2NTaIJLbaWhOmK2Hjy6I4IHhgulanF+H0lHvdtN4bKd+YIg3wUImx8nI9TMNCxWwbYBO/NWChDsJJTN3yGSOS2TCsdSNp51bK6T/zgfuORBz1OAqkGVCQcvS0pik00w9eZgQHwyVYG9FXJNT414U4P5jEpLla9ImGKVGH84NK4aH1dfxGEXtmlBzhNclZ1qj0lIhYR9p6/M7gYt+nA486coQqbBxZxiOuMSkP1MI+eD7zhii0QbRfM8hhdCRtYxerEj8OkEQzCMQjkKRxlAM+bUcYEpR/COrqzdP+s4T4jPzM8DvaBqdcv54b2FnOLUZDCOUoZm6Tq7CLnhtzIOXh8U/37vVWNDrQcdGMfo3UkaQ+9pdhF5JAKEkIifZUmbV4QbpE+RD7o/EvxSuHsoHIxPtOiwPozhxdcq29EgJie9JoxwSwbDNKLsWWb0zrFB2W91UBvLILPO3A67tLZ0Oank5+kiKYm9p3TJmDTNHz8Z4JxLTvBl5niC7e8Tz7zUzC+OI3xIAzFxDg+O/6edgpVb12c1DVQS1d1IXshbxH0O5eQolh5tEUoUAQfl86+6MxwqkHMxjc11cmapNuIFIykk9xihyMS0n6CgEhGlLwhNc7X07HJlRBx+Rur7x6eb68Dd8fBEPYDSkZXHel/YezK6FPsw7f7Nn3ERjs3RXEugnPqeK6lkzOtu/aPDYD1Zn2blEu046UBojrQQc1+pZrxD5X62HkciW+xuxRucw3tnoKQXBp0fm+3A9gpylqxuQbTz4aXRg== 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)(346002)(136003)(366004)(376002)(39860400002)(451199015)(83380400001)(1076003)(6512007)(26005)(6666004)(6506007)(86362001)(36756003)(186003)(38100700002)(38350700002)(2616005)(4326008)(316002)(478600001)(41300700001)(8676002)(7416002)(2906002)(5660300002)(8936002)(52116002)(6486002)(966005)(66476007)(66556008)(66946007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?2zsoSc2YiswQQJdKddk3eFJTfNfqwF5SVH3g9pvql9L7jPME3zpblAFa2+Ad?= =?us-ascii?Q?fEQjFUntCcP4O2oqCnd9/Oymvtlm4jblpBAk/l/2PP3ZocZFoxfzSEjGmGFy?= =?us-ascii?Q?D0/TBjx4ch8SbIoZ0ZlgKkOunr3+OlBkytIgH8TTNQ2JKQ5Q6msAJfSvbGvy?= =?us-ascii?Q?yVjuoGTC3rk/tnEa0JW0cb0h2fs/jHVI/Ua2J1RFQzQ2pOdJxqxfo5saznbT?= =?us-ascii?Q?gGCp/1UlkJUwPTGPBAaEdiIvkRNwqG51PSm+08/UWHIwvPEpelM8/M3v+IZw?= =?us-ascii?Q?T7B6NFT10y4Q5nhqej9r/V9XcP2sTc83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t2?= =?us-ascii?Q?cOQShq5CBwT8qfeKy5IV+B8oPKKPCyqORmo90QuA3v1V8S8e3NW9Ru302C4u?= =?us-ascii?Q?grAEyIOxNaA7Zafh81+TCNrk6AVxRuBQjzO4+N5Ih/k5m/UNE8mB4HJTKFAP?= =?us-ascii?Q?F4LbbNFyjvZoTL+p2fBAM6AhMF2Hzp0rsC4imANkiwjB9w/Y/dEwMPtY0deR?= =?us-ascii?Q?fDC3TNPeDEKv9xdR4qe6fnCFTr6Evqs4Bkp6Rx/+EGA3QAIz4Bqn/Of32Lgq?= =?us-ascii?Q?loWLfslNxh4ZyDUpMpWsydkWk+XCUxDff4lKzrKydpvvPac/smUANJeJ+TOY?= =?us-ascii?Q?56NRLWwf4DXy7mHQ1EfjbzIaCpSPF9eSmwpRjFudc6+X3Arlz3vfPEXNeMwt?= =?us-ascii?Q?SpBZHRDWi2mED+zkLQJnza5DSKKP3bA+lBM8zTc7?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 27577670-5cdb-44a6-cd11-08daefa9e132 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jan 2023 05:50:13.5701 (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: IQQEfqVTD/6ig28sPLd0F84HPTacWHiIXMOrY5H+VD7PM8lMAhDFHLzFbzTNScCQrjCFIy/30sI5H6Ka+qqmCg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8310 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->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>; + }; -- 2.37.1