From patchwork Thu Aug 8 16:21:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13757890 Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2084.outbound.protection.outlook.com [40.107.247.84]) (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 0F6862107 for ; Thu, 8 Aug 2024 16:22:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.247.84 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723134141; cv=fail; b=Ckm2jolWqcOkG7pj+BxGac39waTLX8p2Pr1VnsRKoWRKnpCZH/1F2z4dnaQfrOFxDcW5q2fokQ0y+HGBUZ405RGqKz6yU2RgkKt1ulP6WJ3yUcxGPEpesoxBQrhC6p5NMM2tmGop9uapsnWKubFR4fEjr+5taqjUSiXpcCOWa4Q= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723134141; c=relaxed/simple; bh=oQjKh0D/BobRMldJAEA4y09m+di2eakwH7TGoTVED7w=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=s6d70Vum5rsdP3zYPjYUxLbptLqKDg62Dt8PhJ6vyxVBEjSlc4QP6supikoE6L8zglSMV61+iCO7FVglz89OUHYcTnH49gg9AKgEAfU3vuonF2FzK4EBnqrNmMwvBOLq357+Pl1coMmXv71vDhvlTwd0x9xsCQ6sER4/SXSoMDo= 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=HF8Fh4QO; arc=fail smtp.client-ip=40.107.247.84 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="HF8Fh4QO" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UCnP1PX6C5SZmV8M4qMEVZZ6FMiwECtl+nszC71n7EU3sNhJ64EwRoroNyMGUPWNdKI/pTmh4Keg80j5t/qpZBA7I9wGF2f3fcmtM4AhVYhUCMthcQ/QSXYPwH2tZG3JwGJu1pe+hQEcjlglI20MtEIYB9vJ/lh6kPgwXTPfnSjafTpF9vxyOvKmdWiA9ebxuPJFixhUL0bJYIyvEXEZ9LpIVSaUTxO6NU+f+/xjqx5OFVr504DxaZw2tcEHZMNHgeEGxiTGo2oDkb31T28zUl4mJ8u8VrFRp3tHk93UnTp5L5c+ovhKN6ID7ooxuUWnJBdfaY4ZjortwNiaXRydsg== 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=JNSLMga+Vm0erbTAqizYFkJ8m6X4lGvRGVK3W75O84M=; b=lZzBJzbAxLJCcnmkicTjXphZF3DgW9kJCTT7x2LmvAU3DbUD7D2MeBbLMYn01+duOCSyck//i6U6Q5YxYB/RTvxaJK7m8F/kJwkmEvPaklBHEfOgKNWnoOQ6SJDeADAnRt/I9sKklLc5CikT3sDaF5zGQTMHNf/+fgTWVX9xgieE1kRPymfPAyB1mpSdJbqlEzIoVnYfAQnmOmeDdtUXkqHJBCDNx5x80ZQDXTgZwpzP2Y4LEMKC9OF3UPHlz9Q68BCCN4HOCsEbojgmOxe2WQ6LV1OVEHwbXY6d+V5zC+ixIz2cywBRz2ckw1gmQpq2xsrZ7kMRphQI3yqhEXDJ8g== 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=JNSLMga+Vm0erbTAqizYFkJ8m6X4lGvRGVK3W75O84M=; b=HF8Fh4QO6TgfEYsHJ+5L4foXoFLxA5RqAfOUI58L5B1DH4cLCA040HGrt1vdW1uaogxHmUQZgdNoZJpYchgLBwLgrM1bs+Gc6rBhjSb2olPJheUWq1MsANJcAxj7CSL61pUMCI6RDjRAqLyN/A+egyVl55APsVkH6tue5aAelDv1i0j61X1WFZIfX01B50LDrX9X/UE1mBuHJ9FLpCSiYIKya0JAjHmwlgTqmyJoQHmtI58rATkDhOCbVKvIZCU+cndnTgshKJpTn8uWijAJG+7ksXSVEaT2rH5+SPwz9lBJMWvn/Nbi2b6/7FRAjjBmNOUEFtmCPuy3GJGHtTf5kA== 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 AS8PR04MB9012.eurprd04.prod.outlook.com (2603:10a6:20b:42e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.11; Thu, 8 Aug 2024 16:22:14 +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; Thu, 8 Aug 2024 16:22:14 +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 v3 1/1] arm64: dts: imx93: add lpi2c1 and st lsm6dso node Date: Thu, 8 Aug 2024 12:21:57 -0400 Message-Id: <20240808162157.3323811-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BYAPR08CA0004.namprd08.prod.outlook.com (2603:10b6:a03:100::17) 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_|AS8PR04MB9012:EE_ X-MS-Office365-Filtering-Correlation-Id: 779442bb-57f9-4488-4eae-08dcb7c643ae X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|7416014|52116014|366016|38350700014|921020; X-Microsoft-Antispam-Message-Info: RBXILE/Ypa/DQWSELJ1YkaRqvQSiJKN07ENzLxAOGq4EOBQ93e0sFWZNNjevqEF3s496Zwgt68PheuWahpISaiNjgT30v/pUfPVHUlYJElcgl5nxmezzEQrY4L/U8HS7MmxK+N0uZpjBUclEbAaHttaqNf1+nmBVxybRPlw64fCAJ/UsPCzH31EyFPFc0yV08FPU9AmE/UkZebO3Pd6gPUzmdys0MtNY8Q1w0fmFDrOBjY5AaCp9vBmwNxlHCxU6C0nHiFY3UoHm0zr8ydeUqhvG1eIaiEKha33m+ZZ72kq6gbUbmLE43dDdJ6cFj8Ox4gLiXMbMc3qOIGBXIQIPpx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RC/ccqQNTQClFObM8HPQkuk3zzbrRBf0LQ30= 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)(1800799024)(7416014)(52116014)(366016)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: iQJLl1hvADMY9TftbuGStHtgJzqk3S7Gdqt27DHjk9wE5HxE5yUwgGi8TOc3ZLnJX0MCEMwqT5LxMmbzwu+JeTCoYA9TstayZPKQCv6jdLAvwSjbskvE+GzSqNUBNBZckp+O/oeLfo1l0mNnyGKQaxffpG6LqBWxilZ1TlRvq3lk/juGB3hlThwWrkeWrHpeNgQ3Afc7mfhsVJKAKegRcszCDqLovkfznvI+ZLwXIlTKsCdmYALiqt+Y1uE8o71JrWUH+pOWUyTlohFmOnJSCAGgRJS7XmvrN/a2tSyBkZ7F0kZc7bx5EdzXcpSTQf/urin5hWFibZkGk+BbkrFkTY4nnwxvdyfOuSTdjVW9oxoKC5uNWvdloeG7zKFv2IDKYwGM5mm72pBv3T9H+eJfELC1cvArT5Bhp9RmBJ9XbnlgyFmsk7KZGSWmiftqILcqFWb8QQ8mjtnQdFecqDaPfq96MyecpFdLngIZoyy1yQC4lBLGTkVqVED1L9BIlOu+spfhKawTr2WJ4bNozjBAt4ZLtFFD+3o+MbPDYupr+hF7qZoU3KRQM56avM1j7GmsPRoH7TgTdKBw4bpbGYb6EcD+8aMNAu3kuVsdTGUaSYE+YEoJqEihPGtilzhfqzyoHttOj3MkCETj2bZBZ0K+57yDX8o1+ZLbW8ZncIO7HKejlhvcLzMQozArtztxsUntmtTtBgLhCdKd0u0/Tp7x28fAzO0FmMKYbKc9AGFxKX0w3QQjIf02MDPH0ya+2s1KBljVh1f9rICo7Y/itLHrTG/pDVbgz4/vt/iMECK8Lal//YVvxc6wNer/zfs4VnVzCMJSlruiqGv6OTsUyhkWXruUarDBOQBdzUOtNU80RiWXN7fq6o9bQ/M+u3mcxV6gHua1COBrLgp4mLCbyHgwvJLAYhCYuouLkK9MS7eyEzIpY14YZVG3DiaNPoEeQ9kwpFoaLk7YtIoyFDwotATpTN7zK5lYGeSM+3Q6CWc6oQaXlCIbHomb0cjtGM8AwDZI4soMATodHvWh1B8G7954Qp2w/kvtpcx4FmhHDzlTtnUU9nnT8PCh+Mb23kH6aFdFrivAzCTfrT3GCw8SRdlOiUa5+KBWzpDUhzl5WxhhVTyqYuvk58EXG6uYtMo/FNH+x3sbokxxYnbEvpDD06Aob39A7Nk4fE0V3hZP5W7I5RrosTPx/YnBU1ncWJ4uy5RoN3J9JfMTh/q5vd/4WYuXykWJur+NA4CQ2kPqmsYfSoqrcRirbceKArZCjHri6WHVwhGyVSNge5VqeHvFu/d0n1Jf4VRVO9eXQ4CgirYc9RNyIbzOrW0kl1gbO0nWKfw5mmpYMtPZpLLKyMA7xoVEkpu0sdsC9V5unG/qIkNv4VsqQ9OQhKxbSWJ5uEFaByJLunN1sQiQBI7oDPb63VjWW+Ef0cYIOCHRMjiJ7PUXC/HZW9BvPA4f9cs0RPV1Nf5N/HNgd+kXPNDI26td+8r6iWsoNu0htNJVeFTYhFpnw3I3ccPRGEVoIQTQj7Eai3uyAhUGrHmSLk7AJvn7YPEbTvpjL+gpuxiIAnB5fvIAXgM= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 779442bb-57f9-4488-4eae-08dcb7c643ae X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Aug 2024 16:22:14.7921 (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: HSeodiNQMavhQAhJtABtW7Hyk5JUTzZRVeSIKFyiB/S0dRH/YUadWvf/yYlWkM1k8eAVjbintOHVPwWngy1Oew== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9012 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 v2 to v3 - remove reduntant address-cell and size-cell Change from v1 to v2 - update commit message. - use common node name. --- .../boot/dts/freescale/imx93-11x11-evk.dts | 19 +++++++++++++++++++ 1 file changed, 19 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..e845ad896abeb 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -145,6 +145,18 @@ ethphy2: ethernet-phy@2 { }; }; +&lpi2c1 { + 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 +516,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