From patchwork Tue Jan 26 06:14:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 12045677 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,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 79C6CC433DB for ; Tue, 26 Jan 2021 06:27:44 +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 2AE352075A for ; Tue, 26 Jan 2021 06:27:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2AE352075A 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=DvonpsjW27hcCJzvSdEUJf++n1sIIQMsfrSjmYTCVZM=; b=w0j2v8WvhBMwmHsDIfh7wbx3R 7Gd7fQGNU+J1HfEYmG/0XNe5vgMAMaWyi61roV2NGXRz2uaOyUVe29N2dXcNq8pL0VCs9LP9nUOAw 9fRv53VHBNN0B7X27/E6ogfWLSGAWjvXoI5h4A0JrCD3pcxlMhrg1IMK9RUPVA+Bw3OyBpPmo72Im 7eqHmdkeRRQ7ZImcDSAQU6E5gM/TpIoFt/Cej3YZIBgd6XOgjwQp4velbfovJI9xfvowISdFgcx0m WIlkGZJ+ntvBX2oz+pTdNByvNgkhbsz/V45NIJwttawhem+uaAPhGXv+Liod5eQCUfn0YwZfNXhsN 7UA73/fZQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4HnW-0004fy-Jp; Tue, 26 Jan 2021 06:25:54 +0000 Received: from mail-vi1eur05on2049.outbound.protection.outlook.com ([40.107.21.49] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4HnS-0004eS-9F for linux-arm-kernel@lists.infradead.org; Tue, 26 Jan 2021 06:25:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CUOvQPHwOulBhlt2XLokFdJ0F13G0wXkXGT+pr+Rm+QUhNTS8PpEWyjK4/rdDtKfoKnaSjeWTJu0n1DubQqsLCtu3GFv3q5jDBdbdCwmz9voKvyrBE91tcbSGRLDWdjWz57yCVtgEiZy5OkL/MbszD1uLPrU4GVIg/66l1Ef5VNMXNiXo7bKomVHVYGJ7wblNkYKf5+isGz/XFD29EPJdHpV3a08cb/NZz6y9nRWL9tZbd8jyXOcCGYJzRzER3oME2X6OT+avs5T1kN2NW3ut1SnT2i2taT2fzZYex3MQMYQlC3Pk2qxECqHWtpJTOneE9k6rmZrYoc5BwHWsE36dw== 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=G9fPPnFzkJWIqM55LxLZRJYO8EpcKOFsM97CMqD0qxM=; b=lgV/yCELkdmGy+SXlhLDv9voqOh26AxHTDkB6x6j/Xhst0eIN/dlL8zggakHAHFuESLAcxGk0Qb4WeTw5hTbfc478Bp0jj/ocqbYnY8eTCLkfPExS3rRQlfeIfWhSQjG3nd4LeYdhtEA1EWAk7U9pWVLDXC40kQ1Gn9H1zXZOPnutlgGCZen4T2n0kNuedm1s3DORmo85rKFYMUdfpwcohn4nLpXtIDOs7xm4vFyj7AahHenvIWP1nVphxLgqiM3IHp9CPuguOvDTp6ODxk8qYQgfpVFQ7XkxPryrucPaoIX9OM814CNSWWATxykPvo1V7PY3h5zrTMzjNFEVd1qBg== 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=G9fPPnFzkJWIqM55LxLZRJYO8EpcKOFsM97CMqD0qxM=; b=W67YddkAPGHee4yLsId8mMfX5Fvyh7xaEu1zI3AbRSyuC1K1hJKnx5XErJ0Xhl/7MeBu/FgMYYAIPGlFi7BvKtZuNAARdnYxlCckae+X0T6MDziKjpKXUuJs72DAcDANOWyZY5lYm9alFuvZIMZVA7+DqDIhchtv1tJdtYrT45A= 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 VI1PR04MB3134.eurprd04.prod.outlook.com (2603:10a6:802:d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.15; Tue, 26 Jan 2021 06:25:45 +0000 Received: from VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::2564:cacc:2da5:52d0]) by VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::2564:cacc:2da5:52d0%5]) with mapi id 15.20.3784.017; Tue, 26 Jan 2021 06:25:45 +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 v7 2/6] dt-bindings: display: imx: Add i.MX8qxp/qm PRG binding Date: Tue, 26 Jan 2021 14:14:47 +0800 Message-Id: <1611641691-17554-3-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1611641691-17554-1-git-send-email-victor.liu@nxp.com> References: <1611641691-17554-1-git-send-email-victor.liu@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR03CA0108.apcprd03.prod.outlook.com (2603:1096:4:7c::36) 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 SG2PR03CA0108.apcprd03.prod.outlook.com (2603:1096:4:7c::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3805.6 via Frontend Transport; Tue, 26 Jan 2021 06:25:40 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: a9fc1716-5028-4b78-6e81-08d8c1c33677 X-MS-TrafficTypeDiagnostic: VI1PR04MB3134: 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: GzOjV6nqOYPiGGTls8smZ9bOid4aafV4eRS6HGjuQJFRTjRLINpGKqHFboXR8kI+MbSHoaqyG4I7hwVNiScdUaQKiYJkIetVu2TDrRE1hFkEeGbBS4gnxaUohyK9mHWWZatUE8RmebAjIuvlEIeQeIWlKEWF28y1M5Ion+9oWHyL/e4p3KqCGqgoXode/6MIOFeh1a6sp79f/BrUgKiX864pVzVFvZ7TIqSkgof1FBGi/gX2lA0I0bssxjpCGU2XWEhlC/2H8H7cLV1JU0zhTM8aAJtnfXAPTdMz2vQif/WwImX4yR/r5o8inzvMiNlaZPjX58gLcunjyC3gI+9CPkA6N7ODlFjBhLDz3ABJ5zd4Sy7Y2YuuBzSUXczAfOLrql5L4n8pSqvBaw8z6JYY97KL8RLicYaGxwwmj9uZWB2zytkbZPL7GUPmLiGoDhWg4sbsPJvZ9Zh5goaCYxzo7VtugHPPvWNCgU/fBY7sZXh7kjtbEljIxH6xtHb5IeVAFuWXZOvIcLBXdS1C21ijE7O0wLIFZ0hr0i+vesL8K7nLGKiLoGfzdodqWagidDgQD27dlYn6onuqa1FH6jn/lfCVNfSI3HQ+jhn4K/2EIrcIZw/VV5rFTPkejOGxJRStAZjxJ3qchvGxyJ0wRoN4eI8NY91lwVEi3CHvZRiC8XA= 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)(376002)(366004)(346002)(136003)(396003)(7416002)(69590400011)(36756003)(966005)(66556008)(66476007)(86362001)(2906002)(66946007)(6512007)(4326008)(5660300002)(83380400001)(6486002)(956004)(478600001)(6506007)(26005)(16526019)(186003)(8936002)(8676002)(52116002)(2616005)(316002); DIR:OUT; SFP:1101; X-M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JmWFNWo+WKgrVIF8cGZrrbDLlnX8BAdomafJ3JZ8vszJ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a9fc1716-5028-4b78-6e81-08d8c1c33677 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jan 2021 06:25:45.1554 (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: 7U1ReT1mIjS2XFRYa6TpGmO5Adup1OBKEAF6eH7BUOg2k7MeIEYp4J5nA4sQDSQyfgM9qPYSPNrk+QGmZlBxeA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3134 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210126_012550_358981_FDA49153 X-CRM114-Status: GOOD ( 15.93 ) 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 --- 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>; + };