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"; + }; +};