From patchwork Thu Dec 10 05:27:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 11963299 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD895C4167B for ; Thu, 10 Dec 2020 05:37:54 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9259923D23 for ; Thu, 10 Dec 2020 05:37:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9259923D23 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ZNVFXl0AwV2L0iO6bBtBgJa7pjauWgdyVqv3BpSR5+k=; b=Y6Jku7rg7o3XWfDGLz/Hr/m6t rHIjED4HjygHwXGSlrU98+ZY700SK0UISftfUTQaGzAnZRyMS22yPVwKPnv2K4lJedCa2iBQ4yh2Q W15H5iUf3LovdWyZ0jpxuvjKPAziMpP6r0zSIERC+iWhL3cAXmlhzStXRUY/65jCnUTYq+7mieFLN 8eiN2rZJRZ7gmRJM0uiYKLWalMBlRYqqrIPXE0WtzRfgnRgt0kV981vF7XpyrrC/JqTVpV3EpCkNd ZgooZu6d7IEE3LJNIN6pkujtVDSJ217OEFSEdYWCteL3U9ZChOlreXaH5EXyW7ECA0V/y4sF0lSqb VzJTKyCxg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1knEco-0004dv-2U; Thu, 10 Dec 2020 05:36:22 +0000 Received: from mail-eopbgr60046.outbound.protection.outlook.com ([40.107.6.46] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1knEcj-0004cp-AP for linux-arm-kernel@lists.infradead.org; Thu, 10 Dec 2020 05:36:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B79Izg3tJCkb8pe7wqhR6VdxTb9VcfxTpLHixw3f5sVD/Sp64rhiWJT9tROteJQ9nMBFiVXpgtjFLKNIddc7jxaiDb1OAV95v89i6L00MOQHI0FnhW9krZ0Gf37pCqzxd8Vj080VJABaVaESvAkcYKNKVoSHkMpIiXSCSo0FOb/GcRGIQguNePFLsQGoQ3Bwoph4+/KfyogHKudAIe4hSJ3Oh0bgQfhuML0+g19jbTVuq4QvwW3/JtH0cc522qlwGxZam0Qq4cAmL8Fkq7lJ3asBBqc26K3GFz7szZc99lFtouejSn05utKLedDIjiL4T6HFGu3AQx3Eqx20cuD+yA== 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-SenderADCheck; bh=hNbQZEvhrYMNuVQjUxJaFuXT2Tg2xlrr39Eb+oqViAw=; b=aqRl2i7Q+eL/zzIQTTvVIthGv9LiKcFjsV3Q60hhwmXP9qWjaDsGlmz0j0D399A+lgpOkDp9UL9iNUadTCBdmFFmybSfdoL3CiTzmlNTOmC6TwSeAWOuypsB2UFfRzuFUzNa79EfrrIBJxwDMx3PVThFvttoPzDk5m9HT01mCW2ksUROxdvVinBU1f+wu8Un8FUt7zVj2lNb9zWwVCUUyFWr753r/DaU3+rFbcNQs0U6S/+HxToVKY+/5P5XZoglKnPWvteuSM5NvEUYANqUtGqt9s62LN0vMbAiVo8HGqZg/dTaUYt3HNQWCkr8HMYdXlGUJR4aRFlQL178ye/rXg== 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=hNbQZEvhrYMNuVQjUxJaFuXT2Tg2xlrr39Eb+oqViAw=; b=qcDVM5XrdNW+XO+5rLVw2NJEITppZp8YnXTxJ+S2rSTYEIKFqiYvT8VwkvllsL+NCtNKbzq+S7QLe0wfxHKLe1pXfffnz22PetoUKflqrTdvNz1SvfYQIVKo++4hAYArLiwk+RjFE+z33j7I1h2RUNw1ko0Nzhuy0N3GtoiuWYU= Authentication-Results: lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB3983.eurprd04.prod.outlook.com (2603:10a6:803:4c::16) by VI1PR04MB7117.eurprd04.prod.outlook.com (2603:10a6:800:12f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Thu, 10 Dec 2020 05:36:12 +0000 Received: from VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::dcb7:6117:3def:2685]) by VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::dcb7:6117:3def:2685%7]) with mapi id 15.20.3632.023; Thu, 10 Dec 2020 05:36:12 +0000 From: Liu Ying To: linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 2/6] dt-bindings: display: imx: Add i.MX8qxp/qm PRG binding Date: Thu, 10 Dec 2020 13:27:27 +0800 Message-Id: <1607578052-4316-3-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1607578052-4316-1-git-send-email-victor.liu@nxp.com> References: <1607578052-4316-1-git-send-email-victor.liu@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR01CA0102.apcprd01.prod.exchangelabs.com (2603:1096:3:15::28) To VI1PR04MB3983.eurprd04.prod.outlook.com (2603:10a6:803:4c::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2PR01CA0102.apcprd01.prod.exchangelabs.com (2603:1096:3:15::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3654.12 via Frontend Transport; Thu, 10 Dec 2020 05:36:06 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: b297bdb4-2f16-4db5-3ebb-08d89ccd8138 X-MS-TrafficTypeDiagnostic: VI1PR04MB7117: X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5797; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fbwHK5UF0o3QAqPYOP6Gdkn/XMSF1Fhes4ilJHtO/uRKtbrxIDJFBUusjsaS0jvIb3V/d6c0eCChiJt19kCMm8pPQiMkPvIfkSYsaZnrqD2WEebQ+7qRVeWX3YekeSFCl4zGgv1lOUrgOOp+WKpEikwiy5c4kc5+4aYNAACYa5+I68njRlG9rYeNIZPlrPHtZnjj7i9LjpBRsyXPI0l0J4z1J/namKE1wmiCUsOkA5vpLhlX0pLA/KjT0gD+vA8R+5Yp4Q57/Q/QvB+whv4+47Oh4HOUgbovp4EApwnAV0wgDkk4OfOe22NBM10z7dB5sfnkIHzcLXVOThwfg0Kuk2IlPCY+08jGqSDXAbueoZZ5hJNey/uc5t7o7MbmoH3kAKMq38uffgvaIY81QGVRoyidLDoQ6Rpi9w5PZ75ppJCZe+9CurEmOEMVXVs21broXhxsHLe8gTWdd3GDcq/Z/B/EnR+i0h/aUIvp5smTwA5nxDhDLor4NXB1/KSBztZb X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3983.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(136003)(346002)(366004)(4326008)(6512007)(6486002)(66476007)(8936002)(5660300002)(34490700003)(86362001)(16526019)(66946007)(2906002)(966005)(2616005)(6666004)(52116002)(36756003)(7416002)(186003)(66556008)(956004)(83380400001)(6506007)(8676002)(69590400008)(508600001)(26005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: m0dNCjdXbMz+5cFBr8CUFod1p3OWnI8SLGztKUSXR1CB576HVGsrgdaPN7asra7nKHMkus8GyodsGRq3h2V7v+i5rhOd3qIDHxDWq6A4EVf8wSl5dVq3vS7UnROOmJWyxigy9gIL4MPPgxvshf7JtNoS89gpokzcLmapK7A+KFvprYjK9I1l2vO6TBE64cJpdWcuv0ISwdBjgnRMV6DrhFD1xmnXTn9pmcx3FTao/mdr8gbe34A7c9H9+u8KsKzNVt+RPl/OEkoC4dsWvGfv27Yu/VeVXqegFmjLDMV+Lk3Qq+lpn2sFtZ/b0vtWQl8TccFb516yawTPEevb2jhzePW7EE2cEgT5UHAtB+7g272T7VmD06ZA5TGawuSVBcCWtwKdWSw7VleHsD3guckh2QHpnpzg7QBDcA/GUKiGi++mB7xqBiy0yCR5McNYDHtDyD1xYOxBaI32Io0pz/ocwXSRmjd5i1mjt+YggI4MZiJp+6mPo/RIAJVLGnFsT2TKXB0WXkjcNm6dsHw824EIwTMqcLzJNlVB9ydNeOeDF4XeIPt55cv1/V4+GyLJU5bZ0n2m1JYWFxhZccYLkI06iTIuvWp/mnPr7FFm+txomDDe/ASaopUwN6TTVha9cdXYkX+vEf2cw63mt2+U84TA3N+xwSkP8DuVGve8g2J3Z+/+zvExAWhTdydsE156Z5PCcagBwXDAeEv5oIzvf+deI9+MWrp7JdqD6it5pqwwbxIjw9d4Y0Y2zi4A4MBSyf/WJIbhFtKYOUa9o3KEMHzvjmMEkehvyMmDMRCp86dONf9+0XH5+OHGlXYM7C/gDzdJwnQrHOr0ez0YglUcPiPZSebgayiEnDAei+NBppIf6cA33rQz/dRZnd1o6pTfEDFp0Iy61bOBFUDxRe7z2S0/4uIJySmnYcKekM6LSUlJ5VzRPvzO8ejOUvHKQLWE7pv2TnzjJs3e3uzG8LD31oT0sykQGrqG84z76mcvtTDo5eLvKTxeeMBkacpHpZCBXOMC X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2020 05:36:11.8333 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: b297bdb4-2f16-4db5-3ebb-08d89ccd8138 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 7O2TNxWQffXlED6y4YPtVlggBL1PTF416Qgq61v/8di+oZdZGYbx7wnbzlneDzrWuk226sBRPSL66eavQLxlRg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB7117 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201210_003617_422112_533C7FF0 X-CRM114-Status: GOOD ( 16.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: p.zabel@pengutronix.de, tzimmermann@suse.de, airlied@linux.ie, festevam@gmail.com, s.hauer@pengutronix.de, maarten.lankhorst@linux.intel.com, mripard@kernel.org, robh+dt@kernel.org, linux-imx@nxp.com, daniel@ffwll.ch, laurentiu.palcu@oss.nxp.com, guido.gunther@puri.sm, shawnguo@kernel.org, kernel@pengutronix.de 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 --- Note that this depends on the 'two cell binding' clock patch set which has already landed in Shawn's i.MX clk/imx git branch. Otherwise, imx8-lpcg.h won't be found. 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 00000000..3ff46e0 --- /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>; + };