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/Q4p614SvGkrMeW1fntsk9qXaFLZTQ6x7NerxXEU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9SU1I7MXdE2h32cyQ3Be0iXk?= =?utf-8?q?JB+UNBFINtaOn0NE/20vgJ12M4V7i1HmIaHdj0aMijXpjok7UXs6HC0Xfzh+opxDl?= =?utf-8?q?Oef5a0s4wN9uWM++Q4ke9wv5Ovsi02fWZ0xstTfW9qQw6xEWRx7yqC2eEtwV8xk6h?= =?utf-8?q?Vd/2b1ycJ3eV8kXia2W71v6BRjvsu7q7MwajO+986kt9ERwmVXbL3jV/RKAWZVdS3?= =?utf-8?q?ufNG17yHdqYuHyY4fgF1Xd1NqwWMEE0K6IRv3RvDMTvxVQJJoVJln3EBAYPgPUf60?= =?utf-8?q?5wrnc+hqQS1IYsHxt6dEA4E0PEDd6iy8Drxnx4ImAuiYGFx2o6CAi0e4=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?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-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GpFgbObYXnXbvOnLoKyoOxs2uwXOrfrpsuC5DzI/H7AX2JxxJ9GABLoWVgjyFrP1?= =?utf-8?q?O3XfNeieBN1RQPPUQZBHCnOhRFYDvQGNEc6g1vHT2OVNxHmnKu6fteeMca/ywgDha?= =?utf-8?q?gfzfKtU7fFjWpWWG3kplFa1h88yUjHv0CnMc204SkddZFByWskpmAcIQ1aYGa5mFu?= =?utf-8?q?1JTj3ptMPnFgdUVf4zlLsRAjMhFOQdSBoNnXAGnLpdZMK8RojE1aoRXZt3sfNpO53?= =?utf-8?q?4ZoFx+0KSAcgcyqtIi8KocPdXVzKjw6qbf36lz8ZA6eTjrnJjJNc9e/k=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 85457aaa-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"