From patchwork Wed Jul 24 09:29:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 13740773 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 0E1DDC3DA63 for ; Wed, 24 Jul 2024 09:24:47 +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=9e+JPWQgEMg7XXBJ9fix3X7on5bgdO53/+bnJWiHz/Y=; b=fHnOnwu9UMoInLQHK21quGLaxC R7SW/wehKJx/G+FQLQcmorGiiECWSl43kBDfQYc2kz2/SPgh1d9HtvX7Z8Hmr+WiMym7Bhg8qH1PP T15hofDjAChUXFbYDI9wGXNXsd9r1i2cgKJQsfzDTjvmyA7GviL40YLh+pJ7NCm3q65+WdFATwuy8 V8XRTpep8uX9A25E67cagqKPNzE6LhtRAxtmdBPgn8BpN6zQPVIcr4fL+RmB+/pcsAIi+C2YXVv/v Onwx5d2Pp2LkEViLeXo/zQdsdp5MNs3HYlO8aVIX4RFa2WTUDV6f8Vx9iXTUCD3Zf5ROQcDsl0JSN VZ+BPkrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWYEe-0000000EubT-1Ybi; Wed, 24 Jul 2024 09:24:36 +0000 Received: from mail-westeuropeazlp170110003.outbound.protection.outlook.com ([2a01:111:f403:c201::3] helo=AS8PR04CU009.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWYBu-0000000EtED-0xll; Wed, 24 Jul 2024 09:21:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tIS8MRMjGY7NMifdxZ4HYL44Aluqm3v2fOW1Eo8UDp3pUDixQ1+kOi6OTqlM70VGlElhc0Si8XdtfCfzYc4Yw5rKNOhvBaDitrJb9ceaexRfYfbT8T/gfwOvsTVBenpypxmHd2UTo3XjGQn17efyCeofelhQhk7hnzn+nmJ11V4ZcZyKAbsl1ZrHY89rO95Z0t59I8LkHIshjdp92rv5AztYn0PJY6AgSk6+2p7vMnER4TXzxX4RqRg0xr4XYPSZw0JJSfxcxWhBCqg9ZTrnucnAzVa8Or/NQ7luXK1MxR3FzOWY+GvoILAthwxvzjV8FHS3oNRsbNnJQl5qxnzGpQ== 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=9e+JPWQgEMg7XXBJ9fix3X7on5bgdO53/+bnJWiHz/Y=; b=G5JUz7VU8esSZ4X7COLyvhVuIWPYW3YiEFuKjky+clO5znH+EFbcz6sj9nQXQ7UyrrXH2Y0cMekputApqnuCchlhRbcCHqSyQA31sxQQ/QefB/ZqZ0NBg/at+smwcHlOZI7OzYYHBNZA0+8dfQ7wi1YC7IIkYdQwJZaKUvcrBv0XxDYkMDJ6f+OJGOoPoNAcbT3HI9iSdej9A9/v5P+GjOQDpWqg7lTihdBU+ZfGDEgESAWxUqqeE9q5pLLRjnpzaMsFgsBHXarnxXHe0CjYCSONv8KmFouA+PQB7iQY8OpaDapZcq6uVzdj94OcmRP4/A4F3kciXtBHhvPrSPPyfg== 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=9e+JPWQgEMg7XXBJ9fix3X7on5bgdO53/+bnJWiHz/Y=; b=gyCyaUyTXHd8AylVDpcEeQ5Aw+Yx9T8M2ysYTSX7xmS95Qhc+aLu4BK3gkQGh6gCfVnAiqrBfH6XQizmiahkhpWcmyQ1f7+0dsw/Oi1oxMEQhHT3jpbsz+joAbAMVHVG7rMHSAAEae3D0GI8qIXwNHL/p4seFZ5dqV63LhH+un7k6kAaQoTT5f0tN3J/OiONO4s7uGW7TV1uogE0L3g/0yk+Tic2gJaqWIm3xqwGp4qfUUUOKMNA7MIMWu+B9ZM38CFfXeAWF3cju8scZAXdN0I4xYbLYFLW97XCBN0fsIPKDnDgBTUDCkusmcI7eCDrJLZSQbO9QjBrE8y0jzd2sA== 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 AS8PR04MB8040.eurprd04.prod.outlook.com (2603:10a6:20b:2a9::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.16; Wed, 24 Jul 2024 09:21:43 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90%2]) with mapi id 15.20.7784.017; Wed, 24 Jul 2024 09:21:43 +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, daniel@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, francesco@dolcini.it, frank.li@nxp.com Subject: [PATCH v3 06/19] dt-bindings: display: imx: Add i.MX8qxp Display Controller command sequencer Date: Wed, 24 Jul 2024 17:29:37 +0800 Message-Id: <20240724092950.752536-7-victor.liu@nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20240724092950.752536-1-victor.liu@nxp.com> References: <20240724092950.752536-1-victor.liu@nxp.com> X-ClientProxiedBy: SG2PR01CA0193.apcprd01.prod.exchangelabs.com (2603:1096:4:189::18) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|AS8PR04MB8040:EE_ X-MS-Office365-Filtering-Correlation-Id: bedf2b29-67fe-41b5-17e3-08dcabc2087e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|7416014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: v0MdfmGNh96+eaP7XmjwLYeyfnFrdHwv89M7YFRHSv5g3H8l4HBsEGgxt15vsjORN44eplZi3Ef66uWZHJlU8xLR0gNTXvx+l/xlsxVKrRjEXPp3OkPaDkPLNqu4ZsqciwI+IZJ4bGzCK65JwComJQGhYwDLrIn63/dXK/Mj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YkevCfgtrO9mHtgxfEXalZUOjreCyMh5QQbsQDBelRe6Ri4p7F0cK+WVMSePEk1iaugCDUvnl4QXX0aHGJpPlj+AVw3yz6Hh2bDNlp4OZO7wWT7RpdiF8WAKwg== 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)(376014)(7416014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TehHxmwG7CBFMU6OOFa4acd6mqmxQm3/PzfaK/C+bp1xXFqhTFZKIEpLIOXicNbbIL8KoW3chqByAYF8lkmK0gj7+98RjtAGm9m9YktKFnRRcw8r6WpA3rZKO9M3un2ZQ+PXgcsppbDMJoStrHMLDhXwUJkddDdWpZTiXnw5HbId1YxFAy/0TjFm4DlIYI0vdYNOEmbKlocq6yAbfVAIvJR3HF+AMZO4hgMyVw7hFmKJIiNhLh45bc2BAlHzYU6VSprIO9iosxEwf6ccf3qVTT/Uw6KBZh/5kOG/H/k36UOPWhqTAwlURqqiCAwTmiSiBdtIDBHBYvG00ggnlhpmj2iV3RYEv3R3uaB3FZbtGCxImh7QdueNwjlFvJWDsTgYrEfVG3XKW0w0+ti39TsXcszoVzOudHFa01a6LBodVj+XiMuUZzRqRLpUn8NgMsTcLrfkXOzynmpEUxwIScRkjaDG5G1rPmyY49RGe+C7eEE33AY/XzHxc0Duy+xlRtPt8GYNPeENOwkhi9iyVzYlfo2aXrAkStsUbteKnY0aiXWMvdU9Vg2lHjMMhU/ltuinp9phbQC8XmmmQKzCWLQ7NTjkk73KE74rLEYJz87wPwvIUrHASnCTZJE45K50e7bSKiEiEIxUMUAWExu0+JPbvQqBA2UdCJT3XJJPx8eUYLtZHhyWF/c8lkgx2fXIVDybvl/1ZQ8KJtI0YbGkXAM/e27o99GkgZ7tYEWMvVY4fad4Rq3tJDHU/gfIiSrzyDCIZD2T1ZJdHoNbL8Ur9l8b14mkJ16zFDkJTwTjmtRlNTnTVlMbdUec5uMXxKtr+7rJcXzguD5XPHplcA0oIb1DHNnSG7CyUv1JrEEz7gehuhyLYIv8rvjUjMwAUHkaQyNohOocbxZbM4s0+px7eXPYeYYSMsiuHp/KUCTUu8EICQM6eAGd3vGGyOJ4lXnCJ5umgsC3qLH/kR6S2BpWzJ4gkP1Sj+o3yPvlSvqbMOqn5mq1IANTrwRq5JOauq2/QVLxB8WnwGrOhuE+L2ht9YgxR3wkqmw2SjeeAOmYAvLHjjihg97yIG/Obl374Bb4J+/FvucFaXNWBqOyPKw2s+x7srIKGHXO6kiZRR2JaQElpUO8D95fZuMpd4GdaSvmfAMa+Fa6fk6khB0idQGxiSE1D+FxblphSV5emOQzueCIDb/qFN4dSlWigI56plDkgXKcxpHjqs+WP5aRg2UdHdE8r1RyGJQywO2q6ZNHDS/5ESpbX0UbJ6YsUXPIhvi4CE5wJ2pjVduTBkfCTL2RA8tJv/ly+6sF77J5k+5wZK3jgcdokkQlHxTTGfDiRSIIrIoDuBYJcWX0hzd/nFlqM4RCtDdgu4ZnetKrWKaX8to/2Qjka7CqUrb5c7wb50OXr6+mhGtTORSYBb7QQhOI+lzdBpe0F9eq3f95oq3y5HM5NJGMUvTFBR3FF4D8OCt6FUM3dOmzi2jOk83fenolnmM2ukRXbRhHXBBdLOCLrOklQh2vQwva6KDktQI3wfSsaKk5zj4wd1LW6yh5SnwG6esj5b2/T3qE/p+i1xQe/mE2ko7X+WoE3JIxGNjtneJj0Hpj X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bedf2b29-67fe-41b5-17e3-08dcabc2087e X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2024 09:21:43.6829 (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: c8uXhtbNChK/hjy1WAYvD3BuPGLhoTRJUpomOOkt+ELngD2gyk+7/tAOQeKsFMWvOsk7u6wgkOTVkSM1MKBpBQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8040 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240724_022146_312347_C7AFEA59 X-CRM114-Status: GOOD ( 14.43 ) 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 --- 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..2e0e8e40a185 --- /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 + + fsl,iram: + $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"; + };