From patchwork Mon Mar 29 05:57:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 12171019 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=-17.0 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,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 868AEC433C1 for ; Mon, 29 Mar 2021 21:52:35 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 AE38D61481 for ; Mon, 29 Mar 2021 21:52:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AE38D61481 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=desiato.20200630; 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=jDhXlye/wEuRD1hsJZQC6uc63X0rCwyjXXgDM1/2Yvo=; b=oWQywYMW7+D+0hV91SdLvSbVl M1kizb3xxdqEFSWME0yERVCcHr3sXYaXBb0RxjYL9dMboMbr5xSVMtvYstASkaHlNWgQ8lFT71VP1 gLU7cWLcI4p+cvMchHjLbUAmBssI56P+bLNDRmbjQlYxOg/z8/rLRjaBh7/8p3V5odKP661xyoCGi uO1S/Ko92B3sSsoUAiXYvlQ/Nu357PMN11AwSLiujMl/Qq3h0vnV1OvcQGnusZMfU14r21lo4Vnhy 05XqQWgmft05pytda/B2MxLu/enmjl2XcZb2ADHPRvr+5E6H5DbqPPYKslEQMPSxiKKvvzuHA0ens NiinwIabA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQzld-001Xva-24; Mon, 29 Mar 2021 21:49:50 +0000 Received: from mail-eopbgr80047.outbound.protection.outlook.com ([40.107.8.47] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQpQZ-000at4-UR for linux-arm-kernel@lists.infradead.org; Mon, 29 Mar 2021 10:47:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hlaGQEy+EUByuBwtrXQgeV9OiGWFSaKbEBYq8V+fB5j9kEnlrrtw6SJl17G1BX5a+TIDEcKpre6OW/X2ympmX/0j4kq/wBvD7LEGjYVrPjCy9m0j3jFdNtcFhSGNkRA4vA9KNvCgiOdNyIAw592BGRoaaXuQVA63fdxr7Q60dsIBXm6y8pnK1ky03UoamikK0SsXRyHaJWYjhfguBfc+zIkyicFXtgOz3e+/kcXVUxHCYutjMv6o4SPcsN0Rhc5F2jEONAELs5LNa/JxYlulcNnYoxaI8JtsAYX1DR0y3tsEbXiAy49tKRxgkIt8vUMsbcRWoO2dkHB+dobnV5SFCw== 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=DVX0lIYsLDChNIQBo0fuaduG0WMwEGhI6WrcS5Txktk=; b=k7DTWnStYvuFqbDuuWzBh9vFCp+wQoiYNwXrsThps6HHBaGqgio6HOM5SKVpP75E92qF3M44hNba22VDinkbu2iyT5cbteBVa3sZdAlLbvRABOullQUZVqTWw1HpEugikbDG69xrKMSPaDacvFAUnHDCbgKCX2CvtcRTd/nVKlDD1Jak2zJbFBP6jM18HVMdLB/CRAqQiXuP5dp/BmxChHI3xwwXdYi+xo4Ck+4RyJo3ziLj0YqsxXCSeb6PPXHW4UdjmEEHSG5pNWomNahRDNBb3NKnHG2VjcmeF8lI4W6AT5Dqt5k06TG1vIkvlZ6j3eaFPUdagEkcm5+HfyoLfQ== 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=DVX0lIYsLDChNIQBo0fuaduG0WMwEGhI6WrcS5Txktk=; b=MyXSoNh0pA8LmIO+Dvsc8UpyvmdcDpfzAPqZBDilyq+1+wvQ9ltOp9Bcaq+oi6mRVj498SvIK7tCdiJ0+yPipiUbLCcEH0FX8ERMHVl63o0HiuHqkVkVhIeGm2K/78EUbAyOhZWQb/aex9YGy091iXxnoJp3HAHn8qT1RpmAuCo= 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 VI1PR0401MB2320.eurprd04.prod.outlook.com (2603:10a6:800:29::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.26; Mon, 29 Mar 2021 06:12:16 +0000 Received: from VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::3ce1:4759:5c33:514c]) by VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::3ce1:4759:5c33:514c%5]) with mapi id 15.20.3977.033; Mon, 29 Mar 2021 06:12:16 +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 Cc: p.zabel@pengutronix.de, airlied@linux.ie, daniel@ffwll.ch, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, robh+dt@kernel.org, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, laurentiu.palcu@oss.nxp.com, guido.gunther@puri.sm, marcel.ziswiler@toradex.com Subject: [PATCH v9 2/6] dt-bindings: display: imx: Add i.MX8qxp/qm PRG binding Date: Mon, 29 Mar 2021 13:57:22 +0800 Message-Id: <1616997446-8783-3-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1616997446-8783-1-git-send-email-victor.liu@nxp.com> References: <1616997446-8783-1-git-send-email-victor.liu@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HKAPR03CA0027.apcprd03.prod.outlook.com (2603:1096:203:c9::14) 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 HKAPR03CA0027.apcprd03.prod.outlook.com (2603:1096:203:c9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3999.14 via Frontend Transport; Mon, 29 Mar 2021 06:12:11 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 2a53ff18-3509-4e5e-838b-08d8f27999d6 X-MS-TrafficTypeDiagnostic: VI1PR0401MB2320: 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:4125; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zdHb75UDVMD4WSAyxyQvGVoZ6zlH+Is7L9JxH9YWxbu2RccEBC2hdH++WgfzhmeCUq95ueKP4MfVtWlX6ALNTMCkRUvSX2MddO1rJ+ptgI15sosKXWTczCYskgKU+lb12LFuXcaYLFQ7Rq8vK1n3IxrdtonPJsS/RvqMtxYohWnhvtPfOBVT/gEd9a5hr/ZGlxoNJ1Yn9wNkrVBW9xiR5kqRFXcgTH2X0tjc9y5NNjOs0NlXqe08ZXkfmFMabnAIotZMbQCePs1WdOFfaje3mTYRrpV9SlmtmKLSDt1hvVIXEOh8QY9n+1WijnBsYnndTzhRQhUy92rmHyQulZDPVMPiF1Jvzp8xwmvMKj6r8gFrCCdl2ZjYBmViqzWmVd9GIQ6lSDcVwAQ1R8/Nj0ec7nBefLx0sXktlSOK3WG+40McLW+LFLM+2+i/kJh8wyqElB7enEzOJugO1ZolwfM8QRqXJxedUBGO10HpEnhK8IUFhUcF+7pvLcKSMbAaIpoZgu9JxXlsZaJNyjJ78XS3tiHzF2rHZr6Va2fUyLhPnWWbKeKUomtdQFMFH89y02lCRO96QyhIi26D5w0MDykQjwX4uVxEkDaAV4eW6dUdWeKv8leMiIJ/kMRlLVu3MoL1Pm7euthfDVtcsFj8qVAsPyGYe5QptDsyAUAw128DLyCZKYEqFs28YPyi1ROIPGDSoy2/esRv7H9S9ICYm9ZVlF43vcG1hySaKNOSODd6jKekXCCFu8u89HG/7c5ybWdZYtQqKWcj0zeWWJ9vatLo4A== 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)(39860400002)(366004)(396003)(376002)(136003)(346002)(186003)(16526019)(6506007)(7416002)(83380400001)(36756003)(2906002)(956004)(52116002)(26005)(69590400012)(86362001)(478600001)(38100700001)(316002)(8936002)(6666004)(4326008)(6486002)(66946007)(66556008)(66476007)(6512007)(5660300002)(966005)(8676002)(2616005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: BhAdP/rqVRk56MyrGcAFsQTVgIdMeYe4mm0+S+Q2WlTrkww2GNb8IzqzY+uCEEUJ9rMZLjeMaSeZ4ku+GWUb6xBLvb/38VEVtSzt5ttv9Eamlc6H1PD/PxHiZTCI/PU7uZe7tSJ1dpTQAr4GrFlnIYAtr8Aom0v7KtCERJPz/hoaKOHzW+MP5wyg3JdlZbxGsrgd0aptuL82moz98oPqAHn0RB5hywpAiel4b8lNkNS6wL2joWSUZULK6B2pv/f4wh+GItL9u5RDzmUz1e3Mg4FvnY67eunivO+PGjZwhOBVnq52iHwGLlQY6thI+2Fr0G/Habms+WpsGaD19bLmjI1LrKb/QK80vA34QbqRQYZh2xkCHdI9oFg5Tmp2JAUdehQYL3ktgo7y/6u1+frnoybLY0Zx9FKwj8iqDqccU2DObIlqXK/D5+oK4l54qI4aQH3VgoRsGuPqtH0AMmdx8puhdLZohlN2EiP5Mx7HOd1hr0OYgHBiDIOIvbuZ4qSMTO1Db8A+hXgYJsaW9QJpm3xQWhykAIwnD0s0ZSTEjN6dLjdcVO+gmIrMpR546e3g1eBkLPXQEOHoi2wwk0wX4KvXmjts75xh+Cazzj24fyNcO60l90FWttvR7hvNJfm7LVe3t1RvwlOlPiF+vFwDTj2Y/0AGc+5ftUoLyJGMAxQtkCbgyK/eIBhsgWloiZg7lHE+L3J4GZfzwCIPVxBEWXuSF/NbBkj6hQzxHpXPHODII0QF9rovlGXQSCH65TzEMB6SfjFSTsLDMZBA6JUKfcGr0wbXIkr2P8YRIXQxMLD+/Zc9kfwiGs50L20d/0Sl/6Eg4H9322julCMzeIpD1s8BxcJRd4kVMM3oCPiloc3Y1MCGRBmr1L7/1JvPl5VTlRk9EYNMdjBAI0Z9CQXm2tKUDuJ5RfgsJeUYe/drlveI28TJWwY/gic1rT5JYbjB/bNzG9IslOxXb5gxMqBUS1AKWNUzF/PWizE/ymyNQuI/OBGN3zp5CY7JY9xzx8bjtsvvY9dVYDt+7Tq56xG+Tr0AfKOFu0p7f/ZW33oClj3OTrdwFnQ6jGsEQ5xwQhvSI88q3gCjbAR/+xErPAadUntdjMjCe09cDVJ5EQe3Lg6hxeJSLCTVz1WFQBVJJO/VdiPi1XgNyjuHA/D37byLya8KdhDGUpq6RSg+XOYnMzrNGZjNhMXb9KONRN5nX0PhnlS7HypRLnpMVkoWbct8LjnUkDchUP3YordxlNKyxmTs9nJ1vX8LU/NXKTTWS8KuV2yS2rZ97gY55R/kzXPmNPvPrVadm5ylCT0yGvGtFFpCbIZzCm/7UaInvV1v22EL X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2a53ff18-3509-4e5e-838b-08d8f27999d6 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2021 06:12:16.0191 (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: Gzt3+D59YAJGJR0DhjOe5sMMu06XOCQ9tcddjZy1L/zkJittQFgHKm9AKjZYUYoXBkFBhzUTdsw85yhW2Kr1aw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2320 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210329_114724_099035_26A480E6 X-CRM114-Status: GOOD ( 15.43 ) 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 --- v8->v9: * No change. v7->v8: * No change. v6->v7: * No change. v5->v6: * No change. v4->v5: * 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 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>; + };