From patchwork Thu Jun 6 18:46:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13688896 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2044.outbound.protection.outlook.com [40.107.21.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D856538DE4 for ; Thu, 6 Jun 2024 18:47:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.44 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717699644; cv=fail; b=YEBNarw/o6FcSw+xUGSvL1OGTd3JzC1IM7CJy7lSsZA9YROxyX4yAsfZhXI/tmM7NzCqNNH2SngGdkCoZt/Q0tS7s16BmB/qS+e9zPo3QpUvmnHTaHORt9721dafb0vIA5Zlc0cptniLmuI629Ur/YtPufwz1dXAEU8Hy5uQMG4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717699644; c=relaxed/simple; bh=HxqilMpkOUYtT6M32FAj6QHaT7m1xfXbT1CeKuw1Cos=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=EBBiFqn3nngyfRGISq7qx3uh9cHPrZxBCUgpo4bjSIyOJZS8Cgvae2TxykEECf+B8K3XlW/ALLs+uOb3iFPcckTBm67QZPmhS8uScQPtr7ciwRL7nO3GwaGhIece5lIKjsP9i61w4il4QbR3Eo6LQFypyrLAujMl+ntnxfNPtHA= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=heMxl5Rk; arc=fail smtp.client-ip=40.107.21.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="heMxl5Rk" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IuhWzSw59rYc9NMlyaMRBgG/MDmnMkfVE4A7lSOo0tpZAOi4l7FJGul1A8CgZPJTFjGa/V74VX4amwVWgN/fYvnAjN1Uc3OCF0t89jRxhpu038xkhUZ+WedzqMzmapbIQVPTmwt1+Mz3a+QbIhM2TZlsUh3zfZecdgQgEohhQl6/uYDUx4CbsFVLqgTAPWnmRNT8vzhNAboey7d+XZTB8xWTrNX9UGsV5Vd9XLW7jxFW2Z7zGDrnyHGeNZCRdjtquMS7Azno/ROGpzg+9hBGgv5FPUa2nN+EQvujNoVxTfLPtpC6jvyhGoamir86HVZrwPN2se3n9+7O2eQLRne8Cg== 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=eEr4H2t/FZhrOLiRv93baGt2D1M7/Y54CPZ/HyC2GX4=; b=fYxO5JUacFsl1ayXnTGxeskiotouZp7TRz1P29/Fyn1lw+lMxZbZWoFU8AomfVJJv+/XXill71HFKYu/UZpdtxHCfrwsugjmVWK7L7qXOs90HT7gTbg3RkMNuZQEyDAVCfb8ijCHqY3g+SIGCnkjTaiEYZYD8DycmvK4cwl516u68ak4VlySg6PJSjfU7Bh/SBU92MnMWkQHpXFdGtXK7QhwXnK6Gq28JRww1UEu7BsWgC0U45BBsNEGXB+TOZ24D17W1/gGMDQPcUella/WyZSF2vhxmWqIz4P00/yPMidDm/DxaZqykPeqOiGVWRlATvxqPVy4sR2dyK5kdmCCxA== 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=eEr4H2t/FZhrOLiRv93baGt2D1M7/Y54CPZ/HyC2GX4=; b=heMxl5Rk6W3Ek6t2n9nYt1kAuuHCFZF8hr7R1+khkIjAInptfRKBE1KXP1I1DY75t6EFCX8ecEfFuFrSotTbaz1PMHe1LpeG/XSxDRU8ioiLmJhEJMfPtjYfNdBEx8mmmdZnUPfZ8k9myx8qRGqYvHcZYqP+Qgj1nwjsfD9GkWg= 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 VI0PR04MB11069.eurprd04.prod.outlook.com (2603:10a6:800:266::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.27; Thu, 6 Jun 2024 18:47:18 +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.7633.021; Thu, 6 Jun 2024 18:47:18 +0000 From: Frank Li Date: Thu, 06 Jun 2024 14:46:55 -0400 Subject: [PATCH 1/7] arm64: dts: imx8qm: add lvds subsystem Message-Id: <20240606-imx8qm-dts-usb-v1-1-565721b64f25@nxp.com> References: <20240606-imx8qm-dts-usb-v1-0-565721b64f25@nxp.com> In-Reply-To: <20240606-imx8qm-dts-usb-v1-0-565721b64f25@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=1717699632; l=8595; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=HxqilMpkOUYtT6M32FAj6QHaT7m1xfXbT1CeKuw1Cos=; b=6IdTc3M+2FeZeytZ8ahGB/9FuxJ6JzV9l0OK/B9EwX/QyE8EKS48Spqg+WQ0v1NINjgFVsMYZ f4zvGOZ0eInBtZIfWMGWui3onfdgftNhfVjmIVystIaAdAVzazJpkVA X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0178.namprd05.prod.outlook.com (2603:10b6:a03:339::33) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI0PR04MB11069:EE_ X-MS-Office365-Filtering-Correlation-Id: 4253d309-c05e-4b00-2a8d-08dc865917a3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|52116005|376005|1800799015|7416005|366007|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?XW9ybog/4yTedBqbanw7Se2IZBamZjk?= =?utf-8?q?EHhkNYHErPuagwMUjV2/TPFZDX2dsfvNIBT3ACYDyQnIONdL8ME6WSmwYjSzbTdD8?= =?utf-8?q?xbfXjhYgt0rVEEZUbeFts8tQKTb5o8XzovT/DoS/ivibF7l5doDPoGLuh+qlQDUub?= =?utf-8?q?4KHEZLz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enLzI4OjseFIi3RrD0DmpvWlcgp5SctognXA1?= =?utf-8?q?20WdC4tqWbB7D4cSsuEgWRsRPfYjfe6vp8rtRU3fACveROQ2QdECi7rxxJJTiQjgA?= =?utf-8?q?MCwt0IvoCeiff2jfqyowu62B+urkcOFEuhWP303h5clRQ6y1KDalNEnKYv6VZX+Pb?= =?utf-8?q?bxwzTag89pLJb5OJ3/OxxrinD+IwlEtf/2eHI/Rz8qydAhrG5mFrzB/20AvYPVhZ9?= =?utf-8?q?s58abc5OIB4zCktnBcXzfTJZo01FfHvBg169ITn/aSzQQhJK1c9I5mps=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:(13230031)(52116005)(376005)(1800799015)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?zRFRw6YKLpFDBLV5NOn3PGkvML/w?= =?utf-8?q?t53F0f3aqEjtirYrUDk/bj39l9ZxtISlq2jZaHvTUpwfjW0PSkDOlJqbHcXr/69Or?= =?utf-8?q?bmIQ6a0O4IQ3rieVv1xO8ETzNBNX4HNQEXUARvCbJu208eQG7eWa5Q1kKkbogy5do?= =?utf-8?q?DceifW/U1sjUl8nbXTT6ArOzltms2kEyHyB6/megJnOigBAhqLtRc/IYLO9ki042a?= =?utf-8?q?0wZDMkQvJM2ZeKhQ6mBhE6RjsQ+RtGxGu6dzQ0P1aH3B6hruWH59BD1xRl8vcLtEl?= =?utf-8?q?0TCx0JFzzhctM4x7o/f7JhI8mjnCaya9xCLnb0eK/bcVYwJuJH5RORKQxVQPXNi2R?= =?utf-8?q?Hpw/XOfNjNLedp1tp2WhNZAW/O3bL4uhvtcNnebIxlQO7vlrzdz2wgfwZzStJSZkB?= =?utf-8?q?lI9ghyAc+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q?dILDwPxowOT+QfEoCxte7RFwmICa94zCPktRShqfGN5IfwzYPVCygMphErSJQ785D?= =?utf-8?q?urbbJIq7im/r4VARegvVvbCnnCHIofjm4q4a/BS0EzBNlsULRNURk4S0iSbOhe6jY?= =?utf-8?q?54+i4u4r5rppNWXTqdRwxTmeaqZYu5nX13WZGphLNmK49PX/D/gy24j20OWzyef7Z?= =?utf-8?q?atj7RHtE9UGgghVbnxn0sPXKphFq2kri/8sFIM3huFxusSuAx31dAfFDUE1ig0qb1?= =?utf-8?q?7GxqCIrdDCsC?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4253d309-c05e-4b00-2a8d-08dc865917a3 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2024 18:47:18.7279 (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: XqdTubS9kKiV62gSbm0e2Z3dHVBilvaffQ4uoPfEyYbfwLMWAQr+bOVWdOVsfS92vsNNpKbo9n8ww2XGBr0/8A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB11069 Add irqstear, pwm and i2c in lvds subsystem. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-ss-lvds.dtsi | 231 ++++++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8qm.dtsi | 1 + 2 files changed, 232 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..eb8208cddeaf9 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-lvds.dtsi @@ -0,0 +1,231 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/* + * Copyright 2024 NXP + */ + +/{ + + lvds1_ipg_clk: lvds0_ipg_clk: clock-controller-lvds-ipg { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + clock-output-names = "lvds0_ipg_clk"; + }; + + lvds1_subsys: bus@56240000 { + compatible = "simple-bus"; + interrupt-parent = <&irqsteer_lvds0>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x56240000 0x0 0x56240000 0x10000>; + + irqsteer_lvds0: interrupt-controller@56240000 { + compatible = "fsl,imx-irqsteer"; + reg = <0x56240000 0x1000>; + interrupts = ; + interrupt-controller; + interrupt-parent = <&gic>; + #interrupt-cells = <1>; + clocks = <&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_lis_lpcg: clock-controller@56243000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x56243000 0x4>; + #clock-cells = <1>; + clocks = <&lvds0_ipg_clk>; + clock-indices = ; + clock-output-names = "lvds0_lis_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_LVDS_0>; + }; + + lvds0_pwm_lpcg: clock-controller@5624300c { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5624300c 0x4>; + #clock-cells = <1>; + clocks = <&clk IMX_SC_R_LVDS_0_PWM_0 IMX_SC_PM_CLK_PER>, + <&lvds0_ipg_clk>; + clock-indices = , ; + clock-output-names = "lvds0_pwm_lpcg_clk", + "lvds0_pwm_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_LVDS_0_PWM_0>; + }; + + lvds0_i2c0_lpcg: clock-controller@56243010 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x56243010 0x4>; + #clock-cells = <1>; + clocks = <&clk IMX_SC_R_LVDS_0_I2C_0 IMX_SC_PM_CLK_PER>, + <&lvds0_ipg_clk>; + clock-indices = , ; + clock-output-names = "lvds0_i2c0_lpcg_clk", + "lvds0_i2c0_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_LVDS_0_I2C_0>; + }; + + 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>, + <&lvds0_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>; + }; + + pwm_lvds0: pwm@56244000 { + compatible = "fsl,imx8qxp-pwm", "fsl,imx27-pwm"; + reg = <0x56244000 0x1000>; + clocks = <&lvds0_pwm_lpcg IMX_LPCG_CLK_4>, + <&lvds0_pwm_lpcg IMX_LPCG_CLK_0>; + clock-names = "ipg", "per"; + assigned-clocks = <&clk IMX_SC_R_LVDS_0_PWM_0 IMX_SC_PM_CLK_PER>; + assigned-clock-rates = <24000000>; + #pwm-cells = <3>; + power-domains = <&pd IMX_SC_R_LVDS_0_PWM_0>; + status = "disabled"; + }; + + i2c0_lvds0: i2c@56246000 { + compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c"; + reg = <0x56246000 0x1000>; + interrupts = <8>; + clocks = <&lvds0_i2c0_lpcg IMX_LPCG_CLK_0>, + <&lvds0_i2c0_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"; + }; + + i2c1_lvds0: i2c@56247000 { + compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c"; + reg = <0x56247000 0x1000>; + interrupts = <9>; + clocks = <&lvds0_i2c0_lpcg IMX_LPCG_CLK_0>, + <&lvds0_i2c0_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"; + }; + }; + + lvds2_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,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 = <&lvds1_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>, + <&lvds1_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>, + <&lvds1_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>, + <&lvds1_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>; + 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_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"; + }; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi index 61986e0639e53..9f29fe4589668 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi @@ -576,3 +576,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 Thu Jun 6 18:46:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13688897 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2044.outbound.protection.outlook.com [40.107.21.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 44B2E38DE4 for ; Thu, 6 Jun 2024 18:47:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.44 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717699646; cv=fail; b=UAM6HLoJsFN+8UeF8S8mjYiYyftocQBMSNL1s6nXB3sK9FG9gCnEkzNSH9/7AB6j+dLp/lTycnZzp8ogDH68aB9keR+VZStY1Y95n+E7HPLiH8sY/RiC44lPlZFes35O5YSknPzeR06wTJUOKfIfVGKIMXqiMKzMsWdbeQaP7Xk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717699646; c=relaxed/simple; bh=woZl32LsPM90+cbZ0hBx3TO93OcOsNDJO7ghpq27th4=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=UXCS5bzx432ptU++YluADuC0Z2B/7zzhCPj0wjGmmdHUe4KwVXgkyQQKs8siSlP/FkMrLh2hyA59FuVehOoSGurjGMwlBDb/9YGiZD5ryKqGKFZyD+Bql4aeh2BQsIfCDddTmxPhVLe+jhyXOr3hbPiIQ9A337rKVsk2EHdo0sw= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=EPkZeTTo; arc=fail smtp.client-ip=40.107.21.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="EPkZeTTo" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NdUlTx3WtNbhUfPJyIjz9+boZRnOPATMpRtV0i3B6Ca1b2ZCi9WeMl7oX8F6ByIbzZGVR4HJ/t4SKI0Qw6xhX94oycMUcJb7i5Qmbt2jLzZy7bnw8kYefpjgfU/wlULhnZFHirNpL3CTiFTWKghvPe8IQwLSbR+hqEF9V9j6vgP+yGEfac/gq+y9yZjd3b9rR7qcZ5zLmwDQdy7sn+IdxT2Mq/HOoGy0x078aVBr7iWEg+060Piga7ETc5fFRm8JargShUQ2TFn5N8nCeIvLRdYoPIgY/HEfAL5xNg7kNKmqKDHiVT7qkVu0RS8H2pDNQEj0Ck6jzZsX4gJ5UvRhlQ== 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=BBOyMsKcgfnqOIXjklRaVSAY4hGLqCd/Nto0kUlHcmg=; b=RP9TRDP1zqu/MVlqc2jNpXk0POpu7OUBnQVNAgy9tkQpVa5/HSlu6ZSpK5dqriQUOkhRG55fKEZBdAuzxp+2xT6d+hgCVyy2MmWbOVo00O0qMjuEZQ4ZvhCrxEDIYBDcgpjm9qzlzDZzFeh0gHAO4sxciR+5rDVOU5Gj99NSOPhzz5Vd81LhUoWo4oDwKy4eMqMPZAI9Sig/TqQQiDO+TfUtPzUiuy6eF3dHmK5pOCtyhYl4NutTZpyXohW6gPyZKJ3t8AATeuz4WMk8P92ALx7ZDDbHMjZS38dRR3AzgoC14A+1WRIN1zw1cj6r3XRP30WWYvx88Zv2qw9AzRi8gw== 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=BBOyMsKcgfnqOIXjklRaVSAY4hGLqCd/Nto0kUlHcmg=; b=EPkZeTToWS8Y4XqUk7rFzu5/KdNqCUeZQ/D5REM6yLRAoX45fMGV5rpbITFCHfWO0Kuuht6GzVArhM/IjWnB7NEouNBTFILAj5VqQWIFZqR9RYqO14osEq74ewPpZM6lOULwQBfTO4uNhu5pohSd7le6fpy53UrBqJLovon8JyE= 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 VI0PR04MB11069.eurprd04.prod.outlook.com (2603:10a6:800:266::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.27; Thu, 6 Jun 2024 18:47:22 +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.7633.021; Thu, 6 Jun 2024 18:47:22 +0000 From: Frank Li Date: Thu, 06 Jun 2024 14:46:56 -0400 Subject: [PATCH 2/7] arm64: dts: imx8qm: add mipi subsystem Message-Id: <20240606-imx8qm-dts-usb-v1-2-565721b64f25@nxp.com> References: <20240606-imx8qm-dts-usb-v1-0-565721b64f25@nxp.com> In-Reply-To: <20240606-imx8qm-dts-usb-v1-0-565721b64f25@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=1717699632; l=10395; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=woZl32LsPM90+cbZ0hBx3TO93OcOsNDJO7ghpq27th4=; b=9hW1H4XQ0wXcsWiegOEfaPoa+mGlJcihGnx91YHyRTwszK/ojZ2xmlh/WBezHByQ68NazDUp9 BBMUQzyxPAjBxK8lZU6hvF8ZDZ9rDK7Yh+tgNk5XfRxTbU/6fr5Aasi X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0178.namprd05.prod.outlook.com (2603:10b6:a03:339::33) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI0PR04MB11069:EE_ X-MS-Office365-Filtering-Correlation-Id: a5c63fec-5518-4263-8101-08dc865919bb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|52116005|376005|1800799015|7416005|366007|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?4rDF2DMBezvC8KIAn3bxn61QiKZ6JHY?= =?utf-8?q?90C6Z6ZSW6KLk0nw9lZKKtasFKEisQLyna9DaGfTseDxoqp5LfMHVruETxbtYfW1I?= =?utf-8?q?lmVBXxPKBK2uxtuKvtOlNPoM6kNrMvq2Zsy7Q1Tpbi7wUUT/F9bY2fPsygnXrUxAV?= =?utf-8?q?quJtoGoqOl1niD3GzA6BE+LWMoV3LP7vB2+VrTMMcVZhDLg/8whTJbEOKi6yq1JiY?= =?utf-8?q?j6PZ5ADvfP1uypy6c1guYleWRUTHC7NT1fckzckz88qccPHkD3YTj7UFZ43WnBzxJ?= =?utf-8?q?MhNXdI5OeRcKhCPRcBzEvl+zgKBhwW7BjQaToNh5X7sLR52FwbYfuJUaNnkkY5OfF?= =?utf-8?q?NGNoDDkfrwfZIX4x3KwB9zsMbKErEUeemCUz3cccJtcRJGTzp3pwjQPH6COqGVt69?= =?utf-8?q?D811wLAMOVKhU7i+M4mcxEOiop1LR1cq13SHyjfLq0vrP9wZEah6EZKjkMCzLnW5W?= =?utf-8?q?8Tft83165xrgJUclvw4Eqa4McGgL65NZR7gLsTQp1bOvpiVA2GlAcYhsr0gFJU+0W?= =?utf-8?q?Qhl/XgBxBLdlepciW7/cbv4Ajeuguj30hTzzJgBLHUL7/5wACrISaXGuaACSux/sv?= =?utf-8?q?YJvX7L1B79goDIiAEt2cgbZ5b4WutH5yD2bNubITlsG/a76C+oF5v8I3t05CVoufo?= =?utf-8?q?x3qh0iK+7ig/S5W51V9FzwIpZVM/5ZHQw2/6YznrnZdU3hAaUtbuZaCirWqY6GmDY?= =?utf-8?q?EmmbB5/H/QLHsYM+p8TIW/KxwTSeaEjeCoIWvKOM8jFsgfGcQTDCmU4dY+kTZJjpX?= =?utf-8?q?NNLuCTrFmzDtgzND2BARAzndQLdHBWMs3oZbf+bt2Fty8vrYWf6MlTki6AF2/ED4+?= =?utf-8?q?y8ExB1DEpnVJIKMLY3TCYDq/zF6sO52KMoo2dsH+aOjQU6Zn4S+ePbCs5rBxBLqn9?= =?utf-8?q?vOmuod9t7ycc+ZzJAo5baRRECa9LuK/nVPR/lI7BL/meUxQJj9QO+rFaozvMlQMQA?= =?utf-8?q?Mzby2r0kMxuzAOZPK3+4RQgCeyCr6ttk0oG35o/9zKnY7Zm7iMZHIx4s8etmbYeCH?= =?utf-8?q?CQyYj1FhxSH99Z8wx3pS220E3JttLjxA+eHMJ2LsJpHuAOBIwJCVVsnLPruNlF+VS?= =?utf-8?q?7mfJAbx4wmEKpqsFMtoaYo1pS1gHbPNmqWRtiTYGB2WQsaQmVNdfvvlA3znVRRObQ?= =?utf-8?q?kIQI0Kw4yx0MSMqBSSyZFNcOm0RC96W4Qkb+Y3LFZNgI6vL6KbY1W2aqSrTXHQff5?= =?utf-8?q?nUsUtG0catv03QIQtHlNPYPlzjcKtX4JAe+m853TB2KzMopRUWl3QG7Rf40uFDyXm?= =?utf-8?q?b3Mn0smQscLmiMozaY9284YhclWhlaULR/nR//buUBVBCet+Sg1zu0LE=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:(13230031)(52116005)(376005)(1800799015)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam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efYKW2CAsJO?= =?utf-8?q?t8+GHktP4R1EiJXToP/6RrDd+iRNqkAMhefSj0rFtq2jFiEgtQKCFMqw6hjRa7bWg?= =?utf-8?q?4XsZfcc8AqCpN/9JiZVXdVyvn83edez0lVVUjKtxgI70UJoqdt4GF6wfrdHgmi4K7?= =?utf-8?q?IooGCTLtlLtcsBEHXeQr1gzU0H8yqXENMXj8wubN/GQrZMv8VZjgEMxgXKumDFVpa?= =?utf-8?q?qKnJheVHOysVvJQzbix/kCsyjkfmhYHmmoMVZSC+QbcBGepyAFxMEQTdMI30ngJVs?= =?utf-8?q?VphB0D0+47HXQZMuJbic8QNc53BKvwmz0DIAiYYmtOF+P0C+BiQsISfdGtnkWWhFy?= =?utf-8?q?OoVJSV1pssPgtLE4l6CYqGodrKErgeRWf0ZTw4tcadNXzLp+ZSqWRu1328PKHDj0r?= =?utf-8?q?/pau9e1LrJ2UPXEgQYPy+zaopXb2Lrr5GzVvf68Qpz8IaH/VroNXYkn2R1rn7dZkC?= =?utf-8?q?HzrUcpr37bv0fnK+k7C6gnzgh2G1HkH9dxmbdIbRPxb+i8YIro0odDhAUxg4wgUG9?= =?utf-8?q?+UF+vZzOrMmyzuPBzin3QSB03obVNNfTvJTAEAypCka6OvosBiwtD0sgMLt56ZA3j?= =?utf-8?q?6Fuhpwar4D3kKY2xir9WS6sGv1jnqhukfkYPaPbUsqAsmP4hGJzYibDwq0owFGxal?= =?utf-8?q?IG5ZLRgqIdnuLwLfuPYPiS7CfBwWTVLwbYaEed2KQqMWbpjNOUcKpbxaKbyr1+pc9?= =?utf-8?q?nILCXRsPZuGc?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a5c63fec-5518-4263-8101-08dc865919bb X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2024 18:47:22.2357 (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: NyY9cxsZhS40fKAlEcQsVp9ZA13Cp1Cq2sGNWBSjIPOV7DNsx/bumcfFhRQiMWaghZkH5hraxrmS40GcmSDvwA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB11069 Add irqstear, pwm and i2c in mipi subsystem. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-ss-mipi.dtsi | 286 ++++++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8qm.dtsi | 1 + 2 files changed, 287 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..bd18468923e52 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-mipi.dtsi @@ -0,0 +1,286 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/* + * Copyright 2024 NXP + */ + +/ { + dsi_ipg_clk: clock-dsi-ipg { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <120000000>; + clock-output-names = "dsi_ipg_clk"; + }; + + mipi_pll_div2_clk: clock-mipi-div2-pll { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <432000000>; + clock-output-names = "mipi_pll_div2_clk"; + }; + + 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,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>; + clocks = <&dsi_ipg_clk>; + clock-indices = ; + clock-output-names = "mipi0_lis_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_MIPI_0>; + }; + + mipi0_pwm_lpcg: clock-controller@5622300c { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5622300c 0x4>; + #clock-cells = <1>; + 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"; + 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_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>; + }; + + 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>; + }; + + 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 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c"; + reg = <0x56226000 0x1000>; + 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"; + }; + }; + + mipi1_subsys: bus@57220000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x57220000 0x0 0x57220000 0x10000>; + + irqsteer_mipi1: interrupt-controller@57220000 { + compatible = "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 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c"; + reg = <0x57226000 0x1000>; + 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"; + }; + }; +}; + diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi index 9f29fe4589668..846b95be22bbe 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi @@ -577,3 +577,4 @@ clk_spdif1_rx: clock-spdif1-rx { #include "imx8qm-ss-lsio.dtsi" #include "imx8qm-ss-audio.dtsi" #include "imx8qm-ss-lvds.dtsi" +#include "imx8qm-ss-mipi.dtsi" From patchwork Thu Jun 6 18:46:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13688898 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2046.outbound.protection.outlook.com [40.107.21.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B89AB6EB5C for ; Thu, 6 Jun 2024 18:47:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.46 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717699651; cv=fail; b=Wcpsy8HsdE/qNPHCQyAY0KOYHkOtz9Mli8uMyAhAYzCGwVDzaAQAFnvG4vZWeTel0iHn//XNBnpEoIj5F9g9tM2q7ssobZ41r6DSt0p6VL8UDWO2PmR6k8Gwq8q4G3kW1CoMEZpjv+b42D4mnXKGE/VUz2ERmHJnlgWw58er/UE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717699651; c=relaxed/simple; bh=wwKcCvjh2THnjztvtf5usgNLOblQQHq2amLNdLYCtOs=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=DJrd4E9GWoX2Z4w8tOQCK4KkmjpB9+EGcoAnqLBl/p1kbZVOetExBNMo6ZfZKZdqQJBfo2lm+k5G4JUsbgDebz41MVd/k0l+jp+ufrteFENp8sW1ICsG+S9NS9lmbdoAcXnuQgcTqc1CMxozhqK0FbHSWM5F9AUSRfnjzQuq+bc= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=TtEHHK+U; arc=fail smtp.client-ip=40.107.21.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="TtEHHK+U" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QGqXryzBOh531w5M84BEAVOlb3bPxHSZZY1yOC+/R13b5h3LmzUHQvhl+Nx3wc5wgNbAlv0CG0a5NGozGDjUoollRn5QiCploOp98Usxa4AIHxoT3WUBniXGRThLRN6aPAPjwPZirdFEoZ5mKugXIqhynSC7aUp3YEIPaJZZ1WTuAP5MNwL+7VWj1ZPynUb52MYNRXKxeMGgHO2CsEsrbSiu9LLjL1hKxyHbDPMIGZgArXpXh3tJihWWQzUDB2NN/tf9H15LID/XTom45xS0Wc1bCqqzdlWHNzytB0I6UGqWPzNQN8km9lQEAQse6zjAAxbTplj1L1Qwloyc6+IS7A== 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=56NK9IpX14FIl5PU7gRV4JOyVKj0mweZ1H5dCNIAhW0=; b=oGNgUd6on/O9dfj14WAoFRFcRAEdMcqTw0etWxaUbzFQSee9DmuvacGy4Z2BzsmPrWW4zYtzc8Vic7CyOA/sy58woSVeW+Uzq5oUn6bVpQZn0ldVHEJVYYla+fdbLZhquI0SWc7JwKOC25RAPk/FZQRY8uI2Vth1NPBOFbV2u+4eNPUZldSyfi6ZDYVmWxAsP2c5Cb/zHM5C9iyBVPnmNufdhjfjBUtJ7cugzW+Y6L1OBNJE8aMpGwAaMpBjBSNxs1+hzJGYJ3KUJ7irAHPOtcR4aUnv3LzK95OJd7YzeK+2aMIzb9jUJF4UFXadudvtt9/igExkX97GdgpOZcoxGg== 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=56NK9IpX14FIl5PU7gRV4JOyVKj0mweZ1H5dCNIAhW0=; b=TtEHHK+U2jhfcZEp6fsm+bBjqcNpA0+AZxtCEp+YwIAYRVePCEmFTxIQI/tm92Wzum4I8XvX3GMJdiuJfbJr6gDEzE6RKLzygR3jKBlAkfZGXKP4YB1jIUHzoTZkwes7qDGazAiVP8K3U6HZm4t4+lwsxhYrNZI9mk02rsZWqZA= 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 VI0PR04MB11069.eurprd04.prod.outlook.com (2603:10a6:800:266::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.27; Thu, 6 Jun 2024 18:47:25 +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.7633.021; Thu, 6 Jun 2024 18:47:25 +0000 From: Frank Li Date: Thu, 06 Jun 2024 14:46:57 -0400 Subject: [PATCH 3/7] arm64: dts: imx8qm-mek: add cm4 remote-proc and related memory region Message-Id: <20240606-imx8qm-dts-usb-v1-3-565721b64f25@nxp.com> References: <20240606-imx8qm-dts-usb-v1-0-565721b64f25@nxp.com> In-Reply-To: <20240606-imx8qm-dts-usb-v1-0-565721b64f25@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=1717699632; l=2911; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=wwKcCvjh2THnjztvtf5usgNLOblQQHq2amLNdLYCtOs=; b=6Ek7lGsQxrwVbD8FmiSjG0D+3yFqQsiPjw7AvyWJw3jxhNHen/as8EfWBq6iPHqHC+EJitDIY 0Keb9jVBqNJCJkRuxcM3BqdoWNIkQFeu7rcnx4k2uKQxvRSYc0uYYZZ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0178.namprd05.prod.outlook.com (2603:10b6:a03:339::33) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI0PR04MB11069:EE_ X-MS-Office365-Filtering-Correlation-Id: b433ea6f-0fbd-42bf-b031-08dc86591ba6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|52116005|376005|1800799015|7416005|366007|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?7n02jlpxni2rYouzogcyAuQxxaqZq4I?= =?utf-8?q?rOH4bv2G29jGt0mbWga9hbKMeNiQoEdOc0zqgI4xMta5R/Ty8nTE3Grv4Hgxb8cTP?= =?utf-8?q?5PaGtNSO/KWbxomTKoIIBeOF/AxB5tEKdndq4yTgJeKRFNQA2Ys56NBji26V36ONF?= =?utf-8?q?8dDO3MGat1uZsfCvPIowpxr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SzTtar9GLZ/KdWYP1pei4FruuDlD3w75zEJhe?= =?utf-8?q?Lb3EXPiOHPam2mHP0ocHu4PXuIQCeWi0MYZKgE03M2AcD1pzxfcIZarkShFSdfnJL?= =?utf-8?q?bOIXC5zT5DServfRdE9U/9fdE0ArJ/PU0cGrl4rsyA3Nol737EK5F+DcVpvrAZ206?= =?utf-8?q?TsRIbmhenHwL/BYz6LJ8B3S7jBU/qE6Ex2WfCvQymmFqZsByC/+82anSCM/goAt9J?= =?utf-8?q?qE6BIEpFAYbTo4P/pj81F8C2To/eRtnuOKu+LkB01G+x5NlRPXkmmJGY=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:(13230031)(52116005)(376005)(1800799015)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?AcjsrOKM4K/pAueGRssVFXnPgwo3?= =?utf-8?q?9zyqUuD/9cGQ/DQ14MDTM/84Wjh9j3r88dv4/nXrXXNo4ksTvtLSrmeI8fvP32D+3?= =?utf-8?q?DzRb1emmG4Mcc92tFuBaSgs2BqWvS6gRDRoohhLcUrJJ9EEdQ2FDqd4heffbBdsN2?= =?utf-8?q?MEWQSoS59eSjVTZa/n4+7q3nOaSJwxGK64iBTkemFHkzw7YhmEPyQ9LsgrjsOnmo4?= =?utf-8?q?xCeKP08CE9NbacRuWaGCG52+s9JTXtPZZukQdM4wjRwfZnlop5sqrG77WlUNZOQSU?= =?utf-8?q?mZQJkC6nB+eYKJkG0OxyyMQIyxhxfgMGgCc2t6DP8MWTMOmr3nsAt3DeL7Pqqeo3o?= =?utf-8?q?2Stp77K1RsTOoXHDyIm50CmDsuCjAmHsDZS+9rXyG5aewdFZHBiasDEyWa2Fz+WMx?= =?utf-8?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utf-8?q?AvvXptuVynmeeT8JNn8glu2KH6g2aMlPP3Y2CPkxeJIRir9lC+2Y7MjZHmLdANlWx?= =?utf-8?q?eyMei6c0MSlkMv7wEtTqy35NKE1BYbH+bR8iV6tgAcueTeYXgUgANyaNrPoHnzIo4?= =?utf-8?q?tACZ+rP2F6G60Taif0vePNa1KOC/UsYndhg9t0jOqVupEkCDALzxkqq1XGrBmuRve?= =?utf-8?q?8L0S6hnt3qYYE8G5RSmFZbEY6MQEXsBwP5HSKfaaN0HD6uRjrjFi4sxKgKlc+RurQ?= =?utf-8?q?yMFgwaAyQjAL?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b433ea6f-0fbd-42bf-b031-08dc86591ba6 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2024 18:47:25.4481 (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: ovQ/7dHKmSWORTwpzt+WTfvIudfejZdoF45aWnD8u2Q6EIsm3HT/sPX01fPAF/DepgknyYosL1+ErgPZiD3eYg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB11069 Add two cm4 remote-proc and related memory regions. Signed-off-by: Frank Li Reviewed-by: Peng Fan --- 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 Thu Jun 6 18:46:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13688899 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2046.outbound.protection.outlook.com [40.107.21.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE7206EB5C for ; Thu, 6 Jun 2024 18:47:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.46 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717699653; cv=fail; b=S5EyukeITFrlJbPSgWzB0akHLNcBxBfxJYtjlh8peIBN4l6UT0WudGiV8CTxR1Hcs7t1Iqj/riwpX487PyQ/Hy8FJ+l7j2KECA+XkwLffvFM1saFLmTYoQ8N7wo8lE6/c6dtBxfGk0Qim7gwKKfbtOIyWAjjnZjh5Vfmr4Z1uns= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717699653; c=relaxed/simple; bh=SUocZhLP81ANYJN86/fq6QRIzHiSvWBbXNaYPOaTcSw=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=Mb5CJAG3s+f73CBW3IxOkpqJs9pt+6sLtVXhctKZjb8yr+EiqhNBtfFGHib+LEE1DaLbBs+Bz6RR4h18DEFNhXTMhipYFAzhtr0LWWkW4/TdRTE7L/PyRQATjF7upCVwQcxJV/4mfA5gMMZC/cQnqOxE2gvUVcOUsCsajgjNk1Y= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=gMMpBZwS; arc=fail smtp.client-ip=40.107.21.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="gMMpBZwS" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fMumwUc6okFscvGOw/FQ8kzuaVCBMNm8ILVtlJcX9XjC5KooXyXpwl2vOiOJbeSj4PEEzViRykEUvZrMX8le8MFY+y8v0KkEf8vk1LoZSXGsKUdlbPGUY4d6Xv8DF9Yd2Q0Ie9o9dvz2gx9vv6SmNbLJUMUhVPpGIQxPEr3fUtUOEQdYhffd3UnfavQoOhwa8d/pC7cwr7LlNJRzxY2b/2wINQRfh/hk2u1UfXX9EPJY7kyleoACwUmsaXlOorMijQG5aiOseJW4FX0gUGeZBsmyzMNZYArGaN9QHpya0nIRAdnkYNpznP1dUpT9+elxYW7RAgx5CoeiLJPuwpV2Uw== 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=+Ju9pL/yf82r3xO39ZfP2YCzLsAFbGQzwl6W58evDDs=; b=NjzAn3+O+gisNLOieV3RVxZslpL45+fldWdBPzqOKoPH57kLqGhLgvZmPR8w0VOzK1r4ayYWUWHWMbwTUnAKGymer1KTqpKJfrW1KHAglz9l1Ctg9PN53VzZ+TJpOXzD5XPk/8t6i29nP1CNQcvgTZkq3qntqjLyLl+Pd3pVCCeTKzEFtAD9XbGUJKbSpK4xmn0h2iPzr+1VZLNmeeCym4X4/tlkNY/mbKdu/Ogg1MpT+Dm4kDilr0o06wxyrGzY+wy9ATho9hzg/hcarMAPFVBejpZl34x8UXyOHbIPT9MJXsa6BAQozzzAhWWBBK/NY+mXmR53e9U9S+IZKJ6Arw== 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=+Ju9pL/yf82r3xO39ZfP2YCzLsAFbGQzwl6W58evDDs=; b=gMMpBZwSVLmZ0O9tDEejOCvqYcgBZY56KxTYpQ5uqOemxrwRqV2qdFpfM5X9Kubrz7Yo1raFm8uHhmPB0KFY4ToV9A0v/lBnahTs2+dXelTFf49ADP33a1/mQ2LcPIbe9oOrQ9usZwbF5RVafNHh3WIbxoO/xx17qPIXKdFECyc= 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 VI0PR04MB11069.eurprd04.prod.outlook.com (2603:10a6:800:266::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.27; Thu, 6 Jun 2024 18:47:28 +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.7633.021; Thu, 6 Jun 2024 18:47:28 +0000 From: Frank Li Date: Thu, 06 Jun 2024 14:46:58 -0400 Subject: [PATCH 4/7] arm64: dts: imx8qm-mek: add pwm and i2c in lvds subsystem Message-Id: <20240606-imx8qm-dts-usb-v1-4-565721b64f25@nxp.com> References: <20240606-imx8qm-dts-usb-v1-0-565721b64f25@nxp.com> In-Reply-To: <20240606-imx8qm-dts-usb-v1-0-565721b64f25@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=1717699632; l=3505; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=SUocZhLP81ANYJN86/fq6QRIzHiSvWBbXNaYPOaTcSw=; b=4vt3leCJZin5Gv204ys/BSq24tkLii/do+5RgjjzKTq/Ky0PqeHuKcga7K19cQPUM361i3YNl 5Tm28/4tBUoDGBvQ57p1Wlsrvo2mLDLGsW9YhU6uqHHD4ayAPhgOH+p X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0178.namprd05.prod.outlook.com (2603:10b6:a03:339::33) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI0PR04MB11069:EE_ X-MS-Office365-Filtering-Correlation-Id: 6cbc3d44-ae86-4a79-349c-08dc86591d8f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|52116005|376005|1800799015|7416005|366007|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?ImIAPsijOqBKaWOTOSrQ3xeLuv9vN2q?= =?utf-8?q?naRMUS1HQBV4zEwYzKa0Y17WY7BKTzEVV4Bdj8qb9hNNBzntBbmb1JNH9hlxZN46G?= =?utf-8?q?+y2maFURu4xc77qFkTCCp+SmTcxENJIi5lIMiFTv5qQpDQ+HVXZ6bZa6H+x7DdFuZ?= =?utf-8?q?3nPMGtl3obhSMw5czNznEPv4n6jVgJD/oGcYU1xWv53N8DSN1kqgxeivrEtiaKk67?= =?utf-8?q?LlwLZUFpfl8hz/6if1J1qwYdkFgvM0tqbX2KtI2A7xVu4o9aXgY6R91yg5EyFT7dy?= =?utf-8?q?RSJZxVl/bpUMOpSbArpMhk32FBR4jo5IfkRKZJyP0qIhhhnQSddd1O5eno359wCfe?= =?utf-8?q?59wjQwTsWdhoraDPIQL5IJsH9oLPTVcS/RpSG4jYyoBKLxs2mdwiCCBqWm0Gok0gF?= =?utf-8?q?/UYCLuBswyjTPb982XGAstpTGbnuJKYomxES64O9OE/B3FscdbmJiPIUqEOJy4OM2?= =?utf-8?q?yo78LiXemVYox9RV/Fm/s89rcwFKoeX74XiWCOMYOB5p5AZYtrPLebXiF72ZO9Js4?= =?utf-8?q?fvVdUFN2ZMNl0P19cloZLUCn6tkMHI4MbOZivmd9WoYDBUAvi2GzpBbi8r7G7sJXL?= =?utf-8?q?WAG4iCqCJvbafdz3caNqQvJQK+euE2dwihil0nqmpzFSoqjw0ab22GFIGYRpYrPF2?= =?utf-8?q?hKopevbVdVW/c3SlPGghlW0CLKq549DXTKRadLkFrAbppNelZk6ygaS/60XYGAHhb?= =?utf-8?q?6tFBnWBYWOpGCAGx8Pmqj7bp8mlW11Ulh+a3azc9DNWX4ALb+YRKqtCeYVjP8MxeP?= =?utf-8?q?niok56Iim/bSXNVgZdhwD/a20GThcZa6oQFltI3cvGiqwbQ4d9ZZaZiB2DgGiaQ16?= =?utf-8?q?347o+HlW9fz7BHNWVWbVJcHuvHeLP+m++eoLnepRMltHGtTWZX2VwRrBRL0wcz7Bl?= =?utf-8?q?FYMVwNZHdjKK7sRz1s9P2c3WQTmwha/gVifJvt0ntCZo+giZaSKyThDE++7oGo8tH?= =?utf-8?q?jUWIg+hgL/78tGClDPELMhQpdzyyaHJ48IlgoAMqI/9aZjaH/CRvW+VHDuUu0yrSU?= =?utf-8?q?rAErfVIK8KcDQQmEZ9V1rIjeAB4bMLjBWDqFqm2fz+Lply3akgmkmcOe5N3qkmr5Y?= =?utf-8?q?XssgaLkbzNNNKm1Hv2JQFg1CqCsnYzYC2eA31+1EqBeOHuk/egPZwhKMm6Y2OM0MW?= =?utf-8?q?yLLA/v/MICXOpLWP0nCKb/Lpw/HhwJ/6nS7xoI3vkEeurw7WQhmLHcsoEsbcihj0A?= =?utf-8?q?sNqZ+mM9E0aw15jfRKU/RE4H/25PXyFquMadJwJeIlZdfoPqekI67OtQjL6MiABvB?= =?utf-8?q?gz56u1+ICGJWZ/C8KZ49qvuXRS7Bpa4t3HcjPQl9o9iPPccSG2a8VANA=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:(13230031)(52116005)(376005)(1800799015)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ycwBUkev2Q5+IvO3i0ga7u8Sg6xX?= =?utf-8?q?QXGskZv17J3V3QSJRjfVbH2r693aN/peVLlaVCM7ouw4S8IAu07dCXn68+D1H64Xy?= =?utf-8?q?Z+3Nh2brqL4+p6cRNLBAFgEot/j/FLJEHKlbtK+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c6?= =?utf-8?q?WblcvlL57D40pyHQb/UozK+F3Z3wSC870wjrbYdsbxF/DKSiwLQHqQscWXecKTmz9?= =?utf-8?q?74ezAvyp0zm3jxmTk+a/YOf0TFosYtIXOWKidlv6dI4kTcxFrY6H2DlXQ8BLRe6En?= =?utf-8?q?RG05SXFFK74K64CKFkQ4IWf+EO8dV+iSwIxd5JNfn14BY0UJJ+BF8AgPGtamQh9eT?= =?utf-8?q?SSHzXYDrgVyLmHQK4fn4biu0/hmja4PFDUwiLDdRXGZT851Vq7W2+EusKOOXkjziU?= =?utf-8?q?EffaX+St5dEWjeoEL8s1q0k+temnDyuvspo03tmHiX1Rab3kYqNKjCmKJHAtk4bb7?= =?utf-8?q?1X9UmrsJtUlQLophSRvwT28INAtxhy4uJ/G1Lv8Tm2H6KCbpGr2X60z+nspCobBBV?= =?utf-8?q?uvQDLPrXF6LIY2T/ZH1bwozzm0Fhf8sgVbN6lbpsHyH4V78mPZUWkKQ2iGb0kSnOv?= =?utf-8?q?uWWkG1HVVJWOSf6tr+l4kWNLvoJFEhfsFrUbRT1pWp870Etjo/XSx5JoyJyxe/ONy?= =?utf-8?q?2dDKv46+bMp0?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6cbc3d44-ae86-4a79-349c-08dc86591d8f X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2024 18:47:28.6755 (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: ARwi8LBIeiYmZ20+T3Z5qX80z8eK69UxJKQLstq/oMyYmBeQBanC6a9JvW6Mcj7XLlD3G2IBWR5xhuIlH+b8rg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB11069 Add pwm[0,1] and i2c[0,1] in lvds subsystem. Signed-off-by: Frank Li Reviewed-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 92 ++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index dbd478af2e474..80cb834d56bc2 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -93,6 +93,42 @@ rsc_table1: memory@901ff000 { }; }; + lvds_backlight0: backlight-lvds0 { + compatible = "pwm-backlight"; + pwms = <&pwm_lvds0 0 100000 0>; + + brightness-levels = < 0 1 2 3 4 5 6 7 8 9 + 10 11 12 13 14 15 16 17 18 19 + 20 21 22 23 24 25 26 27 28 29 + 30 31 32 33 34 35 36 37 38 39 + 40 41 42 43 44 45 46 47 48 49 + 50 51 52 53 54 55 56 57 58 59 + 60 61 62 63 64 65 66 67 68 69 + 70 71 72 73 74 75 76 77 78 79 + 80 81 82 83 84 85 86 87 88 89 + 90 91 92 93 94 95 96 97 98 99 + 100>; + default-brightness-level = <80>; + }; + + lvds_backlight1: backlight-lvds1 { + compatible = "pwm-backlight"; + pwms = <&pwm_lvds1 0 100000 0>; + + brightness-levels = < 0 1 2 3 4 5 6 7 8 9 + 10 11 12 13 14 15 16 17 18 19 + 20 21 22 23 24 25 26 27 28 29 + 30 31 32 33 34 35 36 37 38 39 + 40 41 42 43 44 45 46 47 48 49 + 50 51 52 53 54 55 56 57 58 59 + 60 61 62 63 64 65 66 67 68 69 + 70 71 72 73 74 75 76 77 78 79 + 80 81 82 83 84 85 86 87 88 89 + 90 91 92 93 94 95 96 97 98 99 + 100>; + default-brightness-level = <80>; + }; + reg_usdhc2_vmmc: usdhc2-vmmc { compatible = "regulator-fixed"; regulator-name = "SD1_SPWR"; @@ -334,6 +370,24 @@ wm8960: audio-codec@1a { }; }; +&i2c1_lvds0 { + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lvds0_lpi2c1>; + clock-frequency = <100000>; + status = "okay"; +}; + +&i2c1_lvds1 { + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lvds1_lpi2c1>; + clock-frequency = <100000>; + status = "okay"; +}; + &flexcan1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_flexcan1>; @@ -449,6 +503,18 @@ &fec2 { status = "okay"; }; +&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 +741,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 Thu Jun 6 18:46:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13688900 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2046.outbound.protection.outlook.com [40.107.21.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E8DCB73455 for ; Thu, 6 Jun 2024 18:47:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.46 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717699655; cv=fail; b=BpO48SkfjqRCZcDMAbpJPpbFKDc4L66m4bs2ojJb06NHbv2EHQkneOi/5mBpotZjChI5C7fxgpQqtjFfkQui7135qar9p86YwOdE9zQ22A2X0RUBNYVExy5omeNc0nSsj/kpNwKs+wxS4l6N43+ynaiAMcxGbntXT+TLQx6nxmc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717699655; c=relaxed/simple; bh=SoF4J4b49R7QVgft0SM3ujBwE1bg40X2lnpSns1oVPE=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=hQ1imII8yT+S5ONOGXQS4I1PKITTmIAVFfoaRey926Tm1SOtoZxutjRfIKWsQoP8BSi7GDB6TYoM9JtHXuiY9jikoBfhfyjq+ncEccKtVZox7hu7igIIRDQMicpN+ADMYLivyOp8UczdKzvOG4NDVYnIAoMokYwh9LK4vmgXGxQ= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=ee77cTAA; arc=fail smtp.client-ip=40.107.21.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="ee77cTAA" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wz6hetCXcXIDuculHbY3CUvirnjLFJ42XeSsjaeSjd7w9309TIxwrR8uOKn/xbA9Lgp3c5j0/VokXU8lqFLdKvHgdDmEg9oYnB4/YwFvts2Ab65cFQN7koRdbCnNslbxxMuD1lXvWHCTS68fBW66brFkOi8tZx6x4yfcjuh/dCEjiwuQifUwy1Zq3sUXSt0joM6605QSiirtt0LzvkCcCbu3jN/p5XLdM1LrqyxvaRenubM+/qb2eVYRAl0dl8gOK91AYXXgEYuU8RO0EtK1aOY/tMFs3fmjQoySRxOjezULKgikiIBcLqeY3t+4DrOVe2yhTyOYIZQIH13AVuUeBQ== 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=ume8Q51eM0/Rqthlcf7OmVfHlC+49WE9UeAAdsMaNe4=; b=IyW6oOXDujvo4Yx5pjOWH4znu7mJbsNkQGeCNHtN/anJtTfpKZVx6IxkmUnb876VUmxxz/dmuLLNyKTL5Y0PehbudygBWE/UfxWjaDtKJMGdLp4LzB9YwDtmF+pdEOq679OrHFPXszrNs697tKDnfHriySXqN7Vt9gDeXroqxXo0RH5arbkrb4J7RCvO8GShabwRyLEq2cL1mxQ9N/I7M0b7eqv6dyclNXunhJEhcFHiJ4aAatoIG9vorfW644U642cn1Q2srNFpAu9U3CdHZBx2dKNTQWhNVVeqD2jscOudIai4K8sXtO2PA1AR7Cd7OQoSAv8/mCg961e3AA9mHA== 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=ume8Q51eM0/Rqthlcf7OmVfHlC+49WE9UeAAdsMaNe4=; b=ee77cTAAsd0IZaNZyICBDtrqJGFHixzAfJ7Tx9QxVSjdj/dj5bqyAUQv+eL0BmXBtVtOkzjoYNn0W+wGA8ZfS+72BMYLdGM3VhnT7vyzPdEJgpFpu3JyFkxJXd3Z4EtRQkEOLFrGjKq3VhBWCrqzLWU5+EGgkOUTouuTY3jnwys= 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 VI0PR04MB11069.eurprd04.prod.outlook.com (2603:10a6:800:266::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.27; Thu, 6 Jun 2024 18:47:31 +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.7633.021; Thu, 6 Jun 2024 18:47:31 +0000 From: Frank Li Date: Thu, 06 Jun 2024 14:46:59 -0400 Subject: [PATCH 5/7] arm64: dts: imx8qm-mek: add i2c in mipi[0,1] subsystem Message-Id: <20240606-imx8qm-dts-usb-v1-5-565721b64f25@nxp.com> References: <20240606-imx8qm-dts-usb-v1-0-565721b64f25@nxp.com> In-Reply-To: <20240606-imx8qm-dts-usb-v1-0-565721b64f25@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=1717699632; l=1751; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=SoF4J4b49R7QVgft0SM3ujBwE1bg40X2lnpSns1oVPE=; b=hFIEMAwt1wHcDJzAwvDnbW5ZYGrZX1OvyYyxd28CCb1+YtTd0hX/SsNFymDboIXaXJh3ue7hM BSVsjB+0u+RDVtZlNWCUNKpv0y5rL19M7Up5iISoqaUbkWh0N1qaGlV X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0178.namprd05.prod.outlook.com (2603:10b6:a03:339::33) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI0PR04MB11069:EE_ X-MS-Office365-Filtering-Correlation-Id: 2c574cf1-50fe-44f0-53a4-08dc86591f7b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|52116005|376005|1800799015|7416005|366007|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?fh4VpYsWpT4m3uV4sWY89T0T/yhJFuS?= =?utf-8?q?sHrG90DJ08+aVW8SOwJ3q3mYYZiLXrjlKEhSmuK00iiI+cdu4NADf7VYpVqyiyPpo?= =?utf-8?q?hWqXxu9RttSV/+ud8yHOUuWicVTEesV3/wIDHmuFQYKdxBCjHcOdDZrxua34wlxmK?= =?ut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ju3lB6DO1nTuLC1WuKATM1csYeI/FzWbkLrE08FGFPuArhosRjBFp?= =?utf-8?q?fYgdsEjj20uYyqUltL8dZS5uTbL0Ua4w+qCKeiHtHCFR7cEUYu2OUeoNXDGdI+bPe?= =?utf-8?q?AU9lrd2fAg9eeG0P0xfLuqjSQONl3vs+unvOG6so7NSNVJjlEXmt+S3zBm76ZWuMi?= =?utf-8?q?afY13A9igYSQ4/lW/loSnCp+0/QfOZf8O+jHKrmMhDG5Zr+n6yKuQDuvoZ5AmmJ1i?= =?utf-8?q?BwLOro/hOmXAU8jWRWLBt1hH4DZFqtLaWkDOjs9oO7ZT6xP+iHC/sgmw=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:(13230031)(52116005)(376005)(1800799015)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ch7jBj96odGXPTrjhusC25QbPdL0?= =?utf-8?q?V7xJ8KwXBk+ofchGQ0cjw8CrIW3Jf20DK50aVwmt0p+ELOYOPpD60sGuQnhmxNUum?= =?utf-8?q?pAfH1mcJzeYfv0nokK9zot3B9/2IqZLxYR7jNVghchSya9MCBxyv66IbT2Ir9310k?= =?utf-8?q?udlscvVHMbRKyrY4ObRn+mL0eo6Lpfb7J1I44ZB7YxPitYGmyFdzZ3puMnPbtgiBc?= =?utf-8?q?OfQ1COv46a9goQx0kx8X9JQ17w9x/mUEJcPFzR/aYrv+mGP31QXsreuyrRPObVMm6?= =?utf-8?q?NlTjFa/wKpj+zml52i0J63prEu8UBHsQhDiRcAxb/AafKNzTLcn/dp6qaremOj/Eb?= =?utf-8?q?/ezdhGd8cLMROl3zOFYtvZ94sP1bACafSuFMDx2Ea9cGf6EL5UBM4c2xoSeW0eD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dyT2z9Do7Y5fk9bs?= =?utf-8?q?tH1Y0jkgp9ojG3D/Lefuqm4eyejDv4tAebzFfg25IwldAPsCUVaTQjfW0NnMMwKDC?= =?utf-8?q?j5ZIgBeSt71QhdVihP56VYRI7P4jBM4Sx3dlGEDLZkmov+hAHPZNzqj2aLYhApeK8?= =?utf-8?q?9uXw/9eZp+yQNRGC1PSfuzbtx7DJDj8QSKr/W0geLsRUPSUjJd+IWDOwfFkV+wCKH?= =?utf-8?q?wYy8FvShY7hoQHx4nlkomTA/abiUt02BQwdR3FRkkYCy6jYNRgFE/sx9zKiJooPre?= =?utf-8?q?i+ONhaW2BBOC?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2c574cf1-50fe-44f0-53a4-08dc86591f7b X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2024 18:47:31.9008 (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: aByNmMUcwY0Kg102I+NXnkQ7nYJLtTCbMhu0FCYistHgNN/kKtok7Sa4MKJpKIPCOf9Hg4Rio9CvpA6gwW5JhA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB11069 Add i2c node in mipi[0,1] subystem for imx8qm-mek. Signed-off-by: Frank Li Reviewed-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index 80cb834d56bc2..cdcd5993cc69f 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -388,6 +388,24 @@ &i2c1_lvds1 { status = "okay"; }; +&i2c0_mipi0 { + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mipi0_lpi2c0>; + clock-frequency = <100000>; + status = "okay"; +}; + +&i2c0_mipi1 { + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mipi1_lpi2c0>; + clock-frequency = <100000>; + status = "okay"; +}; + &flexcan1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_flexcan1>; @@ -660,6 +678,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 Thu Jun 6 18:47:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13688901 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2059.outbound.protection.outlook.com [40.107.21.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 71549196446 for ; Thu, 6 Jun 2024 18:47:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.59 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717699660; cv=fail; b=laovuuI/79QKahZsljWPkUyu1aDUouZXJPbpgZ2ZHUmbqTKEee82dKNNLabm2W2j8yQYLMXq07/5HngPp+A/j04/NNAuvmUGcLIKnWhZctVGGq9FvlE6NOrROo3RRrEuY8zEKaJnySaHALllKpyNrdrznObFtCk4NZ5BJcGqUVA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717699660; c=relaxed/simple; bh=UrodID7kXwDWxEQwJ7vYrGaE/FWvVYaJpzEZUqGH7JE=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=KSaYEF5SS5jjigcig74spdxzErwnP9GAtjHHk90FfqeIDjM+mQc9BYYg8jVPf4ZQkAYxvWBKuwZKeF6VICH1ReGwXrzhHsj5k3OKXhaUYTyeXvBVuXlprpvSb+TxWm9rrCqAegL1dYqavoVHeR/ZBqVKAlm4H1LgampsZ9dm/hQ= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=VnMNfRyE; arc=fail smtp.client-ip=40.107.21.59 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="VnMNfRyE" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Va4oCgIwiLxt3RtZf8L/LxCvRImRo0C9xifIfK6xNbMg/GuihaZJftvXqwGR1/tGoImcyXLsUhhEPDPK8wSOUUQp93gFs4qDDYT4DwQTOlOA+Oen4NmWPLxklwTKYJuu+ErU2HefotZy9o94c5dg+R/mcAUMo5Mhirwic5UfUx37E1i2QgmJpBZRCK5HwK60O0bC6DdS6ueht/DrQ06wsieSbB8Yd+gmzehyI++2wqwHEFC+zJuvhsOdVmen4BUj1Mli+IpfZmGJQ40nM65Qx8BLjpjjP2TioMhke29melp+Q9cAdfpJMhrRRb1lMUS6xJ7E30hjKE0Cj5Xd+Ja9og== 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=BSIiudocyswGQSnzeHPkKRyxL6teeEFFDknuyDw1PTY=; b=W8MIHshwxfsPMKwPzQDUfEVaKryUwCJfXYGrGnPJV8skHkD+9wwum/jrZVlAe40CbSZYv9b+WQgBdC097p7DBTUM5qfzgYFe1Utp/dC7wJXlH7UAr11+FSa6BlXtFtv8p02g/HJn1TAPNrpjaVu8W09silGAa2In9vjIWftWscFC5h9Oky1ktg5svRJ7T/bEqHQiQFVwdkIdgrwi6wNRvLe7BtpD5Dd9/QCNDlIIjnRGMqImaKsq+IS1YwdUUw9ZO9aWRJA4Oszr6UTnImhxslw/MfkGbbDksZgISUKU/5N2W7St/lCZ+5oyCXhhJ1aSZVuTXR4Qkw/gvtDYIfTwew== 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=BSIiudocyswGQSnzeHPkKRyxL6teeEFFDknuyDw1PTY=; b=VnMNfRyE0cnVfng1d2OTzs8hk0nMlJskhETAzsAXZRaswIxWWSb9Byccdnj15GsDkw3412zqYMjqyFocd6QVZA9RAQRT4Gs+2zrebeOiKKkFR6xKtdCny65zJ5kn3hGqslt5KAXhHjg5fVNR4AF1/6Sb//YTnDUBX2VBUGSN3YA= 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 VI0PR04MB11069.eurprd04.prod.outlook.com (2603:10a6:800:266::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.27; Thu, 6 Jun 2024 18:47:35 +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.7633.021; Thu, 6 Jun 2024 18:47:35 +0000 From: Frank Li Date: Thu, 06 Jun 2024 14:47:00 -0400 Subject: [PATCH 6/7] arm64: dts: imx8qm-mek: fix gpio number for reg_usdhc2_vmmc Message-Id: <20240606-imx8qm-dts-usb-v1-6-565721b64f25@nxp.com> References: <20240606-imx8qm-dts-usb-v1-0-565721b64f25@nxp.com> In-Reply-To: <20240606-imx8qm-dts-usb-v1-0-565721b64f25@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 X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1717699632; l=865; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=UrodID7kXwDWxEQwJ7vYrGaE/FWvVYaJpzEZUqGH7JE=; b=XkeM1LO7Kkc4gQEU2R+IgbfQesDyphp/SSQzB52zKh5lLxI0oObEAg4gKgbV17BopC8ct73N6 Ss2j4zPPgOxC54aG17VPhmj/iQMa48hQIjF8Wn4yM/SUglZ7e6Ck/wQ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0178.namprd05.prod.outlook.com (2603:10b6:a03:339::33) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI0PR04MB11069:EE_ X-MS-Office365-Filtering-Correlation-Id: 893620fb-c626-4ee0-a0c3-08dc865921b3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|52116005|376005|1800799015|7416005|366007|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?EBk5lEZs599NghhFyG+dDJFJLtWaefY?= =?utf-8?q?Ya6TygFN1TZl+jiQqVJS7jmXzcBo/tkPn3SUjmYNbWv0J9vNcSgA1GlnVUyCJyN+J?= =?utf-8?q?ZB/XjVRJY+SbJM6UJJNslAIvw4lKnZIk6MYn8jSLpVfyyDjVamKaf8jvbsDXsDuyI?= =?utf-8?q?xE1sH9toHW65IexzorNyfs2t1GQWtA1LAVJzNUlqqODAiTetodXL74knBx9X/TwTG?= =?utf-8?q?2A5b3QZkC4tLhi8QvnJGWmUYIRk9JIXbnJxm7l2Rxn5bJu9ZTMGp9qhKGhzjcdcoK?= =?utf-8?q?rhXSYGxzw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geaWFV0gVTJMKGKAnMZ8UIGRuHQgPERaHbzhrul2ED6oClwWRRv4Ehx?= =?utf-8?q?3uwwt+hgI9T5Ii4ccUG9JmQb3U2l6ppoLz9OVJD0yMLtkeq3XVcZxopiCmMCB18dr?= =?utf-8?q?By9Rh+2AXzFC/dobqkTNM4XRKetTjR15bMdDu2gNKxQT7k4yc84b0ZKA=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:(13230031)(52116005)(376005)(1800799015)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?tyg8q/+b+QvdRIMwawm28y2oMYu1?= =?utf-8?q?WBdmqqtk5gwXBqLrxgey/3F8t9wIaJK2v4wwK9nVTBzLFoylPRLaVpLIWdsqauS5Q?= =?utf-8?q?QMpLhv9PmWhvah3UrV1qIRpYjjVD1kuYTmE9iwgTMZZWUHShHgiWHuYgzGN3l5JnW?= =?utf-8?q?u8OnVjZ2zxN2pxMv/RnsZZEcXNrFSev4YCXRYE7thxg3FrB1Eq9b/4zT+0aJxQ//i?= =?utf-8?q?oLaqWAx5ONVhc+zCKfBdIANRQPE6Qb4KPQAwJfsfAzodp2ySpdxfolgeNFgGxyIqc?= =?utf-8?q?+06WTG654KVT1E/kDhQzJwpBqSWTOdYbQ+Cfp5JFAnSrMx4SuqD0YIuqWzL0g2zK4?= =?utf-8?q?F2ZCJ5pBTM9g5POCeEl6GOd7DEG/uSGU/ooyi4FZ9aOW5u0SaNnJqxlzedFXIxrMX?= =?utf-8?q?me/kbPDrcuRwj7DV+Okq4NYQan66y5E0MpLX5wtsYLBxyhPHm42UtapDp+nVqUr1w?= =?utf-8?q?ENJ3HPZqZ8AnX59iftueCLAPR2sEBIniHVQ4XdF4qKI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k?= =?utf-8?q?3YgKLi7wOMabye3sBXWBmgsyR/cV4tFALVKr5PTff4THYARZI76GqGeDnmhqRBq4l?= =?utf-8?q?G2iprmK3TFjbeRT903B4HVa7QPgiwtPSu7wE5uUwIdUAfEg5LOUb91lgZ3k8UKVRr?= =?utf-8?q?eCUqZve9bZQq?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 893620fb-c626-4ee0-a0c3-08dc865921b3 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2024 18:47:35.6270 (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: iMD4rlS8TZl0Q/mCZ6PXVfJVKPThH1Tdx9CupFuh6qQzBGGm3lb3rEr+ZqnQrMkxAts3ORlisNZCk9piGF/qUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB11069 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") Signed-off-by: Frank Li Reviewed-by: Peng Fan --- 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 cdcd5993cc69f..dedcc1b1bf12f 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -134,7 +134,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 Thu Jun 6 18:47:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13688902 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2059.outbound.protection.outlook.com [40.107.21.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5960C198821 for ; Thu, 6 Jun 2024 18:47:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.59 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717699662; cv=fail; b=c5s3k9BGVSK5dRdR1AxCW+RWUeE9lSbWuj4TaHB6IxuQr6inmbe2qZwUdZVdOw7mXfyfCC8YVI069DJ+9G/scR5wOpbt/xJ3gAmNfUe7JqwpLDbXcFrDWVd2DcDI830yuAntjSj+XCI1f8/5q8EeRHClkvNj+DG5YQviETt5GOo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717699662; c=relaxed/simple; bh=V3aSz9OakazJIsc+Ir1XSAlA2aVt7bvWPkO3FQk4jxc=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=dBj8IeeQc3BH6gnXO4Awvjj2VbP9BJZiN/skLIRd9y3ipdfY9dc/yAN/MP56bv9KKeoifcv1e5gFmgjopol/pDvUGQ/Zi/FcjAEBTBCpgptbkTRW2j4hrTgiDsmOoS24WI0n9cUouFRdcd494vtoNx5T5wh5IEcwW847lREgENY= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=TGJrilru; arc=fail smtp.client-ip=40.107.21.59 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="TGJrilru" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D5XoZKi79zjQht7nHCra1v5aT82o9uHmKeRF84OqR5t0IEME/890/aRn2o5Z9dANfyrI6dLM1kKx49A1PIEE7EZMuq3BIAZEzBFm7RwABQ2najSOlA2936Enhil0FdJtwemV6/Fc3jJMCuyzhhgwLrQMBvP3A21ru2ROPA2U0uLm4CcjnFnZnSB3V5DBBsoH7Lp3OYVsDagSNmRvvRhX9HUBd2Ska6zCognIE6qqJN8fugKMievqh7p+ccydzOs00KF3xrdJEayTFBLVEwdCtPdycLPTiPKYzwywckWlW9OoqBmsypPYbt6aHRdTvxxS/GJezGHmUNNiKKoP2qWusQ== 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=gMiZVQ5uikdAZbdSJmQz0HHKZZOr++Izx2iEEvyXRPs=; b=RquiDWDIN2ZXaSHX+rbugr15NCapiG1Y3dULAIT9wr4pdfewni9/XHM4cZ+/vDN7DSVAOiGH5L4CqvRKoaUhxt2sLVzq2Er3ZCD7j6uuG2rDC4aUWGarj9ZU+By6ajE4ZEImPErYUMu1Q9h3OHYXId15OuwiZfZ7STuivwdVBeFe1HM4tepMxcq4I715uo+Bc24UiHXOlerfPVTTWj7RjASGaOE/ZujliLm0UoGtYouTJMluoQlW48kiGAfwimT642/dgS8JUczIJsUjndFdLIkzKQkDBNf0yVRxrebmz2ie8pWA/yJg01iGptKdBwXp6gk5+DhKHLP+5B7YQEtlVw== 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=gMiZVQ5uikdAZbdSJmQz0HHKZZOr++Izx2iEEvyXRPs=; b=TGJrilruKYNfbGKx30xntyvqilu86OVMZI61R6goAcjMmQfTz3hZXh/DrCbhDRaXA9qGMz51jRbPwONKXEr8k8EZ5gvuT9GIY+lLSJieWOqwXXbQRTmfhXWPS+qrWTJcYM0MM601Om9sOIrl8dGu4jcSsoWe5IVn6JYxC/9z8oM= 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 VI0PR04MB11069.eurprd04.prod.outlook.com (2603:10a6:800:266::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.27; Thu, 6 Jun 2024 18:47:39 +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.7633.021; Thu, 6 Jun 2024 18:47:39 +0000 From: Frank Li Date: Thu, 06 Jun 2024 14:47:01 -0400 Subject: [PATCH 7/7] arm64: dts: imx8qm-mek: add usb 3.0 and related type C nodes Message-Id: <20240606-imx8qm-dts-usb-v1-7-565721b64f25@nxp.com> References: <20240606-imx8qm-dts-usb-v1-0-565721b64f25@nxp.com> In-Reply-To: <20240606-imx8qm-dts-usb-v1-0-565721b64f25@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=1717699632; l=3008; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=V3aSz9OakazJIsc+Ir1XSAlA2aVt7bvWPkO3FQk4jxc=; b=a9hLZiTOJPt042ES1ZhCz5aBb52fNeB7ePrRoFwS5LPy6kBRGSk+Kc8hEWIaZ9GA3jcSgqILN HcmGOb4IuUhCtNPSWWqG6/ca840KNrVIiTJkcKBZi74oR7IHUJCXxny X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0178.namprd05.prod.outlook.com (2603:10b6:a03:339::33) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI0PR04MB11069:EE_ X-MS-Office365-Filtering-Correlation-Id: 2665ee50-34f9-4258-22d3-08dc865923d0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|52116005|376005|1800799015|7416005|366007|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?VZKohaunYt5/Suly5Ri6egR9hXfBP6l?= =?utf-8?q?EFi3WIeDsNvycGWDSeW6TVCkcZ1zs3Du3ftsaikWsg32NGQXJWHKjEGpu4f+W1vWK?= =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9?= =?utf-8?q?8lclrru7iowLfBCb75+aYWObR85d/95HVPUfcVXB7VDdXEw1iLIQjHIWiPzN12kiX?= =?utf-8?q?+nn6Rsnq10a4QULxK9XbbneJhdeapt74NgrdlWKQ0PRsSTTDk/eWdwDucC7E4tOZD?= =?utf-8?q?sVAmwNPNV0VpMj6/iIo7WDnTudqqVolmrsNZKz0K8AfKLId7SGzabsSqzk4CqfC20?= =?utf-8?q?D/TpXccz7Gl+Y7/lMMR7Ji77zmmk/Y5S5JQk7HLz1aqu3+NFuwvJYIBiWI1PSe63D?= =?utf-8?q?SuvJtSqZ0PWHQUtkaJdCV2v/0CrVYvZDVukC69Jrcumometmpofm86VvAIrJHLF6T?= =?utf-8?q?jWeJTQgs/mRCrxf46+Aca0cm9EqTZi7m2xXMZq4WZDKGX5GDSo0sAjhM=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:(13230031)(52116005)(376005)(1800799015)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?V10nojJhv3vWLnnQSbQxJTDUn+6g?= =?utf-8?q?Wcz2OaoE6VjCemEEPlZZVY130T5vISF1AzY0wlE71+tqeP3oKrBSk2ZSMOaVyVbYD?= =?utf-8?q?8KjftHkFg+mx1ozLfR1+EkKhv2XveVW4EJUYFZzXPO6dEjAF5OVi4hzaX8BFpMMZD?= =?utf-8?q?Xi0W8hgIxBmcWlgqco9DDjqI3eetRZ/Qpk2piZsMfzOxLAcdUKOgjxAJLLUIHxFCs?= =?utf-8?q?U1pnwK48qc/+At5QFBcESNV8MmIPaGGx5sUIMJhDGdvcdImgqOloMxb5ruxrlhmq9?= =?utf-8?q?+HqeYlfhznPcgjBsjsANY3Z9gNzJZSUpIsVpY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MzMDuilN7PawZAoXBti6?= =?utf-8?q?cgjkRHsuJhm2nLoNOfkJ3OpvzK8fy0WUDMaPqrZ/HGlWFVqw6R6FPTorxl0e6zCHE?= =?utf-8?q?Pgu6ESaLHTkTAehVygg1NXGTEKj35nysXbzd7k07fMLKAzg3mPxJXTnbkRhnqyTy3?= =?utf-8?q?Jfiv+5MJZ3qCwoF2aUeW7TlRLZQ1Nz3msVe2EGqgwTWtR8c6DDIA+MGs0qgZk0d3w?= =?utf-8?q?dTGkMxm9w+o3u1cB/6tf2iAXTjbZwowcvHAjcIeaWnkem4qV8xiWlf7xQYD9qsLyT?= =?utf-8?q?hVh17pQJbeV7H2HLtKCPJEK2YfNaNHB3gpOz0+oxCfpdD29gXJ99Vet5Af8gWnXUP?= =?utf-8?q?FIXqXxeKlr9G?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2665ee50-34f9-4258-22d3-08dc865923d0 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2024 18:47:39.1722 (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: IjrRZMX+Zd6axMTUrgtooZOliSe/oVWhdUol35VIXWOI5Oj0jITzFUn3VhaYMeNv7llRLFzsmgKv63hRiVwCbg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB11069 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 dedcc1b1bf12f..f6e2f1573f6ab 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -7,6 +7,7 @@ /dts-v1/; #include "imx8qm.dtsi" +#include "dt-bindings/usb/pd.h" / { model = "Freescale i.MX8QM MEK"; @@ -129,6 +130,21 @@ lvds_backlight1: backlight-lvds1 { default-brightness-level = <80>; }; + gpio-sbu-mux { + 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"; @@ -341,6 +357,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 { @@ -553,6 +607,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>, @@ -819,6 +893,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