From patchwork Mon Dec 23 06:41:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 13918506 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2072.outbound.protection.outlook.com [40.107.21.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8049A190059 for ; Mon, 23 Dec 2024 06:42:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.72 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734936160; cv=fail; b=YmnJ6D8SO6MT2VSW072ODFt4BSXeDv8n/lxCZW1avSOYFjItPAyIRYXV4MVDlzeE/eE4S3K0mqjIGzawYIEIJgLifJi+d2bo6rpPjybikv0NnFebkBEHqBB23Ian1njeIZ0M8YJEq+IUSjwRzf7LcnMc22HTM7T2s+QoofVDRoY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734936160; c=relaxed/simple; bh=RJ0+VOW4YPeS1yn4fbBlpnNio+onKxDEX4OLJBJLzc0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=W2x3zjjTX9SobNfkRqyrWBjbcsPA0jy8XAFP8HAo3Tz2Pbg9WiddeIHtS2mRmItrHP/yotZhv35CKbto4TPyi4MGbY7PRRIoojJqsDpXnAX/ZwmAXwALSduePpCZ+iVRPwW051mEykkNVAB2vHkoQVmcm6bgrT7hAOnsJ4T+AOo= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=ArrSnDmQ; arc=fail smtp.client-ip=40.107.21.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="ArrSnDmQ" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=YQ3d/IonyNJ+8liCfuafLAw3F1xCTjMosg02h4L6t+joeZOvec7bf/CE9X6UbOYZFIK6SlzNkxWskTsUiVDzfXlSCVW67zXfZU/Re4aWxlbjzqNR7Mv/784QAHFOZMlT0bMv7/ts17nrKXix89KfTp09dfs3R/HwZHSICgmOnVwpxKmb6aZibzNPST+YfNrPvW3UlV5p7oycyXwd9yNxf/yuunFeVq9zRC0ikcDcpCYhGU06XS7Dw+IQU8UZmuOkmP3RhhVNs/vaDQGCaOLFwUSW8gdV5f8KwXepvALXQiw8LwAOMyqb/p1Qz31QDNQXkezTTBnLVkPmJqagBZ9BMg== 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=ZKDOoIIjCiDJLghLlJDBYniUtmgLQ1pIrz/UL3+P8qc=; b=Yrl0d8JZS7pKR2qYj0thHU2HpwlUZ1hBqVuRCHsyE376NMcYgcfNv9+CKSjhi0CYK9mCBDJvJY9At4l9AfPMUouLg440PAk2iBU2Sr+owVP/2LLSLr4fXdTs94+MsaY2jQ8KQT2txIgFlCmBjOtf81u2ox3P3ShNxiBwviRt7IgpfGZDEOgtLYG6RdErovKDmvqLnH2P/Y7jOmLt9QlXibieeHWdPsgGxmRIxGjseMj4f53tZhpoctITJFyZ70MuMrXfBqZV18OJkYoAKi85djGxs8TzgO6gvabwxGgiZNImcUEMIlKa0vftyGZ3zEKKau5ro4Zd39dDxhzQi2zGMQ== 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=ZKDOoIIjCiDJLghLlJDBYniUtmgLQ1pIrz/UL3+P8qc=; b=ArrSnDmQOjeA9IWfw/dTuPQNlPOdlAPLNl1M0D9AOYN6TkyDFOETa+mPSBCyWtSiDKsuI9yC8rvk9JuOnC9PX0yS7UJULeHvckr42+IluyGVyn/jILfOcGGAfjB6T9AhK6WXdNdi+QOeGX7gfKlq5Bi1Ezah9dJAxJwelIY3R/LinlXCxxmFhhmvn376Ao/y1l09NofdVWSjUb6DPtkWprwkAPlugdv03IBlcHky3QjlHxwrQqCEdnrzzg5fTegVR9iKFr14emZFTmhoJuQ+LRYtyQt+Vs1qR98zRTHhuRsp40ROQdSkp0D/e8GzjIGyiYThprpRk1tCfN5tEhjX0A== 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 AS8PR04MB7941.eurprd04.prod.outlook.com (2603:10a6:20b:2a6::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8272.20; Mon, 23 Dec 2024 06:42:31 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90%3]) with mapi id 15.20.8272.013; Mon, 23 Dec 2024 06:42:31 +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 v7 06/19] dt-bindings: display: imx: Add i.MX8qxp Display Controller command sequencer Date: Mon, 23 Dec 2024 14:41:34 +0800 Message-Id: <20241223064147.3961652-7-victor.liu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241223064147.3961652-1-victor.liu@nxp.com> References: <20241223064147.3961652-1-victor.liu@nxp.com> X-ClientProxiedBy: SI2P153CA0008.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::19) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|AS8PR04MB7941:EE_ X-MS-Office365-Filtering-Correlation-Id: c14c2216-7d2b-46f2-de1c-08dd231cf9bb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|52116014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: ClZU3VCWwM0vSqSjPVHvm5milyYw9bly6wVzJlweWkYh8Vka7e+fC4zW04WjT749XpwRO7u2IlTXAh9S5sEb3YTmV/Z3OKbuUAIfamRhSQxgak/aZhYEEH6jO01BDx5XEW2f5pH9VfbrP3tv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fSlwsszEFlvkuwlPp7ZMZJxC0FhFHMQld2v0XCVk1/b3zpXlf26Vu0CobtosZLrzAhS1iZ8Eh5zbJTVQxMCfxQJ20maLeiGJQg/CRqcliymoZKS4rXo30+THjo9L/RZ2t298f0fHQLFkQCJQNlKFKbhDJqs1aY23jdv8353zePeUrdaPa6Ev 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)(7416014)(52116014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: a6fkL4wPBVuqMFT7IVvOw4wdghCPUxeGxIPH2B4Az9ODr1+LdRfWLig6mdQYalfq1MSSQNcrXfMXCP4VgBqwsCGLiXiGQ8ejSM/f7hYn/P2icAFrmbvPyIoMAs8wCtlOsZKEqtbqnEaRPAMPnheaGL6kDuzCituXsJwTszwPwSaNqG150o9AMsAyrtGxdLl5+Cs5StcGIK2OLW2ixxYVeBYopRHnVbtyXvD7YYqZVzi58KIARyzIgHHvBua6FSPq0zf0gQMkFDpm/8cJtVecfs/F4Kfnf3fDrco6CiQ4ArZvCptfrkhoiOjyfoqVTwV7WAwziyCJpfySKM6GLlJtmGf/93vE1lWJlNj44j4nhwogyTbIhVPu/b7uo8US9ozJ2Ha5pdD9yIuaQ+T+QyuChwAkkK4gaZr6CT2OR1Ud7g3Xcv8cfBeBSRafPT2MuR0NM+G5NyJy9Uq2ROvrLCA98uoO8M3oZwkX2nA4H466Xah/aev7YldqUmKt+Bx+8VoXPJcWj+3a13w04l0dWAEmxq565nVTgzO69q2Ekl/k1mbIXHntSHX2SdxoePo4q33YtagiM6sGtvkjQV5n0+t0eSxuTj5kf7Vks8KwM/OVeF2PFw+CDZ1pPnmvNRNBKnEnVbbmsTUK8ix3utM1GqC0LSvN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look.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2024 06:42:31.3468 (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: Nk9uwUGEMw3PfPiqZ+dN9irwRP5FyYZXNDllO0kIENsgYnWGWeYmHXEsMwaK6s3CszUCGeorTtRyo4TXddfr5A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7941 i.MX8qxp Display Controller contains a command sequencer is designed to autonomously process command lists. Signed-off-by: Liu Ying --- 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"; + };