From patchwork Mon Dec 2 02:56:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 13889911 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 C5BADD49798 for ; Mon, 2 Dec 2024 03:13:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding: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=ZlYCszjOb9ae4enBB14z9kgjSacz+U6zrDT+54z7UpY=; b=r3w//U43zBdIxBmnIEi60jHovW Cr4/Ye8P8X1p2GG8ESU80kjAM7ixMrLyJT3R7f87uDnqvRGodvYz/L1CbZ0HuaImt9xd3gNsG53zg XJbETgnFZoF8v3zX6Wdt33R2VkY3o/5Tav7KsrUjIjqhanacKzLLRcMMQ3wrc64nBvDe+yAKLx0L7 e37VZmx22NOl1g+nJ+ezvqCj9GL4KDPRtFDqsScVY51VYVy9TuOdnGZlIaK4HhjLsnBhoD1+pEl4p 4bUKj8q9E5LiLFMz+zwDBBSO10MQe1mKgVnpppzE91hFZ8DDCYHBTWxvlgeWYR+cmAFrYl5t7eltg NhIKOsww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tHwsK-00000004tvq-1DV0; Mon, 02 Dec 2024 03:13:28 +0000 Received: from mail-am0eur02on20621.outbound.protection.outlook.com ([2a01:111:f403:2606::621] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tHwqz-00000004tgI-3S9j; Mon, 02 Dec 2024 03:12:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=NdxKXBPWfWXLJEMBohAbuR2VDWUBuNydUMerWsp3w3LkF4+iWsNPa8+TSG18KH9GzVgIhNaliRDi3muJjfXq87l1HRfwEirz/xdJhEWLIy8ztYfyHWiEMh1au8V/6u8OI7RZykwde5XhsUm+ZOMQW173IdLnNSeWpzN2ZJPs12Uq6c8E90t0hPlPvpYBjBvpVyEoqHKlGUP57C4CqE84p1AOghqugN2yqzqi8AgBF94xlzZR9wgZsz6/5P8e5cOcNMXrslRYhEcpwbshw/jrmC/IRh060R4hBDmNEQG058I9NZhIkenn2xppFc54uF/lfjY0iwumGgPdEw1tYt2XIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=ZlYCszjOb9ae4enBB14z9kgjSacz+U6zrDT+54z7UpY=; b=qB17mNW2iigAlrWLjHL98POWxIHEwu3EC/cRzTMjvUCxuM1GsKWBWF8IlKcRgonddX3CAV9AN04xlQYx8sHdM/pM1qCqOEyTJF547hTjSLfPneuCJddKD3FTH+RI87Nt17zNDcJsA17XTqv/LXF1xndglZ/YgdsybIo48bUX66Hj5s2lBDxq73/PKSgiGJS9BAOIXwLjJeKj3pD29yY2afcmzgSW7uG99f8nXlN8PySndd0MKPj0Svklu7y8rryL1m9RPSOE5v0/gqQ60p2chijajgnF+IUZWKkSyCLPT+tdfPYdEYmA/AOk0zK4dXsq2BLvgKqm+AZiVeFGj7txuQ== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZlYCszjOb9ae4enBB14z9kgjSacz+U6zrDT+54z7UpY=; b=FbW4uUys2D7U589Q/41kGkriT373i6WygUhHd5QkEcZmxdpv8tOvuIFUH7iVZ6JYmUjY1xGH7zwOLW2f1rLmHNUDOXOIgPvYVhCoc5fRuqgHZKBfC2MubOouWGk3wDytLmoe3N8/e17ytQVX/WYUrSP4PuFPOTl2xme86u3Y6Hn7HZNizc8LKark0NwY4AaJQhyGNp0+FjHc8bykohFLnon2fuu8rdka30Hw6mIe8KpsLbvPXFujcdLIDapNgEjzE5D87JWOzBl1Atlb4AXT3EYgSve5znN7/40fwkK1FRpgA5bAL6W0rZ4K/WybWqnfI/QKS6aKhAUufVdtXNsbPQ== 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 PA4PR04MB9318.eurprd04.prod.outlook.com (2603:10a6:102:2a5::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.17; Mon, 2 Dec 2024 02:57:12 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90%6]) with mapi id 15.20.8207.017; Mon, 2 Dec 2024 02:57:12 +0000 From: Liu Ying To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org Cc: p.zabel@pengutronix.de, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, glx@linutronix.de, vkoul@kernel.org, kishon@kernel.org, aisheng.dong@nxp.com, agx@sigxcpu.org, francesco@dolcini.it, frank.li@nxp.com, dmitry.baryshkov@linaro.org, u.kleine-koenig@baylibre.com Subject: [PATCH v5 06/19] dt-bindings: display: imx: Add i.MX8qxp Display Controller command sequencer Date: Mon, 2 Dec 2024 10:56:22 +0800 Message-Id: <20241202025635.1274467-7-victor.liu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241202025635.1274467-1-victor.liu@nxp.com> References: <20241202025635.1274467-1-victor.liu@nxp.com> X-ClientProxiedBy: SI2PR06CA0005.apcprd06.prod.outlook.com (2603:1096:4:186::12) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|PA4PR04MB9318:EE_ X-MS-Office365-Filtering-Correlation-Id: 8c53728f-64c3-46b5-aea1-08dd127d04f9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|7416014|376014|38350700014; X-Microsoft-Antispam-Message-Info: 4sW3YAH2UrzULNawPO6prtp2QJEcE1Nlg37u/LzDshdvZHaC/2htUc7AAjl5g0R3OI3AhW/rbLUCOm7G9YvP5GHc3YOJtdIkD0o9wupCrVD+C/YRrzAgMdwEy6rPZ5CQ7GAafbMxmFAdaCLOmTKLUZSKWSQtCRr8S/RbDbjlnmPbxnMmXR4oBmsMQWgnuf5N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+1E5cpgCgdgToWB76gGDcw+mmsf8cKwxWBFpvCxpmGXxMz/3YzL/zclckxCnWaL8JJnSvVzYg/R9x6U55wY6LQ== 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:(13230040)(1800799024)(366016)(52116014)(7416014)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TkVlGjxVMYPb/nDsX9nQEc7JYol71tOdSND/0OnCZPCFiCvj6XNKzct88K7w4iI2KEDqXd0Q/IPCgGJLaNmmfcZuPJQW/F62ms5iZFKbCFY6kntW9+iz/VYIcbKFk8Sl+YEYVK1h1SE2bU1HHua5qBQ61cLFYfCe4t0TqgJ7+zKci5mP/YXMWEq7b2CIBzp62HqMOiwwyk3WghcwUBCnMVzk1zaFM6f1R/jKMvX44wkjgfqoKxTwDGMVk+BTDMRY5SGYo5tCEfStVc9obUpPlQBdAKT/apmxrQ+KVTS9v2gL96bVQpdgvwGUil7/WBHcAonRwybVu+s1trG+tbXo61REdNkew5TjR1qmJD032BiFvtDxJJU19jC5pSOr3/u/uVOnT2nTXmH4FYuWsjaKRaay6GEYKy6m3RzFJVeDvqQDT+FY8mF9upnrjWS2h66sk2jOmznWaFXXLyhjWvO/jr0HfQ/NSOXGIlySjHEnWmqFcRE78IxOt4sa/uRqvJHXzOMg8iXMwAhK0WiKtQiyVwbvw5+Zh/w2MfxHxPZxcBFtnsZQ0p0bgZOScghLCQitNevfAay1vN3cDDiivCSgMnJulj+pRnuuEs8nwe/T3Bh1AGCmcE8hHjXuhTMDgiBK+5phTm+HflxRRANY3rmr+mpt3bFULhLUONjKVUpK2a0zw2mQzDSrFIVOmOe0DXStA3i19l1Z+S70SE8/gzKexTRd2uzW2d0u3s4wpHMUxe/CfSZGyaW6FhGm6b8sKwzEosCB8F2lYYB6fzSI0U9n4saj1gGqkUEa12L3RH0/sALQNugepVM2qNh+JgjIyWupIn9/auREJIUZo66d8KCVDSckonTjMC8bAB6mO13hQ5IhhQ4ZnLbsAtsKoPSmXZC8x1sKc08rgeqy7iz3gQT7bbXxoDetlBG7AanAjpI3NVoY9HjKTaO4sgqWDpePElu87lYNIle24mRBkdNkki+3oebR1/umsuj9HSe9VPveFjLAzWOG3Tq30HMHaCZjhqyWX9VNoQoTw96sOJrSDg95r8NfntMEWmkWysZIjGAN/OGW3i9diRrqeIo6O5CCQ0glTXfmFMzV6+KluCGhNli80e1lPWx4apsU7WgBEOqveEs9l4jW9uMuNicsW316qRYSnqVUpNe9D9GAsdNpv35awKi+PHgxgt7X+3xEweewSW3SLKXVtaKk/FmTJDXgwElokNhT++8KcP8+7qwaJd2Z6E9vul60Ief6UTgdm/LeqOTWwUNBjHZoQ8r03v3jFyaoxt74nrkxsY31UN8qeVJsdV4ST2lrhG3Qv7fDAFd9FBF7KdnEKsGAMGWX9uxWEn6i0oUrUEg4q3sjPNdHVmorRP6dwiFehU8xtYPCMhaYemeZpZmVGWt2EWNmHqtK4/8hdkf+ODP24DkLCNf7YxDD4HSSJ4C8TKcmBOosyBcDcN3oDezb1kXCLD1brew57ZIweVVM+cYkAKoXb/TH3/JIZtTRmKiTFJ+dhaqf+/qNSAnYNCMOWu0fRANXf7aGDACja9CsJRRh1L0Ww1muMIA9SE7ChUa4VRUEXiueHxWK2ARUeg6xDEI6EYzoSgf1wzsp X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8c53728f-64c3-46b5-aea1-08dd127d04f9 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2024 02:57:12.3167 (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: wGTX1P2We9z/A1cecxC9pwb0/e9NrlMWts/JmtCJ8shhcP8VWIDqC92Zw6dAxWZU6neuJGryMfxWLWSwjp38Ag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB9318 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241201_191205_861002_9A7B5863 X-CRM114-Status: GOOD ( 13.61 ) 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 i.MX8qxp Display Controller contains a command sequencer is designed to autonomously process command lists. Signed-off-by: Liu Ying --- v5: * No change. v4: * Replace "fsl,iram" property with standard "sram" property. (Rob) v3: * New patch. (Rob) .../imx/fsl,imx8qxp-dc-command-sequencer.yaml | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dc-command-sequencer.yaml diff --git a/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dc-command-sequencer.yaml b/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dc-command-sequencer.yaml new file mode 100644 index 000000000000..27118f4c0d28 --- /dev/null +++ b/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dc-command-sequencer.yaml @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-command-sequencer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX8qxp Display Controller Command Sequencer + +description: | + The Command Sequencer is designed to autonomously process command lists. + By that it can load setups into the DC configuration and synchronize to + hardware events. This releases a system's CPU from workload, because it + does not need to wait for certain events. Also it simplifies SW architecture, + because no interrupt handlers are required. Setups are read via AXI bus, + while write access to configuration registers occurs directly via an internal + bus. This saves bandwidth for the AXI interconnect and improves the system + architecture in terms of safety aspects. + +maintainers: + - Liu Ying + +properties: + compatible: + const: fsl,imx8qxp-dc-command-sequencer + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 5 + + interrupt-names: + items: + - const: error + - const: sw0 + - const: sw1 + - const: sw2 + - const: sw3 + + sram: + $ref: /schemas/types.yaml#/definitions/phandle + description: phandle pointing to the mmio-sram device node + +required: + - compatible + - reg + - clocks + - interrupts + - interrupt-names + +additionalProperties: false + +examples: + - | + #include + + command-sequencer@56180400 { + compatible = "fsl,imx8qxp-dc-command-sequencer"; + reg = <0x56180400 0x1a4>; + clocks = <&dc0_lpcg IMX_LPCG_CLK_5>; + interrupt-parent = <&dc0_intc>; + interrupts = <36>, <37>, <38>, <39>, <40>; + interrupt-names = "error", "sw0", "sw1", "sw2", "sw3"; + };