From patchwork Mon Apr 8 09:07:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: inv.git-commit@tdk.com X-Patchwork-Id: 13620937 Received: from mx0a-00549402.pphosted.com (mx0a-00549402.pphosted.com [205.220.166.134]) (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 B881B52F82; Mon, 8 Apr 2024 10:20:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.166.134 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712571659; cv=fail; b=Kr0igDt+kws3GyZgjFvww820ONkKsfmd2p+tWZGzBsJy/yO/kA7CYXMK9mQ+dAQC0LIas127U8p6J9/qzuZLJsqH38C7Pr0IENI0ixgTY/BLgGD7Jhttg7BSzHfNhOC5cNKjw4wl8YRKSpbx2O53C5R1bVzNsu3enqkoFeH037w= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712571659; c=relaxed/simple; bh=sRXpyZb/+vkpgwmHjTfpPSkG5j/2pwGwAugReyXEvX8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=gILN2r8uRlpowWbPpchSZ7iR0AALaHEdyTNkMXVzEkPZGW69ym1Mf+cGhRTNuOCxEDk9vFQjWFam3SgxeyQpYn+a4a2Gsm4sPTX67CgHfS5LZfqwx039D/IWzUHGc4Fi9vDG/axgUtRMKiroDq00RNgXZt+mZA4rAtjz4ILChXo= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tdk.com; spf=pass smtp.mailfrom=tdk.com; dkim=pass (2048-bit key) header.d=tdk.com header.i=@tdk.com header.b=YG0GAHF0; arc=fail smtp.client-ip=205.220.166.134 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tdk.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tdk.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tdk.com header.i=@tdk.com header.b="YG0GAHF0" Received: from pps.filterd (m0233778.ppops.net [127.0.0.1]) by mx0b-00549402.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 437NHFda005047; Mon, 8 Apr 2024 09:07:42 GMT Received: from tyvp286cu001.outbound.protection.outlook.com (mail-japaneastazlp17010002.outbound.protection.outlook.com [40.93.73.2]) by mx0b-00549402.pphosted.com (PPS) with ESMTPS id 3xavryh6a6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 Apr 2024 09:07:41 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OodsPvXJVEIi60mUxGBqEYY6auEOO+cOSyacmsemtrzlILTIKeHRRv8mdSbsBthG/VifAwwp0OQ29xTJ//UzBbgosXjKPQBPOd0k4kPrcPY73GMZWt6lgcSwyJLrvIsb24AvFYcYpUtnNAaSWB/VRALQmvxkEBy0lMFx6SP3J/j3jtgz4lM6NE/RByHMUEtREyBt9z9Y/1cYFOZU7d4w9SqpmAD5ri7Sp6pz8ZW107Na2Q99uLtwCskK02TSbz3gqauaVVfZJzIrFeco0IUoTYIyqx7FCmXbjDyCMyG5Iqlq2akL9Jk0NrKaWS2q3KTwYQKzk/hzFh/kneE9T/BmJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=n+SFB+JktnX98OdFnclo14PD+vI3aBqAi9ZBbDi1I5c=; b=CJQNTxQnuf0gDeLhU1Sj+9NiDe5KA1lCGNYu80NkGOmTxpep/elYGo3m26JgfX59y6cw3ffk/tLXTFVPof/BDhwciggyNZcbu7b4P82fSYli78aS2Y/ZTImxo5h78rIZD8Q/ZICl9hi0t8SC7I4SabXoRQDtcl2lGB75CuaQ9n9LBShQdQO42dZbbyrZhmKeajqvJdczhrdjdhE4OrJaFdPkV8SYlgiseWAOxBjrBb2iHVjRmLVJ3Dzj4MmMhpEaC4ZinoSuFSpebIwxxwzeldtEGFRcFtbY+U4lBZXCyv4xQSJYkEQIJ9vXGHmOKHLL/GCDxeY1lrn9ifqYn+HEHg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=tdk.com; dmarc=pass action=none header.from=tdk.com; dkim=pass header.d=tdk.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tdk.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=n+SFB+JktnX98OdFnclo14PD+vI3aBqAi9ZBbDi1I5c=; b=YG0GAHF0IXZPO5xFuNrMtOuynXTYKB1pSicyaaOWLCNhb4ztpTWWQE7HLc7BVbUKxW3W/mwZV/Y6gLhb4pk9aqCQfwAmgkKiFUEeIMXZ98FmoMUW2T/O2X2HgzF7I6GXniEJzr1mMFCOJmGyMYqxpJQj79FNSdNzb7AXt4lC/+/ODIfbpfnvdggjeLU+SDekAQbSFqjIX45jh1LCOmtvmxET1g0MmzcUI+hkZDPE1n+857L2hLgRO/hUxB9gbkAC2C+wZkbSliie7SypLDqZRHrdBLbfLsL2kO6P7VmQQNwyRrjkTtrwHhuCeVpcKixVTMhGw/+U4IvGlvBBAszk9w== Received: from OSZP286MB1942.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:1a7::13) by TYCP286MB3342.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:2c5::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.55; Mon, 8 Apr 2024 09:07:39 +0000 Received: from OSZP286MB1942.JPNP286.PROD.OUTLOOK.COM ([fe80::9119:3ad4:c68d:9da2]) by OSZP286MB1942.JPNP286.PROD.OUTLOOK.COM ([fe80::9119:3ad4:c68d:9da2%6]) with mapi id 15.20.7409.053; Mon, 8 Apr 2024 09:07:39 +0000 From: inv.git-commit@tdk.com To: jic23@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: lars@metafoo.de, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Jean-Baptiste Maneyrol Subject: [PATCH v3 1/2] dt-bindings: iio: imu: add icm42688 inside inv_icm42600 Date: Mon, 8 Apr 2024 09:07:19 +0000 Message-Id: <20240408090720.847107-2-inv.git-commit@tdk.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240408090720.847107-1-inv.git-commit@tdk.com> References: <20240408090720.847107-1-inv.git-commit@tdk.com> X-ClientProxiedBy: ZR2P278CA0043.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:47::17) To OSZP286MB1942.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:1a7::13) Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OSZP286MB1942:EE_|TYCP286MB3342:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TSIdCHJB1BtQau6yMb8mNJkSLZdpgiIZf7Mkn9dbPai0Ugb9cFz5FLuVc10sKRvN9ygmSEHKC4LRIFphWZ6dM40bSXwXxirspen47bFq+sBrbt9wiNH8itaxItj4mg4385JrHBjuyr7/2rQH2/F35E49KnKUArQIMrMRABkzYrduE0oxKS1/N+J+Xz0td8N9+AHm0Vk7mh1khUepT6/wlrv4MrOyNib86hNcriVmD0+yvzSgIVj96onOp2ZjZawQIoFdybQgzos6yLWqHbR+8wkwkYoMyyGtKOtuQM1/K/8XcyGGFq4u8OOnhDMJpkaO/woC7sEMx/tR6X+bHPfCe08LJux+aw//w8Q8iljwBIHcsoLp670Akxa0/EBotEi5yC+M+X1ghJAc0fLrxuxwWKK5FsykVbsS4ruRthVtMWuWWN/SrDb9yiq0FQBtbArxZ1M26Hs6KzPmTX6GsB6rcik3e4Lmd9A1ESy/57OEuZuERFGDxCgEgSctSDb27I2MCKHUugMpLFy5e4vHZDXcH0wiaZSeQVAIo13SNFRhJcgpCUxJDgZ/WxN9HszzISAExuoS9Bu8YILgpolb+DMpf8Jj/aULVne8KC3T/ol+XKHWbfpXvTf6F5UNl25DEPFyLpLwZmdZCyPHNWBneaoV9UjZvOMGIse3F4kwlzoyV1c1hhFLo9qxzbzoJBpO4hGR1YCAlWj+3uZQp2p0FMe0A644uOwUyCPt50fHC/eFqO5Ds9RBeHesz5HldUfWUprG X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OSZP286MB1942.JPNP286.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230031)(366007)(376005)(52116005)(1800799015)(3613699003)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: EZAI+aaAqP870dVxHUtVyphh10YRZZMWULXsZ2z3d7+OhrhMJCt0KABysvGkAcmVvpstJPNPnxvu9NHKMTqVGtjybVJM0QrNQhtBXncAP5KPZntGpZZFsFnCIkgxBwBj1M7ea8TZcL3PVwJRB6HMBS1qxHvtSta0eTsaNEHvJhsxLVa7QvR7/6MrynMOynK+MbEn3SLnVaeS4YVqwRnKjQvJnFTTtvq0oBeei3EZloqjrASItc5xSqYMyVSQs3EPcZqwU3ie+O7bAWrHN/hYrjzB/4Vo6qA75ILM2f0342OhZTSq1bMVkLiYnJAl53ZlUnZ6RrO6w1XhdURAOHkBrIF3Wxv7N0KDzTuDZ477J+io4rRtI6/ozws0Fp0FqmWBVKyGZvHD4Wthfd/nY9E8SbZP/Z/CaFHBd4WukSu25XgjkISeDT7Scas70WDJSUSKwAO7MdLS/0wIKBl2/qraxT4vlNHmrSXvdRfgPne1qMGNuW98fd/mdJTqUraQO1uoygyI8u61msVniIR/nwMyLWiMSUFy7ErMRs9lDNj/LpLNCoKw87xvUiCNV12qSBfZpqA02J+yE9n3lxCti8dt5229Cr+v9fNgGa8ljBXbnzYYDgHtvkGS2tOXJ7rUlcZOvUMcomC1qBTKgUQ3vdIm1gHANQsKNx3NwCl+DJAWnXCZXGJmMf9RguiVx3C6YHPJX/tYyYgfGJKRNmGEH4DaBxx9HVPOpiW1/Jk/U86HAIgMLeH9sx+Ywq/l2M5/LzLyHpcATGm94aqCDKgfApaeCVAC0C/rWs4cTnsHF/7TZfqAJr96iSioZBmgJ2JuGQHbzg1sTL8v8NjJRjWtZz+a3V2NYhvy9qU0i3wj58tLo9ZDHZ0c80r7E0hO4I0NG3gyHZxqwWFhbqucTDEABPf4VOex9mO0KwHV3qZMRdOS6781z4YK4nQYCSBSEVQH52MwCHcURICmrLO3mlpYDuqGQBF5ryco3tnHAx0CK6D+C1CMehYuCvUljEU5nuTMPDwjAKduWlRXR70B1o3qpfCtwYdgMuiCbrbCrt+ZsxO9CWNECOosgEUqJ5MM1gm+WziP5kNqeXerhOYFGSzBBDJbZy/TY+wPnEZ5okOq0XN5NynmeJForKHLXFFfEfdsMMfs38Itt2gZvT34th/ob1ylArwkE2Gg64ZFLbgMTfY4Ll8FMklOBu4Nch8sHDlZDyEMEe5ekOu6agghb5Ve0wXsevnAp2haZnrL+buWNnIMJ/3Cxa+R9JGgMslyeh+xo/gRMpo+E2iEuWMzNCzfgPtE5Y7fSshVW1rCkplKljPl/8lFAi2cKC43sOATjoVANRCM2gv7H5pkJVCL6LbHpkTj1X+IAxe3yNewnQuQUuhQmhGnA69+WQjsZhhlD8LAjpMzo0DLgHafoReEDqYrH9cQsYTa0b6BffaVpRi/c2t2GykNoaXBnS+gL0H7+VcD3kNOQJ4xq1eDg+f/ore/Bn2OQj+e7rCp4fLwU9vuPf23rvg34cC9he2wtPDl25obdFrYvzWNcKsBq1Nt3MK0v5Wcq5rbfIL1VAwL8cP9R+1Hnhw+DBZ1ibqzyHUXX4end/qZ X-OriginatorOrg: tdk.com X-MS-Exchange-CrossTenant-Network-Message-Id: 99ca8178-2e08-4c55-8ae7-08dc57ab56c6 X-MS-Exchange-CrossTenant-AuthSource: OSZP286MB1942.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Apr 2024 09:07:39.0600 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 7e452255-946f-4f17-800a-a0fb6835dc6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: s7eqOEPW7Lq1/FP0ixWs95UHVQZ2S8dNfT1QKKC1Kkm5M2gm3tiP/ZepKGKVfsm3ggm6GO2pz/lR6K7ZK9SfWg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCP286MB3342 X-Proofpoint-GUID: FbDdRQV_sWhN9OXyxb-jBrkMNLpw_LHM X-Proofpoint-ORIG-GUID: FbDdRQV_sWhN9OXyxb-jBrkMNLpw_LHM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-08_07,2024-04-05_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 adultscore=0 malwarescore=0 clxscore=1015 mlxscore=0 priorityscore=1501 phishscore=0 mlxlogscore=999 impostorscore=0 lowpriorityscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404080070 From: Jean-Baptiste Maneyrol Add bindings for ICM-42688-P chip. Signed-off-by: Jean-Baptiste Maneyrol --- .../devicetree/bindings/iio/imu/invensense,icm42600.yaml | 1 + 1 file changed, 1 insertion(+) -- 2.34.1 diff --git a/Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml b/Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml index 7cd05bcbee31..5e0bed2c45de 100644 --- a/Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml +++ b/Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml @@ -32,6 +32,7 @@ properties: - invensense,icm42605 - invensense,icm42622 - invensense,icm42631 + - invensense,icm42688 reg: maxItems: 1 From patchwork Mon Apr 8 09:07:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: inv.git-commit@tdk.com X-Patchwork-Id: 13620936 Received: from mx0a-00549402.pphosted.com (mx0a-00549402.pphosted.com [205.220.166.134]) (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 EE155524AD; Mon, 8 Apr 2024 10:17:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.166.134 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712571459; cv=fail; b=YLbbVXpqYS1fvm02GVt+brvwEIi/w0E9TKrY2HcoNidFCrotGd0iI7nTpa0yxpSlKC0ncIIZG3QNCOyDW76ocHCJIq9D8sYxatAmkOeAcdwhBsP/uXkWHsfUSzsBPN5Q7BIumBMklTZBGZDjpr4F5OrlCudnEpb70dwAbEuMjHo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712571459; c=relaxed/simple; bh=Pyza6lewOnQeokaHuWn8lycBhcceDnipIpc+j9ttMgc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=jTDrTyigNklJfsoCpGjaYlPAGlxGNR9+EMGcLFSOsfpaoviQudVKO9FX6839vl1V0TDcgCc/VRVQrR5V+9BbVqBAmCC/7+GLnbRhwT/Nsq7lBggZ47gdqPqZjWcjSXNK7wQjO8r7Oujq7XN/VSFaPqzgA6KGdkxAq/Fvr87wwsA= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tdk.com; spf=pass smtp.mailfrom=tdk.com; dkim=pass (2048-bit key) header.d=tdk.com header.i=@tdk.com header.b=fn7qHl3Y; arc=fail smtp.client-ip=205.220.166.134 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tdk.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tdk.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tdk.com header.i=@tdk.com header.b="fn7qHl3Y" Received: from pps.filterd (m0233778.ppops.net [127.0.0.1]) by mx0b-00549402.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 437Mo3QV030593; Mon, 8 Apr 2024 09:07:45 GMT Received: from tyvp286cu001.outbound.protection.outlook.com (mail-japaneastazlp17010000.outbound.protection.outlook.com [40.93.73.0]) by mx0b-00549402.pphosted.com (PPS) with ESMTPS id 3xavryh6a9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 Apr 2024 09:07:44 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nbuv4ZXrkA5EcbwBdl3k0rkek/X7F55c2cO7IHSza92dNpzHSnkKBF+PfeJxQQ2qQ6TqqbK6Zj4UpE/8FWf/nOFLjEs+TDnV0GTa9MgpmVE+8T7D3Me2Whaouqo5mZCn+6UV8cOLUGbQKw+6ddNmJ5O2u9uvp0uJeHhw/Gzrr4v9hhbKwdKr7GwQldfHWfm8Ht8VS4keyDWzvYOoKFGYhHZva8qrVlntmdHZ601m4wHjYEE1vLy4C9NdBW+ZAWuWr7hs/DJMeOhrAuBdbDg3BBAnyalEPJQ0YHAT3/F+EucyXR4nIEwuDJBUemX9YJjTxDuQtkUYCQvoEGoGlov2dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=A0aoivwitiHhfLfo5XHVZPedKsHvdSTRbKEdhH6rjQE=; b=fqL2qKuzey/bOkN5Y+PA5Xq2GWH9VPtp9XSUaob0RrbiE51egCVpBRH/lO3ivESonxuXSYW8XIogumydelX+skJWxfZwlGSV2ieCHxJoBqTBYRR25jlRwViEJhRKxE0en2T6owUS3zPxr04iz4sG+klu0uuHD9AEyR1QHCx/7J/ZrDEI6FweTOZ1XRaZnUW3FBeYCNmzHeTiRo6zCplXSc3xcUAcqt3Qojnou7aYgLBIMFrPFjU3g81qMikRpjp4K7tLrHwhyq5htt6LTjunxuawfS8pvZLDbGsGSASeW6Pdjhky+SyjuRtfj+Bc8dJo2kNKCqbpFT/VLoIPc7E0xA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=tdk.com; dmarc=pass action=none header.from=tdk.com; dkim=pass header.d=tdk.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tdk.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=A0aoivwitiHhfLfo5XHVZPedKsHvdSTRbKEdhH6rjQE=; b=fn7qHl3YjnUq2aYx8ST+n9ufxS4n02cF/HO0QRCqWn6APHM1aWxXlj6ug3hysLHhEBQpDk1ouV1INKYaFFHf4kMC6wRU10d8DPGVX8o7/DcviuvaqbKXUOA6a6YV2EAC/OTo/MU/1QXAeIcTdN9yxLoLDev+1qW5AENCAC0mysDMeNHdwpL3S191xUxpZQxmC4jGHp34SagMsBrTsSW9H6YfYYiaqWeJJDZSXiEh8kxlIPyundh+6ysRLnxOsQ+HqWW0VJm2bLpghgbtumXQ2U+gP+PWDYGZ1IujoyQNshZa7h83hOPR++hOL2iMMOnlgaxttNbLlp+LMpX8lRaoMw== Received: from OSZP286MB1942.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:1a7::13) by TYCP286MB3342.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:2c5::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.55; Mon, 8 Apr 2024 09:07:41 +0000 Received: from OSZP286MB1942.JPNP286.PROD.OUTLOOK.COM ([fe80::9119:3ad4:c68d:9da2]) by OSZP286MB1942.JPNP286.PROD.OUTLOOK.COM ([fe80::9119:3ad4:c68d:9da2%6]) with mapi id 15.20.7409.053; Mon, 8 Apr 2024 09:07:41 +0000 From: inv.git-commit@tdk.com To: jic23@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: lars@metafoo.de, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Jean-Baptiste Maneyrol Subject: [PATCH v3 2/2] iio: imu: inv_icm42600: add support of ICM-42688-P Date: Mon, 8 Apr 2024 09:07:20 +0000 Message-Id: <20240408090720.847107-3-inv.git-commit@tdk.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240408090720.847107-1-inv.git-commit@tdk.com> References: <20240408090720.847107-1-inv.git-commit@tdk.com> X-ClientProxiedBy: ZR2P278CA0043.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:47::17) To OSZP286MB1942.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:1a7::13) Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OSZP286MB1942:EE_|TYCP286MB3342:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rgP6i5Lpv7B+seuGLPCGiI6/ka02O3JIaJc2KyTT7uuOs2lTWa86toLJVfvo4xZXbhkn8L3DmLJYV3TqyPQKJFDzR+UHgJj6PUNJqUEHwMj6QOM3Ks1k0YVUSDEvxdzbMO+GRyffmkry6dKbVQeKBJPyAzvO8SS5u++BN+ZNLhZOfafAlXyCj5ZGO80+rMLYIh+t65B6Ccnva3DeeU8o80/aRJ77NIyBWsgTsfZlUEiMoiub47HFmp233wmZWAho2nnuRcQHMbtX97m/QC+5kkxoKGdNAWp3tMzacmq/LYVxHC2z6PB+kQYJvWb9ZM4GDDmjnVf5n5bEuqCpdVKDVoAEVVfhUuJQO3izgvbsUoXc2kmsFrVikTs6RrlNzVC61xpUgDa2zKaZksuqI4G21nIBdbaMCiH3OXAvNVJq4kWIED0ijNj/D2ttUpz0V8npakqSNYqZnu9XyORcsPISt0vTKgGvQApVo2wrmQ9j54FsjNw6fIOqsUQGCkp5YrpFgUughzkrwCMr/eZC6xtRaOiVWAosjrGJTsrUXQDQXdvyGzpc9aI5auTQJNJdNJ5bfea6PSgcIrsXYIiMBlL7Cchh6wZObNI5RbyHoNoji6i56+TlfvrxHSfsotY9hkSI4CFbTA1qPd2DWCaKfP0000uCrqw0UrkXqjdw9r3elmfteuepLtl8q/nDIJKBHmti3a9wzNA+Y5H7GGpGqtMkOninTRd+miOC1s7Ud3M6RTVXNT4DWUCncGyvgL7nPpas X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OSZP286MB1942.JPNP286.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230031)(366007)(376005)(52116005)(1800799015)(3613699003)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: nMk8FnRnnJgzi1swVQW4uicNXZdgYFPioLo2Gnt+SB+sHr0B2Mg4+q+i1Weoz2LjgU03Nf/jVkmL/g8/gS2bAKG0LjwwFtJOOAZnBMtRIUHXz9Wd+c6++2wZ254SA79apEHZNf5jThBuPpT1eF/rSHPwVFjG8uSQzWa2ikoFFE3WEraAXAsWmJJl9+XqiYfJyICz0hUcwbM9KIEVpv6RJ8GXoGM7Glejn6uQUBxmcqzttHZQbjszJuGxIgRLPgu4tZGpqa6niw9xVqrDkRxzGyaMqxiAhjIiABf2OqCvcovr8DOaywfFy7aPxHygxYZJ4uOKWIzKlg4mehf9up+20/vPFigtV2Xyb4OcFdDc8P17+hnh5OoLj6MH1CXfw75s5hu6O1CR8RWdBloozNzmdvkbUIZGEWrJcj83mFMV7Y9cgmzOKKH3MgBV2cTdeM59jqDAPl+1Hyo7PNYyI42Uer5CCXxrW6ostjobP9hE/qg+z8EZslH7NE6U3NYAmqraz0jJwtcHYhunuVU05FgcAw99wqQEpprjpXf2nCfkxUqzgzQhk25790vJjfBhVVe6VDebmrkgFI47CnYB5F2v7uiAvP9SqB232htKDeuG1zWNTrBhOvDmLXQxUj26/SdzCmtSH1sH02yapo+Y46cSnPjwx/B50OXoeKfzYwHD87QT1DD3xaO5RqsmUPIsV1ELvKC3D6a2o9Yu6C1TsSAoQaKAykTPtJ8x3LZPQ43eVgeebQTym0uZqsAd/mRzqlAnoO8ricsQtwGHv1E4PWdul5LQE45POfl+U9Fvhk0Vr7/FkkFhhcIsh4lR7q36KIJdNq8AeskgcOwbc3rfsZJXZNmplKD+9p0JkIqJVPW5kMVO5YUVfqfn2vGRdyRNoxwl0/B6BIcRXrvRJ+5u8Rmg/EWRo6Dpc7uo3g3YuKxSLIg9xXdWnNZZOoqnizsL7I7GDRKVbbxYTD/HW8bMGcmIsraj79erEuQlN8+3RzmJPgl/cqxL61GEiem6BxMEHHVhguu1NtHjpBqlvysd4Uhgwv6Hikeh9VkwePWdJjNMnZMabNaTKHhtXCNJJ7A+7Cuv2Gs6rdXYn3kPKTRtN4yqrlomDq1L++9rUTKubhvqv2nYii035dwpDP05CWqE0myVIFNvPS4RQEfd4Ah96dhlSmNrtIBHCXd+ccYjDE9tvxic3bJR2kF7xh24D6UUjoJ7xg9TtFT0V+GI727qhnzqADKYkYKC+e4H2/JRBZ5SXBKr5IYq1epHwfrmayzO34VV6F0ZynlHJrjTJ76FFxQJy8/G9JQBLeikRIDmfGeHFstYt5qamPNUUnCOvfXYuhiBwrtqNgXCkTHRephGLvcIv3hdF/9xPmCQ8U41ReNYOPyOYS7EzqeGHab6fCdULuE/9Hz/5uojueJyqgUzQDRhM4Iqo/lSmMsOe4yX9BIMRyxAHRu5I9R+0roj9hFwkDRbP2YmNy/+N5nS4lzBVK/dVdnjDPLAW2NwQM86f93qhIqQyAiHlDJiteOLuWg/aoqsRjAvL8aUaeqsxCuWL7SsQX/60FB5hPCN+TPM5Vwx9CLeYFGQhUIYu1q1vAYel6TM X-OriginatorOrg: tdk.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1576513b-0fc8-47b0-c477-08dc57ab58aa X-MS-Exchange-CrossTenant-AuthSource: OSZP286MB1942.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Apr 2024 09:07:41.9349 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 7e452255-946f-4f17-800a-a0fb6835dc6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: DjVPTykhQYU76p0S1Ng3s7fHo3jzwHITSorYov5CGzqY4NXhB1WYyOCwE8zSbrNPm5T0qmeVS+h1FyqGw18lnw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCP286MB3342 X-Proofpoint-GUID: x-RptvjZAnUQikveOk7v_1uVWBoVnPPo X-Proofpoint-ORIG-GUID: x-RptvjZAnUQikveOk7v_1uVWBoVnPPo X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-08_07,2024-04-05_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 adultscore=0 malwarescore=0 clxscore=1015 mlxscore=0 priorityscore=1501 phishscore=0 mlxlogscore=999 impostorscore=0 lowpriorityscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404080070 From: Jean-Baptiste Maneyrol Add ICM-42688-P support inside driver. Signed-off-by: Jean-Baptiste Maneyrol --- drivers/iio/imu/inv_icm42600/inv_icm42600.h | 2 ++ drivers/iio/imu/inv_icm42600/inv_icm42600_core.c | 5 +++++ drivers/iio/imu/inv_icm42600/inv_icm42600_i2c.c | 3 +++ drivers/iio/imu/inv_icm42600/inv_icm42600_spi.c | 3 +++ 4 files changed, 13 insertions(+) -- 2.34.1 diff --git a/drivers/iio/imu/inv_icm42600/inv_icm42600.h b/drivers/iio/imu/inv_icm42600/inv_icm42600.h index 0e290c807b0f..0566340b2660 100644 --- a/drivers/iio/imu/inv_icm42600/inv_icm42600.h +++ b/drivers/iio/imu/inv_icm42600/inv_icm42600.h @@ -22,6 +22,7 @@ enum inv_icm42600_chip { INV_CHIP_ICM42602, INV_CHIP_ICM42605, INV_CHIP_ICM42622, + INV_CHIP_ICM42688, INV_CHIP_ICM42631, INV_CHIP_NB, }; @@ -304,6 +305,7 @@ struct inv_icm42600_state { #define INV_ICM42600_WHOAMI_ICM42602 0x41 #define INV_ICM42600_WHOAMI_ICM42605 0x42 #define INV_ICM42600_WHOAMI_ICM42622 0x46 +#define INV_ICM42600_WHOAMI_ICM42688 0x47 #define INV_ICM42600_WHOAMI_ICM42631 0x5C /* User bank 1 (MSB 0x10) */ diff --git a/drivers/iio/imu/inv_icm42600/inv_icm42600_core.c b/drivers/iio/imu/inv_icm42600/inv_icm42600_core.c index a5e81906e37e..82e0a2e2ad70 100644 --- a/drivers/iio/imu/inv_icm42600/inv_icm42600_core.c +++ b/drivers/iio/imu/inv_icm42600/inv_icm42600_core.c @@ -87,6 +87,11 @@ static const struct inv_icm42600_hw inv_icm42600_hw[INV_CHIP_NB] = { .name = "icm42622", .conf = &inv_icm42600_default_conf, }, + [INV_CHIP_ICM42688] = { + .whoami = INV_ICM42600_WHOAMI_ICM42688, + .name = "icm42688", + .conf = &inv_icm42600_default_conf, + }, [INV_CHIP_ICM42631] = { .whoami = INV_ICM42600_WHOAMI_ICM42631, .name = "icm42631", diff --git a/drivers/iio/imu/inv_icm42600/inv_icm42600_i2c.c b/drivers/iio/imu/inv_icm42600/inv_icm42600_i2c.c index 1af559403ba6..ebb28f84ba98 100644 --- a/drivers/iio/imu/inv_icm42600/inv_icm42600_i2c.c +++ b/drivers/iio/imu/inv_icm42600/inv_icm42600_i2c.c @@ -84,6 +84,9 @@ static const struct of_device_id inv_icm42600_of_matches[] = { }, { .compatible = "invensense,icm42622", .data = (void *)INV_CHIP_ICM42622, + }, { + .compatible = "invensense,icm42688", + .data = (void *)INV_CHIP_ICM42688, }, { .compatible = "invensense,icm42631", .data = (void *)INV_CHIP_ICM42631, diff --git a/drivers/iio/imu/inv_icm42600/inv_icm42600_spi.c b/drivers/iio/imu/inv_icm42600/inv_icm42600_spi.c index 6be4ac794937..50217a10e0bb 100644 --- a/drivers/iio/imu/inv_icm42600/inv_icm42600_spi.c +++ b/drivers/iio/imu/inv_icm42600/inv_icm42600_spi.c @@ -80,6 +80,9 @@ static const struct of_device_id inv_icm42600_of_matches[] = { }, { .compatible = "invensense,icm42622", .data = (void *)INV_CHIP_ICM42622, + }, { + .compatible = "invensense,icm42688", + .data = (void *)INV_CHIP_ICM42688, }, { .compatible = "invensense,icm42631", .data = (void *)INV_CHIP_ICM42631,