From patchwork Fri Aug 9 14:32:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13758855 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 23DCCC3DA4A for ; Fri, 9 Aug 2024 14:33:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=JNSLMga+Vm0erbTAqizYFkJ8m6X4lGvRGVK3W75O84M=; b=1FGHZAiV+TfK/q6ffiNYI3iQZL 5tO+SIDJEw1eaffVuCZZ5oW1Gk36SNZ/uAgkxGMAa+ysuQKVITTRURqN5XPRPE9n8btGglpL9Zy6j OKD2ZT9XBI1GSOJ7+gXr333P18XDyllzVLfNQUaSIzTEtPIbbPB6gOKZBhy3ZpDeBRc2SW0kr/iIu Z29Cayk3TBJHDICwspDetr36/uJudWn2kHxzpy7BwsFvJU6Q4C2sZTWHnrlccByHOK2yd/Wm6nSik IfPLmyf+k7caLsUT0DCFjVQk2SHHwaHgZaSDjA+Y5hSY47xWF94GsiJBL0jjTnMc0pIThFRaB/3JY gSgGWViw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1scQgA-0000000BYhb-11I7; Fri, 09 Aug 2024 14:33:18 +0000 Received: from mail-db8eur05on20602.outbound.protection.outlook.com ([2a01:111:f400:7e1a::602] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1scQfY-0000000BYWZ-43KZ for linux-arm-kernel@lists.infradead.org; Fri, 09 Aug 2024 14:32:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=daNp/jocA4xA9su4HigicEts6vhsXldtvjlHCO18NKRyV7rfnUxNgZzRSby2DmkYjhdQfqsc5O/VUHHpjf+BUPSOqK7d5xfrjnsmQFVd+/ln9yzEN3WQaUhj8r1P+wULpycZD3bJFPebT9foq7/6I6UEj+KMsw8+HW3s5IB2ZDA89cfhMc2I0FTyeP6T9oIuxrXdM5FkQxuBq53lgUmDtFlCB04Grxz+MGm5iz/eS96xxrrw+KCayHEKzIefKZSRwzuyi4vFDueSGDgXm5ppjK4oXcDEkWHsvvrPrInwyDL7a4CrdzDX3nPvPjvgFYWBW/srs4871hdJKZJj1OG0Pg== 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=iSb9GmzIwyd1v3QFVUmjhnmcJi2guwq9C/uRTIiaJitupOmXfJXUCdflucU9Wx0lQZfNtZm3uejBqPfMkttu/82ccVP+9WyyLlXbkJGStpzzky3iwOtOvS/eNiuYB/DC8lguvu2v8rVm7OQqZaO2LIsGMMeCi2HNrYxasIiaEr0LzmUlGZYonOfXYmdWAyZSAYgfZxSTwW2iOihEwM9ym+MaoUQB6IZhA8VJBHC+2fe0cl4KNAzNn/iHuzVmMg0xHztKq7o2qS2rVgWli4EM1iw7pWbx21ThFUrs2msJdOdHtpTdcNP5XmEWD0RbwM1E6Y/pbz1MgmQisEfjm9O/og== 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=eodXIvoeSnyeHryKm1vJ2RJpRdxE7WjmL5xWVGEbO0h+71BUG7lUHgptZFvuKl8h5M/VL8rfydDUQGQNBID81rESOrDJcmD/RReFPtOVHyvLSzrh2u2F37SzCL58D75n+aLnpTzb0Ho8SUF2ryqmc5sFfm/TrxrWlcEpVDPd6a/43OZQuzApK8QDEUUly+YOvx1V06ppnnEHQNY//eRvhjWtzGt6uU1ZTILiJu1e4f/kAGyR77eKfAN9a9t5W4tO0CVm/ljNY1hd+OFDVNIaoUP3cNVK5Df/BZHBbVCfbmJM8SBUW88+vz2zVVcEXSzueTp0lfWVV9W0901g5jsgFQ== 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 DB9PR04MB9284.eurprd04.prod.outlook.com (2603:10a6:10:36c::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.15; Fri, 9 Aug 2024 14:32:29 +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; Fri, 9 Aug 2024 14:32:29 +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: Fri, 9 Aug 2024 10:32:07 -0400 Message-Id: <20240809143208.3447888-2-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240809143208.3447888-1-Frank.Li@nxp.com> References: <20240809143208.3447888-1-Frank.Li@nxp.com> X-ClientProxiedBy: SJ0PR13CA0031.namprd13.prod.outlook.com (2603:10b6:a03:2c2::6) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DB9PR04MB9284:EE_ X-MS-Office365-Filtering-Correlation-Id: ce3bd18c-e3e6-45ea-e180-08dcb88018ef X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|7416014|376014|366016|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: t743+EzPYmBU66g25/uy5cC8divySehcE1aqMOyMRi71BAr+3rnBW5WA1VcRdVsycyqngjLQRROZOq7umt7vDB2PPOW6CfCpqP/TC62QUaxpF+a0AKYrnrFLFxgZSaYxcDisq1WDboRdrkqg/4djKh+crqecdERhySkQ4kXlFAUgC3l4GRGV0ha6xBACnEJfO7WE2jFmFPTYfJsw+os+AE/baDXpY/ZqF4UeRhia5R8rTRrKud7jACFd3tqS8qrypgrmvL/nYL5LrgF2UfLFsNIFO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yhGOhk8ALs0y1nts64JpBx9Z4CKEkW8/VhPSWt6pDHHT9lRHFh9w4K/ecDDalhPUrcisUGndmBKGGW/LciKA= 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)(52116014)(7416014)(376014)(366016)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: FF5APCimAC0EA/H5ofIpcdP2G7uqp2sdas0Z6fWdR9Ea0qIz6lHk0U7VbhpjisY9EHV4p0fPLrMYWTq76ghTFBqJENya0qfrQsd5u9qHoczg1sfg7Si1agknEGFD8N06BtS1afmQAWw8oYLWFtBUOAI8PkMyJO2dGFsuFZRvAcGRxt52bRAiYKyOhY1DLqov6Gg2lU21/GxdzV+aHl5kSP7eohcTPw5V9fnnG0l+sFdg9aoTdcT6EOzSBATygWYLRNufooxAiIeIlrPRWhbG91uaI658VmaMqBLAcQbl7yhBncMjVpLUEUZYBuOcCQMgxKs4buTOsFM38TyUufJy1bBQ4QbPDTGIjLPaoQ5nAUUAWWHM6jeDt1XsjTFG2vC9g4ZGobE0jVbqVOlH2oyTokDA6N4y71hzCn2vuFvOAdelUUVgi3nvq9GViLKKKHMcUeSkkfcbCmdWT35ImKisUtaZRmbK/expVpDO543qjkkgjBucRe71ypDi7KW958nBr26T+pRQtamWBTqGl/Lo0pYsoJdgjBgyyuauB2j21da63CddQGIWO69XwpW5ilIW74fkVTnnmhuFjES6KHP8e17YPYfrIszHtaKoHeQ88lY9bnDGJFLc+Naj2D8RXkZFoGpn5ZMsf/SIPLJi6lnSw2iCTUtwNUP/jgmeo5EqD1HIo7UbdMAe4KPBBkE2TO6rF3O140VFAqqWWPQrV35UVsdLLY42Yl9zGViiKgqnpIG+BO2+WLhkthRQrWuNE411Sv4C34MUl/5Ey5RGmz0XhBpY/lt60t/Y7YO1wWW03zTmrx2w7Fh2ekF3yjls2tOMdkcrr2gqWo6oy17cOkYXmWMZ1hnrHcWWM54L1Xre1r4OaN16l3yKvprDgKSnBhIEHIpvG0AOT8lvmwsig5J3gBbPh1fIqXryRD1WzQD0S8ZPVNIeC7KPcw7m0kfGafWsERvGlXxJw+5bCgx60KPYcx4/8GZML/54nRnb/60UTnRwZtzQmVi8NgHSjv5MBVDB+jMtECZu3qTM6jDB41Pw2jP1WWuU8aEy8DUdxExSnYxFKfmcPfyBOFpUWi6nHMRizDQmv4LWl4DhviBo9mCjplwYzdsmY+SUH0lxxucsGPAQeo29YVr+RkEAiYeBOlv8PA9srYyD+g+GFuwQ3lbIbYTo/s84xGmYeepmDSUovK/UdOfkAfQyERNL6PV+eBUFYRklQdh8VGP/bSWYRC5gyF51nyZ42W6HR++j/JgQW8ra/ILaUvNo8vtusYF8pQGGhMmwDaExRK3Hq+m7P0rmuhrH6B4gqwvc6g6HAxY3seLWxgQECzUEA/FlEfyJkLqCmZyKeB+RkvSQu+Z6Hd7lAPu8XMu51xmQRuP9WHgx9eKPR8Rn+pFOWGHUzh5bhOFbpjwsv2C6Pu7107qLcGU+ECOv0t584Ma2q83FrgpZFZJMeD/b4LomtHDmWSbnhFIdOeZ73YiKvnU5gLgiWb2BfB9rMkDT+o6d/AZXFmIQHp4QGMld+r2+Nss4hzZtiTyxlQDQqKzozTA9q0giROpDhU2mVddOB8bwsII3JdcxovazNO2Pnq8gfiyR4L8ze/6z X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ce3bd18c-e3e6-45ea-e180-08dcb88018ef X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Aug 2024 14:32:29.5100 (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: szyuUpr5Q2llb7YF/EuYp1rFf+uQ1beD5i484mz9YX0VRqK/ZzM9leXUwVLEgiFU0G+0OYojkLKrcIblQFgDeA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9284 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240809_073241_379384_667F0382 X-CRM114-Status: GOOD ( 11.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- 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