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: 13757941 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 3E4A6C3DA4A for ; Thu, 8 Aug 2024 16:38:36 +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: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:In-Reply-To:References:List-Owner; bh=JNSLMga+Vm0erbTAqizYFkJ8m6X4lGvRGVK3W75O84M=; b=V9N9UV0dS/b8Z0Cq4yZmshSP7p i7NhRDeZZVLJUBW8M49c352CCbTbd4cm63dSRdupRpk+gC0+6nwyffax4ayhXWvLd+3RewExb6aML JHsDwWysFwpdfkxzWOnuJm4zOata2p8fkIoUV8e+4BKTRlD95OGSE2sibFxlcvTyHma/qN+pVi5Xy R9DsJwdPVwjigCVcAylIsNJ4Q7BPoC94LjsBg1ZSd2hfHv0ukfAa5BIu2p0uegOyegr4ssjCDB4v9 /+1+D/XHC6hMozek1twle0qKQMV5m0kNhIHZx91iwwjO7hEEYPg7Qhy7Jj//KrYO5ZoS8EAYgNoWb XQFbKZNQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sc69j-00000008y8q-19h4; Thu, 08 Aug 2024 16:38:27 +0000 Received: from mail-db8eur05on2060c.outbound.protection.outlook.com ([2a01:111:f400:7e1a::60c] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sc695-00000008y4B-0ZDg for linux-arm-kernel@lists.infradead.org; Thu, 08 Aug 2024 16:37:48 +0000 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) 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+ZZ72kq6gbUbmLE43dDdJ6cFj8Ox4g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eOVyKPQfQejSYkFG3zI2qRC/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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240808_093747_220157_715E6719 X-CRM114-Status: GOOD ( 10.73 ) 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 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