Message ID | 20241113-iam20380-v1-0-cae690c4674d@nxp.com (mailing list archive) |
---|---|
Headers | show
Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2061.outbound.protection.outlook.com [40.107.241.61]) (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 A3A3E171C9; Wed, 13 Nov 2024 16:06:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.61 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731513972; cv=fail; b=Y7Z+Y1KBZx1LH7BSovN10jwwcT7YVGoYdMzRVV87DXpGiA4vip2/iGg09d30l4tw2SmooTFWuaM9X7SurRdZQOHuiuQrvLHWnx4BpmYovGOr9loQdHuMfzZmY/H1qP7u/01IIgjn9t4DS+71lzpDFVcqvM71ZCfM0B3GKYCS/+I= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731513972; c=relaxed/simple; bh=YQPnuYx3IDPGZlMhdF0DBMwff62Dnc/Agw6PDGroOxs=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=rNmJkSkW1PXuvRvj8Psw1R0bnHkwz4By9NapSW+GDf7pxbIXk6QMEI4iQGZzGZLKELKTwadkPIxyZSD02eZy/l3nErrjZmn0AUBDNjrlJ2enWBBhlodzGIAbDkLr1rgaUJtMa9hF3rMV6+T5gcRG+tZCs6VPLA3JmUbcJqkTF1E= 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=T+hWbFU9; arc=fail smtp.client-ip=40.107.241.61 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="T+hWbFU9" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=v6jLC2ISr7h5ZD5YRu1RnAOaV1iREXDcPAQ22I0Oa08pPPG/BQ3bTLoX2MJVf/vLX/SW5NS3WDO/w3xuWMgT/axVos6fsreaR23ZpD5u/ATFUqphhbLdmrS6GciWiBzv72cFt2BSch7oV6KP11f8XuxwKwDgYD7uB+LBs4QGHKf+2zumGQ/cmDrD3KNiDSdAcRfKpLjN6KKqsvOZfyxha+fniUjlYK6pzMTN7e8T+xxoIG2hDKo5yTxlKcg8sWc5sHBSIHfdObDOE8ABfWubljjdIc9KQPALs5gkxdtqp/1mBlS+TPLz/R+BvExFEdjjs8jDyj+4NZkkkpPERiWW6Q== 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=rV/hHJYlMujOKABbXxFarkpoE+pc86cxXhs8ad/8bUU=; b=wLdodfya2QThGAfOhrbvo4zPXe6fDc3MArjJvm8B1gIPzwHGffnw7o5vxchroD9MNHs1ib0Cb70NpdzC/WIp0u9lRttw0LubsrLABsOPyPyEyZW0e/cweiQGVnCJTAhoJcM1/b3D2zgSWY4MGOFy39tnaLvlY5CejMS1FraAtHWtodu3tPeQUwoYF0RzRC/CiPGerYXNuBkfnqiLXFWT4cbftgCyMEZfC2vvMCXblLc2ixeQEgcQGqJUViHxp/kwpBJ3C28dGh++Obd+7zGpgxU6/OzbrRMjA1vqQe9ic0EIJAYKFg0HU2s6WvEFhMju4JxHKWPpmwdGfIvzHrQRsw== 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=rV/hHJYlMujOKABbXxFarkpoE+pc86cxXhs8ad/8bUU=; b=T+hWbFU9foVjzjUE/VfpVpJvPpCRH5MEEIyCzn8bJHpSYkekdZZ7lI/MQ5D/H9mdqxYSfXfjFP48PmDI4WCqNQFWuVo5yAdbhlmKpuB2OCCtgnLk6+Gbz5YfIN59KNPDBSg9b8VkbJYJXFPXF3SW9dx0GlGyhjLBfX5FjZtcW4PQzC17hkVwTlvM4pYdvaECocg88eDon54Athn00lRRJ4gEqGUn69SuL/LOJ6Qq1G1fQsDrvKeVK7JbslZuQ3S40C6M/XDD2/5T5QCsPVU/anchz6BGGfxGZ84RYDPEhvegwHT9NJwIqvm48cY3+O8hwR6D3Whl/N5rPWmWNJN9cg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB9PR04MB9626.eurprd04.prod.outlook.com (2603:10a6:10:309::18) by DBAPR04MB7400.eurprd04.prod.outlook.com (2603:10a6:10:1b3::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.17; Wed, 13 Nov 2024 16:06:07 +0000 Received: from DB9PR04MB9626.eurprd04.prod.outlook.com ([fe80::e81:b393:ebc5:bc3d]) by DB9PR04MB9626.eurprd04.prod.outlook.com ([fe80::e81:b393:ebc5:bc3d%3]) with mapi id 15.20.8137.027; Wed, 13 Nov 2024 16:06:07 +0000 From: Frank Li <Frank.Li@nxp.com> Subject: [PATCH 0/2] iio: gyro: Add support for iam20380 sensor Date: Wed, 13 Nov 2024 11:05:55 -0500 Message-Id: <20241113-iam20380-v1-0-cae690c4674d@nxp.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAGPONGcC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxNDQ0Mj3czEXCMDYwsD3ZRESwODFAsDs6Q0EyWg8oKi1LTMCrBR0bG1tQC OyHlIWgAAAA== To: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>, Jonathan Cameron <jic23@kernel.org>, Lars-Peter Clausen <lars@metafoo.de>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org> Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Frank Li <Frank.Li@nxp.com>, Han Xu <han.xu@nxp.com> X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1731513964; l=884; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=YQPnuYx3IDPGZlMhdF0DBMwff62Dnc/Agw6PDGroOxs=; b=1BtF4VZpmBLvx+N7LWTCQhrY69blY8e1/vRUHSffO0LOdMHLv4Hw1CwJpgU+RCdV1l0VfZsHi PpHSrbqecDBB5TfaHxHPY/ndzrt7jUSbihcbGYJvB4tWAD+qire6NSZ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR21CA0014.namprd21.prod.outlook.com (2603:10b6:a03:114::24) To DB9PR04MB9626.eurprd04.prod.outlook.com (2603:10a6:10:309::18) Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: <linux-iio.vger.kernel.org> List-Subscribe: <mailto:linux-iio+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-iio+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR04MB9626:EE_|DBAPR04MB7400:EE_ X-MS-Office365-Filtering-Correlation-Id: 5615fc09-0e8c-469a-c4ce-08dd03fd1527 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|52116014|376014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?d+BcTIRHuKmWDtT26dg02Sm4FzBEEqc?= =?utf-8?q?25Vu0G9IYKcjzA0/Ua6N6fLDPQZoa1yfSnlbZcyp+g7sklYQzdjfsJctYgbbkosrW?= =?utf-8?q?iwSLS/lM1XFfmtonXeJPrD18hcAxmxui8CN62nGzghB24V58HeGElHU5tSAZ+M7jv?= =?utf-8?q?LDNC2AX+ExKl82Ct8jhCtnNhpehjbttCHNZ1xJ6exVh2L5n+E91ZmSKnWQ6b3dud+?= =?utf-8?q?WXzlmjV/UHr+pUeLaGdWQM+0Fpfndsqu28oUq8rkPryeuiSkJ3LXiHVnVmPRcBqdh?= =?utf-8?q?x6xn7WyINVzr7LZb8wq7fA8BTK7PLc/0fHtsQnRswAXfIax2a9whQ59IjLvB0C6NY?= =?utf-8?q?DZhP0pxzG9CCdLkCxcOJBDS2cX0OvagzLmO8vPDjDujR7Ep4NrERmOqRzY/PtNwah?= =?utf-8?q?aHa8n5p35zzga9hWjN0xe4WEah2QK/b893FnCDCUU+2AqSW0Q1UDfKau6ThDM/PwQ?= =?utf-8?q?YzeMoV9xzummCHIAXY8M6zLyd0Zqpvzbs1oO338hn+MigrpyvZTeAat7gVkZxqjRB?= =?utf-8?q?lHB9RHLXU6/z0NBwbglBZq/Bdv6nMhYp5C+itN/uZzMIkeHB/egIJWsyZxFi2Qt0h?= =?utf-8?q?ReNPRHzIR41dHiWycC2m3Xk7XKYPrFaXYGYtmPY4kyKT2ekDhaT6uppHhXxP4qBvL?= =?utf-8?q?C+S4arxqcdiVwc+jJI5d4KRf6nmlrsGcK0rKV/tzizPQ24VWr0TQzRZSQy38z3Cex?= =?utf-8?q?h/ERgR4XLh4SfREt/VexoMCII7CqZ8G2oLlsDFDWwYMSW0wYMZbQLxK3xj3hEMUr+?= =?utf-8?q?i58G46weTHdVUFOTUoUL/nWBgZBE4vIOTBDkXd65wafuJFKAzYpX/Dc4cOh0xHzYs?= =?utf-8?q?wnmXzEwy7Dx8NxnGVuiPy5m8QOR/TnI/sObIVOr5o2jsdbxWdVB3DQwCesRROsfT8?= =?utf-8?q?ga6NCJM/fUvx3jQmjV9G2AO6lr0o7GAbPvYACIbYk5elLn91uUYnCI5Syc/MkNiRM?= =?utf-8?q?0Kuw4vPkoKAC2C5+bCU2H4li5358dXy4QtGIY5CgDa35948PuaowT4q6gsIrwBwkC?= =?utf-8?q?UVisP9iWllOIu5NeFt3zXvYqVTMFynQobL6B11j9fCDmQJopFdunMO1cMj/xa8g9i?= =?utf-8?q?lj4lDeVSDTsjAebgGvqiPzyT3gpxqabitgz7mf/k1RzxL18jCoMYlJpj7HBnI4jAY?= =?utf-8?q?o08pnKygbJ/UU0IcojK9wgfSGBMOUIAbq1W3FkWweOWPpP+uJ/S03/1Lm4aIKoH0g?= =?utf-8?q?iZ2nNBs+jGj1XaDl0CVK2q/C6p/y+a8i9VjoIQjeP4k5Rw2UCe1xU1w5TzdF8lLus?= =?utf-8?q?I1nOmG1IakTnvh23plqx1RkeG8A9Fxt4/Dn3SzhL7Vnmh1eis8Ahh4zk=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR04MB9626.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(52116014)(376014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?9wu3ZmX0qUAxVA8m+pF3KIaH2jIz?= =?utf-8?q?t65bWMKS3ZxOGSNmoVza0ftdGIngUlt5Trd/1F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yjUNiNvC4ifVHn90cyCpPnhFwZr9DEs?= =?utf-8?q?kT9LbfYuMj+2ZAX1uyPGcxUk5urQgqJzNE9Kktv1JNbEryfu7IF4asvjCJOKult/R?= =?utf-8?q?gt+uL8ltvbWMQsOMnb94a6XMNdIY0wlymKpyIDACozYy0ESyioYYE2xS5ET4rBRuv?= =?utf-8?q?FArlkgNUuOnuXLmjKtOMXJGHPEp8b5Dkx0oCOik++Q23DGnNRUUsyohulNYAxuso2?= =?utf-8?q?rhAI3nlwb99Z/PkkGk6cLGxSHwha27dEvJtSBtUMOwP7uwE0B5ps0x1mdzNpjrb1r?= =?utf-8?q?HL6WuP0el3e5l3Ix+83kzuqEzbYFurYOXzV73rw7IjhZ1QycK7IZ+te9byte97QIW?= =?utf-8?q?SiEaCb7L5ja6PKY+owGbFSsxcaESxXpcl+33R59/4V4dmq+O1L3Si2BgvYUBDL9d4?= =?utf-8?q?rG2/hR10fXDFYpzyPUSWDqCyRer+Xs0INEy6O7wmQGtfrNCsqWEQ/Z1JHVcX6iyUG?= =?utf-8?q?E89Q+mHaAR2SiwYOPeJB+7tbxEO6ftknrMFS0y1SuaOszOSV20/vcf0tUFr87lnCv?= =?utf-8?q?29+GcwtVzM92q0jDMuMI1NbdO8mMdRZ0M8nmEYwKYofe+0cl0vOLTri97xgLNbvxr?= =?utf-8?q?B96D0fwj67yN?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5615fc09-0e8c-469a-c4ce-08dd03fd1527 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9626.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Nov 2024 16:06:07.4388 (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: cC4Fkh6UtuXDiYkzyS1SDTo+RYbDIuxVx4B6WLBaOWi5W6WPluC84O11bhrFnRfTqGFwp4jdkx9MaV0Pvg4B5g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7400 |
Series |
iio: gyro: Add support for iam20380 sensor
|
expand
|
Add iam20380 sensor support. - add binding doc - Add support for the Invensense IAM20380 sensor to the MPU6050 driver. It is similar to the IAM20680. But IAM20380 only supports gyro and WHOAMI register data is difference Signed-off-by: Frank Li <Frank.Li@nxp.com> --- Han Xu (2): dt-bindings: iio: imu: mpu6050: Add invensense,iam20380 compatible string iio: gyro: Add support for iam20380 sensor .../bindings/iio/imu/invensense,mpu6050.yaml | 1 + drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 25 ++++++++++++++++++++++ drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c | 6 ++++++ drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h | 2 ++ 4 files changed, 34 insertions(+) --- base-commit: 28955f4fa2823e39f1ecfb3a37a364563527afbc change-id: 20241112-iam20380-da900d806bf4 Best regards, --- Frank Li <Frank.Li@nxp.com>