From patchwork Fri Jan 6 05:50:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 13090947 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 85023C3DA7A for ; Fri, 6 Jan 2023 05:51:31 +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=2/rhIVhp+oFUmE KzF9bbidPBpOvhGBjGu/LpJkbuxOyFdb1RQfswxXnq248Gc5/9MYvgbDMPagCCit7BMmH/ywQLabK Oeud/eF8qbwH1Vx+ndgKkn1qaPcNQMFvFZXAu5wOadkJ3qc9yk3CIjpTQen3ESpEmduD/pij2w0gM SD7SHoWeUlH5xs+f46RHZ6UbTCdEBarKz3NiAmseWxithi0kOeVxyHd8MstIfi68wkpt1Foqcvc8d yUu2AFjRG1q0AEVocg5TMz+3GUssXu+yiLiyVaIAV7ojY/fNtTWtPrCWSQ7RpRN3DYVT+sizL9E1p SbgqyalzV3/+zLxRqbFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pDfcb-001xZy-Ei; Fri, 06 Jan 2023 05:50:29 +0000 Received: from mail-vi1eur03on2089.outbound.protection.outlook.com ([40.107.103.89] helo=EUR03-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pDfcP-001wqh-9B for linux-arm-kernel@lists.infradead.org; Fri, 06 Jan 2023 05:50:19 +0000 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> 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: 2zsoSc2YiswQQJdKddk3eFJTfNfqwF5SVH3g9pvql9L7jPME3zpblAFa2+AdfEQjFUntCcP4O2oqCnd9/Oymvtlm4jblpBAk/l/2PP3ZocZFoxfzSEjGmGFyD0/TBjx4ch8SbIoZ0ZlgKkOunr3+OlBkytIgH8TTNQ2JKQ5Q6msAJfSvbGvyyVjuoGTC3rk/tnEa0JW0cb0h2fs/jHVI/Ua2J1RFQzQ2pOdJxqxfo5saznbTgGCp/1UlkJUwPTGPBAaEdiIvkRNwqG51PSm+08/UWHIwvPEpelM8/M3v+IZwT7B6NFT10y4Q5nhqej9r/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RfDC3TNPeDEKv9xdR4qe6fnCFTr6Evqs4Bkp6Rx/+EGA3QAIz4Bqn/Of32LgqloWLfslNxh4ZyDUpMpWsydkWk+XCUxDff4lKzrKydpvvPac/smUANJeJ+TOY56NRLWwf4DXy7mHQ1EfjbzIaCpSPF9eSmwpRjFudc6+X3Arlz3vfPEXNeMwtSpBZHRDWi2mED+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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230105_215017_372146_52277D4E X-CRM114-Status: GOOD ( 14.29 ) 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>; + };