From patchwork Mon Jun 10 20:46:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13692405 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2042.outbound.protection.outlook.com [40.107.22.42]) (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 9424014267 for ; Mon, 10 Jun 2024 20:46:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.42 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052403; cv=fail; b=KU1P370UlfLPW2WBS21NCypVwdCzP8iCLDqEngrnUOt3a5ddbf9t3a+CeYl6r58/NWMrnZZD5Uld0QpNxCBjonFI5VNnxuUH5Pf5TdYndII1qGDGuTZRs5S6F3nb2F3UtqLGeY6HEIx45RE9BObvJAsmAdH6/IudWRfTT4W9gH0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052403; c=relaxed/simple; bh=fdZ0UttgOfRQUjL4ounI39RHpJEK6Tmo8bhsYsc0nhM=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=Bnrcke53kY58EBJiicYf/uWi6b+6LPR9gKtKsFjUNAB2lCrl88EMkpCofdOIjYb65TgsXEGWPlvF+urQ8EBgOVrMNfcWaixZDByjImXUpi47VFJyzw3NLJu9lPEkqavTsfRuEYGkCDhsze/0uoCHW84z26ZUvwXjBtlKpm0eEhM= 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=BJw/o2Tx; arc=fail smtp.client-ip=40.107.22.42 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="BJw/o2Tx" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ChDh1OMN3RKcUps8GKxtKCuqCJl0hckbdxuzX0PiDAc5WvOj8XjpYqODJIPkeFwzFQOoE9L/j0y9LQrnUHfC5BTaBpkQlAXkVDSm+dUAb+C5b1rQI0ri1sJDYNWjxS67Ca3/c6IVVqJCalgR20pu+YvNcaBOxr5JQ8QzBIyqGOYj8AfniZKmPn7v/CCop+ZmCg3lgrkoke5cgL0DWR7VqzkSU1iCyU83wbOB17N3eiqGOqqrlw5ZNs6BcvJI/MptylK7KIsXjb0TDlfomMbNpymRq6/TgyDEBkHXjcNj7YtE22kB+lx8GPI77EPTJo4anJyQPlZkvhkyE9nYfW5xZg== 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=30B1mjX6R/UkFcJMJiUUIpIonuejDtwEFI3Rs1LI+dc=; b=jRZnpr65m5uYueTyu0B8+8D/OP/6kvTswoRX5By8DawEVsn2Oo4rbL/UGChv873bBExfXejJ8Ev21ufjYStt1dOlpdZp9xWDKiUS9bj2HYxrrPySmxCkv30r8pieU2pRNXFxTmMrJH9aUgEw+55D/m5bI1rZBqEPKNb3xTBN1TXrmyhM6xk/K5vKJ0guyz/DVgo8x+uD1yVo3I7GjZrCVRsDV5lgqnaBaOknYrwXGJRAE+ezq+qKn8eOPmbE4Th6mN3XaXqU5Uaa2wqJSXxepCgU1FwVSaoO8PjJxYX/SpDmfKupQeM0pqYBjWvhKo3pSrIxet3KdfcL6kQhMYGRpg== 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=30B1mjX6R/UkFcJMJiUUIpIonuejDtwEFI3Rs1LI+dc=; b=BJw/o2TxQVgANKL97W35lNNXy9kz4HCdXNT/vas/hN7BkUXASD59qdqcgco+ZLl5YHcZ5850pH9YrWUcPVtEFuvc9R/Zw7SxoLf5UyADNULCm5TSKUgJjeVZWoOv+hh/5t6mNS+Q9CaDhDlS2w01GDWK9tl1WlUsy4iLMyQ4VW4= 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 DB9PR04MB8463.eurprd04.prod.outlook.com (2603:10a6:10:2c0::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.36; Mon, 10 Jun 2024 20:46:38 +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.036; Mon, 10 Jun 2024 20:46:38 +0000 From: Frank Li Date: Mon, 10 Jun 2024 16:46:18 -0400 Subject: [PATCH v2 1/9] arm64: dts: imx8: add basic lvds and lvds2 subsystem Message-Id: <20240610-imx8qm-dts-usb-v2-1-788417116fb1@nxp.com> References: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@nxp.com> In-Reply-To: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@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=1718052391; l=6534; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=fdZ0UttgOfRQUjL4ounI39RHpJEK6Tmo8bhsYsc0nhM=; b=Bf2dx0MbvrHesjmkSwBoIF/dbAYUJ5PO4xS0SmMeySM4AAy1xgTm6oDLFInZm/RkrQOPz+rOV b7qJTlPyF7MBw3VBEY/eCbinchopEiGdl4nrlXBcVTHluushqdYb3E4 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR06CA0059.namprd06.prod.outlook.com (2603:10b6:a03:14b::36) 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_|DB9PR04MB8463:EE_ X-MS-Office365-Filtering-Correlation-Id: 13675bfb-cc50-4b52-e14b-08dc898e6cf6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|52116005|7416005|376005|366007|1800799015|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?LC2Q98KXmr6tRBbuVTpv+tzL7Vo8BL7?= =?utf-8?q?yivpDdp2IoCB6YVU4sFXFAD6sQiWbIrHkep0P2DaT35H2dCkMJW94YjkCcHshWlfX?= =?utf-8?q?3EnmCgAN/tJKuQXwftmK+Vi7kxZ8iElnDs6AMmQe7ktTVe7BgbJxzz976xklKjDU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oD5cMY?= =?utf-8?q?D2R/jbBKxuwRRqWvHRl5gAF25XdoXtvLHPkMd0msoBzVD/2iEs5IW4D5YsN2rVe7g?= =?utf-8?q?iIVgfp++b25QoIeX7G7fZA2O5Axqp0Fi750d+R2JKzmnw/lSZfZHUGH2rSStA20Ry?= =?utf-8?q?t3bHPlFFqimB2T4Bgu8E8ykLZXKvBf12tSq7FKgSXAnJT/i619qJPTcULXAlQiTEs?= =?utf-8?q?GUi9kA8MQjzWzwmTjZ8VAPlYS5k7NRH3pkf/AKnMwVSAo6os/xMF7ZT1FnA9r6LXt?= =?utf-8?q?/wa5C0d0x6jiWIp2T29a0HH6jaBDhMlmOTVKuGDWJZOm5DY49TnfIyLo=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)(7416005)(376005)(366007)(1800799015)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?c8TKzM1G5bGDDjPwQtJ9G/cY0YEE?= =?utf-8?q?DWAQ3KL0283R1zWm6+/RV0h6Lvxdy03Si9YSTto9xNwVgaYHrHw7/CLlXi8PhSEM8?= =?utf-8?q?7DG3p3VyZbUS/pAs9YM+hlqjExvNljuWUdUSowO/iQucBntIk0Irnup1oPtyZ11uv?= =?utf-8?q?D/FITa8GONWfHo18SvyvTxiaGKmrgUOnA+rUeLzFRlAd/7u33kWDDOmiZCqFPR82X?= =?utf-8?q?WethuUqZhEEUA1MpEA9N3L9LSnPc8BFGRo65I4RtmZjeiG4bmD5fhXkNwygtbe9ad?= =?utf-8?q?b4SGV+7gsQ7jVoZFEBiWYbwOwtrpWag3StJ3wImq98AnTyETIAKMCltPRjQ4ugzmH?= =?utf-8?q?1p2x9duIu56EBi9v3BnM/AE6Q9K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WSTWNefLqDATDpqfgngZp2n6C1xJk+SVlrYK3jG92hOq1sChIT49?= =?utf-8?q?fyBmNmGnVFqJ0TlkeZ2pzvRSLWuTgtNW48DxZRRDAzutz5c27pJaYuBG1qigq1Wsp?= =?utf-8?q?rqOHiuoKZ2LY6m+zU4cZ2AGSqJ4ey7Retu4nzFpR1T83K2sJuGIsbByyFAEz0V2w7?= =?utf-8?q?ISN5a5khgC5uC5opNOYsfbwyiyE/6TLAu+vhC7676lqRV+WTU/8zuyFaVeXpY575R?= =?utf-8?q?0MGbVE/O1xKXSViQ+WzQmryAouPJag1L9pYEl3Ve5DdV7qJWZDftTDbg=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 13675bfb-cc50-4b52-e14b-08dc898e6cf6 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jun 2024 20:46:38.6858 (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: N+cZtcLBKRdBFhpOznqKKtqLDnP7oWL5JN/iZbailVVAuqG/t+qTCrQi11XYiNsCi8G7U+mJzyBvJdpeP3XkvQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8463 Add basic lvds and lvds2 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..55fd60446ad21 --- /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_I2C_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 Mon Jun 10 20:46:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13692406 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2045.outbound.protection.outlook.com [40.107.21.45]) (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 17F9C73455 for ; Mon, 10 Jun 2024 20:46:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.45 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052408; cv=fail; b=n+dITslRc50QfSTtQlkF3Fzpp5ws63icYSfrG07bFGdJtXizguosDF6ndfck0eVYMOoxOnNyLfEapHymjsz2ovk2oKhs7IpD3oYlur4T8Dk7fL5k2z4lQRa1mtcmHfTJuWRmeX6R+mKwsEtsmJdnVYPQ+gRDPm4jKjHwmhJTQx4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052408; c=relaxed/simple; bh=XCUDXz6P6qoQoUmf7K0bLTg1SJKxzmluB5QhvEptooE=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=OcMK5/3K3v5FfZGTxYhb7TV/EyPXqmSanLjo3kG51pevzEgW/F1Wy3DYVYUb3eNIiOO585z+uJbY1t38KQCrgQLFcS+fqOD/KaHY5v1yHBVz7InzBdBkTxW7TUNzZO5Zl2YwU+ShDt9OQh+ryT/6R1yIPt/+ohFgxpj/gjySTTA= 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=ExuttuLk; arc=fail smtp.client-ip=40.107.21.45 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="ExuttuLk" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jiUfo0MiFgAhpGVFLTGZjS1JGDhQhb7NRqMFfchua4/j11RFLhOTVnLOp2l3K+v46QiNTqzQzKVNvma7I+H+ivMHuQqsjG47QqMntHcyvem5Z6E54ldQkvcbL+mhWM0HyvugS7qQMF50IBjPyZUSMGweg8rJcCrvho/15hVumv09w4pLpxuFBKA2S1nuhTge5d+7KIzeKQ+LThIpJDYUlr0LMqeub/x4DohbGeAYf9gAi4iLXuvP4NueC+qKU7theGicqDbtVi14FCjOQuM5fuFRMtw3N193/1g8Mnl4o575cgkyZyN61q1+sZSMgR6yy1R8sZFyUWuYkrQFTSU+hA== 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=fdFhtHRUIFSDPcFIFN6D9aFsHssZS5yZ/KSC5ezkixvRafiWCct93rtfqMimBDPp7KzIrXVeBjiFU5AoR4bkUKnsAbgnmah+xKsvvjgHP+ncMq2fBH2IRH7lk29gLjK7i9e0bL6zo6z9Q8+0fhyWORC7R66WLpVs8TyIzuejeX/m8ZLO3UErAdj5UUu7j0YuNJMTerIWuCtEVqKbaruMTVW7ZjiZwnzN2JYq9Lo+sh2xrm9EQruDpyS85p/vdXozlM9y6/7j5D3gIcbmbE7xgJuxXDroKKmLm47zDmJZBr5PtbFIaiPIk4pOkTmsaNIKXAoRmDtxh8By6OlEXCcqVA== 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=ExuttuLk3l6c96qvSsQRCZGQIKCNAnpe2m3lT4jmd4zDc+SNusJzUDTLW7tLN2kAZMrFu4Y/dDLK6v0A+5ObCYBTcj8eW8wj3lQ4N37QwXgtjZFs5ZMDz6cg3h4lzPCj+FkNPJmejtQuuahBd7tinGPCZYe/BlF194Qv5J1tUqg= 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 PAXPR04MB9376.eurprd04.prod.outlook.com (2603:10a6:102:2b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.36; Mon, 10 Jun 2024 20:46:42 +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.036; Mon, 10 Jun 2024 20:46:42 +0000 From: Frank Li Date: Mon, 10 Jun 2024 16:46:19 -0400 Subject: [PATCH v2 2/9] arm64: dts: imx8qm: add lvds subsystem Message-Id: <20240610-imx8qm-dts-usb-v2-2-788417116fb1@nxp.com> References: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@nxp.com> In-Reply-To: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@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=1718052391; l=3746; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=XCUDXz6P6qoQoUmf7K0bLTg1SJKxzmluB5QhvEptooE=; b=zsz2KXlfR1We3l9tc+8I4B95PvTh10GYuNjKglUkmeCFrR9FGySp9a54QZ7xtAefuMQTDhu5W WhnXijyOoqWD/4l65LWmHqH2M+DdGhRj26bf/luZhW+eDw3DuIykLha X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR06CA0059.namprd06.prod.outlook.com (2603:10b6:a03:14b::36) 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_|PAXPR04MB9376:EE_ X-MS-Office365-Filtering-Correlation-Id: fbe8ae9d-c335-4680-8d44-08dc898e6ee6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?ND0kAf37ODYcEemcs+4fb+POkPK5g3V?= =?utf-8?q?as5mzg0x08dZsz3BnRzXUrBoSA084c/hz23LS5M4YwF7xsMIdjww8h+DwthcokrBl?= =?utf-8?q?6oDyRf0PwzXjOMtutwJ9uMGB9stZcXxQIMtVvFMGmwZG0FoCvrRYBv1sxVgrMsEtP?= =?utf-8?q?UcdJQNpC2HwdYrvkIB5sF1dZ9acauQoiElTea4hCZuKi3JSUF527nVHcMrLZEfdHx?= =?utf-8?q?J4OxYDKTxVnBMmugDBusXGs2d0txLwwg4XfLdJkVbJcu+DXgxPXd8QL4BEkA+DZ6o?= =?utf-8?q?UOoKtlpj9aK5T8WlQexNmwaPcwue/CKXy1FYPqzv+PGVBsKhjQeiIzLmV43XSFme1?= =?utf-8?q?fk6qYvPtvn6UobNycEWEvcVm9OGUHhRv00mYl46yUIEt+CNv6Q8apdXPhZsHa8arb?= =?utf-8?q?P+ZlQT1aCRbHqnS+QGwuCE44s1g471tO8SNXlT/rNa5h3xmjfQT57QGzXeVBOjbNf?= =?utf-8?q?RlIzRgfJ2s9bjECGoezXt+Fa4iFPp5do4RNETM6NkvN2vKi7efTCupwTVoWRdtqGs?= =?utf-8?q?V+ESTYS5JOWhDHH8SKCJmaZLH2T+O71teeO+bobBOQuYmY6+g2W0hSwYAvmwix5Kn?= =?utf-8?q?J6MYVU7GfZsbHZrlIlB61/9vEmYQXWF1/hUQ4PjzXlFyIs26WbO9JvmJQXqWEdhEV?= =?utf-8?q?4X2YZJ6A5cZ9tnGWA/h3bYKwLjrKs+9epw85lD/X7uzNSbGlILESXY8khz+QeU0tt?= =?utf-8?q?UBWaMdF+FDOi8lqX705wfxJzR4YVaIjv/ng/c8Bt6TRgDsE00fgYOCy0j7pgWDbAB?= =?utf-8?q?mIlhslp/yKHzdpotF9ifi6kQWKRpva5cSa2d3tvQk27bGHDvV4NcqbQHFqTsIF1+3?= =?utf-8?q?F5ZCsNNGzTAKfdFSE7hhailaNFYsHu+cqcmj2fLQaTn0iCdQjl0bXmKm20VBSFuid?= =?utf-8?q?SWjqMieI1Zoc0U8pOKBVDndF7T96ZRvMixcJyAaPxYCCstFdeb23XadVmvm7ZcUvf?= =?utf-8?q?nKfOYXPkMtrj2ZxFxuZyvKIsw8BTh7O4guefjbTfzKxDYvOU86ytPnv97qh2lgoF2?= =?utf-8?q?qsLGlvL3AAG/qlmCDTPxvPrmsBU2hjn6CAoo/r////PMskTW0Zlt/hdkmbIwOwa0i?= =?utf-8?q?0hSwZOMLaG7hNHAdHKFIXoEw8s6TFcZ3/wVk02HsxoMQqt2dpqT1JzMzxCzcQ7ggt?= =?utf-8?q?ffJ17NGAw1fYuJZp0BQd2R8j/uxTN+rXeTIBMJFPRT3tpvImrw6kIHyKIMtJqn585?= =?utf-8?q?Rq3ljghNi6plrEWMyCFrJvp83CiLnuHfPE6Nsw74ZuoNuvu1DlKgxOydyr5FluFDQ?= =?utf-8?q?I5Ifh11TX+2pZzn2f+1fus99J1xV10lP3DErLTmBKGD3YU2QjBhvs8V8=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)(376005)(366007)(1800799015)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-Anti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3FiqPTEiA?= =?utf-8?q?wshpVvyIX2J0LUPPNkkB8H6LFU0nV6KgHhT2dl8CPRQiUH4xLGkZHANMJpCzgibuX?= =?utf-8?q?xm5OQ62rx6AhV1lueQjHrXovI+Vjo4VqGngDYxptMjVCgSzRYWJg/NJzU/mO+GQ28?= =?utf-8?q?rRBDA4pixWKJ8NxYaj1FUtusfac+q/DrjSKZKwfgs9WSt5oWlkXuwuNMPohj8Tseb?= =?utf-8?q?obAHRWhKdmvdqlNXs+zL3eDoNIN36Q7cTAqgPwLQRxqHuk6odpkiJeQf0m5aiuMX7?= =?utf-8?q?VEBcZynQ7UtbKK5/XayY8kZfRhwmWLndDWZaUsHmHBQzVz60iCTfaaAKF6Jv7Ux3D?= =?utf-8?q?1sXQnXPY7rhbcA+1ZivmFE4ZeSH7pSn67yq1NdsRALoZrS0rPZkeMoxRgnlshqzb/?= =?utf-8?q?jbS0UIfa6sDI8vwCMa/mbLSsCqY58mwmqyTvRP1wpqojKJKMYwfbnBg3m25M1sL/W?= =?utf-8?q?J7D4DoL/5oYsHdotVZ5SSLAbci7l03FXKB8+9N4kx6k3C/jP98t6mXoMkU0Sac7QL?= =?utf-8?q?VRWDHWFkjd93tpb+BmFieZsf49Hz6RVYMVIVQter//FKRQH5aTBdtnr4blp2wYKWW?= =?utf-8?q?LAoKf2uktCyC8oyBOe5b6bU81K9di3OwQIuoM9M5BpfGkX+Nz4nT2i842JbLAAL4p?= =?utf-8?q?lU+DJ6Zz92E/vJhDjN7QrlDFNXbK0Wv2V2l3EgqqiBI+L+Evr3y6NDNM=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fbe8ae9d-c335-4680-8d44-08dc898e6ee6 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jun 2024 20:46:41.9682 (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: xDXrEgws774Of8coSTwKT6IKZuQ0wq4oC6ELt3fEdWGmD54NKICOKXTJCHVx9tJ8ZiyzhlPhmR2QPNS37Tk7Vg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9376 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 Mon Jun 10 20:46:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13692407 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2045.outbound.protection.outlook.com [40.107.21.45]) (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 56D764DA09 for ; Mon, 10 Jun 2024 20:46:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.45 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052410; cv=fail; b=mW1+xtjagGA0sWqbam1qtaxVDdydCslee7RHD2HJZ6PCBULIxv5P2tasSMH3poNTSpBvsPGXTaXNofpFrPcFAb9G+I6f3vz8UwzgUM8W6+MW5diy9Oii1J/hA4jZRuh9FJkNZAvswVBkrXnV5E5ywHB7fD723tz020PzIztBPNs= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052410; c=relaxed/simple; bh=0p2raQ2N5vsPsJddo41AkiQ1pr49GXdARo/kCGawPe8=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=suZO+zS3ptRc9xuqHU6b5ltqBwmxH6km8zpW9H4YGhXqqBge7PtvJOq4quRqDNoJHtqivh1fNJ7fJPtDlH8jADBiQ7qrJIB0AVMeqb70h8bBjGg0kCVAcrc4C30PbgJ4IrnmYh2qJ3Tf+pXruzUcIFCg26gvZa+QOqbQi2QFCZs= 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=QAZEJSSR; arc=fail smtp.client-ip=40.107.21.45 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="QAZEJSSR" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jkvzgzfltDyXefqzJjnBBw7Rqi/EG3azwtciy835gCjjcZWa3xfYNksriu8T0KXbnnloAP/+kJ1Z/6xGRc5gBNizjmPHUrCEazobOzeKOe6FJ9ANxfw1hAyHX91hxjYunaGwSBrXzF9oZttd9wiyw8+wBjgbAFFluR7vsUAfo5t+ByhHU1uF/royiuDUjRwUwbTOQAcxPf4QdkrNI+x14ECA4aMWgxnoZJfV4wk0CLK7Od5hs9df8O/9W+VNBbmaCTeYcctGEZbZZ5f6W+O0T1suhWLwq/Ed61ixkkPRKnu8cWm3xh3P7KRQB3pJPaMiHcsilH601ObzFQtpddDlcA== 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=d1U9ThRqch8jsYxZT7J1rZ1nB+WhDLbERuAB0RbR+r0=; b=XuRKd+7/5TZAJP0T8DD9fazDfgOnWW9ckqN7BSp0ZPQJySgaLskFqpSaLD5U+U97NT6XwKbHoqGHin0lUR7j5NBcpoT7u28N5EnlF4G09p3fJjwrProMpa3a5UQCi9W+hsBDQY/6/wSDD60WFDvMGp70pEvwmKOt1n6ANlWXlhP6pl8ikDGCSGtFKAdsqifCgiUB254B1gnzhS/oHANmi0ejqNyV12cxIAgGdlWKl/+CyObCcFIin8+pKZB0Fu3XsUSl7NqJUHvbWK+R7gJUDwpLHUXmIE2X4+7b9JFtWN8ecjdFJ7ym8H3OqBdkYoOIl0HxfcfyJ6S7VIi83+LemA== 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=d1U9ThRqch8jsYxZT7J1rZ1nB+WhDLbERuAB0RbR+r0=; b=QAZEJSSRGNzqGp5/raf+EYaYVfhJvQdEiFsAL2sRGxZ8GArb0cUWGhgIvWjT5DeIBUkP11yZEO7dqAaeEitbfk+1eofRzcugR6yVAyAFN0eXEnjH4cS17185Gntn+F4c4NB1lycjHHMFil+146dSlnHp/82mHx4BSQbHOQZQvQs= 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 PAXPR04MB9376.eurprd04.prod.outlook.com (2603:10a6:102:2b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.36; Mon, 10 Jun 2024 20:46:45 +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.036; Mon, 10 Jun 2024 20:46:45 +0000 From: Frank Li Date: Mon, 10 Jun 2024 16:46:20 -0400 Subject: [PATCH v2 3/9] arm64: dts: imx8: add basic mipi subsystem Message-Id: <20240610-imx8qm-dts-usb-v2-3-788417116fb1@nxp.com> References: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@nxp.com> In-Reply-To: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@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=1718052391; l=9827; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=0p2raQ2N5vsPsJddo41AkiQ1pr49GXdARo/kCGawPe8=; b=GsDY+d6CU5FyYahH2FFIud+BNHMK1F79fUMvkCGhLRXOLKcWSShDu7w0SbQPOjq7EGdJbmYb5 FTYq7jl7l5CA0RovNnAdjwkO8p4tiLgV3Yf7Lc6dS1KN93mppS7wOv1 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR06CA0059.namprd06.prod.outlook.com (2603:10b6:a03:14b::36) 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_|PAXPR04MB9376:EE_ X-MS-Office365-Filtering-Correlation-Id: 6a67cf75-7f97-4aeb-1acf-08dc898e70da X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?NLJbUyVb42jbDdEB3CfXUmyfjzX8YIz?= =?utf-8?q?riBB43qkNBBt+G2IRBqCKs6/sBtk38PegXr8JIuYl0iBtifERF7Ozkj4n/ljou2++?= =?utf-8?q?HqVFa0e/th39XGUZTxh+jV6njXm+MDF7X9QTk2aluBJh8ki9YOfsteFM8xX8mvPt1?= =?utf-8?q?VJWSU6If+5QGejv/rlRXswn0SRAGHcunFcH6BM16AaiAD93IRauTaLUlGgI+6S7tW?= =?utf-8?q?eXKbZn3oKoGaQMTI87mhIGkh+UEuvHdiQFtHbF9kzLX66z8NqQVkQhLZhzw6MBxWA?= =?utf-8?q?5DIPOwUhsC5HGRY5UXuJtfcKwFU+rqmnyuOZrKYnweWFEkdqgZVtAvPf+/p/mHFRc?= =?utf-8?q?Mbrb3T1Sb6tKHAYPiTNqTbmsB6IXBAzEg3MuFJCf6YwzA3BTlGRd4TXeCMOjFtj8H?= =?utf-8?q?IViwCoB00tj+rwDMJcaVDnSSiNvz+emn7ehbAObGmyqp3URpBZ2E1TOdzji4eAmCJ?= =?utf-8?q?xF2FPIqVYytOf/1Jfcv6IcOwCohAw+3t5Cp7re1Qtczw34tDILSz0VOf2YM0zAl8p?= =?utf-8?q?XPjAa7J9PtdYZD3heBaDE5zAyTsuIW8h562SY1BGklJc5W68caiJ31a2Sxka/ZoHV?= =?utf-8?q?ZwDzQLy3N5FM8Jx6+n+qTXlGqHRSTvqw3wNUm0Rj136oZ94oJFR819nYiCzF6is+A?= =?utf-8?q?g/WBnImynLw/skRwptUZQnz2k3L7vUODpE96gJGw3+LJU4o7hBWr4HSEbhzCNmRqU?= =?utf-8?q?n6Kp23hk7L/dko0Ie4m1q/EVZtqvac6Rm8dpHGzfRFSXYnttppKnhRj4B1hn0vKDG?= =?utf-8?q?k19bWGCypLhOrS1h1bsP3Y3Aj6yzqUfpschraTOe69XlreL+es4mTg9w4AwiI9XGb?= =?utf-8?q?AvmtC4Upc1jYQvItsMXarQhY5IzaMTOxBvc1izKUu0KlUOPC69QkvZAmHPXp4KtD1?= =?utf-8?q?NlsU47M2EC9gdfU3AXbJJpi5O5cS4YY/ype2dO2WVDhDNAZTGL/quKIptj5O20lZ0?= =?utf-8?q?Bs2jEXzHV3KctQn5fGeidv/DFzdAVlSL70uyJZf4adqykhz5C+4J1njSL6n4tSZB3?= =?utf-8?q?/KeFDgod07o/OYJQskYhiwBfaEff5AWYUN8/VlesFbe+vByQjZjPahk9xovklGK9n?= =?utf-8?q?NEHSWZ5nYSrN8n1oZk8B+JoAdz4CxoNAcJKe/sVHyl8UYzFRHvsRCAdbCEJ0KhiNB?= =?utf-8?q?xje37C0FTQokXvBeGqNhIbRzK4IS1IcY8I1YA9cwZ9bBG6X9db9mQtzE0iR3P3qsX?= =?utf-8?q?Sr19hbHJNOu/QxTuLHYRORTzy6Szb28eSTKSTP88wQm71ja8TXDypipHIhaDEUy6N?= =?utf-8?q?luQL1GGkDwv7OrNqk2GhXLK1oPRfBW0yTE7kN2uyB4oXlcnpnyGUvOsw=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)(376005)(366007)(1800799015)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?GiAFYesAPoaaxPWjmY267sUzlR+D?= =?utf-8?q?N2UwH6nxHLImEfM89yS0eK+vQy1MXwjNsJiIQxNsF2QRBYksVZmL8E1nCRT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?= =?utf-8?q?g09OO0HrZGHzoS3mM9x+pCvudRIDVoyfuaO/PoKSPRbdDssJPDmyZMh4llEamTPqI?= =?utf-8?q?setfL7jzF0wss0r5EBvCnFIEIDSoXRovjbt+3I8M7517zbKH90ltCyiCECsDja843?= =?utf-8?q?AExLFu6r1HWfHnl/K7EWnq2LbO6J8L9SvZAJgVG35PR6sWEXbriP6HF2uKeToX8er?= =?utf-8?q?QjEG+Y7QoKbslxEfRjlz2z4878e1EyewWhBc46IgK8daigzObj0mvpQbEg/mkEUjQ?= =?utf-8?q?sdj+YBlKBoJFdddLvHQ/T4opyYDOQIkheAQO8CMUe3IBxETqQM3FHyUy/9Ep9A8RR?= =?utf-8?q?9Ky+PABs0Ofyim00EOOdnBjzZc/KmH67aQ1lJU6Gaan+64toIjS89ljNUAM9cBR0v?= =?utf-8?q?zYqqY+DTeFrJm1kAEskeMmAoQyhtvLzw0ne5I6lhoZeDLOlxnxD1NC0cYAoz9pfsv?= =?utf-8?q?Z1ThzjexNwUAQQJbpQH81Yoi4LUCooG0ueuunQebBrpJkCz0Bc1PxNhoN39DQScat?= =?utf-8?q?ZDxlqILk0A2QClyAOCeBQWMJuCmBGsXJ9HRASE6Kqx5LQVaFD0LkKg/U=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6a67cf75-7f97-4aeb-1acf-08dc898e70da X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jun 2024 20:46:45.2332 (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: QzZnUX+TQqIrc0AvpL1c18UprZSy+0HFBG3PGPXee7uj3NisRdlaKFb3MvFZ3xsfyFwOaFcMvLtkVU81XpYtGw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9376 Add basic mipi subsystem for imx8qm and imx8qxp. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8-ss-mipi0.dtsi | 138 +++++++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8-ss-mipi1.dtsi | 138 +++++++++++++++++++++++ 2 files changed, 276 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..6b56315e8c434 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8-ss-mipi0.dtsi @@ -0,0 +1,138 @@ +// 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>; + 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 { + 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 Mon Jun 10 20:46:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13692408 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2045.outbound.protection.outlook.com [40.107.21.45]) (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 C970C4DA09 for ; Mon, 10 Jun 2024 20:46:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.45 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052412; cv=fail; b=GWLvh75IQpCVjl5vc1Ypeh507L6aZIi9mTuUhtpWInfpCaOgjnBg779Q0ujeHf8ATyN7QBJlcEokoMgI/RNNGXQ/Ly5/jDXkfAuHEBsWBtmITZHFtlZEKPE3ikDtN/JoDne57n5+C5wKZWg9AFIL6L+X36MGx9kzcdJU2hE8ZBU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052412; c=relaxed/simple; bh=D/HTT6VW4dZrgZh+cZoXZPTksLJC7/kUCZRgOV8vPgw=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=bb7d4TNl9628tzGUJFwLeumbgKkjW0SOwB7SKiH0G1POv7tb+c/uBgV2VblKlgV9PIKl0Z9ZsJX5+3GtSRQLibgYvfMlMJa1k42z6IDBgdOBLxctdZOIE2ZSWLjWmsr846Z0tVyye7OavDmJbs4J9SAJPQY1mbHIOJA9E85o6YI= 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=bkWKXzsy; arc=fail smtp.client-ip=40.107.21.45 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="bkWKXzsy" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YOiwLbQ07RcIDKHa0TmQQcywXjFdXsgRoGVgcdktjCGSjwL7i4h6aPJ1HBpI4t6ncHSp8d9LVV/f/1fYxTyzt5MDr/yst2+VTOicUjlbNfZXco9i0CAL0ysA6x1Uv0HPVSHMAsa5sXxrtt1Q36FfQ5YUqhTCEP9q5ViDUeU/l8Q7gSi3swO8kDukqrtWdXdbMB6tBF0bSTTjTbgJy7Kx1mMfYXKX/lEl0ib/nWbwBQN3cj3qX3ilgpo0bONgbH+xdA/FiMCDmgrnrBtex3IvC2k3WZf2PSm9XQS4aundknaaDNfFxduEJE4KbfiZpmGT7GckV/a0OpM7RT6WIN0WRw== 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=z/sFqS5TSMYymvaoiJr8Kn/tPsOokn9bvjnnZsuXyJM=; b=HV0Ji3G+fL6H6e11vJdvOrYASFkmf1aN6lqDGgrP8qZDkBVZsgfLGQS8mmW9OEIEWsgclF7LrbmFYav8+ckUYxo56CtRhkzq0FmwdBJ2GpeKJwgz3x1UHDSFHIwyWgSJJ6l4xhTtTHGA2fcVlyXMmGCiljyou3CUV35RTkr8jCgtFRf9XDG7PX/EfjJ51IaOEFtwjra2jZaEZegKD7yvqwBua2XqVgx4VV/dIhDQwZ6YX+DAhcr6Qi+KERFwjsYY0zrOQw6Rfzcp9Zm5ww+BzPboA096UULWwbmK0uOh/SItrqi/CJc7/Fd2MALhpSQ+12HsV0LlPEwR8zCBRUOnEQ== 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=z/sFqS5TSMYymvaoiJr8Kn/tPsOokn9bvjnnZsuXyJM=; b=bkWKXzsyMElL2TwcYeGEZO1lg4p/xBc+cqIE5+0hkreUJquV9qOBUcZkq1V9xrCMPwF8cW9cQGrksvyhrpYXlqxfTToTSSecXkS3CdleiJSkxNwhd6hz9rrhTGKBsdzWi3uDiVDp/NW0IcJFd4kjy545dZI6VXO9/z3yXFy/wnc= 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 PAXPR04MB9376.eurprd04.prod.outlook.com (2603:10a6:102:2b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.36; Mon, 10 Jun 2024 20:46:48 +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.036; Mon, 10 Jun 2024 20:46:48 +0000 From: Frank Li Date: Mon, 10 Jun 2024 16:46:21 -0400 Subject: [PATCH v2 4/9] arm64: dts: imx8qm: add mipi subsystem Message-Id: <20240610-imx8qm-dts-usb-v2-4-788417116fb1@nxp.com> References: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@nxp.com> In-Reply-To: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@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=1718052391; l=1586; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=D/HTT6VW4dZrgZh+cZoXZPTksLJC7/kUCZRgOV8vPgw=; b=V2akUPTI++au/ry9HksCaX9XRH6ogbzbZi/bdGPIlwJ9BN6e1xguWm9CEc4n7QqyxMphWBGP+ uQQ83ik+9zPDtsXiDSHnz7yko6hBXSBLvqSRj4Np8OAj8VVTXY1kYhD X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR06CA0059.namprd06.prod.outlook.com (2603:10b6:a03:14b::36) 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_|PAXPR04MB9376:EE_ X-MS-Office365-Filtering-Correlation-Id: 85457aaa-b2c3-42af-cd0a-08dc898e72cd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?GvFS7uLw48vKCW1/CllPdphtBGNvMoF?= =?utf-8?q?zaZ7cqyVx8FSq4yDsbbYVwWIGXfHt1O5BaYbZHF5rGdkPS1Z4IATk1l1EyaxdMD5f?= =?utf-8?q?TyOAff/Q4p614SvGkrMeW1fntsk9qXaFLZTQ6x7NerxXEUWaAARPBN7PkjQhB2T1E?= =?utf-8?q?RO2illIOBDH2YpxV9Z73cK6rqVc8q4zeYjbpd4e1IqaSLYZ0SXm+jaQpmwwzgj6rU?= =?utf-8?q?o0EUAvdVY2z+QI/d/xMqFi+ZYmSEZahyBMB11l7g3eSc59lHJrTnlKYaGyWnJBHb0?= =?utf-8?q?OaPuurUSohaBEmwcnl1d1sV/FY7W3PUSCFe17Fd2m6v4PbppKpD1hNM0MK7AWm2iF?= =?utf-8?q?r7E9hRdAGnt4C1q9QJlujgWCpu+sFDQCWhykoggTSqEpzh6C2gc+iASAB88Vc/7Sr?= =?utf-8?q?eU23GAqkj6Nd7gZMWlwqR7iLk1RoMN+srr6sH4Z/f5jHE2baxb2RB60EYEy7Abs9N?= =?utf-8?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ront-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)(376005)(366007)(1800799015)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?UOsAd+kEKLT+Iv5/DAlsyFTpV+pP?= =?utf-8?q?GZxutKSa19Sup6+EsEOGwEB+n2x+Sj16FWbdjj/nPNhtWeI+R5EgZLwQoCDORt1g7?= =?utf-8?q?v8mJw6wQnq1oM/J7YqxD+Cj4kuIjoVz4l3Mu8m640rTmwD77Pz4iGMzS8bXSRr6Ri?= =?utf-8?q?Ur6AnJUfmv+wMKwr0dRwQ7nvUef7Hm5in3ZAq7E1w8HaQThErR5SMsPvN30eH7HeP?= =?utf-8?q?T/1oCltly/7XFxES1I6hyGLxtnJLs8JnqVD/+ilH/GQO8RMIbm/ZRN9c/c3TD7xEQ?= =?utf-8?q?8tffwLRVtInj3PLwcL/yaFlM6/URjaxV9X1oVJplwi9UXxG1elOYeSLRgD65u7x+m?= =?utf-8?q?UQ9hSvJu4mImrqmDHDP00RUO/8AmkqjGJsEOYurWZULeh1GlFJWmLgHer5DjvdXMy?= =?utf-8?q?TJeaOYLbbR55aJCE7F8wZQbqVxYR1UZvE+Cy4wzR48Dx+oRrxIJaQQ5uprFhKedPA?= =?utf-8?q?Kyyde9ki/avuXj3paXuQyzY56i3Qz4kwGUXefQQay+wwiBhx0YdtvdZXrlGqG9Yiu?= =?utf-8?q?uLUEdGdlps3LzSG0W7VzOiGbJCYgT5zUTzCnEiGF3wUuEdnkUivA1xMFzEh2nNBIY?= =?utf-8?q?IVZU+cUtrxBG3dwtkC7LQPUhzQOVqdPWC7qmBWvCEEG5zesz0O79JDmp03TL7ETqD?= =?utf-8?q?FZs3iskQ9PH79nZNf0Z19p9d21v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aaa-b2c3-42af-cd0a-08dc898e72cd X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jun 2024 20:46:48.4933 (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: ot2GiTE9xpAo+HhIfyRz82uAZKjRW0AGM0Tg0Qo/rvro1PJ/kPyNtIjbQoLCx8CkdPPcL8L7BZLFZWSkyXTEtQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9376 Include common imx8-ss-mipi.dtsi and imx8-ss-mipi2.dtsi. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi index 1e8511e8d8577..9554e60228dab 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi @@ -567,6 +567,20 @@ 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" @@ -574,6 +588,8 @@ lvds_ipg_clk: clock-controller-lvds-ipg { #include "imx8-ss-gpu0.dtsi" #include "imx8-ss-lvds0.dtsi" #include "imx8-ss-lvds1.dtsi" + #include "imx8-ss-mipi0.dtsi" + #include "imx8-ss-mipi1.dtsi" #include "imx8-ss-img.dtsi" #include "imx8-ss-dma.dtsi" #include "imx8-ss-conn.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 Mon Jun 10 20:46:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13692409 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2054.outbound.protection.outlook.com [40.107.22.54]) (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 D335F55897 for ; Mon, 10 Jun 2024 20:46:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.54 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052418; cv=fail; b=oEcZ7uflbsmLSXCxkng1/2OZwOXqTSqaDTfwvewxuaNMpHoGqv53cdhS9iT1U6enwktFRXvkROIe7fgAp5Z4b9jruqTji1BFi6kLnKmkfZI/p8Zr8SlhJAvw7/sx2xdz2bIqnrVN+ND1FF82s9wQ/BjipuekKWzbaEh2o90KcBQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052418; c=relaxed/simple; bh=dCwtPi/8EJVcD5gh2DMUVEwQe5fEGO87oefK9gHe6mU=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=lSC7q+FcW7ALrd6kuS5JlJhfs0KU1CyPi0TlEGtgJJkdOz3H4PChu92Z/mSHK0mFLr/h2iZ7dX0f/rqW8ws6yZ77A5mmz0ssEzLKrwhispZfWKp0JWJ+9mEwvndTuPqhPtdeJJ/gcsyrPkDcEuN03QAw2TlAAuy2v1mPe7Zree4= 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=ahaqLuA7; arc=fail smtp.client-ip=40.107.22.54 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="ahaqLuA7" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iyabbG/CtyYYs28X68Ydtqkcev7OlOiagv1n7+VSt65Zu6RRn2+2B2E9GySbBmgO+rjITyl/0aBF72Pw7LGLec4HxTmFz51Zjw211fed2J0C3lhCaUJvcHh3ac9Fz5gNudabkRtmSvpRL067TxnVNNoX5qyz37NYACN5U00PzODgp5qV4ob0SmaA4du9lixAawbzsiMaMrJOKYX5oyUlXdiBx8fsyrEA1J0J4UyfURmmgtxgwzIBCT8MNqvrz2XZkp4JDljPnC9UNEy6SE3O3M6tkaikinx/g/MQZehWLS/Z/RyMv9F2eO1qTguDEmqMVr+06BG+ofcynPfuUXvt4Q== 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=Uh5e4VQ95EWeSl3my9VZFj9F+2x9FmeewOcFw3wo+URZLkMFciqtqzI2xWzsw0HqSX2vFjArdC/VEQxtFwJeyCj2lBbZPBvE4H7PbrS6WaoAP2M1jT5zsaxla9J9sjV0gBqeVdYJMU80vPF2F3fIAEf2sCjuZwG2gtFpVd0uv45CiM0o7i7iMde6hNS01MkL4iSloiJgb/O322LdXY/Fhynm/G00fpqVsUsdcXglxHdLv0wRlOR7j0ZDm42XoBg2tujQeutHZyShAzpzGX2T0gPTZU+qNHyHK9tzd0PiRgEPe1PtoIGlQ1E8Mu7KXPgk64knsJdgwBjsny+gjQCZZg== 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=ahaqLuA7dFVv70aI7NVJuWX5cwMzvvMyP84e070dxX1CNpNG82FOeK89N3VowWeolIdYI/oKP3sYAMSdh01lyp9yqLVdLxdMtlnwba+/GT+iKxechvrlDIptJFC/UaHEkzfFytFtBNIf4em2o03en/Kbf3iB1CpVts1Pa5ceeIM= 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 PAXPR04MB9376.eurprd04.prod.outlook.com (2603:10a6:102:2b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.36; Mon, 10 Jun 2024 20:46:52 +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.036; Mon, 10 Jun 2024 20:46:52 +0000 From: Frank Li Date: Mon, 10 Jun 2024 16:46:22 -0400 Subject: [PATCH v2 5/9] arm64: dts: imx8qm-mek: add cm4 remote-proc and related memory region Message-Id: <20240610-imx8qm-dts-usb-v2-5-788417116fb1@nxp.com> References: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@nxp.com> In-Reply-To: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@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=1718052391; l=2953; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=dCwtPi/8EJVcD5gh2DMUVEwQe5fEGO87oefK9gHe6mU=; b=AL51iU9t628NDgrn3X6MlN7DGmrOt3LofQEQdQCcNLgxLhlxGuH33QHMy21Cn1ckn/0heH0rr uXWDsvAOJB0CUdV58ab6eJmR/xJfNpSXMzUXEOGcYOiv58C8XpMzJ1S X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR06CA0059.namprd06.prod.outlook.com (2603:10b6:a03:14b::36) 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_|PAXPR04MB9376:EE_ X-MS-Office365-Filtering-Correlation-Id: 8330e461-40e2-494b-9790-08dc898e74db X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?kCcNpccPrv5SEw+epBhp961ZqKgw+dl?= =?utf-8?q?LWlKtop8XEJ+Yw3G6zTD14fQp6AIZhYF5RLT5OcZsYbBsluyMaO6KVzvpV0q4SYqU?= =?utf-8?q?bcU/QGHAs8TPjVpVnaH8+H20U7UmIv0X4IrJNmZSajKF2ajOjfDUzEUfIkEHsb36A?= =?utf-8?q?4/cdNnLricX6+XTVbUXGM+uH1m+z6nfsrAh0ikSMKGbHdrKglik4W7NhVjXgXNB5k?= =?utf-8?q?o48vtWcl9D7oKnDSgy1n8Q7ouy98GYM0Xr4re4LGIrGJTzz8Ba/gtpZQK1mPZeDy+?= =?utf-8?q?8qSgJZTh7E8RDNjleA+KwK/TjD4vPxHhTj4TA5g5gbWx5VdGV5zwMAqFYGzpyFdsH?= =?utf-8?q?ev+XSnZiYH2A9DFpGcKLHBvJuaXQKbbJIYnQm0/P3zHXNYHp8fraQL8cG5z8kx/EF?= =?utf-8?q?lZtGbkVPDB8yiJIIcXYO2aVSdshyMpxfEzDcLn+vpLYdGFh2uAIR/bLV5xrdox+34?= =?utf-8?q?yJDmXb6jV3KXVPrA42lh3XlVoBRLFxPT/Gj2tuiXOEhecyPKjFaChJT/tNLhEOMVO?= =?utf-8?q?JaT125gpZeB8xjUBj6IHIPaZK169gnzvU09c+U8PCm5sCDpvg+3gtyyTVNLoa/8ya?= =?utf-8?q?Nwi09Y2qSVv2JUBajrF8KGXUq4a2djix35ZadBp3wJfJckOrVZ6UI58Y+c868IpXq?= =?utf-8?q?c9Zdli0BqHZ78nYvLLeeYsD8CUbH3rc+Ni59EcG01modAEa586EuY1B3TdqS0AkSs?= =?utf-8?q?B7QU4VMtJsBEtQ4PyheGtBHcz8GjtnOZe47mf1y83Kt1izlz7W1AnumuM2MO/LTft?= =?utf-8?q?CKhCTtQCvchmNmfOUKB602ZrMwVqUb3S0+bYLfhSsckEMxvk6ve7tYyR84OJaD/uJ?= =?utf-8?q?fnnG7IWFsRqQH4+NZVt49EuyvR/CyC4g0VjODwqPEsNCFLaYGPf2YH0TDsR+dknyP?= =?utf-8?q?5cSgihgvJys6F3RU+eomNd3124Y1j99z9qz/JsRgzbIX44aJWHvvB32EX44j3w7kL?= =?utf-8?q?H6XiAvuhAFRPA7nEQQr2xl9zN8RCDXQimhFNUkjUXOHB65iE68hQnIC24H6eUY1FP?= =?utf-8?q?bTqMnoKmj879qJ5tUl/Sn0BdVfvNpNYb9raxbpWpZPnS4BBH7TJlkxxKatgOd8drS?= =?utf-8?q?TJsN2WdTE687t/0fE+Ie0TzvlM8a6ZNEUkovWUd/GzOqeLEw7OsPMHnDC/lqD6zMz?= =?utf-8?q?LOupYG623ahFDZRdilKJVhWslXJh/wmj9TRVpBeC9cFSnpBEPGM3LTDPLq29de74B?= =?utf-8?q?O6LLVAr3du4ueZgiTGDhh+AxF8qhldcaANtlFekAC9YucOVditJhLPTel/OKA9r5M?= =?utf-8?q?hvyrBhxi6MaRqBhQEvf2ohAaKegup+vEAC6HcLVaQ4F9r+fGDLi3aTQY=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)(376005)(366007)(1800799015)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?qiN5v6lFugkPpTPXdv8j72MC8ddZ?= =?utf-8?q?sYqXm/B0phFdfZG3HsH9Qu4cXBbzyQ7N+IogOr0hcMyNUHmX21Qdbxwr5wgqZdD8x?= =?utf-8?q?xpfhlGE+u+49nkWz+mDP58vXLbuZOEYd24B9YxLUauttI+3eZFn2SeCEmdup2jjDp?= =?utf-8?q?B4TTSku+nyu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lQS4AyVZEpUCr7L69YW89GIuiFm5GSTHDUZCUBsylXpzcShIstfXn9?= =?utf-8?q?Be7g+FUNpg3OM7pm//GsALB32W2BQqp8qLsKDVweozqMJ/ryuGpgrTf5c/GhbizmH?= =?utf-8?q?Pzzd8VkLdW3OktNd98ZFBTOg0Q9nG0rtWSdkVFpYrQKybBmBZXYYwpSZI9Cm+8Syn?= =?utf-8?q?yMVXyyqJD1x2Mmk9XLxAnIS6Iw4RwPnioRZJV3iyWBPcG4XSMGGhkKSizAPqwL+lT?= =?utf-8?q?QE5pa2vHzergblMmRlS7KHVpic2gwMjN9anTznl8UzIETHofBFnjwNl2k/cOIq6A6?= =?utf-8?q?RDyj7reuuM2cXZ2sugXfh2ceJRg9CZxG+tVFXs+AVy4v9DiBYhKDIdDVZUcvElASl?= =?utf-8?q?d5dzjxpC6NQAwntRzap7DyFqoEd4D+YVp5e3pw8rerXPX/9D5C+yjpCyGSiaVpxY+?= =?utf-8?q?7roNl+90tosZfXPMf/57kV4XobOdnyCP6s+VUCGdcOiNMqbzHWFkxOAM=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8330e461-40e2-494b-9790-08dc898e74db X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jun 2024 20:46:51.9720 (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: y/Auux0EoIrOudDsD1tgU76VNcY0gLjMsv3aLPMEYCJbX8egd9FdhOtjr9ouhtt2UIr+aLn35o0W4870cPIohA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9376 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 Mon Jun 10 20:46:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13692410 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2054.outbound.protection.outlook.com [40.107.22.54]) (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 0226855897 for ; Mon, 10 Jun 2024 20:46:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.54 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052420; cv=fail; b=Wz3NxdiL8Du8AXG7XpnaTodiS+ebEAN4sKYrcr+UTAfRvSgnI5G3525SfJ3a/WNSnrdTh79axU/vhB3s8jPvuGpxgheoZEacN1HecRl3oWku7EyURU1mZ8XVhPLbZL+d4i1RyfsTPEibw3TMPftOevo9MLZquxOJ+C0iVZIZkOU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052420; c=relaxed/simple; bh=CtkKNHUAo2fAzwGqCbTf9SwseCYd1w8VFFilR35ifTc=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=LpknU9yIjI3WTU6zAGi25iTxeN80kiw7US/Gvcbt64FGCaBFdPALVb5LHKmXpR+nQldHEJeiCQ+05qYDYzX7oWWCUfWqftXZT8TWyQLImoBertZgE+tMQdaKz+i4U1WEgwbvGLeglcY5VauTGLqXukju8k41jdXrl0UcS/74Ciw= 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=PPrOvMkW; arc=fail smtp.client-ip=40.107.22.54 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="PPrOvMkW" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EFKKSSCttb0FK9Ek53mHsqsaQ4zoJdLu/sy7qsfuUDVwIUSej+woyCVfb1eXSIbfEhwVkS98BPCH5sJ95KCz4MYSdwGsluVugaJuKO97ZbMED2PgZBh7UmednTF4K7fcGzOgPa2AH4H0WmKc2IxNV5aq8N00i5RISzLt4Ap8TSmcDJskwsj1zmIKlr/GX+4vGAZ1sIE4gJ3NnJBPfmxfnPFqOZ52sLzTJDcyg4hycxoMCFtLpvcdujH/VDNiRmKzrbGssKpayiP2lNa2YcYsiRVJIXtfSGrf2cVI4lXqggLuGoyU47i3dwmZR1H7My1Zi5c25vEFeVfIfZ/mpbTVpg== 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=WbNXYOmM7fmpU6IcmuaQ8LES1RtyThc57lOnzveE9xfrIW/eu1acz1nHNerz3w3FKgtMWEFaesNMauutBHRlWgQFHnOG4Y2P5wri1bqqQre93KEeYCTX9jnV3fqqeOIqmKE7cl2MOdZK3tZb/jasQfUa3WOpVRFMUCN93l6gUh+/f+3Iq83dT/JdMU88OmoSdCvlH6vn9GHaUUM8QcddvUVZVkdPsrAk7lXJoVtmDzHpGu0wzjIqSTB3uBAL3+1R/CwOy0upTWY0v+hEmm1PUafKDL3VR8ac3C6OSzaslU6/DQVGVkzdOVfLjfOjxrSBauEnOCITIP0TxdKMddaTfg== 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=PPrOvMkW2+HtGR9kCvKDh74R2pbY8/CFsecd+PpG/jgObN/tZYHYSpOCOLzb8b8mtFsFELETxtUAOn3I75pRCbDqmalfZofwPcqI7oHgLNkVg9utdPHaTUUef8VDkpzK/6P1T68cxLL6Lw/EZlAgOj4/JFxw236+HhgtXvyNKmM= 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 PAXPR04MB9376.eurprd04.prod.outlook.com (2603:10a6:102:2b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.36; Mon, 10 Jun 2024 20:46:55 +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.036; Mon, 10 Jun 2024 20:46:55 +0000 From: Frank Li Date: Mon, 10 Jun 2024 16:46:23 -0400 Subject: [PATCH v2 6/9] arm64: dts: imx8qm-mek: add pwm and i2c in lvds subsystem Message-Id: <20240610-imx8qm-dts-usb-v2-6-788417116fb1@nxp.com> References: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@nxp.com> In-Reply-To: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@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=1718052391; l=2711; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=CtkKNHUAo2fAzwGqCbTf9SwseCYd1w8VFFilR35ifTc=; b=YqPFi70GU+jIChl7P1uqQM0qNddAZs8wDg3lVTUdW6wNASEhiuQASp9rtmLF7hCZs+VxkZxqb sDlFolW/1F3ACtmGOvxIrB26e5WrplHwqFjdr35OErmLYXJLzAJ+uRZ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR06CA0059.namprd06.prod.outlook.com (2603:10b6:a03:14b::36) 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_|PAXPR04MB9376:EE_ X-MS-Office365-Filtering-Correlation-Id: 30e1a6b0-821f-4732-d6d9-08dc898e76ef X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?qTagLdIZX2q6bpWU8Riz3yNaN3YMQ5t?= =?utf-8?q?dRyzh1Wpl+UxS5AZGlHmzZRCaCG+tnecWrDTEc/favCLv/4r/7NpYgXonRjcUWU+O?= =?utf-8?q?YGRh+dXofJvIxaBm7ErBJWz+u2hjVoV4K5kiePXeh42XkPAkyfnzH3MvxvN4MfNWW?= =?utf-8?q?pNaXbtSDe5Rhbcl21QLoQ5DKuHCs8zebOYOWRV+9TiA/Niyxwm+LSBUaMFHkP72Z8?= =?utf-8?q?OBEFD2IHv8slW0Neg5eabHj6cybwDaQf5048e/GY1JCRcU2LJtSWu8ZQi2xCQcmjq?= =?utf-8?q?TjDyYMPz4P5sVTcL45BbwW/FSIO5zb1upzrf/29OLg3kWMc+UMwGlY0IQngZ8shdO?= =?utf-8?q?/6vtMLdAMwMMf9/9Efyzv6phZtfDo6GaV/5Sh3nFggnLx0n+TYhOSUuvy1zIArkAX?= =?utf-8?q?b+01k5fC1diV4VX+MGfIolYg9kz8Quy8TR1KQafUQSawthmXi+7fWAasnufHFLL3+?= =?utf-8?q?T74mPmaQWXh3gti7fBa4tPFws7bF/bWUo7EIdU5QTKa2eADmnOc5dSMydGYfO2Dyq?= =?utf-8?q?w+zpSlAWtdnzSkbmfy9O4Po/IP7OjMBaT7z7aQttK+maCpSTyXS7heiDYp0kfy0rL?= =?utf-8?q?jJ0TzZxnM2L28vsxB7g9lsfwUvU3NDdQw65whT+yqy7/uugtquSfT+eDWy0SgbPhg?= =?utf-8?q?7mrLTm6xFUrFkdGJhciKegDJ0TobOczJLaBLmt/tTJc96FFti6ah6kO7/ZNibgCj+?= =?utf-8?q?mHpQG7CbFoLxchWmaXul2+SjJVaOVujpCqZiulc56jJ1nmo5n7EUkbwkyb1lXOCBY?= =?utf-8?q?rYKgV5pzkTZ/VdC+PIgalephCC6X9PqqLYXy8D2iOtac0bUToQ6bn+5UFztxbcfxJ?= =?utf-8?q?CgNcgu/1sswuOcjcj36k3V6hMbZy354KezzyLpGtqqlsuKKaW+LOipsL7xYTVa6E8?= =?utf-8?q?rO3DHhc2QXsrlnRfWUu9QhPgm6U+8eXhjYPEVD37b4ZZkDn60amRxLKsRh0OFvOjD?= =?utf-8?q?1j9cVkp2tCS8oIcTCmuVGYpOv3Q3bRHRWbxlchJ0cNV0I4U1Aq/tmJp0TF1K8rXlf?= =?utf-8?q?Q5teZTPms0QUkCCtpR+NRYpTRScv17m4hr8vspajpo1yi4of8nWXVNnQic5s3e0+c?= =?utf-8?q?OUH8jlLSFHw2YakfK6CrZCVbbwUQoyKlNgKrnEZAzSIjfEPzkULU4ICkEAIh6l43T?= =?utf-8?q?5mLcpMQvvNEBvoMnrTh6Ony79NCEKh1GXmdT5K5v2+fWu6argS5OOaP/fteLYYiR8?= =?utf-8?q?pywapKSpRU2s6MPGdsFnpZtFg+FMpdeH1VrbVv/g15zEucCoZxVerFFu+G7x+fTXA?= =?utf-8?q?SWrYqCHB7Ya4VCEXfDH9rQ029OHkBCU09erEOOz4UB/iwGUc0b/jzuk8=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)(376005)(366007)(1800799015)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-M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PWToOrfXY3kjLBJWx6?= =?utf-8?q?CMyArEctBis0G8fxV/W1R+sIweCRPvSlaa15/97/te73vccSbVDrC6yvVeJjdCYNr?= =?utf-8?q?8v7pLXAOtg36JkM3TFbTqzBTArf/LziwTX1aYp7JYdNVM8YjQ5PNvP2JjMhV+2Ge8?= =?utf-8?q?fgDJ3zLfriaIK4terrqvSasF/wLNgX/nuYqa7YjomPCip254dvX8gBC+Bf6Z04Uiz?= =?utf-8?q?yaFHCF5mAvEaEBYYmnHac+pyJdW0xOjWvgWDHBCRlM/MAIjXoWjmqnIO+Ucp7Lttd?= =?utf-8?q?lVXe5x/LP8c/kqU+LzeTMBB3UO/v9NgU2c39Mbn0NWU36M61JioigHPGfTsHJLFD4?= =?utf-8?q?px/oJe7y9aKBMwzOpz3OfiZYFZhAlo8KSlNqnGRbXXQJYoc7cbAD1qqmbknSib7rs?= =?utf-8?q?TKB32mWO44NkQ5rY8OMBCiwXPs0AE69nncirJLZ8f3OCKzx20bXVO67L/LIpuIfNh?= =?utf-8?q?2XWw/N4yCnVNCRuqOrFkqMSA1dYyouMxzDWx/wNgFWJZO0q2FMJGKp1K0HNQxJimQ?= =?utf-8?q?KRkcctW5MRFNWztrbWr/nfQ+PKTobLHmG3vAi/ZNuYru6y3p31dvwScCYm8+G3kzY?= =?utf-8?q?blBV4nAlZt66dy9e+exENltS4PM3weKi6eOW5f51HZt/gqJOhxp14n4hvH4W4URlJ?= =?utf-8?q?hW6Lp8nZAUgS2q/x3FV6eBofzErBdGUujsV9HbJ3hprYNGzjgDxWON1o=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 30e1a6b0-821f-4732-d6d9-08dc898e76ef X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jun 2024 20:46:55.4267 (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: 5hETZfgLrMnyo/4FDrl2FNZiwKBmRdMaJW/L0Vf2xEP0IOggWk1ZDjQqE8wRsxVU3Lborg/+4cbxQuqMIGdZbQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9376 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 Mon Jun 10 20:46:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13692411 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2054.outbound.protection.outlook.com [40.107.22.54]) (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 1A5CD55897 for ; Mon, 10 Jun 2024 20:47:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.54 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052422; cv=fail; b=Iz3Bfs14ElNKTzsnc7aJrjRacQP1zPeZvg3s7c5tkqt2mjYYW8CsM0Tm0HR/gpQ1yn2rdHwbKaqBBX3JOXp0i4r5wtAKS/lXBKsYQPbYDbC8fK2qBHWCSEIgfxAOEomp3kGnCK12iL5aB4fnP1w9MLYvDoDV6elWhereSg2HLuo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052422; c=relaxed/simple; bh=IzehZz/tcy+OhZEkvv5yDy+VxEZsjK9N9TUy6La0efE=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=dJtRJ2Scg9kU1h8Keix59d/VvFHV4khYxSPXXnZQkxtZ5nuBTI7hCrfWfGsmFnu1o3z+Om/mvWhzlnk7HUlZ65e0Ev7SwSH18MCBBA1f2j2JoDhQ7yqmGTf0zTw+1S6MqJcBq0wSeslktJ9rthugpog1LlXgincIkT/ifHdeZiU= 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=MMKLyG0o; arc=fail smtp.client-ip=40.107.22.54 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="MMKLyG0o" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lI3nyfn6sg27nST1tOEYDtGEVitYOXyzADG2mLHJ9LLwZd6wI9lkNIjgTQbYzv2JWGfAyCvWTbQQO7qW4Tk544UWets8F0UohoaiZPjJNjQe+prNB/arC+yNNWNmBzO+oDjDdeUAR0Xo4mk2fu+Bf5LJtvTUeBXdRmvqzrE+dyLljAoiovBq4u8bocYi567ST+nQyVK3dLD+awmPQAFtpR95MnZgXc/2n86tkxFXjcT6TTkMZFayDieUEpzVjCGqZNeYeD7zz6hQPyK37q21nG0Pc8AwhlWMGRajnBQA9QTvBjpq+ylR8VS6kn7Au5V9QO+b8Ca+iYBbPnE2ycAZwg== 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=X81JUD6EAqM5UUsgP5bF4rBZfqOpdUYe5iyjtSptJYhgKWN7kMR4jTAV4Dbb/oHOgwLcRRzgs1n6zJ1Te4cRXQ1WhlG4754vzLOFLmuwlZQlKSTHRGKPp95DSbnPYxJY9gbd/vPiAWktyqEjZqzqI84mtrVgxPUtsPytsIDkihUXFTJPcs0zgUiyj3u3yb7xKqrax/CwL584DqI56VzXHCZMiEhjl3iIaZUPzPwA/2yu5Ck/w8S78JcBL8i9dd+6HXfT1r61IKzUefyoyPOrIV41DL+g6uQGg2/bLPgijy6fMjYW/KFs7UrbfoI2diVkQ2we5WhHUXBzUxbcttyzFg== 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=MMKLyG0oRMBUdcMDFF+Ja9KhQlQbr6ruVZ4IHPL8AwOXi0QPdzqz+jUfF7aZd8pJD0YdyqbEfiR4i6f2MLsSKjg1vw5tVbgHuk4a+1+T3srSPAgh5v7dqHyjOhVGOe2BTw5ykIcgR5355gTyfC0EpfOYNom8KC8X2LgRMSrBNwI= 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 PAXPR04MB9376.eurprd04.prod.outlook.com (2603:10a6:102:2b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.36; Mon, 10 Jun 2024 20:46:59 +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.036; Mon, 10 Jun 2024 20:46:59 +0000 From: Frank Li Date: Mon, 10 Jun 2024 16:46:24 -0400 Subject: [PATCH v2 7/9] arm64: dts: imx8qm-mek: add i2c in mipi[0,1] subsystem Message-Id: <20240610-imx8qm-dts-usb-v2-7-788417116fb1@nxp.com> References: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@nxp.com> In-Reply-To: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@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=1718052391; l=1699; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=IzehZz/tcy+OhZEkvv5yDy+VxEZsjK9N9TUy6La0efE=; b=evZc31/JK7Jrpi/z1h6jegjqRdT4j8h2PXsklLFXGlDLl82EBpirrKB2SoMWkO9Bsokv1JJiU o5PtwMUyDqcCbnvLhTUNxeuImjzGrJj2ltqBD4MsdtQ19x2VdDA3F8U X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR06CA0059.namprd06.prod.outlook.com (2603:10b6:a03:14b::36) 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_|PAXPR04MB9376:EE_ X-MS-Office365-Filtering-Correlation-Id: f62ee35a-3831-4fbb-0033-08dc898e7904 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?LGc8lnvXC5v4nATZz8m1xVR+wlv/eek?= =?utf-8?q?IPIGZeseLFWFM6VeyblIenoGy/tpcrjgMWroEVRzyteRoKQI/+MhaQPTTR+NGHchi?= =?utf-8?q?GZB1IwOFsyZonMA9kZ0dVePaSAYaXwZnxFFPqp7kp1EDmKi40BEUTWLu8JUQV4LMF?= =?utf-8?q?eO5FtI3fHxu2hUwoV610wrHfHYjxD/KI1M7pfh10lez2kA9ex4mWAkGpBTNSaWan9?= =?utf-8?q?dmS5l0qwSoeSJzU7ug2rywa4X6hEdSbHantcBgyv4824Bd84jVIe2VsAQ22zkflR7?= =?utf-8?q?Ayz1UGI2OMizQBlnCOlJ1cDW9cW6DgNjdvm5cpfgSD2HPAart5wB1F1N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?= =?utf-8?q?x3a2A1qr9UtTReC9J1YGweIxjmNKdW00TMzk9Ce6sR0ZJE5/YHQEgSDdchUs9A58E?= =?utf-8?q?BMwdf8kK+p0N6sZPS7aiz8aS5NHCybwluzAiKiVG/5uVDxRhj0YB0S9k=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)(376005)(366007)(1800799015)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?hgUYmOvu8VNw/YTljLJnj3bhu9Aq?= =?utf-8?q?wmZOS1uihQIEF2J8JqbPl7MlECb4hrmpxRgqREu9EaFNqiVJm2pQGuthJNwL9IqdW?= =?utf-8?q?WI0nO3+8BZ46GWfDMvGF4nKRKCmuAcXK2mLsERGthL/hNMqCRSezOPsUgBTEoaa+A?= =?utf-8?q?MdhmQPBNBXK+jBTS/CjTx7KI9kbBYcodjekw9MZDhdxfGeuYuixH7OtF7+Cz7CYtr?= =?utf-8?q?MPxi7NoxFq1jkOgBIFcFxDYCkE/GU3LPzrwRyeycFz3eytw46zXSV3oXj0Ej1dB5y?= =?utf-8?q?862hlTRaECZYrv9VR7QWyNn8BH/IwkU8000j8+hodVsFBV8wmRlqjsK6820z4sF1t?= =?utf-8?q?RBffb3aF9KfyLpgcMfnF/LeAiYaClX7B+WgwJRU3aqcyobQghd6hmHD9aSf/pHKCI?= =?utf-8?q?txbHFJW3ImGie/lCOlVQ7BFqv6W9EvXfeqDPVCbUJPsSXbNU/TOlaUEJ6HWsIaqpr?= =?utf-8?q?0Fj9P/62ekTB+kijwnnhfaMcxD7bBggUQIEnoM4G2M1lE9073aaKaWF3gKM548Ow0?= =?utf-8?q?hmKgk5CMGyheZC90bMFaKI995FG2KPtfA9OFwLK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+OQjCdCE?= =?utf-8?q?LeevuMdXrZkTfq51yPHhGVC/ELogOhOU6/mjpnKx74UBPGYBdnwGfWaw=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f62ee35a-3831-4fbb-0033-08dc898e7904 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jun 2024 20:46:58.9084 (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: orr+QdeghY7yiUW5vF0ChYk5CuKx5uBgSSHuSi0N3M9qYVAAulJvEkA6fkOxqwzNeh1E4zIUOJrS+7EZxPhZZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9376 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 Mon Jun 10 20:46: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: 13692412 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2056.outbound.protection.outlook.com [40.107.22.56]) (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 CF6DA15217D for ; Mon, 10 Jun 2024 20:47:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.56 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052428; cv=fail; b=pAFaNsqOE8NR/8ZcyOYE7nvv59RoapBkbH1rQWXuDVGAANwbDCE8aURM8Bp7YfuKE4qY9TJGmfy9J0cI3HeDQ+xSNfH16z0tvyYVD3zu1yHq1M/q+0i7d4igQdtCYcL8FYtMYiCvCFrTT8+DdcSpv27QuvSsNXyvOWcedLN3/oA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052428; c=relaxed/simple; bh=x/N9UKbuC1PtJqldK9l4xcfA2yq5Uz//yB04e42/deM=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=It+Zfbh+UOkDmL2cssKc9apBhTekQ1UjMsx2+HirFtuZTsntLZm8ZH7Q6wXdOCn9G6Z9ki21Z7oNfEASKBrIhsTpQS/B0XFFfNBOekzFDBIjd0IJJanGunyjLesFJp8ulDoHz4z3JItEaMM9gIlOKvJiwbIKnqIphJkApiAQjhk= 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=l3/0H58g; arc=fail smtp.client-ip=40.107.22.56 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="l3/0H58g" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mYu5oqNlsi7ZGAeNnB01riAAyMnYzaxjyc242xLDC+D6mzS5+93gyuG7ZkXX0AW8p7xT6ZxuxmodVOLPiqBUFdnjrgDY2qa/DmWN11P+COFcVgCkj68ZQEyMUlrrUTFeTX9DlAnsg4oxeyUkOzhUdBdJ/fnZJUrWik5B7BpNoMvoT3+lwOMcEIcmlBYpo3YveNkyWrpMlW6UET1iuYULquno/N2kLGT8V8s7f3ePYFrVLj8yj7XFmNofM/9g+B2rBoEQGnj4T/KBhAdV+wk+f0QUwOAAzSalVMDRIhf8+4WWJYn0H2qrdakcU41ellzvvRj7Oem+ockotTf0H1vSBQ== 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=VwdNkEwVBOWOseNLvchCDFzIInVIeBTJXAZdDUGvuRk2l5ZjSritzWEwItTxj9Q5CGLLdYOK/sc43xJKaxOcr3YBb8DiL8bZPmYPiFfoljyQ81R46ewWJ8I5qqQBGEttkFA5dX/8QN2h2/aBuNMs3/+oyGf4dRiEJVSyvA2Txt4CvVNxSokOgCIrD3VkhQsQQQ9ES0/Pd7tComi/E9MaBRnXwZFMi8mtaFrUyo0MbO3NvoIb1BoC7927d14QhEremk6s8CASPNR33fANx69qqdJoTTzweXdKWgJMl6xRhnbm8jK7ioE3gx1BG+tBRL5Z90VE04zG43s52aE/H6f4gg== 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=l3/0H58gHgGc9572tk+gAo+PbvsBPOKuuOmmeAFvhM0/qxmokV6MlPn3zCTPeqpkoAThlB1cmsA9UMz/RUqORJrrTaqGqWQd6qAi7qV/Xvg0vgVHQcHvvgOdPb1361nEsyw/Pqmrm5+p4HuM/a5RoQV5Hy5i6mzmCMaCOcSRCqI= 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 PAXPR04MB9376.eurprd04.prod.outlook.com (2603:10a6:102:2b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.36; Mon, 10 Jun 2024 20:47:02 +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.036; Mon, 10 Jun 2024 20:47:02 +0000 From: Frank Li Date: Mon, 10 Jun 2024 16:46:25 -0400 Subject: [PATCH v2 8/9] arm64: dts: imx8qm-mek: fix gpio number for reg_usdhc2_vmmc Message-Id: <20240610-imx8qm-dts-usb-v2-8-788417116fb1@nxp.com> References: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@nxp.com> In-Reply-To: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@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=1718052391; l=907; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=x/N9UKbuC1PtJqldK9l4xcfA2yq5Uz//yB04e42/deM=; b=2LeR1aEcpf33nz6zin/qdyb5DKwH9YhxOH1h28q59vWzEM8+oYKd9veGXCnt3C1BKyXRseMpT GEoML4p/gDlAjVKx35zLb99jb10yBAv3093ruLWwZwU0UyWt3z0meuE X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR06CA0059.namprd06.prod.outlook.com (2603:10b6:a03:14b::36) 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_|PAXPR04MB9376:EE_ X-MS-Office365-Filtering-Correlation-Id: 019cdf1e-16e9-4160-b599-08dc898e7b3d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?sF9IpOAydeBC+xVBXbUpqXYy2RzVhrM?= =?utf-8?q?G/s0cOiKtysXQASkydwaI61lik88fBxbzWuAZS6SA5aqc765rg0JPj9WVzU+Ab3Us?= =?utf-8?q?kjn4gpBBT08lThHO3Y35R0xvlyB3Hsb7FZAIJp1e0cHP/9oaDYSMZ+Mzdo3Gp9D6N?= =?utf-8?q?0i7JT2B2nVCHJBV7YI7ppCAday8lwhB1+bmJTSPsL6XtfKe5W929DsuQ1ZuzHCvWy?= =?utf-8?q?AAeEeBa4ERoGCmQnKBeJF06ujReLhpn+qxAuZ4WFP2lwJLa0tYUlr6IKlUvANqGm8?= =?utf-8?q?jQf+aYU6L9DfPQcTPfQ49ZWPQYn6sZHwUXJ3bNfrFoCiFtrlgsAehGOcWd5ruD5V1?= =?utf-8?q?wOHtbeHIXCtr14yn8LMLJ6FGEDxjTntoZ7cRWTVdJLJkYZwXMvMbnaI+R7WqS/uae?= =?utf-8?q?5lrvr9Z3Xh67S2AHzyw7tGA+Qlwdd1mEnwqEZRsO3HjSUkRQiukkNwYhVnAXhFASe?= =?utf-8?q?ZlMbWz9AU4oOA8B/u3tumNZmq8EGk6vWgfy0QeXGyhJ8Ejae+KBHjnbH2+0l4LQWR?= =?utf-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urprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(366007)(1800799015)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?pGCzhuRXUA4eq8miFjQVFo4aauvz?= =?utf-8?q?EoZEDW05k/L4xibKjed9FEN5r8A3t+L1J2+Th3s/SHyb2rAkFf0HZ7r9Vvo1l0KQ2?= =?utf-8?q?iRYfPUuLWmUb/PsEsrGKXCW3u8f4Yrj67SnRtRqPq/857L4EOS5aT4fhKQQAWMtxQ?= =?utf-8?q?o0JWCH1qRpUEplq/JLhpIozTK933c4rQJKT/pP9dbxQ9wSKpJ4yHNZ0SRYpJcZYAx?= =?utf-8?q?ewi1I2tIsSnTGTSQMG4fugYW61MMaQtBte11abe1aJZwbaSqavXI17gwiaLTJr7ZD?= =?utf-8?q?iSpJgQhEXaJm6NW9GupExtVh3ME/KRANyczyQH9/rbI7hDO1DMqAqaQYyX8BXsLx7?= =?utf-8?q?npx9pIx19K54gqPgfinyiNE3F3KQ9Egwtz6kJij8cP2hJq45j4S9ZCBY8hiSZuHYR?= =?utf-8?q?s+z+0Oh1g9ts3d3BmTdiRsJxa4yv9QcgchOT0YE+aZQIpL8s2I2rSR971utUgOyPK?= =?utf-8?q?VhWiaJ8cF9l8Rx5EYrCdPaXgpFwJ509sD7JK2dGElrSqcbp+2W76LeQ4g65KL5yNg?= =?utf-8?q?m6S5oBJFeNOM80dRcGPYIwXRLDzdcSrIOeBAT0rZjxDaSNBeyioDdU/SOqttu8UGh?= =?utf-8?q?dnvQ3swMi5tsDWAiCvZpy98WO+/7NQ9xaHQCOcDY4Sp9Qa6qV/B57kxTqnPcHAKF+?= =?utf-8?q?PC9IOHlE4HqIu6QukDThkBujwKLerx/DTaWkMy54rutcdgFjV79fu8FAh2vTOYXuP?= =?utf-8?q?SjA0MrLla7peo+hjTIooXgmaVNHsqkTwPl7y6yEg7Om6R6vw+5D9q9AGJdfRY0MJX?= =?utf-8?q?64OcN+9KBPw2gcYrSD6QQ5nyJBCaFqMADrspR0evE7xzkoBgECTlKq4sv+jQaHB/P?= =?utf-8?q?nvYVHBE+jVeXAsoT3iYL65ZJX7xa7f6SPd2lK09vpWk/h27ISOOdpZF9JA0LG2iOF?= =?utf-8?q?/b4SDChgDI5p0BDoo/QSJWMeUsx6ih5uMiZJOmmK66xgU32tgH52NzpU03vDJcfet?= =?utf-8?q?GfMLnpOCGvwbQhqVELnuyb1bOyhoKGv0mz426xSE0IUZNKS6bjHMLVVWcxh3uM9mA?= =?utf-8?q?jx5FF95v09ZehA375TajyHFC5Tc2bAgSGMYawfrFb1Aw5BhkHt+4jYe4sNats3WFZ?= =?utf-8?q?Ie7cSQHd9aIQs0HnJnfvYUi3ScjYsydzUi/Fl5ECX4Weq3znueClepCLvJZjd+AOc?= =?utf-8?q?x+QGEBCwfR8Z8RDGVitK2EVRgXcdRtUNR/sankzbrzW+cfxt+RITO1Xr94sSWS+tq?= =?utf-8?q?cmPrnmde+My3uioMtgTiklfk0puhcJxBBf2I0en55oDzX8QHACi4Od01XNXcUSdEx?= =?utf-8?q?mWnZZhDFNJic5sRAJ0eghXnaoDsI0y8yYnpsyYIjScclzz0/GrI8uEnIRe6y74RGT?= =?utf-8?q?BlE6HDVzJHhfJEVrweoHsK+g6DYZfjnewycLNjm3e4DPDRYb60fZeT6anmS4gE2/u?= =?utf-8?q?rBMNvhPdpJA2HROcVmr6MBvZqkoEjDLBKPZdBDv7aFwbkC1AluZhuHgjMgPFPw6sy?= =?utf-8?q?q+koyTOj06yF8cp6OUHpwCfujj1mtmf8ko+vFM9CmQqSUg1GEj1aNRF0=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 019cdf1e-16e9-4160-b599-08dc898e7b3d X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jun 2024 20:47:02.6625 (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: Z6TawCaa6RBwEh0tVyLzRciRkBC7e9T+Vlhfx5UFdsZ8Uxnv+CY/HuJJOWv4GftlwvYGRSkVgxL/1K2HKpDNfQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9376 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 Mon Jun 10 20:46: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: 13692413 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2056.outbound.protection.outlook.com [40.107.22.56]) (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 D3CA7152169 for ; Mon, 10 Jun 2024 20:47:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.56 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052430; cv=fail; b=A/adQAUjq9oqQSgIY+c7Vu9MPYPrsVVv/72YuQ4IVB1DYKM5bJU3IdDmsr2EMSLumB2gv9cekeLI22VPQVjQojLQnT5rY+3b5EzPNWmnL0h7ZMBkrp0e701GE2orHEQ41EYEsH9cQYdt+EyPJajKOkBx8ZBJrkW5OhBieqNqc34= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052430; c=relaxed/simple; bh=BGdAl9Cw88q5CXYFPKaVtp4lX6FlBfRQpGYgJfGNwyY=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=YGfJ/vQ5sK1cpMgQzjez9fChU6HXDtvZvtk7LD1I7P1BiNziPbKAZ5ppw4ewFdgqIP8ln74k6p0cdzV7DzEebbwD/lm6v6ijTZI/ZG9W7tuwMRWw1FpT4BKZiSz5mVSkMh5PLsTT68i8EYnTYZArdsquuueogg8cUVLo1ATHGG0= 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=rGV6h6dZ; arc=fail smtp.client-ip=40.107.22.56 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="rGV6h6dZ" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DISjU6eNEQBvV/QHqzV4Nli8GGjXiS4Rsv1ISNExvAmycSsnKqfixeBiSDf2es7PsnXBJ+iLzAaYQrdigjWYrdqkBMq1MOjheJP9Z89G3X9SVRxtzphGU3fJ5RsEQ7hqj27pLG53VYg9xkanA2qqXNFcprMO6L+oPpjgZywb11S5WUAAaZEWtLorbLsrwhnTX+DuZsp5HpFG1FH/SEWcQSxmecPWETsGtE5clPmNPKnyqGNQ1AhmYJMhhIlyvsttxEkvctBlwCSOaxiPDYDlqYBlxQ6tWfEg8ZRS+VqiVYqwtEDs+dfo2glW3H5ROB1YTulCrxKJhjnhFbNbcfMKvA== 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=KYaNouUi4FksiLWF1zfdej7orAbXXe7BEms7kRkSAoWjIuqTf23JZpyOzfR7fma28Ao1fNbn442ymmrxkZrxzkVLS/Fn68YH1aRiV7oFerf+/jsHBhsLTXsHGDj7lVe6A5woZAMv+4EhsL9eLDXMZtf7nRCcPy8mv9AJGMvqOwdGPUs7pW2t5HuPP2crhB2vvq0fXJNiTQCL3Oj7VihVlXn3ed612w4yxXakm0KnEmpPE/eYuKl9ERHabn2WFlLZ/2SA6gQhmo2Wlcw+QK9rTAs8EGF2v1eprdHjz+OjfAtTueLPmj6ONouuTQ/djMXwGmnMnKwH92y/WHpwob5cjA== 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=rGV6h6dZIjzEKch1H/OsJI/9aOeXnhYutbbqoxf5IZj70Ok2l3As3l8vP7E9Ct8zkqO3+/rwPPRL5wQ0sGdbYdYOhJUDjn9Es9wsp+KrWWjwFOIcM6cW5my/GB597p7kXRTrVaMNhsWSf+M6JGvDc6dNt77wQPjBUS4mN+q9apE= 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 PAXPR04MB9376.eurprd04.prod.outlook.com (2603:10a6:102:2b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.36; Mon, 10 Jun 2024 20:47:06 +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.036; Mon, 10 Jun 2024 20:47:05 +0000 From: Frank Li Date: Mon, 10 Jun 2024 16:46:26 -0400 Subject: [PATCH v2 9/9] arm64: dts: imx8qm-mek: add usb 3.0 and related type C nodes Message-Id: <20240610-imx8qm-dts-usb-v2-9-788417116fb1@nxp.com> References: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@nxp.com> In-Reply-To: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@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=1718052391; l=2977; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=BGdAl9Cw88q5CXYFPKaVtp4lX6FlBfRQpGYgJfGNwyY=; b=WNwIlV9Jh8Jz9EGf/thYITAxuN8/su1hBXZ1B8/mJQY9G1yn3gfZ43eRg65NX3svU7Zm9uyNM qt25zTD3dRJA7Je22e9A94R9+i0avRccqpxh6DDIdpnIA6XdSY69S04 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR06CA0059.namprd06.prod.outlook.com (2603:10b6:a03:14b::36) 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_|PAXPR04MB9376:EE_ X-MS-Office365-Filtering-Correlation-Id: 3ae6cafa-6b61-4932-ee2b-08dc898e7d30 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?F4x8zx511eo3HvY0RTPif3ouFhMFsan?= =?utf-8?q?RpH4Mbi5IU0YYQ5caY5FJKBSc7j+dro7gTNAjk2wvbvwtafzNB0wkWfHfoCW367of?= =?utf-8?q?JH9rLPtbZbEW3wHjaoaaBWwtB5lj2hanTZbN2CfWgjFY4oTVyKfTAwKMdvwiq81j0?= =?utf-8?q?/0fXdxSXEUKpKV/Xg2/Qf2p3uoUpS5RN5YUFbfDVK7c5iiXn7tfUqJlQsg0g8TQsY?= =?utf-8?q?IHARGfmGrbSu80xC8rs9uKUPOhR7XrQVz+hXPQb7kAF6AVweooRktkEVo221xlwZm?= =?utf-8?q?iQV0hQJo9H7W8SrLQ8Qkx1xvyFh7DuPql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NkdlsHfNF8SGzi/mtA?= =?utf-8?q?UMIvTALopQLgr6NIaApudbRHQibBKE0u891fjFEkgZsYakJEI1dbYHuZVYjaDwZbP?= =?utf-8?q?I9o/Y0DQCbL7q/IRU7JWUeTyiMdG8WPNrCESes0L5Dh2wWYQAoE5KljA=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)(376005)(366007)(1800799015)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?4otpsr/f/exb77v/yfajDmBv6R2O?= =?utf-8?q?URfx9WwOqd78xA1fhvGZ56dqGXF0kFJlCpCngeF6xpiZsrJTurDoJ6V8PwTB1Xyob?= =?utf-8?q?zFJN1mWwxY7tOjnX/F8IG+JrybC+VM0nKzFHjgh0DquCN0JZ6dRRmNF2UaY0x6xhH?= =?utf-8?q?sejgyd76p0vjeIX8V7yUis/LgfErxgLS6j0aJhffB0boSm02WO9mmpHJrFV6KOpPX?= =?utf-8?q?cg2cJxX/TQA4Ul/UNGYDnDZGdihvuLpkQ6xIWhfe3sE4iwwkIg2cVdp/5iGMmxEiE?= =?utf-8?q?S8ECnHEqt64C6HsWpd/4hGPd3tpSHTC9q8YU5SW4fjJoo8OEn7iP3ucnI1ii1wsKC?= =?utf-8?q?ljKO5UEycoa+5UEruYNqgnLBQilLvFPb5i61CybCFjMZYBekn58ovyCcyDTfXZWV3?= =?utf-8?q?LKEjQfLuTfpC8n+rsqdBz2IUWHPWKa/H124fVo+1sLAtuwduXOaVkg5/fTvT7C9eP?= =?utf-8?q?a8Nw/dQ/QcrFSkthCEuGFPjCBq3kgu4U7rsq3aZH8z9qBBfGstab2GFXslwuIuohG?= =?utf-8?q?N9QAA++vUjLXb1MKiLoJLE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KZ3qbLgtbBiaqQgS3pYmL+Liqgl?= =?utf-8?q?V9/xuewB5d4LsML9/w5VadoMtTrsF5hBdy2hpPO0ydvOaH30q0liTfR0=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3ae6cafa-6b61-4932-ee2b-08dc898e7d30 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jun 2024 20:47:05.9131 (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: ZR/Ucxrab1NkTl61UjthuUYSxHg1QbwBXyud+QyetBVAN+iiEN/ixG7E7a32FfZfa2Qb+Gp83lsR5VknfPwBkg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9376 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