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: 13918546 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 AC332E7718B for ; Mon, 23 Dec 2024 06:49:35 +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=ZKDOoIIjCiDJLghLlJDBYniUtmgLQ1pIrz/UL3+P8qc=; b=M6+OnWhZcwNeNIaKimCHrhSd96 yF0phsAfz4zBllhdXnhfvi7hPoeIwdpVbCMUjPLmQezUK7bEmMzF9aqem8f6nQ+UIgpVQGfDYlss1 SpcRVPQP8FO1K+d86DRcS6uoGVkNh9Be49LWlxf/NVkZ7DcL7A9uC2Y8JFGIHJ/kP1xIOQxYT7ol1 aU98liJybTwBYgQ/uWw+/4lwcovxgVEgi4AIuOoejH5ADV4jravyrd7xZno6v2HoKhle0XcM9CLEI l/KF3bSLPnPoiEKZ+WyEDg8IMqKVmSIQjAgCdyhEmf3S5brHZV5z96f3vpaZ98zrTp5WWmnOQmbKd JCipRTHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tPcFn-00000009S9j-35zg; Mon, 23 Dec 2024 06:49:23 +0000 Received: from mail-db8eur05on20622.outbound.protection.outlook.com ([2a01:111:f403:2614::622] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tPc9G-00000009Qi6-2QXb; Mon, 23 Dec 2024 06:42:39 +0000 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) 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/aZhYEEH6jO01BDx5XEW2f5pH9VfbrP3tvvW/QyEwvUH7EABZprB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7ZMZJxC0FhFHMQld2v0XCVk1/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+CDZ1pPnmvNRNBKnEnVbbmsTUK8ix3utM1GqC0LSvNzpEEOGWUXMb4SnLd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ossTenant-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241222_224238_636904_82804967 X-CRM114-Status: GOOD ( 13.00 ) 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 --- 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"; + };