From patchwork Mon Dec 30 02:11:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 13922952 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 BCF0AE7718B for ; Mon, 30 Dec 2024 02:12:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4077D10E44B; Mon, 30 Dec 2024 02:12:59 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="oUZh1EW2"; dkim-atps=neutral Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2062.outbound.protection.outlook.com [40.107.21.62]) by gabe.freedesktop.org (Postfix) with ESMTPS id 916E610E44B for ; Mon, 30 Dec 2024 02:12:57 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dMkrrXa407xRn0Ev8XRiXoQmsNEovIWSUaXzFNE3yDg6epEeKIe02chG8drobNhvoztSN8yO3yTv1DWrwXB3NXBVByWFVaY//P90d41KBr5PIo6CUZBqlle5GM5FT0QHUX6TGz/tIgy2ywetdAvuU4V8HAePsJ02syDT+UxukcGD6LBvtZMc/KSbAa09mPnxrn1tmMxSIXZkNfwQDMGShWhnsFzPG/Z+izdJOsgh6uuF45+FMMsxAsETCbB+A/9tQiBO7fAfvBalg0MMYHrJplE9ibYNACu53m7dF5Imb6eoPppUAFv2RUEmJKCHvlzVDjNBJlUNUr7X0nnN23tJTA== 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=zZ5k1osf5EbubUYg4rkwQALGJLEvbLE+AxMFRYrGLG4=; b=uRT5kF+74HpVjW18KiWoJBf+VdA3FH+jfHqEpW//L7eUeczPbkFbbB+0zVEznzAyj26zwEazrs8Biy8Q9zgU3dGZ00vggsiRIYdWqVuQ+4Pvr6oo6LnxLEF4hZmaALfJcgfXCpr2dbOF+kBMQfAHXNTjg+iAp0JKyalkE9tj6F1aqDzJFqHTSGTtm0AjdFKbSmS2phGsdxE7IoYMA3xCEXCKyxMSFJUWkVvY1ayaGj7ZIpknR0UjXMIbmlNNBOUYXXyzLsyJEHpuU4vH5oRWl4Q51VyVeNNjPN3f5Esx+VczTNE/vMK4EShmO3yimAAYV9wZfg+qQN6BbMYpgU2GNQ== 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=zZ5k1osf5EbubUYg4rkwQALGJLEvbLE+AxMFRYrGLG4=; b=oUZh1EW25JEtk2IhVRC1HxHCks7KP7/qzn9zbYbGyQCgttq4ISarMkk2+UWra22K6wOk0ByvYZocz05SQVxaIXRsqM/XpCIvPxFHmasfXmJr+Y3TGIebQt7FsL5HC1mrsCvsC2Q3hjzjW4rCE9HKngikvKK+em1gjRjIgZ5lZhrp8UkgcDpvFjuReMkyYTrVxVR3Gl+4Esa0NWcBTu5HtavuNxNxID3ZU5WgL/+hfX7aOeiJDWhPbpnhpH2/cpMH6ilxG8axipCCaP9wgWGCpHd3E/5Dmcxdz0n9lvXpx6sFq+L/aqoLfpm3ropBzKC6lbSA1pTRsjCBlyk2CGzqXA== 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 DUZPR04MB9821.eurprd04.prod.outlook.com (2603:10a6:10:4b1::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8293.19; Mon, 30 Dec 2024 02:12:50 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90%4]) with mapi id 15.20.8293.000; Mon, 30 Dec 2024 02:12:50 +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, airlied@gmail.com, simona@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, tglx@linutronix.de, vkoul@kernel.org, kishon@kernel.org, aisheng.dong@nxp.com, agx@sigxcpu.org, u.kleine-koenig@baylibre.com, francesco@dolcini.it, frank.li@nxp.com, dmitry.baryshkov@linaro.org Subject: [PATCH v8 06/19] dt-bindings: display: imx: Add i.MX8qxp Display Controller command sequencer Date: Mon, 30 Dec 2024 10:11:54 +0800 Message-Id: <20241230021207.220144-7-victor.liu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241230021207.220144-1-victor.liu@nxp.com> References: <20241230021207.220144-1-victor.liu@nxp.com> X-ClientProxiedBy: JH0PR01CA0066.apcprd01.prod.exchangelabs.com (2603:1096:990:57::10) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|DUZPR04MB9821:EE_ X-MS-Office365-Filtering-Correlation-Id: 076db296-1014-4401-18c0-08dd287775f5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|52116014|7416014|366016|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: y6xgiqPfbQK2xWZKdKLr3C7DJEJyQu04p/tz0PmAmVSWfTblQmaY+LXgUqdWoIwF/mSCt5uT4ZiY0EoMm8uXdf6o7euNMZl+2cYvV9Jh1DnsnXCSTSouKKWojnlMHmQh87+mrUoW6W7GbDb8sdotheUWMQGHNAWN54WOd8WwGqINOz+p/qQrtiamuyukN02JKOFjKGqP5nZ+Jw3aVrqH1BG82f06XqT7JAjPaR7wP4uyUT7dl9OcTpS1DRO9f1XYxsbWgo0/H0lxm+7Lr4xZf5pSBp1YaMlZBcZEBTjFFSC4dWW9gFiMKGILUbABGnaXQmWqbBteSF2qJRBS5gu+N2jnsDfmKNEUY6grgj/BEI1COz7ZTJ9GR+yi/nGjqoBsumHxkTP46Hii3tzeX0wmEMlpiI8cZpj/Gubne4+CmQmnEnDbyX/j+RfDDR7Hh7lRXrIIFk54zNEMNadHCijSw6inElA2+A8XsoRbZcX6g+MZjmx8VrcKp/BEtqMRWKz6w+7xUApoOL71IZ1+OFkUyga7gxuTFm3lVM8bQSZX16RpKHsCSCHgdLVINrzcNo4zxV6PYcqyDAsubFaf8VrCke9DVtTtEXtQpToAoMTNumu1CJpIjLAWXXbxadr3Chvlp12KmnqaQxxp6bdJenJi6oBWf5Aul8hNMWdyGOJtXgH1t1CxuEwDed9hg52vKWbirainm7teqmUaWo7aqvgB7eL+4Urf7BTJPQywep4DaRQ8irYZGQ11HkE1mHECNpY1TWSSM2Glm2/phPoP17/AnT9oI7FdVJHz+eb2hNc8wyjOBNU9CBnQAuPo3yANCwdqSgONh4Hi2Y7IrS93NkAR4OZg9bFHSFNDbt35DJwCNmsQ8Mq5OWuHya4QYJ1oN1kqxNlpIfQDHmWcP5LXHVH4xlfEzU34J8lwOf2pHMnyKzYkGtf8mElN163N6bn6/i4ejZ0iSNqoqvHgic4qBXnfQOtgluYv9CP6vAH+E0hxwDpXsBgmSDqQhN/VAOoa+U/2N8oUvjyzIxQf1/6SL/O0JzhUYMug55rzhIhMuO40IvQPy/sdMbH6zyTC+EeP9NQ/1GW1lk6rNKa9AAa/UcO1DuDrrODVS+D5oKecLCIibtIewYoPBkL5c6QYitAQp8V9Fji/11hMTtxrQQH0K3WDhLtNyEwljzn3+V0Z0Al/f2RbjvC6e5tvs2Eu8TNSZz+AJNYYuI3CjT6wEONTtGSBunC1y/27nvmQwQIw4EU6Rwg2EPBP22pyFYsJRWy+JVO3BPvZOg4oGKMxmvvstvqe9Oaf+RknC/3lVfTZag6fmhRmrq+wizFa1hy8xCpFUHaY5WfYt9tNsOc3b0oRlOoOKsFRDRvMlC+j2eLbQmSTDDyZ2RX2apIHqIYL44NbKqyo 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)(376014)(52116014)(7416014)(366016)(1800799024)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: XCU97mHUU47i0Y2UahMrpwOxdUy1m4lsSKuuJXxKqFwkm2EHzTuxYSw4K059MWFQ5i7pyBllKZP4BMfxkKxQrWPu1FszBsPoFIkk4Nl529avlyGbbfauD06IbIVGFq7cOCYPg4s6+mq4Fw47atpR+dwGnFcYdoRvZlHzz6uwx6vOUwjGkaIinvNu3EZMHy8rwZjr9G0Qt545s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NESSzo1bT1jqHS7bHWW7Bf17Y5Wzx14bHVRZPtQR31etHwprgao2hwj0yGSOK1bQmH/Qr38ohuCc36v/u0VxWEEyDZKCV9/n3KFFEGWVm1rpUy2ZE0oNtNlejHiWczAzyPtgeYfU90JzdGhbOxHLbHjeKpNliT7A6WDyOZsrbWdYDQ3FCQ135WNj8IkOkDLoPFVC9rFTnMRXILh2RNe2Rm8TmtEx45aQBNpuPZSVKsxTM2tg0BY/3w/8PDJQ9No3zblCuewGS3cch+hi+Ss4TOL96n9x00P49W7H/sqBf9i3T1vBJxf+4HDBgEbOZ+yi X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 076db296-1014-4401-18c0-08dd287775f5 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Dec 2024 02:12:50.3519 (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: S7Sx4Uu1DYM0q42WUEDuHAfN74++AOK90+gwDqFJo+vi2k2YdubxAtzOWj9f1/521NwJNaHQ/IGz4jNOROXYzA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DUZPR04MB9821 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" i.MX8qxp Display Controller contains a command sequencer is designed to autonomously process command lists. Signed-off-by: Liu Ying --- v8: * No change. v7: * No change. v6: * No change. 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"; + };