From patchwork Fri Jun 14 15:06:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13698835 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 7FCEAC27C77 for ; Fri, 14 Jun 2024 15:23:11 +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:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=S6cmgDLhxwvgBjRZI1xtc3M5EhP5vROWvCU9HID4XuQ=; b=qhuFuoyDwU7qGQ0E7PhloQ/4Gl LIswLMSKrqf6T4mB3MpvVUstHeQ9pr5vQzu3ziHoZiDxZAetrSwvTeQq9Ec2AKscwWqMfjLPaW7dv iDREdpXqV6obCew2t0MaLT39x+/19qR1oiyuyXmc54Bm4xnK0gIBIBNLOn6XfLGvVxv5ePcQShgvX ccgLHXLdsoJoWYOu2zlr8y8uHsszMwnvxdA43z613PGPrWpefk08vlDZWcAaraOuMXBWPRBxErEmO hHSMJrBIKdUKIjKHUbXfQGKl9dhNAFh6ZmExf1YNeaNQ7gNTb06YPfQJlsh+u3yHsswMrGWfcS1JV sorev9bg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI8lU-00000003De4-1NJW; Fri, 14 Jun 2024 15:22:56 +0000 Received: from mail-db8eur05on20622.outbound.protection.outlook.com ([2a01:111:f400:7e1a::622] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI8lQ-00000003DdG-3oxW for linux-arm-kernel@lists.infradead.org; Fri, 14 Jun 2024 15:22:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DPp7E8dsJ2IRd2pJ01JITL9kzMx8Y3Sc2OK/inoaFSlHZ97s9dxrU5859vSCbkYv2DAa8IRuNRD1jpSSjSeSovSshdoHulUn3GRNin+SztCx00bwDkasnOMBrlRhFUv9aBlRFWmxF73/Tuxn8rl9E7UHD2+v6UM45NH+/9P69SdDwayhA6kA7cYFEBE9mZKNs1XtzNggaTtoTlnxv9QFzhdXCF91KkTlVMUZqratHdkF1adG+qt0x3oWTqxDhOtV3GANui7dDG+RzUGZkvHzF37jmKn5TBOHI3OK8WzorfJZSJgYSLyH68Unbgf1qv1oU/yHZdvKTMImdGwEvT/o2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=S6cmgDLhxwvgBjRZI1xtc3M5EhP5vROWvCU9HID4XuQ=; b=RdhpiRIRKAYKB7Ji9g6X4FEt7QJYOl1Y7lBL3EI5ZLtVUSgzgVm8AHxsoqPzMz71hsr0POqDFoGUn45k5tB6bNpebyZx+VXTjB46TY5553/EXn+MdNaKt+4RP1RGL74yj0MTbSznYwTjS545aNbEYjXGMZ/3wu63+hHD+pigotGBLPH3Tui+6PLGilxipYAbGmDZ2HXxYdKsh6Oz1Gr/YCWQ0Bp29HcOXuGYFWADE96sRxlZKimslVmZjXquHbooHXFM6rXFHh/EOjk4r8I9ICoh7pba4umh8/H6cbT014xVIVHFRvdS+jrVdzRMY64YOw/s+Z716AAz9IMDO2R+wA== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=S6cmgDLhxwvgBjRZI1xtc3M5EhP5vROWvCU9HID4XuQ=; b=QQMtH/FbvpiEN0OAZAE+3AuVQGPZTMzhVQVqi7wwLjsUQT83TGhz9IoxB6xcChiyUvLbLb0jvgPY5I/flE+sn0uJDkwOnwLt/86jiuZPD+pdFZIyEqIW2cG4EhKOaq16iiB7yvfOdSu7dj2OyepejWjy18+zaMVstYCE1k9uGNg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by GVXPR04MB10971.eurprd04.prod.outlook.com (2603:10a6:150:21a::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.25; Fri, 14 Jun 2024 15:06:51 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7677.024; Fri, 14 Jun 2024 15:06:51 +0000 From: Frank Li Date: Fri, 14 Jun 2024 11:06:25 -0400 Subject: [PATCH v3 1/9] arm64: dts: imx8: add basic lvds0 and lvds1 subsystem Message-Id: <20240614-imx8qm-dts-usb-v3-1-8ecc30678e1c@nxp.com> References: <20240614-imx8qm-dts-usb-v3-0-8ecc30678e1c@nxp.com> In-Reply-To: <20240614-imx8qm-dts-usb-v3-0-8ecc30678e1c@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Dong Aisheng Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1718377604; l=6535; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=6CJPAZ8e8BI6FjuCSEqwivhlEFglrjeb/i0fDBlJHdc=; b=uBjb52yo2PLXvtdzVGO38wIVF/nvm898RVj4aocaAcwF0mNk+yBp9KXjMN0CgWznWbecYUt9t 0HntEzAK3HvDjab/UuT3TYYh7MTs91MxjnRZBIbRa37CJ4BVd+cjgAA X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0032.namprd03.prod.outlook.com (2603:10b6:a03:33e::7) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|GVXPR04MB10971:EE_ X-MS-Office365-Filtering-Correlation-Id: 54290f6f-acdd-40ac-e1f7-08dc8c839eaf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|366013|376011|7416011|52116011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?m0c8t2tjKzeMmgNXokroFp+mhmKezwS?= =?utf-8?q?akUfdEkvV/MvmKm3J574/82UfSQ5cMhaqeJqDWXo4TIE78zy/vmmxYLrBsKtdAe33?= =?utf-8?q?ovcU2Nk1GGJsdbE1ByDLIDKXJQKtSfRMGtjVqwziSwdkT0vU7Q272MSG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=?utf-8?q?aNBeUTX/q4/lwN+r0/wx6x+RN/JIR66bq1DU8FEHRDL3XpcC1Cs19A7C7KQEjUedd?= =?utf-8?q?5eTXHAUEVbwPmTqUw3EJnoCKWMFvvPIu9/txoyYXTXHUeInpX3GVl6k96RwEQmgy2?= =?utf-8?q?BoESgbPSW0xlOlszNkqv2IWZgJN5iuxmhB+I9xsX1VFldEsNH8DJEaeePplfNSUiu?= =?utf-8?q?TX8R9MAM/gUBAi1Hlkvw/6ftaLCq/HH51xvl4F7/k+9Ek0D7fcsoKo8QNedpTMhzS?= =?utf-8?q?1d7R9JqOaofZggyOlEWRPv2bFR/5iseaH3WprPJFuyPSh5aGSQYoJVOE=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(366013)(376011)(7416011)(52116011)(1800799021)(38350700011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Isazs0gsnxBrS1YLu2fAuTmxvoii?= =?utf-8?q?QEv4loabuvkgEdVBvl3QUBqPOqi5VGVfJ66A/s0jxZx1/TDv+tmLqOE8kYaD4CO/9?= =?utf-8?q?FiIrBreViLEfNwQ48fZ/51TGGueO8YvlzdVSJZwLFlCGIvawvLfhX7vtXnkrn/N11?= =?utf-8?q?BLhQKOCbtzNLAOYBxYgIq7plBbnUFVh7R7QMRZ98+Bm+xI7yQNl94Fx2T4IQdJlTH?= =?utf-8?q?VcCEpbgqicAq/K/B2fTZtSHt/XTsdmcHmgM4mLhge5ABeoIPIzxXcl8WoS9UWTBXo?= =?utf-8?q?3ZKvQg4GLMzCeRAiyaIJxAklLpjL43EmXc7IK7R5fU+153HZu98qJrtqa+YmXiUlb?= =?utf-8?q?RMifrUGAB7OA0s9mw91gcEFCk6vPQeAzyfS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L66HY8Xew1vXT71Sc/?= =?utf-8?q?CEq0emhXQVVWWQUtA28yIg5ypV5TiiN4gmM0kAoBW1lUsRCqf5Ldd+iAhFZHslLyf?= =?utf-8?q?CSzpxFcKpqdm1CzpRzI04V/hZ3GaByonEROthdrkmyZHG5Sq4i5DJeo4ZAW4P/fpU?= =?utf-8?q?kPI3XjiAIRJ0W4kT3AW5FoF+HGiTyMWI1vwPoyNSg5zDGvqBQ+w0S7Tpp4DWUt08P?= =?utf-8?q?QS2pRl3z3gnmY0Zzc9UDGV12j/r8eUhKHBUg56t8kbvtIrYDCdJ5rZLE=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 54290f6f-acdd-40ac-e1f7-08dc8c839eaf X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2024 15:06:51.1733 (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: KErKZP95hyZYVobBLWvayVRRRqUdB7WEQwzXRrqi6FK7m6XMUjGJjBRFla3At7y12sBsd2PXDNRR/lygHBGKNA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB10971 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240614_082253_123867_94AD9FC0 X-CRM114-Status: GOOD ( 10.60 ) 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 Add basic lvds0 and lvds1 subsystem for imx8qm an imx8qxp. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8-ss-lvds0.dtsi | 63 +++++++++++++ arch/arm64/boot/dts/freescale/imx8-ss-lvds1.dtsi | 114 +++++++++++++++++++++++ 2 files changed, 177 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-lvds0.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-lvds0.dtsi new file mode 100644 index 0000000000000..d00036204a8c2 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8-ss-lvds0.dtsi @@ -0,0 +1,63 @@ +// SPDX-License-Identifier: GPL-2.0-only and MIT + +/* + * Copyright 2024 NXP + */ + +lvds0_subsys: bus@56240000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x56240000 0x0 0x56240000 0x10000>; + + qm_lvds0_lis_lpcg: qxp_mipi1_lis_lpcg: clock-controller@56243000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x56243000 0x4>; + #clock-cells = <1>; + clock-output-names = "mipi1_lis_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_MIPI_1>; + }; + + qm_lvds0_pwm_lpcg: qxp_mipi1_pwm_lpcg: clock-controller@5624300c { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5624300c 0x4>; + #clock-cells = <1>; + clock-output-names = "mipi1_pwm_lpcg_clk", + "mipi1_pwm_lpcg_ipg_clk", + "mipi1_pwm_lpcg_32k_clk"; + power-domains = <&pd IMX_SC_R_MIPI_1_PWM_0>; + }; + + qm_lvds0_i2c0_lpcg: qxp_mipi1_i2c0_lpcg: clock-controller@56243010 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x56243010 0x4>; + #clock-cells = <1>; + clock-output-names = "mipi1_i2c0_lpcg_clk", + "mipi1_i2c0_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_MIPI_1_I2C_0>; + }; + + qm_pwm_lvds0: qxp_pwm_mipi_lvds1: pwm@56244000 { + compatible = "fsl,imx8qxp-pwm", "fsl,imx27-pwm"; + reg = <0x56244000 0x1000>; + clock-names = "ipg", "per"; + assigned-clocks = <&clk IMX_SC_R_MIPI_1_PWM_0 IMX_SC_PM_CLK_PER>; + assigned-clock-rates = <24000000>; + #pwm-cells = <3>; + power-domains = <&pd IMX_SC_R_MIPI_1_PWM_0>; + status = "disabled"; + }; + + qm_i2c0_lvds0: qxp_i2c0_mipi_lvds1: i2c@56246000 { + compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c"; + reg = <0x56246000 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = <8>; + clock-names = "per", "ipg"; + assigned-clocks = <&clk IMX_SC_R_MIPI_1_I2C_0 IMX_SC_PM_CLK_PER>; + assigned-clock-rates = <24000000>; + power-domains = <&pd IMX_SC_R_MIPI_1_I2C_0>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-lvds1.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-lvds1.dtsi new file mode 100644 index 0000000000000..12ae4f48e1e1c --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8-ss-lvds1.dtsi @@ -0,0 +1,114 @@ +// SPDX-License-Identifier: GPL-2.0-only and MIT + +/* + * Copyright 2024 NXP + */ + +lvds1_subsys: bus@57240000 { + compatible = "simple-bus"; + interrupt-parent = <&irqsteer_lvds1>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x57240000 0x0 0x57240000 0x10000>; + + irqsteer_lvds1: interrupt-controller@57240000 { + compatible = "fsl,imx8qm-irqsteer", "fsl,imx-irqsteer"; + reg = <0x57240000 0x1000>; + interrupts = ; + interrupt-controller; + interrupt-parent = <&gic>; + #interrupt-cells = <1>; + clocks = <&lvds1_lis_lpcg IMX_LPCG_CLK_4>; + clock-names = "ipg"; + power-domains = <&pd IMX_SC_R_LVDS_1>; + fsl,channel = <0>; + fsl,num-irqs = <32>; + }; + + lvds1_lis_lpcg: clock-controller@57243000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x57243000 0x4>; + #clock-cells = <1>; + clocks = <&lvds_ipg_clk>; + clock-indices = ; + clock-output-names = "lvds1_lis_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_LVDS_1>; + }; + + lvds1_pwm_lpcg: clock-controller@5724300c { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5724300c 0x4>; + #clock-cells = <1>; + clocks = <&clk IMX_SC_R_LVDS_1_PWM_0 IMX_SC_PM_CLK_PER>, + <&lvds_ipg_clk>; + clock-indices = , ; + clock-output-names = "lvds1_pwm_lpcg_clk", + "lvds1_pwm_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_LVDS_1_PWM_0>; + }; + + lvds1_i2c0_lpcg: clock-controller@57243010 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x57243010 0x4>; + #clock-cells = <1>; + clocks = <&clk IMX_SC_R_LVDS_1_I2C_0 IMX_SC_PM_CLK_PER>, + <&lvds_ipg_clk>; + clock-indices = , ; + clock-output-names = "lvds1_i2c0_lpcg_clk", + "lvds1_i2c0_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_LVDS_1_I2C_0>; + }; + + lvds1_i2c1_lpcg: clock-controller@57243014 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x57243014 0x4>; + #clock-cells = <1>; + clocks = <&clk IMX_SC_R_LVDS_1_I2C_0 IMX_SC_PM_CLK_PER>, + <&lvds_ipg_clk>; + clock-indices = , ; + clock-output-names = "lvds1_i2c1_lpcg_clk", + "lvds1_i2c1_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_LVDS_1_I2C_0>; + }; + + pwm_lvds1: pwm@57244000 { + compatible = "fsl,imx8qxp-pwm", "fsl,imx27-pwm"; + reg = <0x57244000 0x1000>; + clocks = <&lvds1_pwm_lpcg IMX_LPCG_CLK_4>, + <&lvds1_pwm_lpcg IMX_LPCG_CLK_0>; + clock-names = "ipg", "per"; + assigned-clocks = <&clk IMX_SC_R_LVDS_1_PWM_0 IMX_SC_PM_CLK_PER>; + assigned-clock-rates = <24000000>; + #pwm-cells = <3>; + power-domains = <&pd IMX_SC_R_LVDS_1_PWM_0>; + status = "disabled"; + }; + + i2c0_lvds1: i2c@57246000 { + compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c"; + reg = <0x57246000 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = <8>; + clocks = <&lvds1_i2c0_lpcg IMX_LPCG_CLK_0>, + <&lvds1_i2c0_lpcg IMX_LPCG_CLK_4>; + clock-names = "per", "ipg"; + assigned-clocks = <&clk IMX_SC_R_LVDS_1_I2C_0 IMX_SC_PM_CLK_PER>; + assigned-clock-rates = <24000000>; + power-domains = <&pd IMX_SC_R_LVDS_1_I2C_0>; + status = "disabled"; + }; + + i2c1_lvds1: i2c@57247000 { + compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c"; + reg = <0x57247000 0x1000>; + interrupts = <9>; + clocks = <&lvds1_i2c1_lpcg IMX_LPCG_CLK_0>, + <&lvds1_i2c1_lpcg IMX_LPCG_CLK_4>; + clock-names = "per", "ipg"; + assigned-clocks = <&clk IMX_SC_R_LVDS_1_I2C_0 IMX_SC_PM_CLK_PER>; + assigned-clock-rates = <24000000>; + power-domains = <&pd IMX_SC_R_LVDS_1_I2C_0>; + status = "disabled"; + }; +}; From patchwork Fri Jun 14 15:06:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13698822 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 C2B85C27C77 for ; Fri, 14 Jun 2024 15:07:23 +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:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VZ/gvaWHQBm6sY2AeA8959U2nGfe75xQ7uoNYRMEoK4=; b=Gucc1T6r1owxcNqv4vx3evIM6Y 7+mvlzQ5Qt8SDo2jxSU6k7fl+F3gof2Vfw3OkdS5hVDQpDLBYSl4nznnQ+boDUYrb3Cz4fp117Lot 7qZPwB+9z8CAmJmIu6dbZVYLU4HLeHBkLCkCn6GgFfUIeSVu70G+UlnQ4MHQWHSHTx47wOBTps6Dg M17Ylhfvil6Q7X9TYAZ7IWm9sPVkikgomV0YTwE5NDb4F3149Am8k9O7cZi9tX0EZq2P3dSUzVd0d JtLxZzxZhmLIbDtGy6Rk8Ap5rhKjdL9x9wOPHuNevdQk2AD0Tt7O2x+/mw2K1bGsmKEMHWKFsU6CP Ju/40t9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI8W8-000000039xM-3q6l; Fri, 14 Jun 2024 15:07:04 +0000 Received: from mail-db5eur01on20601.outbound.protection.outlook.com ([2a01:111:f403:2600::601] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI8W6-000000039ui-0nz1 for linux-arm-kernel@lists.infradead.org; Fri, 14 Jun 2024 15:07:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hxRb3SRu02zRkM1RQpvNMUUyDBbCGUX2yv+/xl+J7ujikwegkiGZBiA2rffWu5AS+xd7lPn/qsGouEcPrmjkohmj6vTeG9W4BEKTBRTqSJTZ9KgO9q+pG8kOxODbWX6/lsQJBGmLo97/jNv4c6meAJnJZzV9gTm+U1OIvEQnfV9Vjpy/gZRDf0m7dnaKE3lSuz6x/8QL3/iVUe7HK+6XYgNRnb3TZtvEyVf5gVJZw+ZSSp43C/3IGnLD40YU21CkzH9HdGnmsdVWyLI1b0hfm0DR3LXdBv6tZSoX6bYQJpGp+32YtjTIM1Kr/rHZLxzSJCNhAWK7SnxUNMVLSdGKfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=VZ/gvaWHQBm6sY2AeA8959U2nGfe75xQ7uoNYRMEoK4=; b=JaZDSUvI+KLzoY79GtqcpV3xjW+SUELoFTZPnTzJ01NmMrVTebe5B9dMsl6SH7rBIAo9IXX90FP0Y999GZTfejes8uhmXzrbPWAMt06Lln7gY8iqAzLmnIvENN6tRk2U1Ke2pf/dupJpT02YeRces74Hjmu4+pzxSia1kNgMidyj7VHgS39qZ6VSOCLv5/h/s4pEj1/b2APwsvdfmBwesAGrxC9Wi0tcZjgcaQZQfSGlE/UVc1udXK+OPtoImlDb0HsOrg/xrBWQ4VfGOb85Mfd6OEyI+PsIPcuUYPAbDUODtIrFETaYnWeuJS9k5ieqGSW1hgXIMlzMjpJ1qlX8dg== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VZ/gvaWHQBm6sY2AeA8959U2nGfe75xQ7uoNYRMEoK4=; b=eR28XkwfBpRdjimgUmnP5s/MT+52QYy1ytFWGkwzFlQ06fmOrmzdwZdPL4DYoqpVz8XOAk+4b3X/yUt8DN7sIuXs61JGvgBasIWw2ztmehQpX2k/QrHJfrIyLE2rxeZjEMqZ+THuOgLUPZT2DbioXyfzS2Pb7uwCLKiUJQOY/jI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS8PR04MB8215.eurprd04.prod.outlook.com (2603:10a6:20b:3b3::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.25; Fri, 14 Jun 2024 15:06:54 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7677.024; Fri, 14 Jun 2024 15:06:54 +0000 From: Frank Li Date: Fri, 14 Jun 2024 11:06:26 -0400 Subject: [PATCH v3 2/9] arm64: dts: imx8qm: add lvds subsystem Message-Id: <20240614-imx8qm-dts-usb-v3-2-8ecc30678e1c@nxp.com> References: <20240614-imx8qm-dts-usb-v3-0-8ecc30678e1c@nxp.com> In-Reply-To: <20240614-imx8qm-dts-usb-v3-0-8ecc30678e1c@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Dong Aisheng Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1718377604; l=3746; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=XCUDXz6P6qoQoUmf7K0bLTg1SJKxzmluB5QhvEptooE=; b=KdqyUc3FA3gBGIUP7QULTsnMghUNjbkxvZlOh6VACDO9qaH6dgdqPhDvoeu5VfVaMxZuMBh23 1toqjCe/QmzDFCFtHrDZ7/Opbcw+oI9694o2vW6VusMPROTiataws0z X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0032.namprd03.prod.outlook.com (2603:10b6:a03:33e::7) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB8215:EE_ X-MS-Office365-Filtering-Correlation-Id: 4ce8d393-72a4-4c9c-4e74-08dc8c83a0aa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|366013|376011|7416011|52116011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?GVcpnNor1+fnE38ZGAtDXxHMErGHvWf?= =?utf-8?q?w2fpIPTsHFmTgSk+JJxpT9Dm5X/OjDHfMK12rgGfms1LyKxJi83XvBtdUCmvetw35?= =?utf-8?q?wyxNYLyocEsYnHLZBZvNRfjyZOWz6zfS5GkVMh3xOhaAuzue6N7npn/AHgoeQpL4U?= =?utf-8?q?ANZ97jkxXdrbNisL0DU0XnyO1JwW0ucPygJ4W1xYikYJFnIHchBDoWbeN4TL+sGST?= =?utf-8?q?tYs+JQQN9Ut2RUpjVUoD8ETxhvs0sR+I9ep0LSNwEcxNDHnjF7F2Y3zw0RZH1Sc5g?= =?utf-8?q?UD5CBDUo7R0mnw7Nkn2aoNhCTxiwP7c62YgLc97mVaMIXcx/O3DYbB+Pqs6+qyHAa?= =?utf-8?q?+90afJAyG0i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7KmhIOdosme4cZVLYvsFn1JXC57owp82t27TemzmKAnfXvOSZd?= =?utf-8?q?k4M4lcRKnsTeIF5NfPNomIIm4o3LJ9hJY87D0FJBZB10MdM2EU+HUg/M=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(366013)(376011)(7416011)(52116011)(1800799021)(38350700011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?9j8kPGiyqw7JKQM4cFr3sfEJaI+s?= =?utf-8?q?JqtZJvLsv7AvTk5gx8gHVCdPvdNtTEGJ/i54Z7BD8behGTFg4yNjAk2uaquYk4np7?= =?utf-8?q?dM3XfZYtx412Iw+5dfSsRQvAhl0iLCvLqYhr/hw8bdKqo4CsZeBofaXZnVV3/VObM?= =?utf-8?q?+VE+2tAkFnpopKns1FgnBP6wMxW6X4cKWwqvam0g8p9wlrEwf8n4P0+3UJV7NaAcD?= =?utf-8?q?gTjtDp7FAmTlbOZza9haHx9Dw8VBR4puO04iBZ4IEPJjBJk/YJ8auISsNqa7Orrqm?= =?utf-8?q?B9JNAdoZ73L/Y736xgZZjcVBrgql1fImWLvCb0tAgjzkPG3rljYf2kcW75yWFB6MJ?= =?utf-8?q?Ka+oDwN5whp6ZqqLCENksdBoHct5Dak58p/mq40SCtCgX4y1mlWWDcES9fBfLQluC?= =?utf-8?q?a4q07otG2pvLvhyrD3Xj/7WeJcSRAyTeiJ96+3a2EZx4Q3kfRorK4BZKxiVOK/mc0?= =?utf-8?q?SFFe4ZYEur2kQBUQXny2Bf8dmOWgTc4u0m2FsDNFWMRWFxn3EJXIPWCg6ZG5GNUID?= =?utf-8?q?00PyI/1RMABiE0FI3ttP7EKK6rZfTUSFUBkHjNMC/L7SjTFbrpjDwbLoygO0BdU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p6jIEpc2NlqsQH?= =?utf-8?q?mIDU3YO/NkwjAeLIWwP5jzdMQtu/Hblu7p22fhzFYP5yOIJkDVbXKmwUowSYEbdX/?= =?utf-8?q?lRmw5H+WVmB5?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4ce8d393-72a4-4c9c-4e74-08dc8c83a0aa X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2024 15:06:54.4729 (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: rF7Wl/FN6qV7yCHWyojGA4Bqp8bgl/yzn+3IoyMLG5rAxNmrf9HEaVF+n1oXAV1c5hJ2diBlD55RZyGlCwTyAQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8215 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240614_080702_277997_81E657CE X-CRM114-Status: GOOD ( 12.95 ) 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 Add irqsteer, pwm and i2c in lvds subsystem. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-ss-lvds.dtsi | 77 +++++++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8qm.dtsi | 10 +++ 2 files changed, 87 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-lvds.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-lvds.dtsi new file mode 100644 index 0000000000000..1da3934847057 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-lvds.dtsi @@ -0,0 +1,77 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/* + * Copyright 2024 NXP + */ + +&qm_lvds0_lis_lpcg { + clocks = <&lvds_ipg_clk>; + clock-indices = ; +}; + +&qm_lvds0_pwm_lpcg { + clocks = <&clk IMX_SC_R_LVDS_0_PWM_0 IMX_SC_PM_CLK_PER>, + <&lvds_ipg_clk>; + clock-indices = , ; +}; + +&qm_lvds0_i2c0_lpcg { + clocks = <&clk IMX_SC_R_LVDS_0_I2C_0 IMX_SC_PM_CLK_PER>, + <&lvds_ipg_clk>; + clock-indices = , ; +}; + +&qm_pwm_lvds0 { + clocks = <&qm_lvds0_pwm_lpcg IMX_LPCG_CLK_4>, + <&qm_lvds0_pwm_lpcg IMX_LPCG_CLK_0>; +}; + +&qm_i2c0_lvds0 { + clocks = <&qm_lvds0_i2c0_lpcg IMX_LPCG_CLK_0>, + <&qm_lvds0_i2c0_lpcg IMX_LPCG_CLK_4>; +}; + +&lvds0_subsys { + interrupt-parent = <&irqsteer_lvds0>; + + irqsteer_lvds0: interrupt-controller@56240000 { + compatible = "fsl,imx8qm-irqsteer", "fsl,imx-irqsteer"; + reg = <0x56240000 0x1000>; + interrupts = ; + interrupt-controller; + interrupt-parent = <&gic>; + #interrupt-cells = <1>; + clocks = <&qm_lvds0_lis_lpcg IMX_LPCG_CLK_4>; + clock-names = "ipg"; + power-domains = <&pd IMX_SC_R_LVDS_0>; + + fsl,channel = <0>; + fsl,num-irqs = <32>; + }; + + lvds0_i2c1_lpcg: clock-controller@56243014 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x56243014 0x4>; + #clock-cells = <1>; + clocks = <&clk IMX_SC_R_LVDS_0_I2C_0 IMX_SC_PM_CLK_PER>, + <&lvds_ipg_clk>; + clock-indices = , ; + clock-output-names = "lvds0_i2c1_lpcg_clk", + "lvds0_i2c1_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_LVDS_0_I2C_0>; + }; + + i2c1_lvds0: i2c@56247000 { + compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c"; + reg = <0x56247000 0x1000>; + interrupts = <9>; + clocks = <&lvds0_i2c1_lpcg IMX_LPCG_CLK_0>, + <&lvds0_i2c1_lpcg IMX_LPCG_CLK_4>; + clock-names = "per", "ipg"; + assigned-clocks = <&clk IMX_SC_R_LVDS_0_I2C_0 IMX_SC_PM_CLK_PER>; + assigned-clock-rates = <24000000>; + power-domains = <&pd IMX_SC_R_LVDS_0_I2C_0>; + status = "disabled"; + }; +}; + diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi index 61986e0639e53..1e8511e8d8577 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi @@ -560,11 +560,20 @@ clk_spdif1_rx: clock-spdif1-rx { clock-output-names = "spdif1_rx"; }; + lvds_ipg_clk: clock-controller-lvds-ipg { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + clock-output-names = "lvds0_ipg_clk"; + }; + /* sorted in register address */ #include "imx8-ss-cm41.dtsi" #include "imx8-ss-audio.dtsi" #include "imx8-ss-vpu.dtsi" #include "imx8-ss-gpu0.dtsi" + #include "imx8-ss-lvds0.dtsi" + #include "imx8-ss-lvds1.dtsi" #include "imx8-ss-img.dtsi" #include "imx8-ss-dma.dtsi" #include "imx8-ss-conn.dtsi" @@ -576,3 +585,4 @@ clk_spdif1_rx: clock-spdif1-rx { #include "imx8qm-ss-conn.dtsi" #include "imx8qm-ss-lsio.dtsi" #include "imx8qm-ss-audio.dtsi" +#include "imx8qm-ss-lvds.dtsi" From patchwork Fri Jun 14 15:06:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13698823 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 73F75C27C6E for ; Fri, 14 Jun 2024 15:07:28 +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:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=25zwrmqAnqe6n4EfLpGkvyNw1oS186ZzdjMTpqcd9/0=; b=Mg0lBFBAK4rw4IiEriFOWuHhJt u+7WtAJhzMuU/9oStI7+MuJaNEfkrOmtK8s2iNeZh4Qc6rzD7ogUf+ON0u0A30FioytJRtHjiDsJn nmq12LoztczuZWj+stv5BHxmk8RwGZ9zyyfaFq9Nt62ZsTMujnCCioFmmUAyIg7t2CjccErOTXkMU 2skHipiXrcWCtZo1dqDFXKhd/vtRu9qgDKcdBojC9AS9TOMUXdjRrcfxXao9GTfHivBX7NSr/O47K 7LTWBfmFnow/mG2Ozy1IDxGPDDtDchZrK3gJ5HgDi9w3egvnc1gdZhxP3ROt13ULBBNAHUc7TGdyv 6Utf/raA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI8WE-000000039zt-3cJb; Fri, 14 Jun 2024 15:07:10 +0000 Received: from mail-db5eur01on20601.outbound.protection.outlook.com ([2a01:111:f403:2600::601] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI8W8-000000039ui-0wZR for linux-arm-kernel@lists.infradead.org; Fri, 14 Jun 2024 15:07:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aiKf6SKqEgjMiJvC3JcNGnpIR4Bf+/UjPDFFIf2iOurNb/vFSm3qvhdv5KMVV+kffAg5Mxm4CZ9mGOVZE3dLAAX75pWYn6PBbbhPxHlLk1A5WFFBB6zlzVWu4+GYXVVfNVJYmsacFti8wjZrrG405e98NJqjneFUPGbu40GV8fW/kd/fac7I/0oXqI0ogMITIWIdcEzX5mb3HkGpM/543/GosKvd9h64Z77UOjoX5C6oPXyh7nxLBGh8JaBkR+jejW8O9J1CiHiJIfR5T82yInWQcuWbVWF90EEuCP8m0XN7relE1qN+HnUUGBj18pO9RdwhR1y9xU8CzLlGTEXxTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=25zwrmqAnqe6n4EfLpGkvyNw1oS186ZzdjMTpqcd9/0=; b=RhnMLBluNyMagqoNbpO/OIsRL+e7CxDNvjdss3s98c8V2+SUMuCH46NKk7vjI8RZzkwg9+JEc5oAh6axnSWkmZhaHbjgOJcKcobeDqcAz1aFkuwzquXBRvZZPpm6OW3HXLourn0WAhYDwXqwCDmlV+h/1iJxUfxWH6UyobO/44wOCkM2hKGMnLww0bghlH73fS5d2ydo/il5W1O1rxPftk/gXjj9KHXEtToaDEMmnzTFjCmspDvItSYhCwQjyoIBazYpBJ2wlmCy0BlFQtbxPk4M0tPYodNCFlOlHcotlMF8a7/GIXvFbZAIe2yaE3bOiQMj9BrJWUQXBWhjpcGkGQ== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=25zwrmqAnqe6n4EfLpGkvyNw1oS186ZzdjMTpqcd9/0=; b=qTS9r47kl6sF/NAk/wH8Ssx6Q41gswSSL4ByuGTqRkSbBNCpCthmYcmzPBgs//XpvmNL7S7ywpdCV0zzc0tGSGQDvis3jQBgZY+2G4i/FFJuCs2Iazz3LE7HS/i52RUEy07dYxpo8L6ADYzwlbIVrNUN+HOBDNLshgu7+MZA21g= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS8PR04MB8215.eurprd04.prod.outlook.com (2603:10a6:20b:3b3::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.25; Fri, 14 Jun 2024 15:06:57 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7677.024; Fri, 14 Jun 2024 15:06:57 +0000 From: Frank Li Date: Fri, 14 Jun 2024 11:06:27 -0400 Subject: [PATCH v3 3/9] arm64: dts: imx8: add basic mipi subsystem Message-Id: <20240614-imx8qm-dts-usb-v3-3-8ecc30678e1c@nxp.com> References: <20240614-imx8qm-dts-usb-v3-0-8ecc30678e1c@nxp.com> In-Reply-To: <20240614-imx8qm-dts-usb-v3-0-8ecc30678e1c@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Dong Aisheng Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1718377604; l=9484; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=fw3MksJyhAw68VsBYYaJc4HIrPQE9U5fFN5w0fbrnD0=; b=G/iSunc3Ab28vLau8AsiwZnRfhpfObDdzTrt9+cqzdJgtzHIAJiqmzpoCeqK1lg2IRIU1Hx3i ZdqGdrS8q3bAJX3XkA0+eEa7aO/7oaTJxZoOhBq9scp3WJTzwIlngXr X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0032.namprd03.prod.outlook.com (2603:10b6:a03:33e::7) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB8215:EE_ X-MS-Office365-Filtering-Correlation-Id: 445ea270-2f6c-446d-4697-08dc8c83a2a7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|366013|376011|7416011|52116011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?0vfPraWuzXFmU37Tcz+h73ItWvQYGBU?= =?utf-8?q?F8DnNrKf/P2OW6CTbfgZKKKL38lINb9c3PLaWhLng8K62WQ4CQzmfCatlE0ztVNdc?= =?utf-8?q?hiBDzCfQbBkdAPaQ55mEC4DhXdZ6OMWxacC2+tPmGt/lNDE0huEFF6PptQaQB+7t4?= =?utf-8?q?iY6i/tKovJjm2Wc6XJmnr8aLqEkggNhtRRHMgK4X5ck029bOHY72pAR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Oe9DOKKd3pE?= =?utf-8?q?u/90yNyQjb1x3USh2XLI0499prlfxaUCCEANrYYDiQ8gpO0e4IccepRPn98KPhkcW?= =?utf-8?q?h0awt/WAy2rnnk9oLrVcA+Yzhwn2d8bdJCtPQFXPxBfhKGVbMs9TZ6W9+mxuXrQe7?= =?utf-8?q?JmiL/O3pAKIffALVH39ku2KvWsTmkz3QRji5u4rHqTOjRHgm7yO6nrit62BHV/J2I?= =?utf-8?q?QbhYcnwKKhSriMYGnXRBZDaPtDR4NVFo9OtZ1gx5rRCoUxZLkLKuIiv0=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(366013)(376011)(7416011)(52116011)(1800799021)(38350700011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?tMibNVihQrENWs+zA8aPI6/uZLKc?= =?utf-8?q?7v7/+I3sC1xgP1EoAJ5ykH0tBl+GYRgZEDU/ZLRIBvngdXlVrnqd2X9q3AQxUFWLb?= =?utf-8?q?Adyf2VH9cybXYBLvZauJ2WVsHgPlZll55plOe+qTK0qhmRl2gSFDQ1AepiGPgFND5?= =?utf-8?q?RnDSnmx7kDtsfE4ag0e5taIPUS5FDXFS8ECc0O3ZYmV+lYaAkwbUrCyui1YpNPmjs?= =?utf-8?q?b3rK+y7uMaFcdpJSH9p5r3mGiVqrCREHhu+glBCO1b1Hpqd+F6MCJrQFioScOE5po?= =?utf-8?q?f8CTaCtR0Zye3WT07w4qYXLrw783HnzsDpdqRW0QmwPsdhTJKZp/3NVSBPHfUDxrC?= =?utf-8?q?AlalWi6XPNaKGHytdj/dh0JkCTZIX8LIi40yCgTLj2cdieR/6/k2bbpvsxXByAH+C?= =?utf-8?q?xFneBg4NOhZNVvZYPboD7hJDoW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eCsj5B622iTycxX5dRPMwv?= =?utf-8?q?uhfNNkjntD/2VTybC59Wbf8dIRGARWbiCPUvQI/5eJErB/lxqLmv8crFxjU7jxyBY?= =?utf-8?q?2stPYAxRNoegdXDtuoAcYLxtuY9wm4fVJXfRZPefDOCAI8MqhiS5I7jXcFycpvgya?= =?utf-8?q?gzLfpVgW814YNBZgQ6iARXYyZtQIBjbiV3xe92rDGpzSM53/ylilEjnDcBAoePJEr?= =?utf-8?q?UFtHeQnXKF00?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 445ea270-2f6c-446d-4697-08dc8c83a2a7 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2024 15:06:57.8035 (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: X5ONGlLljjfqisQyKiVECJ2d3Cx3CGFm7Pme4snCVIjhHr5lticHP9jeEym5NU8/ozHQ9O9BDXfIKiukfNsYNA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8215 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240614_080704_322961_7516A968 X-CRM114-Status: GOOD ( 10.83 ) 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 Add basic mipi subsystem for imx8qm and imx8qxp. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8-ss-mipi0.dtsi | 130 +++++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8-ss-mipi1.dtsi | 138 +++++++++++++++++++++++ 2 files changed, 268 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-mipi0.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-mipi0.dtsi new file mode 100644 index 0000000000000..834c0472a8901 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8-ss-mipi0.dtsi @@ -0,0 +1,130 @@ +// SPDX-License-Identifier: GPL-2.0-only and MIT + +/* + * Copyright 2024 NXP + */ + +mipi0_subsys: bus@56220000 { + compatible = "simple-bus"; + interrupt-parent = <&irqsteer_mipi0>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x56220000 0x0 0x56220000 0x10000>; + + irqsteer_mipi0: interrupt-controller@56220000 { + compatible = "fsl,imx8qxp-irqsteer", "fsl,imx-irqsteer"; + reg = <0x56220000 0x1000>; + interrupts = ; + interrupt-controller; + interrupt-parent = <&gic>; + #interrupt-cells = <1>; + clocks = <&mipi0_lis_lpcg IMX_LPCG_CLK_0>; + clock-names = "ipg"; + power-domains = <&pd IMX_SC_R_MIPI_0>; + fsl,channel = <0>; + fsl,num-irqs = <32>; + }; + + mipi0_lis_lpcg: clock-controller@56223000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x56223000 0x4>; + #clock-cells = <1>; + power-domains = <&pd IMX_SC_R_MIPI_0>; + }; + + mipi0_pwm_lpcg: clock-controller@5622300c { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5622300c 0x4>; + #clock-cells = <1>; + power-domains = <&pd IMX_SC_R_MIPI_0_PWM_0>; + }; + + mipi0_i2c0_lpcg_ipg_clk: clock-controller@56223014 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x56223014 0x4>; + #clock-cells = <1>; + clocks = <&mipi0_i2c0_lpcg_ipg_s_clk IMX_LPCG_CLK_0>; + clock-indices = ; + clock-output-names = "mipi0_i2c0_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_MIPI_0_I2C_0>; + }; + + mipi0_i2c0_lpcg_ipg_s_clk: clock-controller@56223018 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x56223018 0x4>; + #clock-cells = <1>; + clocks = <&dsi_ipg_clk>; + clock-indices = ; + clock-output-names = "mipi0_i2c0_lpcg_ipg_s_clk"; + power-domains = <&pd IMX_SC_R_MIPI_0_I2C_0>; + }; + + mipi0_i2c0_lpcg_clk: clock-controller@5622301c { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5622301c 0x4>; + #clock-cells = <1>; + clocks = <&clk IMX_SC_R_MIPI_0_I2C_0 IMX_SC_PM_CLK_MISC2>; + clock-indices = ; + clock-output-names = "mipi0_i2c0_lpcg_clk"; + power-domains = <&pd IMX_SC_R_MIPI_0_I2C_0>; + }; + + mipi0_i2c1_lpcg_ipg_clk: clock-controller@56223024 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x56223024 0x4>; + #clock-cells = <1>; + clocks = <&mipi0_i2c1_lpcg_ipg_s_clk IMX_LPCG_CLK_0>; + clock-indices = ; + clock-output-names = "mipi0_i2c1_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_MIPI_0_I2C_1>; + }; + + mipi0_i2c1_lpcg_ipg_s_clk: clock-controller@56223028 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x56223028 0x4>; + #clock-cells = <1>; + clocks = <&dsi_ipg_clk>; + clock-indices = ; + clock-output-names = "mipi0_i2c1_lpcg_ipg_s_clk"; + power-domains = <&pd IMX_SC_R_MIPI_0_I2C_1>; + }; + + mipi0_i2c1_lpcg_clk: clock-controller@5622302c { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5622302c 0x4>; + #clock-cells = <1>; + clocks = <&clk IMX_SC_R_MIPI_0_I2C_1 IMX_SC_PM_CLK_MISC2>; + clock-indices = ; + clock-output-names = "mipi0_i2c1_lpcg_clk"; + power-domains = <&pd IMX_SC_R_MIPI_0_I2C_1>; + }; + + pwm_mipi0: pwm@56224000 { + compatible = "fsl,imx8qxp-pwm", "fsl,imx27-pwm"; + reg = <0x56224000 0x1000>; + clocks = <&mipi0_pwm_lpcg IMX_LPCG_CLK_4>, + <&mipi0_pwm_lpcg IMX_LPCG_CLK_0>; + clock-names = "ipg", "per"; + assigned-clocks = <&clk IMX_SC_R_MIPI_0_PWM_0 IMX_SC_PM_CLK_PER>; + assigned-clock-rates = <24000000>; + #pwm-cells = <3>; + power-domains = <&pd IMX_SC_R_MIPI_0_PWM_0>; + status = "disabled"; + }; + + i2c0_mipi0: i2c@56226000 { + compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c"; + reg = <0x56226000 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = <8>; + clocks = <&mipi0_i2c0_lpcg_clk IMX_LPCG_CLK_0>, + <&mipi0_i2c0_lpcg_ipg_clk IMX_LPCG_CLK_0>; + clock-names = "per", "ipg"; + assigned-clocks = <&mipi0_i2c0_lpcg_clk IMX_LPCG_CLK_0>; + assigned-clock-rates = <24000000>; + power-domains = <&pd IMX_SC_R_MIPI_0_I2C_0>; + status = "disabled"; + }; +}; + diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-mipi1.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-mipi1.dtsi new file mode 100644 index 0000000000000..5b1f08e412b24 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8-ss-mipi1.dtsi @@ -0,0 +1,138 @@ +// SPDX-License-Identifier: GPL-2.0-only and MIT + +/* + * Copyright 2024 NXP + */ + +mipi1_subsys: bus@57220000 { + compatible = "simple-bus"; + interrupt-parent = <&irqsteer_mipi1>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x57220000 0x0 0x57220000 0x10000>; + + irqsteer_mipi1: interrupt-controller@57220000 { + compatible = "fsl,imx8qm-irqsteer", "fsl,imx-irqsteer"; + reg = <0x57220000 0x1000>; + interrupts = ; + interrupt-controller; + interrupt-parent = <&gic>; + #interrupt-cells = <1>; + clocks = <&mipi1_lis_lpcg IMX_LPCG_CLK_0>; + clock-names = "ipg"; + power-domains = <&pd IMX_SC_R_MIPI_1>; + fsl,channel = <0>; + fsl,num-irqs = <32>; + }; + + mipi1_lis_lpcg: clock-controller@57223000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x57223000 0x4>; + #clock-cells = <1>; + clocks = <&dsi_ipg_clk>; + clock-indices = ; + clock-output-names = "mipi1_lis_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_MIPI_1>; + }; + + mipi1_pwm_lpcg: clock-controller@5722300c { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5722300c 0x4>; + #clock-cells = <1>; + clocks = <&clk IMX_SC_R_MIPI_1_PWM_0 IMX_SC_PM_CLK_PER>, + <&dsi_ipg_clk>; + clock-indices = , ; + clock-output-names = "mipi1_pwm_lpcg_clk", + "mipi1_pwm_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_MIPI_1_PWM_0>; + }; + + mipi1_i2c0_lpcg_clk: clock-controller@5722301c { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5722301c 0x4>; + #clock-cells = <1>; + clocks = <&clk IMX_SC_R_MIPI_1_I2C_0 IMX_SC_PM_CLK_MISC2>; + clock-indices = ; + clock-output-names = "mipi1_i2c0_lpcg_clk"; + power-domains = <&pd IMX_SC_R_MIPI_1_I2C_0>; + }; + + mipi1_i2c0_lpcg_ipg_clk: clock-controller@57223014 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x57223014 0x4>; + #clock-cells = <1>; + clocks = <&mipi1_i2c0_lpcg_ipg_s_clk IMX_LPCG_CLK_0>; + clock-indices = ; + clock-output-names = "mipi1_i2c0_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_MIPI_1_I2C_0>; + }; + + mipi1_i2c0_lpcg_ipg_s_clk: clock-controller@57223018 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x57223018 0x4>; + #clock-cells = <1>; + clocks = <&dsi_ipg_clk>; + clock-indices = ; + clock-output-names = "mipi1_i2c0_lpcg_ipg_s_clk"; + power-domains = <&pd IMX_SC_R_MIPI_1_I2C_0>; + }; + + mipi1_i2c1_lpcg_ipg_clk: clock-controller@57223024 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x57223024 0x4>; + #clock-cells = <1>; + clocks = <&mipi1_i2c1_lpcg_ipg_s_clk IMX_LPCG_CLK_0>; + clock-indices = ; + clock-output-names = "mipi1_i2c1_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_MIPI_1_I2C_1>; + }; + + mipi1_i2c1_lpcg_ipg_s_clk: clock-controller@57223028 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x57223028 0x4>; + #clock-cells = <1>; + clocks = <&dsi_ipg_clk>; + clock-indices = ; + clock-output-names = "mipi1_i2c1_lpcg_ipg_s_clk"; + power-domains = <&pd IMX_SC_R_MIPI_1_I2C_1>; + }; + + mipi1_i2c1_lpcg_clk: clock-controller@5722302c { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5722302c 0x4>; + #clock-cells = <1>; + clocks = <&clk IMX_SC_R_MIPI_1_I2C_1 IMX_SC_PM_CLK_MISC2>; + clock-indices = ; + clock-output-names = "mipi1_i2c1_lpcg_clk"; + power-domains = <&pd IMX_SC_R_MIPI_1_I2C_1>; + }; + + pwm_mipi1: pwm@57224000 { + compatible = "fsl,imx8qxp-pwm", "fsl,imx27-pwm"; + reg = <0x57224000 0x1000>; + clocks = <&mipi1_pwm_lpcg IMX_LPCG_CLK_4>, + <&mipi1_pwm_lpcg IMX_LPCG_CLK_0>; + clock-names = "ipg", "per"; + assigned-clocks = <&clk IMX_SC_R_MIPI_1_PWM_0 IMX_SC_PM_CLK_PER>; + assigned-clock-rates = <24000000>; + #pwm-cells = <3>; + power-domains = <&pd IMX_SC_R_MIPI_1_PWM_0>; + status = "disabled"; + }; + + i2c0_mipi1: i2c@57226000 { + compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c"; + reg = <0x57226000 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = <8>; + interrupt-parent = <&irqsteer_mipi1>; + clocks = <&mipi1_i2c0_lpcg_clk IMX_LPCG_CLK_0>, + <&mipi1_i2c0_lpcg_ipg_clk IMX_LPCG_CLK_0>; + clock-names = "per", "ipg"; + assigned-clocks = <&mipi1_i2c0_lpcg_clk IMX_LPCG_CLK_0>; + assigned-clock-rates = <24000000>; + power-domains = <&pd IMX_SC_R_MIPI_1_I2C_0>; + status = "disabled"; + }; +}; From patchwork Fri Jun 14 15:06:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13698824 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 BA8A5C27C6E for ; Fri, 14 Jun 2024 15:07:31 +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:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=e8QyXFldvojdWrKZneAZxjwtFdGbAS4u4yutJCttA14=; b=29cV4ndjetQt0tDcLQbNUbc7Dx Tjg7NesOOSDBtzxzEHB24moRjgYK+RGNc+LuNmkxYXc4Z/ihf8rT1zM5zjKMO3IaahtjPhuulVr1F 8d55/btAcTaY4zoqxq+aFbWSTSE/uXVnq03YTX8JsFSeJJgWrz7b3KpqaWo3QEZMtVaIeLz9endSb 0N8TmfEkveEHdIbT3RqRrwaqu0Lt09Z4OgSbzwPs5xhFj0p535sC1HnV3BgApC0y43so6hmTux2d4 yvlDpD+qt68F592+t0/Q8hCTLLHPXllRBGd/6IBq15j6LMKp47C1LjHapfPEBgCBY6N7rl03nXi63 rSGbrSAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI8WL-00000003A3S-2vRA; Fri, 14 Jun 2024 15:07:17 +0000 Received: from mail-db5eur01on20601.outbound.protection.outlook.com ([2a01:111:f403:2600::601] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI8WA-000000039ui-1bJ3 for linux-arm-kernel@lists.infradead.org; Fri, 14 Jun 2024 15:07:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DbwfFLUpjLMtXgBDaPbql/2tXnIAuwHLdcLel/cXcMPieiAU8HtJ2ZSRwYs+cz3DLQjV+GtxqSGB4CXTLVhCWUGGMTzqfEhm4LFLhYKm5Fd/YlXDyE1ammI01rtizvyAXFM1WFyNFQ8xxhfNojl+vpOCT0q3PxsRunHlCC1LJbCRoMfGU5rRLcQp6SBzt5viaUwn32Oz23moiT1n72uL/rRV5qGXYBKQbOKxCIP6LkyzkaLX8WaikL073jU8bN8JrJ2H/TkOGOcnVzc0OQC0K3YCrkWHQ+U2Q0xW4nnOSU5JGIvJdYfwL4nWwGCaOmZwG02Lg/xG7urKPi50g9mpiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=e8QyXFldvojdWrKZneAZxjwtFdGbAS4u4yutJCttA14=; b=Jl4/DKf8FX1mBYrqU/a5SHwRA0wz+jbehdbuz0ADupaicKCpRlydfSJHtWcPIQpOyIefYfn6p5KeuIhlKmq615eVoGdK12DGPEII3TYEWhQ140Ai1CLq1lVsLTz3YH1745puwiZKT3Ev+ueY5/xnYMmc/scSpQC4vYL3OeBIjbhvZOy4zzCfWiGdOk2zwBl/gcVsbawQL7afWGn/4f8IdfRAvs8qYzV09BlFge6peF702qQkc8CzbahKIUR5C9me6tLZocJZXvpZQORdtU3EL0e1nGG3Eduu+cCHYU5FxXXzAEm3H5UbN0bKjgqSScQ/HoHVW6LaQeMbCITa9TJvuA== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e8QyXFldvojdWrKZneAZxjwtFdGbAS4u4yutJCttA14=; b=AOywZidHvJkZ7fOg833CSP4bzcJUWrBIRrGMG7uSXe15Y0FzsFE+HWAuNfqShyBmbgj7LTL5mCh7EisrJpJ/7+0j3AakYdK6A5lT7PD5fh0tufZhQK1mSdVIUDwqULhSxE5yUMKO2XzdolpHF3EZ7msAdHzFg1cAesCLZHOHnwU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS8PR04MB8215.eurprd04.prod.outlook.com (2603:10a6:20b:3b3::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.25; Fri, 14 Jun 2024 15:07:01 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7677.024; Fri, 14 Jun 2024 15:07:01 +0000 From: Frank Li Date: Fri, 14 Jun 2024 11:06:28 -0400 Subject: [PATCH v3 4/9] arm64: dts: imx8qm: add mipi subsystem Message-Id: <20240614-imx8qm-dts-usb-v3-4-8ecc30678e1c@nxp.com> References: <20240614-imx8qm-dts-usb-v3-0-8ecc30678e1c@nxp.com> In-Reply-To: <20240614-imx8qm-dts-usb-v3-0-8ecc30678e1c@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Dong Aisheng Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1718377604; l=2369; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=GyyQFBwQxEU9iU2kiD5JCDDv7dPwtt10eTEDTb0pmFw=; b=DtvR8GUHILjCrK3sMvfs+102qf0ASw2z0IYnvIme4i/9VdlzrdhOb/DhXTo/36aABFXzKB0Uh ow+LwLtcBZiAhpcDYlOfh4HHt7thDPqINYUdWiSgicblFD91L08604R X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0032.namprd03.prod.outlook.com (2603:10b6:a03:33e::7) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB8215:EE_ X-MS-Office365-Filtering-Correlation-Id: 22ac3b22-acba-41e0-8be0-08dc8c83a4cd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|366013|376011|7416011|52116011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?HdWV2Ty6Qj8OyBXXAPVMNUjrmvzJpma?= =?utf-8?q?sEHcvP7mHr/HfjqZYXqUFFT5Wuk14Pai/LhcDL3HWlwWiZd8IEU3SWMFV8kxoo2+Z?= =?utf-8?q?q/gB5OYcNrrRI862op6kvJQmSZ4UeuFwnn3fpi0tR6rxQ2jPvU432H6wfgLlWyemm?= =?utf-8?q?E8b8Mf7RsChWWXep3QdtKclKYJCvC+PDziMPEh2krV+zaipGswgQglOiAodjgwyKz?= =?utf-8?q?gh/eY70XJ1XfDUZvw7syACEBjgJc334KUA4fpCTh7H66pRkla+mHKgd0Rb5S1WLz1?= =?utf-8?q?GsSmTUqSUF1SbC5dgifWdSS0C647/A7z7Mlgc4Jgrea6FbJhX9V9Cf4T1i7zWJlL2?= =?utf-8?q?KPyX8Ett8w8JroaHHe0yqmfUXoWgYJAnyhY7sqIb3JdkII9dMoach3gfXmq6/R5wX?= =?utf-8?q?EgKvZiPtTHeJ7SV+fzZ1/1+wU1mhP1INVaUFlmfS727EfJ/vAfA5N4igg33c1KmVj?= =?utf-8?q?ZzedvJTYRPFhaBDrrqTRTvA7/GZH5Bnj3mWpxTvNFulgxoS4oq+hoMRjyIJdHzu7L?= =?utf-8?q?NwZ8xnct6tQDOsohC6a4juKXl+J4yB9SYNN/Tgdxl4GBILjIXpZ2OpEeh+i3J+6sD?= =?utf-8?q?FsALJdkPKvJ4Yyn0k0/46Y3xcZExY4iobfTK7xECpZHSzfhzqF4MccoSG0/gzG/82?= =?utf-8?q?wXoefl3WJnYw21CvsEIF4cjMrkotrK5ecOVpzg/s941fc+wHaebXBR5tbquqvKJo1?= =?utf-8?q?QG3bEaLBQ9JODERw2oytbKl+ZhaEvzxUcwp09+8zYrq0zXjpLITK3VACIPYBJXWRl?= =?utf-8?q?48EnyN+0NarhcLVKBCtxNByzKddQYCPpnf4iIxzZ3fY8N9Xk6pEjd5+wZ3AeQuSW3?= =?utf-8?q?mkevqT34tRh1s43bwiIVDCnr9j/D9Hza2XRa4l1LEfATwAjjMU14keRilSdRD86QN?= =?utf-8?q?lVem97mFN/+EOXSejooFZ2rUlHtqdzK9ctjkoX2xGGqwz/LurBstQ1Gp9JOgqvtNh?= =?utf-8?q?Vjbp6ijLs8Fjhw55judVZFch4WqoRdffvGVno5412dL0LyRciAmpimJoF8mdS7kTH?= =?utf-8?q?GcgWCdIHg0kGACmkqhnicuqEqJoTQjTkcDWMlh0gZwyLHig7fZbo+HPz8nxpFrkaO?= =?utf-8?q?rGsNPfJqdIoGcmevpv7dKOX2tKl76SV3zyempcL7FDQwOlmP4CfZzqUQmZ+r+cHCV?= =?utf-8?q?0UKQ/tTB488khfBYczE67QFItoLuRsvuRoZI6iWrvyauOQ7gsyBXhqFegMMwgEC8z?= =?utf-8?q?HCb4/6/0n7to9GiBtC/EVexX/X4nVFWQGNmHfaCpWRuK0KegESSW9BrbtTo4UL+j8?= =?utf-8?q?Le5pHeU9VTaabbyXqKjZvy7BAzhvmU/JYvcAFAC6/80Vaq8AxYhKntLU=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(366013)(376011)(7416011)(52116011)(1800799021)(38350700011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Eewgootzq+WmhbdpHl6509Ignuc0?= =?utf-8?q?WyFI/NLQSKj+aS3XJF/BXtrva7+ye2hb6WvM9IVP+SWtunPmi3cktKr2Hbe8pGv1h?= =?utf-8?q?zwDXpYJpNBFtFRQdww1s+Yj9zBFCXSEl1S0OUJy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qAoujwBelqkFQRNfqOeklxDb/yl8hOBDGJZ?= =?utf-8?q?zeKPWa4KFv8VveNCrC5g0KT38cAqMK9u6gVzx2KvnUCbyy6vsOpyjiN/pu3piS0R9?= =?utf-8?q?ZN1+E1Ai4EEHdue/hta4Iax+lyYAUJRtZRHw0i++Sl3zZ8vjpDRXJW6hew1KkeVd5?= =?utf-8?q?021ek4ruJHPzeo7NJl5VyX8Le9jQobORnshPBMlFq9UEIwrSM/xGAP18B0PFxC8/n?= =?utf-8?q?VVsq4X20WPkxl+bSWuto1fl/RQj2WEmYH6GE9pjzuvJxq3oLGMYQ8aKy1HX8gfHYl?= =?utf-8?q?mMMvc0LlHAjyKiFdMy/bh9JGAX1VAUX6vopgHc1vnco/40JdrsXcsKjefrxa/b7k1?= =?utf-8?q?KNK3JSmlY6UyR5mLOODUIfVu/MafswmhajpABnqIEn2pO6q+eR8firgkvhsNG2/zW?= =?utf-8?q?npuKimR4Acr9/hkYV/DCRfbpw2o9vDnUrv8HbQZ2LWQDlO0bf0h6gu8pmAT2oZpFi?= =?utf-8?q?zLA+rGXsvuAF8i2Hs0yF8QEXvC7AzdTIRaKTABq2Ah4N9ojJxmiwEhjwzJJ5YC+Ep?= =?utf-8?q?DyPfLi8WqYw1?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 22ac3b22-acba-41e0-8be0-08dc8c83a4cd X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2024 15:07:01.4617 (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: /6J/dtfb/HM2ZRbgrV0Dr79TPyXe9wX0U6iZ3fShzyj3Afzo98JElykh/WDTAp4VqUw40f8Hus3HlBmazxOWAA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8215 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240614_080706_500287_EE3BA437 X-CRM114-Status: GOOD ( 12.65 ) 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 Include common imx8-ss-mipi0.dtsi and imx8-ss-mipi1.dtsi. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-ss-mipi.dtsi | 19 +++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8qm.dtsi | 17 +++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-mipi.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-mipi.dtsi new file mode 100644 index 0000000000000..f4c393fe72044 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-mipi.dtsi @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/* + * Copyright 2024 NXP + */ + +&mipi0_lis_lpcg { + clocks = <&dsi_ipg_clk>; + clock-indices = ; + clock-output-names = "mipi0_lis_lpcg_ipg_clk"; +}; + +&mipi0_pwm_lpcg { + clocks = <&clk IMX_SC_R_MIPI_0_PWM_0 IMX_SC_PM_CLK_PER>, + <&dsi_ipg_clk>; + clock-indices = , ; + clock-output-names = "mipi0_pwm_lpcg_clk", + "mipi0_pwm_lpcg_ipg_clk"; +}; \ No newline at end of file diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi index 1e8511e8d8577..3ee6e2869e3cf 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi @@ -567,12 +567,28 @@ lvds_ipg_clk: clock-controller-lvds-ipg { clock-output-names = "lvds0_ipg_clk"; }; + dsi_ipg_clk: clock-controller-dsi-ipg { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <120000000>; + clock-output-names = "dsi_ipg_clk"; + }; + + mipi_pll_div2_clk: clock-controller-mipi-div2-pll { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <432000000>; + clock-output-names = "mipi_pll_div2_clk"; + }; + /* sorted in register address */ #include "imx8-ss-cm41.dtsi" #include "imx8-ss-audio.dtsi" #include "imx8-ss-vpu.dtsi" #include "imx8-ss-gpu0.dtsi" + #include "imx8-ss-mipi0.dtsi" #include "imx8-ss-lvds0.dtsi" + #include "imx8-ss-mipi1.dtsi" #include "imx8-ss-lvds1.dtsi" #include "imx8-ss-img.dtsi" #include "imx8-ss-dma.dtsi" @@ -586,3 +602,4 @@ lvds_ipg_clk: clock-controller-lvds-ipg { #include "imx8qm-ss-lsio.dtsi" #include "imx8qm-ss-audio.dtsi" #include "imx8qm-ss-lvds.dtsi" +#include "imx8qm-ss-mipi.dtsi" From patchwork Fri Jun 14 15:06:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13698826 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 9E1D8C27C6E for ; Fri, 14 Jun 2024 15:07:34 +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:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=b8G5qpoFp5Q8onqriaQOrAEkvT0GxrBUnT872PX/0Qk=; b=sVpiO4aHj95+aAiOXkrOfVUo2/ GntOQSt5VuDcgws2E1YzTHeRectKRnKEtUWbxha4IkOU7CNQ1b22khjw4ZF8I8p8UvUtJy4ScogBt a+1F1l2g1vEfHI6XiOHD+QBD1ELATBRIMm7OezPh4pilOm0sZnKenqB4hnF5G3TMDAORlZvOdOnhD WiGybbG18ye6l+4qAt5aBCpzTDn8Y7FRTZcO9ZSsvfsrrbS3o2S17w7H/V258OFKixmuNIVHFD+tS vlCVFN33lCSsAkBjhqfM4GqD8DYedqZESLS9kMu8uBeSGNQ4iWtKuCqmfR5iIAWiO4reTSc5sElI7 9a+GuyyQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI8WN-00000003A4z-1U7l; Fri, 14 Jun 2024 15:07:19 +0000 Received: from mail-db5eur01on20601.outbound.protection.outlook.com ([2a01:111:f403:2600::601] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI8WC-000000039ui-0yhi for linux-arm-kernel@lists.infradead.org; Fri, 14 Jun 2024 15:07:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gHtzuKVStif5ME0zk3eTPV2X/HXCzeCX/clz27Si7MX8n3/wv4/LXgvXxpnCIIoR3PRn8gvw1Nh7lEGqac0qypoFOVMsidy92Z2XiIfrcAandyNobK4LLT18RPWPIT4JHo1Gt78Uqodgvrl8x0xT+pix++h/shLi/yIXjGDuAK0UK88DDlKN/OApaXWySt1UCeyMXqB/48tpZjWjFlF60YftBYH4tlWHRmd5u5j78IkUKdwLF4K3bvOcCnhQfjUrw5uvKBqr8ANFOsc/qVv1Ibky0DR4Mx8hfsmhiNMXxorc0TXt6QDOx/8Fp1KZe1lK8IiTwYRIP4IiA+50p7tLKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=b8G5qpoFp5Q8onqriaQOrAEkvT0GxrBUnT872PX/0Qk=; b=IyV5wbCR6o96zOwZ2YzpVx5cDUyq7hEVSbmCWkQDiVUkDGZXifnREiB5uhjJ4ZKQHT8x2aFzDGAPBKt4yCynILYEJ8ASoVWyPXk01k6ZvzZMGbb9AkVC0ERKjiUsEPOzcCYoMV7K9Hepz4ZSe0ZWFXwaJgz8/ob5vgPB/BCAbuwqs0/r29Y0+qNt6z6JqH93AULbWRw5l22xI5EUdX/g4Neb6QX6OYhs7uc8lCQmH9yXd3qK2P/AJmI7pj9HfQmAfqwWJjojjQ1NIf4xOdHTOURgkSwN5fFu9linjNTRUXGelikc0Iv2lvP3lKzPUpHQs5T3ZfkPoshfoB7K5QVdEg== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=b8G5qpoFp5Q8onqriaQOrAEkvT0GxrBUnT872PX/0Qk=; b=kBDWorS8ZqFlqG9Bt3R/6U9zHduFNeSHlAf5bW/IxrnfUs9L2iaUNmpUUKQWazcVI6RIUwJfbcBbheBNbcm7o7R+ICkTlQoK4WMQtnxHbbZRZCcyrKrHhH9aSd7RpHoUcwtoRslHBhJnNuzi6PIf9BaFQ24fbhYYWhi5+2FKT/A= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS8PR04MB8215.eurprd04.prod.outlook.com (2603:10a6:20b:3b3::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.25; Fri, 14 Jun 2024 15:07:05 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7677.024; Fri, 14 Jun 2024 15:07:04 +0000 From: Frank Li Date: Fri, 14 Jun 2024 11:06:29 -0400 Subject: [PATCH v3 5/9] arm64: dts: imx8qm-mek: add cm4 remote-proc and related memory region Message-Id: <20240614-imx8qm-dts-usb-v3-5-8ecc30678e1c@nxp.com> References: <20240614-imx8qm-dts-usb-v3-0-8ecc30678e1c@nxp.com> In-Reply-To: <20240614-imx8qm-dts-usb-v3-0-8ecc30678e1c@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Dong Aisheng Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li , Peng Fan X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1718377604; l=2953; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=dCwtPi/8EJVcD5gh2DMUVEwQe5fEGO87oefK9gHe6mU=; b=bMXBCJfWj0e171jC5lbiyLy3HbXM0XnGOO3ifGgSPET9UzXr08WIK6M5uLnHMM3APgIF4V/r+ LpV33FPI0RDA7MuGC9naty2ksI6+RG/+fMMBVMnz7nc1Gn8bannFLL2 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0032.namprd03.prod.outlook.com (2603:10b6:a03:33e::7) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB8215:EE_ X-MS-Office365-Filtering-Correlation-Id: fab67cfb-92b1-4868-5a54-08dc8c83a6e8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|366013|376011|7416011|52116011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?aSA1440ioZ1x01O8QAGO2LGNN8xFOuW?= =?utf-8?q?3Taw+4KonquxCDEyvLSJyNOkq2+v9Qi8F7+FAmZW8+P31q5lqxzRmnZFloh5WLJl4?= =?utf-8?q?WVupzaL5kULaMLvxFCjZt+TEKDFJ9XtUg0zTTCj6HQKxluo88s0IN0UeaN+prRAKC?= =?utf-8?q?ITeFZa84NgL9F80ZrWHJQtoU7oip/75BLCyGQo4tU9kSdk9YLs9er3WWZaE4A49It?= =?utf-8?q?wqmXX9OMGNotGNuwbLa30Q0NijH360PK0VwhmhAZNugW/p+eb6N1nlRDd+qKe4swM?= =?utf-8?q?IZ0Ey4zlPlwjxqp+wkZgMZU0zGk8AoSlu8iBHH0PCJ8zFyDufoNooD2ApKwa6S4VF?= =?utf-8?q?BbVoI62AqR4b0p6R0sZMZVebVPhTkoSG4Q6725uCT+gYWl6L8wvNfLQUAb3Xbs4aC?= =?utf-8?q?2wdgkD5TXNuFEy/Ly4AtAxn6Kzw3W2HlIXA9wr4p8V7Tx0W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gHA=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(366013)(376011)(7416011)(52116011)(1800799021)(38350700011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?0FNg5agg8ATXAzhP81E5SvkN152S?= =?utf-8?q?XlJa2AsnwHhK787+0yrE+z3RJeWdoq2OJQmIetBWhbQNLLrnyGWLCRILfj6FuM7fn?= =?utf-8?q?RQdTF7oBcIpJjPfgsDG7dIbwPRLvI6u08/ldpmWzXRJh8XkNRqMNJFv6dMtGINRjb?= =?utf-8?q?e9JgWhqNowyoaubUbpWxEdTVKEXFxoydrMMd6y6N3VNHOfP6IKMdgqT4JIyi3a8uI?= =?utf-8?q?x3hgjTBu8Ka30H5WHV2SwFq8QXki5lyOgkycfRexuXQ+Q0cshfheJp8S2j2c+gfQ7?= =?utf-8?q?g4GrVR3+njnlQmlAkxmFG3amN5sMgI2nezzhBYaGk3Vm3GI3lcDOE5WAiku0U5cXF?= =?utf-8?q?g7VUELZWRPEEWbdESk1VGy8JJSeYEwe6vrxcRsV4gEjqwaXKEHo0CPxK/bZYpPIHL?= =?utf-8?q?yK96yHYgc4W9c/iWn+z/g6M0nWmsZQ5MeIkP+O3SZxIbDGrSK+P8xQOzr0Q1A1cGE?= =?utf-8?q?Iw6KfukSynKJ7lQL8NbAhmDfSnz/WIDRZpEjcSvM0GbMB89M5x9yCAdv9kNNIdiUY?= =?utf-8?q?ys80Rbf/Ov7WojteHLikBbws+O3YJOoERGtxvDZgZgNGLrueDpDvlZOgqKiC8m2ng?= =?utf-8?q?wZshB7nQB25jLdXSUzuu7CsKYB3DxP7WhRlrqDJSrgnNfdN0TocPTS3TqWgxiq5wS?= =?utf-8?q?1lL+9G7FKR991cMhJe4p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nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fab67cfb-92b1-4868-5a54-08dc8c83a6e8 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2024 15:07:04.9577 (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: Ii9PcjMKFhW2500OShYcNFNIG/5xIqK/CC3mEteEphCsiB9S/x2oRs5PGYFqniExtisWMp+JKzsmOttpNUpgOQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8215 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240614_080708_313751_78D44D8D X-CRM114-Status: UNSURE ( 9.32 ) X-CRM114-Notice: Please train this message. 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 Add two cm4 remote-proc and related memory regions. Reviewed-by: Peng Fan Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 93 ++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index c024be33fbcce..dbd478af2e474 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -31,6 +31,68 @@ memory@80000000 { reg = <0x00000000 0x80000000 0 0x40000000>; }; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + vdev0vring0: memory@90000000 { + reg = <0 0x90000000 0 0x8000>; + no-map; + }; + + vdev0vring1: memory@90008000 { + reg = <0 0x90008000 0 0x8000>; + no-map; + }; + + vdev1vring0: memory@90010000 { + reg = <0 0x90010000 0 0x8000>; + no-map; + }; + + vdev1vring1: memory@90018000 { + reg = <0 0x90018000 0 0x8000>; + no-map; + }; + + rsc_table0: memory@900ff000 { + reg = <0 0x900ff000 0 0x1000>; + no-map; + }; + + vdevbuffer: memory { + compatible = "shared-dma-pool"; + reg = <0 0x90400000 0 0x100000>; + no-map; + }; + + vdev2vring0: memory@90100000 { + reg = <0 0x90100000 0 0x8000>; + no-map; + }; + + vdev2vring1: memory@90108000 { + reg = <0 0x90108000 0 0x8000>; + no-map; + }; + + vdev3vring0: memory@90110000 { + reg = <0 0x90110000 0 0x8000>; + no-map; + }; + + vdev3vring1: memory@90118000 { + reg = <0 0x90118000 0 0x8000>; + no-map; + }; + + rsc_table1: memory@901ff000 { + reg = <0 0x901ff000 0 0x1000>; + no-map; + }; + }; + reg_usdhc2_vmmc: usdhc2-vmmc { compatible = "regulator-fixed"; regulator-name = "SD1_SPWR"; @@ -133,6 +195,37 @@ sound-wm8960 { "LINPUT1", "Mic Jack", "Mic Jack", "MICB"; }; + + imx8qm-cm4-0 { + compatible = "fsl,imx8qm-cm4"; + clocks = <&clk_dummy>; + mbox-names = "tx", "rx", "rxdb"; + mboxes = <&lsio_mu5 0 1 + &lsio_mu5 1 1 + &lsio_mu5 3 1>; + memory-region = <&vdevbuffer>, <&vdev0vring0>, <&vdev0vring1>, + <&vdev1vring0>, <&vdev1vring1>, <&rsc_table0>; + power-domains = <&pd IMX_SC_R_M4_0_PID0>, <&pd IMX_SC_R_M4_0_MU_1A>; + + fsl,resource-id = ; + fsl,entry-address = <0x34fe0000>; + }; + + imx8qm-cm4-1 { + compatible = "fsl,imx8qm-cm4"; + clocks = <&clk_dummy>; + mbox-names = "tx", "rx", "rxdb"; + mboxes = <&lsio_mu6 0 1 + &lsio_mu6 1 1 + &lsio_mu6 3 1>; + memory-region = <&vdevbuffer>, <&vdev2vring0>, <&vdev2vring1>, + <&vdev3vring0>, <&vdev3vring1>, <&rsc_table1>; + power-domains = <&pd IMX_SC_R_M4_1_PID0>, <&pd IMX_SC_R_M4_1_MU_1A>; + + fsl,resource-id = ; + fsl,entry-address = <0x38fe0000>; + }; + }; &adc0 { From patchwork Fri Jun 14 15:06:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13698827 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 B020AC27C77 for ; Fri, 14 Jun 2024 15:07:36 +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:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=KELo4iICDdoq75xZlnxNbKYIHquYeUyms8sM9HSKKKs=; b=NbgUp7tFd1P6pAQDYEOPFyXBvL Aqih4jj7vLOkOx87sUC6IRUNWTgsY4dzW1EeSJwRlnLFjGKlzPu4hVf/6CtH+y3MSVfwCSB4H9556 oYGRco29inH4B8f+w7IouRpZXgu+JeR5rPVeyY76lNw+PUM9oG+WtH8LaKj1w2I1VjPRlra+Bieiw QyumGhP8Om57OeRacJHUYcIKDN+gkme3zE1NwptUpbbbZsQ6LAEnb8GvKEGVLzVKVRNdC3R7Y0zlf O+wNmkaFuAo3B8/0tN4O6uWOHKQfXPLqn8zOhTY326raNEOrq48geK2KXPeKadSW99Okzs/4oay4q L4Yl9RGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI8WP-00000003A6D-0Plh; Fri, 14 Jun 2024 15:07:21 +0000 Received: from mail-db5eur01on20601.outbound.protection.outlook.com ([2a01:111:f403:2600::601] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI8WE-000000039ui-10DG for linux-arm-kernel@lists.infradead.org; Fri, 14 Jun 2024 15:07:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=esQVn/X8nb4CP5P0JKIkk2iYK5YoonYSINiDaTfWWpxCBtR+Sc7Ok1cLySG7AuTxCefbqGiRYiCuT7tRALEriGRUmOeFjldxtbBARDN4sLJXjRgD84MhVWogQRgSeL6aRSO3EHmHauPBOgh0Na3xjrreFKVjzp7upKe828FPRVUbPGMxhJuHM0Aq5aR5hnryS+taAuWV4Hb5EQjIpdQInI1Nw9EImewNR1u5OXeeraGuLufdIbcFUSIHvUC8L1vDOzrU02bPAznMwJPxVFqHwrJO3JdBPUWfh+slstAspsYkHzYYg/YjPpBimkyQbXxQDzo4i8ssXFoUCYQYd4PwiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=KELo4iICDdoq75xZlnxNbKYIHquYeUyms8sM9HSKKKs=; b=e3rpRWBM7t+ixJWrxNXOd+IQsQdTcN1zisVmWOWovzDbVgvcQ8yEjGszydJ/TWuicn0ihUOtv5zahhJoKw4pl3fU0XLrXhmAW39ugkhucDgOaHlNRVxGRiUlBaOicDZjpDgLNvqosR5U7fiJSNl6A9gJAx8wobGFpzok2HMa6j0B7rn/pzbodIY3X00n1el9ei68Io8KZxFd2TxwMrGk2T0uNmpkx1kZ7jAQG3PTfVMw5XyJbVUWMir/KSD+DEByl74eV+IwekSR+XgRas0tdvmt66dTUGxoXUPr+/I9HlHCqtWU6r6umMEETIoJJ80BocQHT9Xfm8No5vnZp83mwQ== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KELo4iICDdoq75xZlnxNbKYIHquYeUyms8sM9HSKKKs=; b=e3CN7JbMxJ8XYjvKVDlXXcgVccDV4RJidy2GSPgdj38vJpfQszZO/obNlFXlsSruzIpzKb+22hJHy0QJJlPkhuJPZsjT89l+bOb02bMvKENFc/POO4NFtUF+2pL6ZKjvpMWRX3VF/tq3zrUlQHQ581yb7talXrqQO3F6ga+hqCY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS8PR04MB8215.eurprd04.prod.outlook.com (2603:10a6:20b:3b3::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.25; Fri, 14 Jun 2024 15:07:08 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7677.024; Fri, 14 Jun 2024 15:07:08 +0000 From: Frank Li Date: Fri, 14 Jun 2024 11:06:30 -0400 Subject: [PATCH v3 6/9] arm64: dts: imx8qm-mek: add pwm and i2c in lvds subsystem Message-Id: <20240614-imx8qm-dts-usb-v3-6-8ecc30678e1c@nxp.com> References: <20240614-imx8qm-dts-usb-v3-0-8ecc30678e1c@nxp.com> In-Reply-To: <20240614-imx8qm-dts-usb-v3-0-8ecc30678e1c@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Dong Aisheng Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li , Peng Fan X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1718377604; l=2711; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=CtkKNHUAo2fAzwGqCbTf9SwseCYd1w8VFFilR35ifTc=; b=t0TM9Q6g+eCkyAUjYKJQ5VRZvdmtFGQ6nmSim2X6RsidCTsoMHqx71E1tS1Z8szKQYA8u0yAA OInzyND/ZRJCZpC2k2cB68WSIkI1vzgqsKH2DC7E/lIoKyKj9kgVwpd X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0032.namprd03.prod.outlook.com (2603:10b6:a03:33e::7) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB8215:EE_ X-MS-Office365-Filtering-Correlation-Id: 80053fbd-043a-44d2-3203-08dc8c83a936 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|366013|376011|7416011|52116011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?SpAxnzqbyUAtIugjOKOFS7Rzpi4jnxX?= =?utf-8?q?YrYH0DV6QUFSn9tWyRbyxGFEzBoM0WZf+b/CNio9wDnoo38qXzRwolob68Oky1gsv?= =?utf-8?q?RogZakBGHTnUIHzosueCK0Mvl9svRYeuRROOOiRDKDw/uXay5GVErIqoMJj/CFsEl?= =?utf-8?q?A/mAGsMMX23ojJGlqXdFuClKzO29Ud7y/JIeJvzedQ0fjzP2CkbtNd+2XBDgSTc7d?= =?utf-8?q?Dvgu4IW45fKTPUvVRph0zQjCe634CeaVTXnnNk3Gand7xyP7jV1K/ChfhDvgypi5r?= =?utf-8?q?bobgSLtZzSi+jwct4VivJokFHqYG+GOAyQgsibUzvo3h3ZvzvOQLc8ON2SfZjsZL9?= =?utf-8?q?oMrY3/sdT2i+vUjwPjLiEyHFAru7s8Q6mUJRYAwajPVB8ZpiYsfcj5/OMEalz0mWs?= =?utf-8?q?5TIPSMcPQf0w97cvPxil/aMwNp0mVVEc1MH7dfD/8Qyqfn/N6x0aVOyS0SRYRk69D?= =?utf-8?q?lQsLDU++m67lY5gmEDEihou3hdvKv2nFqGudTynPs4yMBf0/ciDwA/DM52tEc89t4?= =?utf-8?q?blzCX+wTVRw/gjQGFxGO7BpupWXnZxDIaF5F48UySHBWhDOVmUj0yYLUaiOomoS0O?= =?utf-8?q?/i49+KrkHx8f/IDJp0fr/fIg30FWrFWLMszEVB3G6UD2XviY7D3/ntAr6lD6/nF61?= =?utf-8?q?hrCSfk7VoiTZxoBb71xCxB4b+QSCsLEoSheMKz79OQnmt19/vThllMYq4ABdTzp25?= =?utf-8?q?3vtHNnZum+KSrGz86SKFDyD72I74OATm7YyYr2MaEr4v+y6igmLKRDnwyTlcUbzU9?= =?utf-8?q?fUAUOILyZOubK1ILL+MAf17zteyzc4Jiv9HBnJ3vkKBcvBxHn80kWq3DhHJbyUBRX?= =?utf-8?q?ataL5lxCAysAwQ7oe/WHXPz0/crk52PxDm7BRAHniX4b3unfm8MNHb2SC/uHQNktr?= =?utf-8?q?+lRm+g7C6jr7FALD52RXfiFEf9igPjI1LRAvM7RUf6+l6g0FIBO29m6UBNisGchcR?= =?utf-8?q?76Y7G9a/0xB7Uh0TYQ5q7IGeyNpCDXlx+5pZDqgu0dREXDfImWAg/oTVfs7TmlkGM?= =?utf-8?q?gVICoEh+TkfXmVeCxfz3UjCXbxflDEo5QHsNHd08Myy3W2VgK9Jkvw6soPCgBOgqY?= =?utf-8?q?jfNAZbICr7wAwUBV+l2Z+rR2bMlPkSPxOLcKnIb/49+IOa1RTPf2Dl383wkzm9LDr?= =?utf-8?q?zGytne1mq9REJfei9YHeYaM1ySSwXwJthQFfNA1ykYjyihYAUF4ka0TZarV3836ny?= =?utf-8?q?4HHZEtfVbmUNZC+S6g4M7eM0FhEUEgu0iDtZqfvSlwjdiLrJ7vennQufuHeA471tE?= =?utf-8?q?ex1EcPeTL05JrS376huvjS+N9rSQjl2MY4LTZO+8RKSz7QHqy0teX1HI=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(366013)(376011)(7416011)(52116011)(1800799021)(38350700011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?lsL3RZwaVfacbNEyjHCnOD+KP6Cv?= =?utf-8?q?t8uvuzEDocAEXvP3zssU/aWVNZQSHRTrlikKOe65wJ/w/T8sYiyPoDZGfrtQ8Se5U?= =?utf-8?q?fKgAftxqU9OT22BNp5H0+VdkvmcCyQY4K39HfEP3Ii+cD1Ip7jEJsLBIF0NAYDhyD?= =?utf-8?q?bpENN0zB6baw1gYhd0ztEsXo82dvTvj9a7VRib5/bZfye25bnNv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OXv50BtFW?= =?utf-8?q?3MpJA1OpQZF60nKAENZyzFvTBv08tsjzFr+hGTJPRXgeya7pX7oSXOBrdpRw9NxRP?= =?utf-8?q?JkU+r13NpYwxAt7gwGJrn9U1vtkg1hpdqAlEoXmFDoayOc1SderOic9mJmEI2SgL1?= =?utf-8?q?inEzg9v1OYqKnJBGwo0zKZHQS2KQ7wNBHzYd9wygBWfNWkNEvkbrGNaksy1GgTVnI?= =?utf-8?q?umihZexiFmFczurcgH+AXWvBZDF99qZlBnJ2GFeYSxDvbiJhN90aT3HrL+BrTytK8?= =?utf-8?q?TEmK9+HBw/kfNy9xehJNwd++pqeLC/F//fR038VNyEWdTEa0a8W0iU9k+JucTnSB+?= =?utf-8?q?LM0GMaAuLDfOpbqkWU/duzF8FhniYRkttUAk6iUmw/hT8phzGqbwMJb0PoXuM/kit?= =?utf-8?q?gONy/K/3lafqvGGstE4Xa5/dA5E0zG8CsuuB1lcUfC2UCMmNGStE9+SkIIfGTtGnq?= =?utf-8?q?OYkM3+LYFRPM?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 80053fbd-043a-44d2-3203-08dc8c83a936 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2024 15:07:08.8233 (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: Fa2u8PhI/35WxsptgTvxmTlNCWwHSn6QvkPe3d6hnrSPsu/kXpO+CEKm+A7rJvmixD3xSgG+SScunEggP7h8Rw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8215 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240614_080710_330059_D9EFA897 X-CRM114-Status: UNSURE ( 9.83 ) X-CRM114-Notice: Please train this message. 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 Add pwm[0,1] and i2c[0,1] in lvds subsystem. Reviewed-by: Peng Fan Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 68 ++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index dbd478af2e474..3cf39c868e752 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -93,6 +93,22 @@ rsc_table1: memory@901ff000 { }; }; + lvds_backlight0: backlight-lvds0 { + compatible = "pwm-backlight"; + pwms = <&qm_pwm_lvds0 0 100000 0>; + brightness-levels = <0 100>; + num-interpolated-steps = <100>; + default-brightness-level = <80>; + }; + + lvds_backlight1: backlight-lvds1 { + compatible = "pwm-backlight"; + pwms = <&pwm_lvds1 0 100000 0>; + brightness-levels = <0 100>; + num-interpolated-steps = <100>; + default-brightness-level = <80>; + }; + reg_usdhc2_vmmc: usdhc2-vmmc { compatible = "regulator-fixed"; regulator-name = "SD1_SPWR"; @@ -334,6 +350,20 @@ wm8960: audio-codec@1a { }; }; +&i2c1_lvds0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lvds0_lpi2c1>; + clock-frequency = <100000>; + status = "okay"; +}; + +&i2c1_lvds1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lvds1_lpi2c1>; + clock-frequency = <100000>; + status = "okay"; +}; + &flexcan1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_flexcan1>; @@ -449,6 +479,18 @@ &fec2 { status = "okay"; }; +&qm_pwm_lvds0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm_lvds0>; + status = "okay"; +}; + +&pwm_lvds1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm_lvds1>; + status = "okay"; +}; + &usdhc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc1>; @@ -675,6 +717,32 @@ IMX8QM_M41_GPIO0_01_DMA_UART3_TX 0x06000020 >; }; + pinctrl_lvds0_lpi2c1: lvds0lpi2c1grp { + fsl,pins = < + IMX8QM_LVDS0_I2C1_SCL_LVDS0_I2C1_SCL 0xc600004c + IMX8QM_LVDS0_I2C1_SDA_LVDS0_I2C1_SDA 0xc600004c + >; + }; + + pinctrl_lvds1_lpi2c1: lvds1lpi2c1grp { + fsl,pins = < + IMX8QM_LVDS1_I2C1_SCL_LVDS1_I2C1_SCL 0xc600004c + IMX8QM_LVDS1_I2C1_SDA_LVDS1_I2C1_SDA 0xc600004c + >; + }; + + pinctrl_pwm_lvds0: pwmlvds0grp { + fsl,pins = < + IMX8QM_LVDS0_GPIO00_LVDS0_PWM0_OUT 0x00000020 + >; + }; + + pinctrl_pwm_lvds1: pwmlvds1grp { + fsl,pins = < + IMX8QM_LVDS1_GPIO00_LVDS1_PWM0_OUT 0x00000020 + >; + }; + pinctrl_sai0: sai0grp { fsl,pins = < IMX8QM_SPI0_CS1_AUD_SAI0_TXC 0x0600004c From patchwork Fri Jun 14 15:06:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13698830 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 86D07C27C79 for ; Fri, 14 Jun 2024 15:08:04 +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:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=haeK8I07Q7QcIqVN+q6IdsLyvhH9JoPZFR3uZWs4m+w=; b=JaO33fGS0nmex6g2zt9GEv1i30 tuLn2wPKeQJdeiTH+X4sMHXXD1SRazWHx01huixlCrRwEvugkR4piSlvTo5b9GvyFMDwKZb8K8puN LMXs+gE1VgZQd4D54osjqU7ivuPOEsoolFtGPR9fkBGbxiY0AUjkoVbZEB4UoUs7K3BIU0k468gTW tTEMTXvTAy7KSxYcHcFuSMaxCq3mUXRcUUNoqaXxQkOUBM0edx9UCocLeqOAxIMjUZSpdtaF79E0D 56MPVmV7rLwylGf9iPSdtvG50JSYw/3LJG/7NOePcoteOU+wgN0KwdT+u/5efzDmt2KrMVTWP9fRR oBCovVlQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI8Wq-00000003AN1-3CeC; Fri, 14 Jun 2024 15:07:48 +0000 Received: from mail-db5eur01on20601.outbound.protection.outlook.com ([2a01:111:f403:2600::601] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI8WJ-00000003A0z-1oQy for linux-arm-kernel@lists.infradead.org; Fri, 14 Jun 2024 15:07:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gCrwc2dYePDj6xb28a6n4uXrB0Fnapjt9+8NgbtKUgnP+a02863One7s0RAvqYUZ0mtIdKCkYMtFIlYZCClfWcP1VVu06BOBmjfnvvETcL2GegRva5447i7FGouMKihNfwDquc/Eq5WR33c3WrUPC4jZbc94YX39oJpMe65jaUJrQNurepPWxeWimeE4BwPxfY7GkavRgoUOPedLAbzxRHMZVss08CjotraqY1YmvLZU1Q2RtBn+c/y59y3KPKndtdcY2Qvd7c7x3ukiDuEXJlIEikrUMNFH41y038RRsJ0gVWCVJHW98QuufpSr11c+c6BM34XjSD+0qHMlgvYPxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=haeK8I07Q7QcIqVN+q6IdsLyvhH9JoPZFR3uZWs4m+w=; b=FsnIkLSC5RQfSBt9W8bgAyWwhmJ5/+IqWofqjDimgpWNhmkLAVyPOAl3/k7GKErlTsv/v8da/huySaHuGFDthZfz19ob+oZfMCXbII43+cfhtuu3l0yXQ+EoIjzVYlWRH4tDzfFeOdIcLJ48JZHr6jzy7seh8FweCa8QkDZj9YibzznxKQnrLD6EoI8BycRvZ4XTTYV9VXPdQG65y1hqL85Ul/6gZ49PTsMbB4T+ZvbZXpco2DmjC4wUzwZFsWEUO2AnAK23RUax1PcF8HfE2Icc9/r1J1BjWHp3t/xmdtUU+rZA6FEdssXzz75XHxNiQzpbv1UFQXpeSxoZfrV7oQ== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=haeK8I07Q7QcIqVN+q6IdsLyvhH9JoPZFR3uZWs4m+w=; b=MmQqfNj+xbSL3dvmtcBmCjKYnzIxExpvCszcyu1LCxYfuW8Osw59yu2jG0qcyZ38NKk+3jGmWF+loYluBw2R+iQDorpLLAiH20WTy0ahPXfnOmUp52qKzqG85CnklE3Kfm8DA8hOjIsdVsvvHxRgGu1y/LFtXKiauN4poh6Gq1g= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS8PR04MB8215.eurprd04.prod.outlook.com (2603:10a6:20b:3b3::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.25; Fri, 14 Jun 2024 15:07:12 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7677.024; Fri, 14 Jun 2024 15:07:12 +0000 From: Frank Li Date: Fri, 14 Jun 2024 11:06:31 -0400 Subject: [PATCH v3 7/9] arm64: dts: imx8qm-mek: add i2c in mipi[0,1] subsystem Message-Id: <20240614-imx8qm-dts-usb-v3-7-8ecc30678e1c@nxp.com> References: <20240614-imx8qm-dts-usb-v3-0-8ecc30678e1c@nxp.com> In-Reply-To: <20240614-imx8qm-dts-usb-v3-0-8ecc30678e1c@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Dong Aisheng Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li , Peng Fan X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1718377604; l=1699; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=IzehZz/tcy+OhZEkvv5yDy+VxEZsjK9N9TUy6La0efE=; b=K9UZTEKe6THELrDvKzOXS/82/j7ugGwgJmP1ZGKLkqi+BerBNISE/pHxOXgT/GufubKLQV9yn Mq8JEa9t7IZDt70cfpIBRdfMFP8RCSXAA9fMmB0hCgk/7a3+fQaNjL4 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0032.namprd03.prod.outlook.com (2603:10b6:a03:33e::7) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB8215:EE_ X-MS-Office365-Filtering-Correlation-Id: b5d855be-dde4-4700-e6fa-08dc8c83ab75 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|366013|376011|7416011|52116011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?dHVA6RSiNF/LU0EDqDq9SuE1sAXEtOS?= =?utf-8?q?f7eWGZQjBb5qNiDgatuC80W8Nz+E4hi9L0SU2CCM4L5kWO8jUPT0U9cUrikFNTaa5?= =?utf-8?q?XjgPRg9z2TmHKWQO5yiJ7+WAuTpEj5Ahrw0tQ0cPK416zuE5tEzmm+BeFHktVdbba?= =?utf-8?q?EK1fNPIzxErDz/fCBiwSrf88n04bwA7jLNhzqK3W+i4wXrNpNmwPywWQjFcfy+GhT?= =?utf-8?q?0C/H0NLJoleEN85NS9TzuH0fd2Oi+lycRk0j61iKLn6hd/P0KsJezBRCcwnOLCsbF?= =?utf-8?q?xJ+nHo3j0CBY1EEQ5+nVcaGNYeshD9k0OkI+qGlu70gVyP/Bf6RG8kETbBub7KV+R?= =?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?q?mltXROzRwIbtCXbS3O8EgykcGzI28XUz7Qf+6fc2Purxm491BHMCGsBwj6b5ubtMg?= =?utf-8?q?YFWJ3qstVVlp9R8t9U1OJ7W8smXkENWDL838mU5bRG/PSL//65KObBPA=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(366013)(376011)(7416011)(52116011)(1800799021)(38350700011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?X24OVQWzhRGzatVWJErzgmWWzxyl?= =?utf-8?q?YAD3FEuVAxF/lrwysn5ykMwpUYcYkwv5NUu0yPdM7HoRAWKZNEE0nHmEGr1EJNz5g?= =?utf-8?q?w4X+wOjHO/ir6YUzuqQgQKfFTGqHn1VEbDB71rRNVTwBczC8qtkv2Ov0TcD07AKTL?= =?utf-8?q?UiYYObbh/vwmmQ26RzvFXvAPz1hE6QXVYqb+KZ1yGolQRU+Vt2VZNFxA9yDneJkqt?= =?utf-8?q?j6RjalWv433UGu5jPvL8oVZ+I11FZbWkIfWter0yj+w4cKscn4YlMleksjqLs6jkl?= =?utf-8?q?kX7SIL2gfLmtUzgf7rWyBtC6EpeXYG5PJ1dQv19rNYj3HnCnsZuCL8WU/TfJCEvGH?= =?utf-8?q?PMvxITwchJXHsjvZQdoY7gmpTfRVPdAAlugYOfYkuO9MYle8crkutDu44G5+i6/zS?= =?utf-8?q?8KpfmmwrZExNThSbYxKELIuXCv7emyV7VVUoRc+2hJMkenxgF+IXpAusHMsEiC5bb?= =?utf-8?q?tFfNeMMVNHb/sgxwl+KzwYlyCiqiKBWp4xgxnBjETE76QrcEZgtlyk94629Rq+k5N?= =?utf-8?q?qF1ZybMX9Tgyx6JWXsr5Mg/PO7slBHb3guI5XpHS6n6eSPQb5j1EfY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+yGLL/p?= =?utf-8?q?zkH3veb4BRJyOEDUPmkdIfZxA8xvGcQD7nHNE3+G4ZDg+u6povAQUjdloRXfHuPz5?= =?utf-8?q?Gunw/v3pEUBM?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b5d855be-dde4-4700-e6fa-08dc8c83ab75 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2024 15:07:12.6296 (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: twNQ5ehOoWuAz2OIl75/tm00PILJTY7C7rULSolCex0LteuP9CAYjEk+pkDYCZcGdJEO3vdaJbjJPeDaQlPOQw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8215 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240614_080715_911050_864E2DE6 X-CRM114-Status: UNSURE ( 9.80 ) X-CRM114-Notice: Please train this message. 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 Add i2c node in mipi[0,1] subystem for imx8qm-mek. Reviewed-by: Peng Fan Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index 3cf39c868e752..e3a653be7dacc 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -364,6 +364,20 @@ &i2c1_lvds1 { status = "okay"; }; +&i2c0_mipi0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mipi0_lpi2c0>; + clock-frequency = <100000>; + status = "okay"; +}; + +&i2c0_mipi1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mipi1_lpi2c0>; + clock-frequency = <100000>; + status = "okay"; +}; + &flexcan1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_flexcan1>; @@ -636,6 +650,22 @@ IMX8QM_SPI2_CS0_LSIO_GPIO3_IO10 0x21 >; }; + pinctrl_mipi0_lpi2c0: mipi0_lpi2c0grp { + fsl,pins = < + IMX8QM_MIPI_DSI0_I2C0_SCL_MIPI_DSI0_I2C0_SCL 0xc6000020 + IMX8QM_MIPI_DSI0_I2C0_SDA_MIPI_DSI0_I2C0_SDA 0xc6000020 + IMX8QM_MIPI_DSI0_GPIO0_01_LSIO_GPIO1_IO19 0x00000020 + >; + }; + + pinctrl_mipi1_lpi2c0: mipi1_lpi2c0grp { + fsl,pins = < + IMX8QM_MIPI_DSI1_I2C0_SCL_MIPI_DSI1_I2C0_SCL 0xc6000020 + IMX8QM_MIPI_DSI1_I2C0_SDA_MIPI_DSI1_I2C0_SDA 0xc6000020 + IMX8QM_MIPI_DSI1_GPIO0_01_LSIO_GPIO1_IO23 0x00000020 + >; + }; + pinctrl_flexspi0: flexspi0grp { fsl,pins = < IMX8QM_QSPI0A_DATA0_LSIO_QSPI0A_DATA0 0x06000021 From patchwork Fri Jun 14 15:06:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13698828 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 167E4C27C77 for ; Fri, 14 Jun 2024 15:08:04 +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:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=s+3he17Q1UKFPYHjVKWKfzmbNcSbTss13TaJlIsutKg=; b=13mJn5MCgRAr1ncD8BTwRuaQi1 NRtureJmSLKtpvt5uIRkLO5+a/qqt9idkM3AFo0RVd3hBV+QAO7Vqji8Ghz3/CAWhzmXE56GBjYR6 ufNSyZANfTedH35Ol7uRs+hTx4qSJU7TuVDV8ObjzFGHf3filTX9xUkFmF4CTSbV/NAvZE0P0YT6d NLgOaTO1BLpYoCTqHChnhYlZqdvql4DAhgoDYJXeKYFBWK5B5wbnBjdkJhAfcGVvpr3Tz8XOqfrCR bUDwTboQCKxfFJmqnw3B4ohpDobX34rSKMwnu64XG8p/D39QtuqgYAPJC9qtIuaNnOo58D6GGuSKa hw0EMS7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI8Wq-00000003AMT-02Mp; Fri, 14 Jun 2024 15:07:48 +0000 Received: from mail-db5eur01on20601.outbound.protection.outlook.com ([2a01:111:f403:2600::601] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI8WM-00000003A0z-3OzH for linux-arm-kernel@lists.infradead.org; Fri, 14 Jun 2024 15:07:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lqvF2DKeXqAxRC2scF5Lqw5MKgvyRdNb+hw2Prn16uQyPxxcly2G+5lHvoMWWaFz3NG8Wa/CvURXcE8Qk+L/X0KGJqbLsH3p0gAt8du3OxJXg+yNMsedz1aehkCQfKcwAIc5Uwh0bua1UUH4J30fsaDHmIyj/D0mwX251XBltkRdZ2Lgk0U8plYByQZ35OqAEPRtY0GwLuy/G3PtKESauz92/wqe7lziqsFhNgE9BSgxMdoQyAgnNMlHyV5GjwLNZ3hPowSgslIx/sAFXBID+xU8zBjOulwxTIi1msCr6NlLf0rBmlWBU4NrX6K3FKz4zzDXqdkOsBa3YSbdNTb0SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=s+3he17Q1UKFPYHjVKWKfzmbNcSbTss13TaJlIsutKg=; b=n5EjaRJYiK/VmPlp5C1Vid0ZyO7HUjXayy+s/rRrEpunqdONOD6JbdZfkTOAyiFJ5I+a7zlGp/Lm8tvLQbAgvTXtYhiXkBUII1UMuSRuK9aIqWV+AnsPMK0rn7rfRC/DEK0rpGGdPXPEwK9z6+BtjKBXyBNz43R+yIFFlATjcjGtO5I2sTkKU2n2EorTeN+mX9WnFzO+5qjZPh44SxgfNPBPbNCOwr44RNm+b2BUfP1a1GIsMtMBLCE2NcMZcq8ckDSkCqJzxPHeIgvW7NUrCaACOPUzA1E6JxhYxFp6p6jmwnplO665Mw6oJ8aSCAD3qke5MCD+1OLg4JM2E0A2XQ== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=s+3he17Q1UKFPYHjVKWKfzmbNcSbTss13TaJlIsutKg=; b=nLXWQHbTUjZmE55IcQtEbML2eNoQg1GKfqHQhw9B9Gdbzai5Y30w4NqOerdrNVDjgyOJb29/my5pScsSmrQ4xYpdL3qofwQzX+sazn64ieN+5EAOvQOAgRnLUe0ztBau86vq4yftkILLQCMLOr/czRXjJFkWrzTLhu5hPIQpNo0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS8PR04MB8215.eurprd04.prod.outlook.com (2603:10a6:20b:3b3::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.25; Fri, 14 Jun 2024 15:07:16 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7677.024; Fri, 14 Jun 2024 15:07:16 +0000 From: Frank Li Date: Fri, 14 Jun 2024 11:06:32 -0400 Subject: [PATCH v3 8/9] arm64: dts: imx8qm-mek: fix gpio number for reg_usdhc2_vmmc Message-Id: <20240614-imx8qm-dts-usb-v3-8-8ecc30678e1c@nxp.com> References: <20240614-imx8qm-dts-usb-v3-0-8ecc30678e1c@nxp.com> In-Reply-To: <20240614-imx8qm-dts-usb-v3-0-8ecc30678e1c@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Dong Aisheng Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li , stable@vger.kernel.org, Peng Fan X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1718377604; l=907; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=x/N9UKbuC1PtJqldK9l4xcfA2yq5Uz//yB04e42/deM=; b=Gpq15OFzLOo7ay+0u8pIHshB5mhKP3WI5JvKkRWXx5mwzDY0f9h/JOTiGiBorqLi+nSZaji1G diqqmbwjr4uBHoqNKS8gYBe+juYQgxpdgR5oqjTF9bDyEDUclsUb7NC X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0032.namprd03.prod.outlook.com (2603:10b6:a03:33e::7) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB8215:EE_ X-MS-Office365-Filtering-Correlation-Id: 5e096678-a062-43a3-b292-08dc8c83adad X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|366013|376011|7416011|52116011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?F6yGizUvU/UJiFf7LgYwyaUjU+f0CI5?= =?utf-8?q?DjmU4MIxIJGi3tgXWIKwWLr0ggUxquE39OKQnEy1S4zikYcdgquyz696WClxdFlW6?= =?utf-8?q?vYBlq2nMCrrf/jpifH/vFwrdg9Im8OSC6HBUkWFwYg6DN5VJ9XPtMakbV8rZUgGeX?= =?utf-8?q?q/kXaSK2NxM8IRhiF+6qkGZP0uGuhjL4E/6gW7e5kcLdNTMp8ed+oU4N5fGdx3fPf?= =?utf-8?q?ez5voSDpMTQHZN7vMfY2OCCJzEqzv1nBmbnBGYxKzAB7/vI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yX07cPVKHHH6DYo3OGkshEn6aPn?= =?utf-8?q?1Y+v4dKULXjWFMEiNCpKAF49UjzRXmqE7HQz/ddJTSNR2ZpVTVmKaSDSv/OPJNnff?= =?utf-8?q?toBBQ1rrwwpmeWjZD7KD4pVV7iDzQpedA9kiAFbuLTL8ne9qGnj8x8GiM/G46bOJx?= =?utf-8?q?N0MyYK667d3XEWKCvQ+BeSLlkAji/UuY/2h368DXfNyIAacD9UNEZifU=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(366013)(376011)(7416011)(52116011)(1800799021)(38350700011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?8aiAq2S/AMb0Yug0mrZ/xs7NYaiN?= =?utf-8?q?VywqFaGQbpyTMuEZVzbrulx4Z/cg1eYGM3kI4leQZKdG2OJ6oPOqUc8u0STODZE6B?= =?utf-8?q?/RpBPBPvKXYOplbtXvDSTqhnU6HcYcDsvIUfA+/bu0tru1P7lJ/ZlfpdS0gyWxYrZ?= =?utf-8?q?TQkQMpfM8Tm+S+poOHzr0LGzvdaza7OOg95g3eccjxXcPKLHQmlcv6DZbG38DKLng?= =?utf-8?q?xuvuzwOfxiKRklYL4KJhtYeofkRCq/xxP/j/XsuXfy9kPn8C2RkHXxtuk230//vR6?= =?utf-8?q?01vFr1pmg35d/30uUqy5mPSK3Ad5EuAdspnmBvcAr7G6hn1RO6aYmSk6DrBuuXvmY?= =?utf-8?q?0J/r3mKpDsq0ZgwKRpPmZyweAnFi1WxITElbnqby+pFUigWqAUiBnE3Ao6L2Gvvhx?= =?utf-8?q?LJqI2vP4f6pXttI/wFMEAHwdCr8qA3tu/81AKueiusI1NINyXSwG0jjqHsQR66L/V?= =?utf-8?q?Jke6pj5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fXkbsPNOaJPJgh4+fv65Y8nMnkN5vl9U01u5jJoLbilLHp5SUxTL8BZ8UZ+5?= =?utf-8?q?BCltmCxflbBiqP+N45gwRovUsoTBMReFkS6cc7DJ4WYalFOkWScdbz0PTdfd6cS63?= =?utf-8?q?KMXLiMp/+NZNU0MjMtcGUsmq87gly5N5PHlnLikqvQSkbIBPeGHt0ka0=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5e096678-a062-43a3-b292-08dc8c83adad X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2024 15:07:16.3716 (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: h4MeI/qzCZ75PJeGtvWCqhiL81FBzWs32zV3LRnRcjjCbxDEzqCrmPf8OCR186CRFEmiQLpUhi8NX48zfFkjUg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8215 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240614_080719_036912_AD2D33B0 X-CRM114-Status: GOOD ( 10.71 ) 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 The gpio in "reg_usdhc2_vmmc" should be 7 instead of 19. Cc: stable@vger.kernel.org Fixes: 307fd14d4b14 ("arm64: dts: imx: add imx8qm mek support") Reviewed-by: Peng Fan Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index e3a653be7dacc..8ab75cc5b9aff 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -114,7 +114,7 @@ reg_usdhc2_vmmc: usdhc2-vmmc { regulator-name = "SD1_SPWR"; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; - gpio = <&lsio_gpio4 19 GPIO_ACTIVE_HIGH>; + gpio = <&lsio_gpio4 7 GPIO_ACTIVE_HIGH>; enable-active-high; }; From patchwork Fri Jun 14 15:06:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13698829 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 05355C27C6E for ; Fri, 14 Jun 2024 15:08:04 +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:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=p5noNf9OgsZyK0Puh1BxlGX/SHf4fS2HLp0jvD3F09k=; b=r+8T97sKT5wprbkH5Jg1/ht40f MGle1+9dpUnZCPZliTb319zHlV8HoxtSRYo7flvhXLpmJoFNW1uQwzv67kZV61b98eRHO+1mMwrTn HhGXrfl8QEvlcDITU17YxacuLjAKsfMdWL60FrBp45afDmHEXXwU4zqt2k5cZXtX+BRvhw2TavBtf yoGoy9NDvDjJsof9BaCLgmb5yxZV/KGEtL5TP4LKY6hnJU51lZTzRSx4XkUyFZJxstoApAOgcG+Zz NZO9WaHcb9Y6qmPgUkSCz+OROwX4qvI2DAmsxtyom2isx0MBjz+0SzyQylVR2tygzM+hXkZoJxBWf IhgsJtIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI8Wr-00000003ANp-3YEd; Fri, 14 Jun 2024 15:07:49 +0000 Received: from mail-db5eur01on20601.outbound.protection.outlook.com ([2a01:111:f403:2600::601] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI8WP-00000003A0z-0jF3 for linux-arm-kernel@lists.infradead.org; Fri, 14 Jun 2024 15:07:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I99rrgUC5SeOsXZnpCQg8H+txSNtngp4ybOau5T8K0oNw81U09HTZBQLDSjF4xQOTZwpM3MV/bT8PFGKVL3CG4OnG0Ia4kDHISKm6V6yWd5bsJHv8zoWGZDz0TF1SnOSzy6TUum5iEByareVe/TYoZwnUkcHB0jwGbsdAZ/i7kZMFPgRMKKon1GEC7B+4N4UIgw3j6UpE12EVblnS3nESVQdSQ/Z0OuYHd6wpDbeTfIK8kaStMSI3rJ1p+EemgN0FqUyOT0iyYmSQBdqedA96+axfYlfk2eVlz8bQE5Ugj9S6cjUx08Z+y9z1tzeGn7dHZ0MNImmo3QfU6AZxaJhRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=p5noNf9OgsZyK0Puh1BxlGX/SHf4fS2HLp0jvD3F09k=; b=YJrqfKvzPPYratadmALRJ9qJtn0XfxW4glMZfs2uZtZKJRpgWG9vYxT7xgM6BIh3HTQ/ozFGzYNsQdPB/rgzp7R78Tdq/kutteh1MTfjtd1sInbQ/iwtozR7LdJsTQiElLHAMJ5vsn4uWXxUuziNbMHFdyRowtY5Y7q0WZxdBpjEhEcDTfxIH6f95/cOZQzNrPBajeeW+upLA3bvTP7ywyONbW4iZrg4qp4HIbYhjY5yhbIMoSX2tDoJIvE/jHnNZ81VxlPYDS0ecRipmrynMWpiIHu60Jbe3S7hmXrxtXS4Z7ZPlR5NQW7Eyb3FbVUR2vCse5SMa1pGwzj7X6l3sw== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=p5noNf9OgsZyK0Puh1BxlGX/SHf4fS2HLp0jvD3F09k=; b=ntARhlS89PyAkb7XsVBmWsfxQEsyIcMn8b9IvVQvgJd44FUSZ3zh2vHquNrFYVnBzPbJIGYRAOiDUX8QrG1jpda9cGZDugP9QB5u9wfKYI27mVkwJqDFS2sa0PrUxLNgXku0NyzVA+pUBQ7zRLUcYWEKfdgQ95zImz1FM3Ll/W0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS8PR04MB8215.eurprd04.prod.outlook.com (2603:10a6:20b:3b3::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.25; Fri, 14 Jun 2024 15:07:19 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7677.024; Fri, 14 Jun 2024 15:07:19 +0000 From: Frank Li Date: Fri, 14 Jun 2024 11:06:33 -0400 Subject: [PATCH v3 9/9] arm64: dts: imx8qm-mek: add usb 3.0 and related type C nodes Message-Id: <20240614-imx8qm-dts-usb-v3-9-8ecc30678e1c@nxp.com> References: <20240614-imx8qm-dts-usb-v3-0-8ecc30678e1c@nxp.com> In-Reply-To: <20240614-imx8qm-dts-usb-v3-0-8ecc30678e1c@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Dong Aisheng Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1718377604; l=2977; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=BGdAl9Cw88q5CXYFPKaVtp4lX6FlBfRQpGYgJfGNwyY=; b=blX31YUXn2UbZF750AeO3/f1ez/VoTJgh6ww7ga4wBxu+I2h4DKgrZ+DX/ILFr/yjvsjNbHdN ROKNXC5PY15DD6ubZdMYHKnYb83g4mNW1fmPtrxsqqisJE1sMtyLyRL X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0032.namprd03.prod.outlook.com (2603:10b6:a03:33e::7) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB8215:EE_ X-MS-Office365-Filtering-Correlation-Id: 912a6e04-6984-48c2-3d22-08dc8c83afab X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|366013|376011|7416011|52116011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?LRURUfu7o58uov5fNa3mJAX4UWVldW7?= =?utf-8?q?qNGy72M83u4ZeF6PNaHSI3/NusfUBji4ox5kvWtAfCimM/5X9qpKZwiLeyk3G+F93?= =?utf-8?q?UonuI/rTLhWsKG3zSf2AXMngziR54NdhRwXGfBz8SYuQPuJCtaeoV8cY/dK2Nu9Hz?= =?utf-8?q?s4xyrkW57Ht9MVWUJB/48A+iVV4Db8UR58vqSYC2/Xe+C3HDmkI6sNHqcc2KZ5ihn?= =?utf-8?q?yiHXy93DpGq39P8ED7nBlE0mg9hSMssnQiSEsOKVmG+kivXvO51TEox4kLb27gxYl?= =?utf-8?q?sCr4EN0kyfgBXxtHmsxB2GgoHX8Qq/L8kfjZ24vj2ng7JJoApv4zB5DNhwzSiTFgW?= =?utf-8?q?3nqXxpKEWbVUknPCORl23Lot6z1gGNEf+OJMgb/QVhaOuy4uwLx5JEUL/AgwL2VBJ?= =?utf-8?q?N4WjgpzxKOuJFS+k1qvene01SRgYspPbYWyPwFiv/gZ0smChrXg/FCkDFgasPv5Bh?= =?utf-8?q?co5FyEwvRhvRH+955ETaMYatME8BlK/mRYu507YgojvIQuBDTmyvfGcCvEXRSjlHh?= =?utf-8?q?3p2KmLgAqUCAETus3bhGz69zZ+j7Xg3MR2hmAN7GF9FKqsDLixh/RZFZyZi3Xd9XG?= =?utf-8?q?ZpgZRLZkEg2HE/z+KdU6NyrjjeNVCoEG/C7L4Xh7BGd/HoBwbZWuFie+n73sQq2yM?= =?utf-8?q?oYV61fbyusu7n68YXrIpmJ2ku6MRKEPh41F3hbuUYwvd6CiisfSbseoOjaGvfs74L?= =?utf-8?q?+6+m3wk3n1Go/ANEmNbIiyaSyL/RaNXTSChM0HkEyjAIiWoRiq/LGWjZ2gmMDaSTq?= =?utf-8?q?jSvgfIJsYlppmBzESzTkv+T6xVXnrdtukG4xo5B+1r65kQrqR2NOqOFW43MgB1n2u?= =?utf-8?q?bUQumUgl48kdnTq77x4abJG073xcqT2ACfM93HXFzZYRXBTIVaw00y+sE4PFKWv4o?= =?utf-8?q?ePav5oV3QgUdpxd+waj3mEf2i8L8eNrhMF15WDUD4X6RZpT9LdKbqbY1t91fLjXbV?= =?utf-8?q?x4YSBVjl/NpjGLUrVz4CJU7DF2B5AvdgGysVT30VilsZZLGRI4wsDN/oCROPAo+6b?= =?utf-8?q?fQJs6tUwZ7ZvLZBAVoJ3r0DDbETivy8ogrVzY2C/KJoyNgNjyKngjze7NTeNsX5bT?= =?utf-8?q?n2rI8G1mk/i+9yYHiSsuMS2E2g2YFD3tRC0uShMNVRMMUccWUruANk/9rR+QtJj9/?= =?utf-8?q?C8fKlLsg7vMwlHQ1fhg6vKmKzkvlS6WDGna2NGhTcHeh5Cd1LkEtQ44WfMgef4oGP?= =?utf-8?q?y2KIiZzxvJKX/eML1ezbqqbfSZYQLycLLCaX/n06SQU22VpzlwqcuAiQLgr6/SSfv?= =?utf-8?q?9aXI7kRjJf/E9AHEENcbne/cKR0zz0JkDduq76MAGBVGKcXhcVxWfNZU=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(366013)(376011)(7416011)(52116011)(1800799021)(38350700011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?8p8t6fMZozEDSd+TCTByqrak1h6e?= =?utf-8?q?aOkMCblw2XcH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A0EQNyOdwHTOZ5wTGfsnsIGCkxYmZE28z44a2NYp7fewDv5C?= =?utf-8?q?MtC6QgzGdDVaEzlbQmApKp0kyJv7M8ZecFngz//18esx2DhxUGJRS8eIR1DXGd/Io?= =?utf-8?q?xm3GUv1hGe8TvPNrWfpIteHVtti8M4I/IftwRqv5Rw0sJihA4UQ+JuhAZIfKHgBRr?= =?utf-8?q?2YFZywJjlhsCdpHncQ3IArI7TadbPHRYiiLQEaV6WX5EXcibzEkFPKiI+my+JvSQg?= =?utf-8?q?qEhJGfBv4yCsRKeA5iTxkIFO8yutfACwhCFzSmUUHJ9Z95+Y28mtxGS4TIaY20d9a?= =?utf-8?q?2N+76hHK+xwS+3U2jmuxfpHycpLyGydui5w3K4glDXJw9cOanOSTSa/tu7G+wY6UY?= =?utf-8?q?byhTLo7D66/s4Y1pnrRKz4hyJCBZowP5T+hFACMNyhLGrGbfnEmB37l1wm0sUmjJa?= =?utf-8?q?3zUryBZ0hkHDjARF19BxpzKI/zmEgizdZVPYJ6CflHyYUj4qBmhWJQpYMWgLe85Po?= =?utf-8?q?eJkLPRI60BxLg9Vuq0oDuDyevRbEGRoiGpYFrIqsU2t18TUQlDxWDqsz55yzmE2Ob?= =?utf-8?q?QhtPqjSqcld2nZJ/6uKQxmrNhI1J5f0JXf4QITU6FBYvhzFfkJqSTrgA=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 912a6e04-6984-48c2-3d22-08dc8c83afab X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2024 15:07:19.6579 (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: msoIiTgGQIX2LNAWutrzO6yBa2GVhgATyELuRtj+Y3CzofTxEU92do8slBW2XIDHZ8cVoBD4JIST/vOQdh6A6Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8215 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240614_080721_363293_48709591 X-CRM114-Status: GOOD ( 10.05 ) 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 Enable usb3.0 and related usb type C nodes. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 87 ++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index 8ab75cc5b9aff..0f4132f342d89 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -6,6 +6,7 @@ /dts-v1/; +#include #include "imx8qm.dtsi" / { @@ -109,6 +110,21 @@ lvds_backlight1: backlight-lvds1 { default-brightness-level = <80>; }; + mux-controller { + compatible = "nxp,cbdtu02043", "gpio-sbu-mux"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_typec_mux>; + select-gpios = <&lsio_gpio4 6 GPIO_ACTIVE_LOW>; + enable-gpios = <&lsio_gpio4 19 GPIO_ACTIVE_HIGH>; + orientation-switch; + + port { + usb3_data_ss: endpoint { + remote-endpoint = <&typec_con_ss>; + }; + }; + }; + reg_usdhc2_vmmc: usdhc2-vmmc { compatible = "regulator-fixed"; regulator-name = "SD1_SPWR"; @@ -321,6 +337,44 @@ gyrometer@69 { compatible = "st,l3g4200d-gyro"; reg = <0x69>; }; + + ptn5110: tcpc@51 { + compatible = "nxp,ptn5110", "tcpci"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_typec>; + reg = <0x51>; + interrupt-parent = <&lsio_gpio4>; + interrupts = <26 IRQ_TYPE_LEVEL_LOW>; + status = "okay"; + + usb_con1: connector { + compatible = "usb-c-connector"; + label = "USB-C"; + power-role = "source"; + data-role = "dual"; + source-pdos = ; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + typec_dr_sw: endpoint { + remote-endpoint = <&usb3_drd_sw>; + }; + }; + + port@1 { + reg = <1>; + typec_con_ss: endpoint { + remote-endpoint = <&usb3_data_ss>; + }; + }; + }; + }; + }; }; &i2c1 { @@ -525,6 +579,26 @@ &usdhc2 { status = "okay"; }; +&usb3_phy { + status = "okay"; +}; + +&usbotg3 { + status = "okay"; +}; + +&usbotg3_cdns3 { + dr_mode = "otg"; + usb-role-switch; + status = "okay"; + + port { + usb3_drd_sw: endpoint { + remote-endpoint = <&typec_dr_sw>; + }; + }; +}; + &sai0 { #sound-dai-cells = <0>; assigned-clocks = <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_PLL>, @@ -791,6 +865,19 @@ IMX8QM_SAI1_TXC_AUD_SAI1_TXC 0x06000040 >; }; + pinctrl_typec: typecgrp { + fsl,pins = < + IMX8QM_QSPI1A_DATA0_LSIO_GPIO4_IO26 0x00000021 + >; + }; + + pinctrl_typec_mux: typecmuxgrp { + fsl,pins = < + IMX8QM_QSPI1A_SS0_B_LSIO_GPIO4_IO19 0x60 + IMX8QM_USB_SS3_TC3_LSIO_GPIO4_IO06 0x60 + >; + }; + pinctrl_usdhc1: usdhc1grp { fsl,pins = < IMX8QM_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041