From patchwork Mon Aug 5 16:30: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: 13753825 Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011056.outbound.protection.outlook.com [52.101.70.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 7EE0C2D7B8 for ; Mon, 5 Aug 2024 16:30:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.56 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722875441; cv=fail; b=GPWNGhff06v+5SvjKAcXQdMWv+rbdD88XpVF2IpbHw1jzrK/XD6RR5fl0gkyxROi9jNafkVrKjAYVQ/A8C/IGy6YYgIxv0T/6mYwGbuMCpH0CZaY3X03O/mVbK2XtrZDpk38QoKDKT+q/RkIhUc8ZGC2srhJqYvV7Z7m43WL9T4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722875441; c=relaxed/simple; bh=JbbN0AOVBPayR9UNYTgzGWS3a/6mBC7YSWP6ZArediM=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=gU6/eqplZHOSq7FC4ayv8PYT6Z9g+HayQangLyZrWDC10JSUKfdHxIIZsheF++KlFA5U/qOM5lDt/abvHmR83PKVCs4CQbJyCBHZPrNxQ8gP20Xw4aApupU3fuGuWqtTNX477aVwZr4BLkM1QmoUdc3EPILmq5sRzf/17VX1c20= 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=eLDfOwX5; arc=fail smtp.client-ip=52.101.70.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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="eLDfOwX5" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=mwKomtl3PignfZzHpnZ/TtQeJXx0zf99rc9w6gAzyE/TgAUQzZJaYjYmy2zzvzgwShofkri4sXipHV9HfPoKhc2T5PgapuxYeadPBVWSiLKeYmWvu1PetcXvCgPa+V4T3gAA4+ipR47d0Y9bFIPOwx/JCv+HnFhTSfem27v4jl0N4zoQnyL6VYXxU1RGoVCaJdjVqGuXY6tfZdN8NGA4WzXyg2mXak4qEq25/fhc1wXwPcXH/29Lr0QK0l2l/tK7YVQzxYqrvpkQWYpzrPlqFCPhXTAwlIc41AnYq8QwwGTfoY7DwP5z+MVU55kCvQiekagVKgYwnpA02TRGHMISTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=tuhxX8fTbC/qJH+ZG5gW0xuqggkrBDmG1DQg/ks4C5g=; b=UaTCQzKIKDT2TDAgWh1xN7i2M7hb7m1vXEGtEzlkdrwLGtZFzjGHzLEcb9B0LART2oO90OxSXrMasOOiDZyapp6oF9ES1C8ta6KetaCTP97bH/3C1vybOKtx+BDXTlSvnkVFhAK3pZvIfNsXe2NhX5j/+tkJGKkWYRLaSmw2cP3ggjmVJxFH+Rf82dArTF1oKeb6F9EQ4YNTkWIg3Kz7Vw9hmaPUjV1jL2hB6kv53g+h5EchdyiB0LIL2SYGaWl3GdElHBRWjYOyHEps0moNpq0MpYfGvfJ7LjS2BZts3/SEN8+o7jaxn3OYV73LXFO3q2oRfDU7woY9PySk12WyfQ== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tuhxX8fTbC/qJH+ZG5gW0xuqggkrBDmG1DQg/ks4C5g=; b=eLDfOwX5GoboVawEUwKXxYLgfMRktgRqD1KjNnFM9JrE22wAWVYQiiYxJfoZGA9qD/Wk6uSsDV5b1TnuzrT0fmYaB4qpc+PRdKb6OyoG2ez/EQ8LGAFqO9cR565M+Tcxq+gv9JB2ZGACjvjOBq4ZJmMiAVoD/v3ievCTK6SifQBz6mLWhwaPNmeTK8cBwPX/pN2Xvi8bOOlAjwBnWwzZYfbsfaZLeHUB45V59GxyC/eAgnCMjWYiokbHXF9jFf25rHyNojXPwk9/bxpmrFLy7UaGjNRL9ghxI5q0CLeo8xAzFiSQEh/Y8aG1Uy5FBU0PnMK0o8nZkarrLHWfzcQWZQ== 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 PA2PR04MB10122.eurprd04.prod.outlook.com (2603:10a6:102:40a::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.26; Mon, 5 Aug 2024 16:30:36 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%5]) with mapi id 15.20.7828.023; Mon, 5 Aug 2024 16:30:36 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), imx@lists.linux.dev (open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH v2 1/1] arm64: dts: imx93: add lpi2c1 and st lsm6dso node Date: Mon, 5 Aug 2024 12:30:18 -0400 Message-Id: <20240805163019.2932223-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SJ0PR05CA0174.namprd05.prod.outlook.com (2603:10b6:a03:339::29) 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_|PA2PR04MB10122:EE_ X-MS-Office365-Filtering-Correlation-Id: 569eb257-657d-4e03-f6a5-08dcb56bef30 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|52116014|366016|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: 6LVUPgFHx/92mDNaiv+SGeBW1aTowPjNhvyyMPZ/Dv4MfFMqJvC9SuAj2DtrVoR/52P9A3iv1I/pGthqcWE3LE/QPrrsl8zB5Ixh66SwaHKIX7uqQ0bSA4sCoxAvnexPZuFXLHRgx63bmHP+zZmEaVKRMMVvT4oCsb/y6Kgd1EGcDLzLRH49tj3Z+/gpcXe/CSA2keBpH/oaJpt1S1w07kROlApdQMDxPYrWRE7lbGkrBabd6MENYb6eFgwOHr3q45o/+wEKF+oIetayX4YzYNZErw49+wWab8DRm6oDkAyOuVy+UG051Icoc/WjE15DDtn3N7wBl3q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BX90lwrRserql4ZK05VF32YCZLAeHecU129uO8Zryk22N2LRE= 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:(13230040)(376014)(7416014)(52116014)(366016)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 1llF+laaNCwk0sqWGkvY2FaKfysQCkiwcxIjxCuMXdzEIuSLHP1Sux2nIYPwcf8zf50NxRXDOj9oZEindctbHJ+SOtpAlON7UTf+gkltq4pkjjIRVi3hYko/yi2dTJdX20cuVbsu1gdMV4nZnY6T+4SvczZSg5dlV+dKj153bq1/5QdejHstxkLzMjiaNwg7dcKVgGJFVKFDLRHq7YSzLAbiMG75cftMpDLMEvZiQA6NGR0umpkGvjNNQCICb1d6OHyYKLN2agleeAHoQgaoyUm23t5mbYHLI+aTZcpukJmEZttDUQJS607mNp4LenkSWeLXycNutwVr8pahfGg/dRqfvdFlLPgPT+A+FD04iwDXte1o6WV8vtqW9Y4cyAyOljOJVOhPqtbXrdfbMQI57KoTg0yiMRKjqt8bg1qkwyGR+Dw07hD85RxhtxrXPSjmAfYgJFUSvF+Lhz1GGzPMkXnmdLpSqN3NoFj5/eNrr4DDLDWzJjgYZjkSURvLWB/Ow5SYs4/Mvc1vBgODXnPixM8Ryp7CUjuq+ldI0GsTDWlXHL9t6RmmWiNkiQ1OXXbLh9G8NZ0gmvws64DYVkFkCgQ0ajcbv+TaRWwCfWKr153XXjR4X8ZSshNo1nqZFZEKZsvi8LroAo67bohvFrQ7WaErAQ8hdkXgbmL4uPgpct1C8ZHBKUaAtRm46E9oLDNasxZyrzI/JHqITKD+0U6kLWYcPrtU4Garycm6rsTe4IwKFqlgLB2s+cLncOK+tJGXIbGJSDUJAMYHSMdAGKGDtsIvd86PjzWHLRkaVEAkYFx0Y9AgUYy3xXWi098uKy5so2Me0GPsat0GDhV20q3bX8DwsN0chAZElfdKHGKqPtSEKX05duNZG5HZ6OKW7mI9vHNX6MyBKFHdoNrMDtARWjGmR4oA30JHp1kQHbSpfQ9GpENPLJWZVxNjLDGXPLg8MnIMWLmbFaXv2ZGFEgFZlHNpkYjc/IJ4eMiJrfGsghySKPAASVubd6ajtWVNBLOuQONq6b8JmxOcv9p3Sx6KpMq1jU+P6gxKviPjb68/Sf37dF2NjkkhSyZaxEF/O/NR4CO8YsXOVxvjoILNRX7ScZcXMSUUVyiwBdKSN+UTPuRAX0ykAha40KXcLDAlpdimmpG/8rZk4x0EtzX+ORIo0ahbO4n25qA44q/sFtrjx8PkRS0N/PVbaD1zZjOF4Enhc8TzT8W3eTbdgv2r4LQaCmMetKUxaQEPEAmpDDBRlJtvlL19RitnN4HRjNi1AhUBpSB4+/fkvTVcfYI3dO7OkitN+HJEAEiN6lBugNSG+KQlcqH+h5TY4Xk4X/9USiJviG3rB2EZqTKjgthNUE9KeGuAYmMTqIG2p1X067NGF6bmqzkdBID3pxr9Q8XZ+0FYWReynqQRcjHDVh5KbfdK8rgHl/HUJMvuMNN7lS2gOLyDaZci0cZrcqqMN9CMYNlZeoXWCSCs8kLdQCuI37MUG7OH43Rt3ck0TmDNWtvk+IOafR0dXUCOOs0E64z5OpbJetsocg9dBy9YM/fB/8J5AXaBtgrLILL0Y1iR+yAcHYoYjE6pPpvG+NKybptZ5tX+ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 569eb257-657d-4e03-f6a5-08dcb56bef30 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2024 16:30:36.0361 (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: fnLJcVUlIij8bC3jPFrlSjfkeK7vSj5vDzVu+amxzpXSPHnchNQ7GIpaF+0LAMizFIy73RZcpOkOJKJsJSnCWg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA2PR04MB10122 From: Clark Wang The i.MX93 11x11 EVK has a ST LSM6DSO connected to I2C, which a is 6-axis IMU (inertial measurement unit = accelerometer & gyroscope). So add the missing parts to the DTS file. Signed-off-by: Clark Wang Reviewed-by: Haibo Chen Signed-off-by: Li Yang Signed-off-by: Dong Aisheng Signed-off-by: Frank Li Reviewed-by: Peng Fan --- Change from v1 to v2 - update commit message. - use common node name. --- .../boot/dts/freescale/imx93-11x11-evk.dts | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index 2597c5b2eacb4..23c96a418682d 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -145,6 +145,20 @@ ethphy2: ethernet-phy@2 { }; }; +&lpi2c1 { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <400000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpi2c1>; + status = "okay"; + + inertial-meter@6a { + compatible = "st,lsm6dso"; + reg = <0x6a>; + }; +}; + &lpi2c2 { clock-frequency = <400000>; pinctrl-names = "default", "sleep"; @@ -504,6 +518,13 @@ MX93_PAD_DAP_TCLK_SWCLK__LPUART5_CTS_B 0x31e >; }; + pinctrl_lpi2c1: lpi2c1grp { + fsl,pins = < + MX93_PAD_I2C1_SCL__LPI2C1_SCL 0x40000b9e + MX93_PAD_I2C1_SDA__LPI2C1_SDA 0x40000b9e + >; + }; + pinctrl_lpi2c2: lpi2c2grp { fsl,pins = < MX93_PAD_I2C2_SCL__LPI2C2_SCL 0x40000b9e