From patchwork Fri Nov 15 20:23: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: 13876804 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2077.outbound.protection.outlook.com [40.107.103.77]) (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 BC2381E9070 for ; Fri, 15 Nov 2024 20:24:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.77 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731702262; cv=fail; b=h1T/fkyh7HUUQPOtX1St9wyCUYPCbYLhqIjMOogUyiO9S8AgC361k8LoVVt1OpZiq1L9co8LGckNYHPOT0Fcmm7xsv2WFSXXxbpMrApGKYYn0YU5yRv5NwAMS5sFOi4F0akm/VupIvWUsb/+G3DgTw24niT6+em6lPda1KZAHm4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731702262; c=relaxed/simple; bh=dWZ2LxpGCejn7c/P8olivV4ofvefDyRm28MtFAcrRco=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=C0FkGZf/jhdMyadA2way7dK00EQ/DdM1Ioc9KN6LkOpPw+e1tAiPba1nFjCuIxEZI4nACe2F+aiCvBjady0e/C8QwI6xbyKqrCeyMp9cSIRJ05rC3t3epovaUmDAvhpuESNN96mqXOgF+ZtEGBBBLBVQKPdCof8ehYUkSEgoPQA= 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=mfQfdSfc; arc=fail smtp.client-ip=40.107.103.77 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="mfQfdSfc" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=RbE3srivitwwapt+IRVhtX++aqwuLlngHnYAej7Uagxe2mXiNyM6pIn1Apr5jLy0estH+TC7IIZerQ70mByBM0ZEch/Mj8ccAFTUPu4MDeUaN+D1WMMQm+c5B0MzzBrdIVO5utYOTiUcDiCLQiSMq+7bNr7e4HeyVSEbmoBCVSMKw9mhRsjdkDF8gx3+tXh3M9OfGo1NtqmJp7Tp2NPqdpxXUGsHvl7HHbxDhsPPA7YWa9G2yHHL59wrpE9gf4mUwTkQvtWoXj0MWXRehxN+UOobDt02vnfIuV3VChx5jN3Wog7IhSj0yBTirh1rvQdWLguZN5azoV1VgX3pITDcCw== 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=QCJIUH8zMf3xLGPEULpQRNV/dw58yprK5fJpFjAJH6w=; b=XnOaaxzz1ARl5tUZk3pIDlaaDV+Pzp/EfGIy9HY5b+F4LcZfqPkxCWAKXAOy7bf3seZsGZ0A+L46VsbiuDVXZk7ggWK8hqDkMehc730oMmupvMnZY9D2HBfHjFHIoW4X5s+grjwa+EIIbag88/bN3LYcPvACVE7N9JCP+Bi34yxRUi7FLXnb2WvSQgGQOz9/qumTjeH3h+dWUXMilBOFvv78VzhaPzUe/uOElq9a/NmuZ7mNoKHuMTJ4xM+9mPhnfpZvtgeBmE+/bfkxftDtjW/TpbKzMbvRI0+MsRFVFikO+mVmRvsZY7MUcDQIqLAVNdxhe5FQF+3BexZYqugtRQ== 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=QCJIUH8zMf3xLGPEULpQRNV/dw58yprK5fJpFjAJH6w=; b=mfQfdSfcEadSvGRcI4ihdiELDv6zGfaqFO7Tc2XoXBY9u7u4fLQs6oNmwnsEYHKbUIKRJlNJzX2QyiulOshvgQXKBmjiARjcECTYFicSnc3/6gEq5vk0LUfehb1RMBXc0uy3AmfYzgbOjWID5+o6oBN4f581yTQXkDVEOYy0UiSdAfhkRqoZt4/CEYyO3roAZvHEr7oGH1M6zU/sjxWVnp+6SIkSHI2FSJ4BK1OmvkaPnGAQStW7h5l9AseC4jUrZB9Ohl0PCsDJRGeBt+pNKJi/tuYOlclAvNw34UmG1qZE51Q1FJSqACirEeAocht+CbamOwBPS7nYPQJNPPKBKw== 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 AS8PR04MB8231.eurprd04.prod.outlook.com (2603:10a6:20b:3ff::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.19; Fri, 15 Nov 2024 20:24:17 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8158.017; Fri, 15 Nov 2024 20:24:17 +0000 From: Frank Li Date: Fri, 15 Nov 2024 15:23:57 -0500 Subject: [PATCH v2 1/4] dt-bindings: iio: accel: fxls8962af: add compatible string 'nxp,fxls8967af' Message-Id: <20241115-fxls-v2-1-95f3df9228ed@nxp.com> References: <20241115-fxls-v2-0-95f3df9228ed@nxp.com> In-Reply-To: <20241115-fxls-v2-0-95f3df9228ed@nxp.com> To: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sean Nyekjaer Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, Frank Li , Han Xu X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1731702250; l=1303; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=JW3+njpvrL42G9LXX72s67pLFuCJdYTJeGkvV9T3+as=; b=2H49ktKbP45TRHA8eQmZQXOBwkVJnk4Pzf4tiOzX1ef13hkoHyJjqu1AkCcYjAvGlLmBa3NDY gLwd/SxgCQyDRsibPJv08ODkBV4tIl72STuHdfldGQY+OvH4zlhF0J6 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR07CA0057.namprd07.prod.outlook.com (2603:10b6:a03:60::34) 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_|AS8PR04MB8231:EE_ X-MS-Office365-Filtering-Correlation-Id: 8527d164-6605-4715-5f39-08dd05b37ab4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|7416014|52116014|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?f2fhR0snOsUVkB3QW5JEn1oIk7phnKe?= =?utf-8?q?cpzijKfS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eRSvex2LMJz/jpjR/iPJVohHHeOA1In2U3urV/qPGyalwM7WEgubex1?= =?utf-8?q?OgJKa8v4UnA5BlTg+KCXWXEk7lt86hmwzu98VJOw5IGfnCGR0+MvyFLiLEEhy9ZWZ?= =?utf-8?q?p8AP7JERM5qMHXJFV59tMcOPASQuQexmfB7q+Y2LhXif6d7kzELIy+XLaFQ+nIYcg?= =?utf-8?q?4tGyuqI68j9nXx/KCbc7mc+y0SRiFGk079NplwIKuyPf3ctjU+/YHu1+tVU4MhPhC?= =?utf-8?q?Pu6HnioXkR13QjnYlViiTh7Jk1hkKa+atD1AckWzQ/LlRBmPu0fGoTipsJ41PeZM+?= =?utf-8?q?GV6XhLxoSHN5bsSPcThg5uZgmrs3D+l1qCCJ0d4iTDb0EUuRQ84AgCHYhf/ZsLIi4?= =?utf-8?q?ufk4mR66rbHaRpHpmvZLhA5I6enmYCNuwiysSiqEU82kvu1NsFNf+PrPhzyCNIhSp?= =?utf-8?q?xf3hnnyVzLXG?= 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)(1800799024)(366016)(7416014)(52116014)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?QtfnEWSeXubhb1mgF7vRYrp68kyc?= =?utf-8?q?tnRqiDm+4C1ljo4ThiGDcRWWePibVOeRa8/SgVR+Uz+iU9vKiMB+VDkcGg+66bhTU?= =?utf-8?q?0RCRN/wQOs82UBGyfCCI76N8fdEfyXM/iUcyI/YdpJ/Nw/8os2IJaHnCcao5r0wti?= =?utf-8?q?I/QA8Etqv/s20SmvZvCRmkJfqtOAbeSYepEAEs4zWRTDFe+x6wuM9GBY3rd5MIQqa?= =?utf-8?q?L9NS5U/mC654Zo6BZiWMOLOKa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EeaUHhOma4zi2ZdSpedQOlRFmbBpxe5mVnBYoHgq8Hf1?= =?utf-8?q?GV1tUD7dBQdy08STKiaIGyVG2AWn6u2Y4Fh5kNjtPy3jaTqS710tTbDw12xnD7EXc?= =?utf-8?q?swjcDQZP047x20p2JOob7mRUUHM9dfahQdK4hGgfeRippLprDy/2XUnglJ+cdvtN+?= =?utf-8?q?REu+phKiXjJG70m7PTHge5IOZr+SofADTtPVMPQSqUpXxLAMmSnKFqINZEcHwuDRZ?= =?utf-8?q?tXgHXaKwIdOd+ifTARpwrR+g4t5rzWXicJRvNN9tL1iXbEGA83pLIqXygAcs+LbQy?= =?utf-8?q?NuJeA/ybqpZGihsf25zhL2/bRDWzbqc4JAgvRDZkyiybk4bTNUYKzbgzRZgDyGsRH?= =?utf-8?q?epGLTr/9rIjmZy5teAGojL2Fac9nANItl8P0Ba4/ds+XXF3j1HKQpkEDGkgbDmMwY?= =?utf-8?q?RVAKLRkKWgnq?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8527d164-6605-4715-5f39-08dd05b37ab4 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2024 20:24:17.3280 (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: IZq6Mel6kNXjORmVZ8tgqWm9mPxoAZqZd+ksVwrJ7KMwMXSXeicAFZ6+/ryyWyLEUAM3Ks3sRwYTVsbCfxGAnQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8231 From: Han Xu Add 'nxp,fxls8967af' compatible for the FXLS8967AF sensor, falling back to 'nxp,fxls8962af' as the only difference is the ID. Signed-off-by: Han Xu Reviewed-by: Sean Nyekjaer Signed-off-by: Frank Li Acked-by: Rob Herring (Arm) --- .../devicetree/bindings/iio/accel/nxp,fxls8962af.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml b/Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml index 783c7ddfcd90a..a5c882bd7d06e 100644 --- a/Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml +++ b/Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml @@ -14,12 +14,18 @@ description: | SPI and I2C interface. https://www.nxp.com/docs/en/data-sheet/FXLS8962AF.pdf https://www.nxp.com/docs/en/data-sheet/FXLS8964AF.pdf + https://www.nxp.com/docs/en/data-sheet/FXLS8967AF.pdf properties: compatible: - enum: - - nxp,fxls8962af - - nxp,fxls8964af + oneOf: + - enum: + - nxp,fxls8962af + - nxp,fxls8964af + - items: + - enum: + - nxp,fxls8967af + - const: nxp,fxls8962af reg: maxItems: 1 From patchwork Fri Nov 15 20:23:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13876805 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2077.outbound.protection.outlook.com [40.107.103.77]) (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 E62A31EE01E for ; Fri, 15 Nov 2024 20:24:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.77 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731702266; cv=fail; b=tGmznRN0ln/EAK4zkdiwkoyf85WsWfmMdnuBHJnQpI+Z/Mv1/sv7sHbU64B5aImvirq4AbabKZasCF4ZaNS+w7LWnbhXPN8q9I0wK8f9/P7fyI6k1HiQWLevdeo1PBeR1+nZA/Og5nNFd+8yE0kDk3Fu2D7L63Oc85F8DEgGnHk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731702266; c=relaxed/simple; bh=ovQbKQDu3F4ca9647wIP0dmC0whevpKxesrCD86l3mk=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=L7uJK4O5KGr6DWvWZq2FY3s5pZRrG//6/EHxmU+33+Hh6eXlz47xmOVCK5rWafmQ8sBbdbYmw6tZNyq7pno5AviehWA8f4VRBlijrXEnsjGj4kZR0GkCjEqX31oeIDl9kaXtplAaV7b6jz7daX7WvBw9B7nCgNEV3MA4UPEQphU= 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=gK1eFXU+; arc=fail smtp.client-ip=40.107.103.77 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="gK1eFXU+" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rTX9pBCl/DF95g4ZGxRGLlf1I9pCHaYVltPRs5teMRy40ZGk9ydw2C9haWzv2JOdRMgZXt+yq1H9MY/qtdQCea3df3mcXTGDWZiqiw8GTw9T3nmu6sH+WjU+BRpYRGjLoy6nJURYXj4XSos5b0ZIAo991BbHfC7FV15Z2odecoMipp/Kh6XFN/RBkgMUn/bd41xjieblE4H1npgwYI8i7i6TbtSmchfXh1KF/tn8d2eykWmpkJR96O23+FwuFKrookj5QndgQvVE81rYwBUqjhKRHkaKifb4mOaO1HAZhunU+eh4BOsBgodk4LGrCON/1R2LFGnR+4eCvrZ0X9gmug== 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=lSj8cZbQIyv59p59G1UsipdYINYDVBGITa7eo8RrfiU=; b=TBQbF2/smONAs/Lyr3vfVu0lxln1dIG81xFz3BuezQnlTgF7YcJzhkWAl3ZlG3EC2FgT0+P6cvzZhO5L+mONo4vwVJpk/rzh8MDl79xGPZkPsorSaUxSajje6p1npzCBwW1DIlKGEvuK7mgZHbrMo9dj7s2nQ5yCNMhcAv4Y34kdw1uXzGZDvQKqZ8NZmHqOgPVS8/H2ILTGF4O3PyDWaQaSckR+5PJi1pTjwAE/n6pMF80RqlN1WUi8n++j7kKIzGyBKgzNjFYm/zlomIg4WN4KE8EyyB5fHot/vvjEugmt0maf9jucr3+JuagGhIjjneOMri0P8VnOG+rk6i9VSA== 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=lSj8cZbQIyv59p59G1UsipdYINYDVBGITa7eo8RrfiU=; b=gK1eFXU+I2z5tOOjL2motrFqXK1hY7q9Nv7W3jdB+Yz+/yCuh3opg/v2gtXsb/wBuCHiFP2NmO8kW9PiT36FaENLnPh06JZOIFfFirCKMsdqsWDh+9YgUpfBNdnL7tE1lKRh1u3AhiT8LxBMYREOctlED17yF5wFdRWb0uqmQNsPu6tRwJDHA9vqynAPT9oNFekzfx7O5izge6Dj2Sy3L3FYHiQZTkWP6n/NqV0WIZyGeybMFP2NeyXM6L3O8SLIkyd2wUTlmTAM/poUmKYDyNEc4yj24Jmg1ylna8VHK9Lfq6vT4N/4bjspOdA7Ut0CfLua3boLxoNJSRHLubjfJg== 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 AS8PR04MB8231.eurprd04.prod.outlook.com (2603:10a6:20b:3ff::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.19; Fri, 15 Nov 2024 20:24:20 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8158.017; Fri, 15 Nov 2024 20:24:20 +0000 From: Frank Li Date: Fri, 15 Nov 2024 15:23:58 -0500 Subject: [PATCH v2 2/4] dt-bindings: iio: accel: fxls8962af: add compatible string 'nxp,fxls8974cf' Message-Id: <20241115-fxls-v2-2-95f3df9228ed@nxp.com> References: <20241115-fxls-v2-0-95f3df9228ed@nxp.com> In-Reply-To: <20241115-fxls-v2-0-95f3df9228ed@nxp.com> To: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sean Nyekjaer Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, Frank Li , Han Xu X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1731702250; l=1207; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=f08XsdRgxw2WjTeoyVGAv7yjkwFTODaXkdmnGf3J2RE=; b=IBMQLmPd+Oi5ONG5MF/eLt+fm8RmwJ5FoXYLTqbhka+lhP7TpfZet8toHScOYVJ6m3BH7IpAq zXxP6AwnLcHAQl2X6ryylpSIHXExuKJYYX5nXDrhws86Ztlt7pASjnQ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR07CA0057.namprd07.prod.outlook.com (2603:10b6:a03:60::34) 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_|AS8PR04MB8231:EE_ X-MS-Office365-Filtering-Correlation-Id: 4f392a82-1337-4547-b8b6-08dd05b37c91 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|7416014|52116014|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?uZDLbTnWvR0/eiUjy4wyz5zluT+q57j?= =?utf-8?q?soTbIHVaPoBeWwMnmEbeEnhhGxIBDZHfakrXCx360TIltlJoMw2lDFG8sy0fDyW+7?= =?utf-8?q?UoqKe6lgdvtEhOgeqk+4HUhDElwB2vpEPwBQKuozG8aR2jkLXpy4+3eF9vmPxFsCD?= =?utf-8?q?Fw7GldYhUBEQJ/JXDVc4DgaxyqcWKc9i2cRGbIdAF3XHgX2iH7pDwm8cEHl2wd4lV?= =?utf-8?q?6vqa2BlGaqw5y1Zm/m0QrNFM/9hH9iovRdIcPrbryZtIV9witljn7DHZNFPxWBdZ6?= =?utf-8?q?4xA4AvUwtRII5+H6FAoMzyypDBkj8NMZWnO3LfWDu+OXMYntgVdPYqY39HFPnTk6c?= =?utf-8?q?7zbDPl6r0bpZtig/dLe7mkcZuFFCiEfvbIUzi7GwycDtBkil6cGz8yh2//3GaYDND?= =?utf-8?q?seGhwh7vwigpYXx/H6/9+inKAVdI1f3p0hVBSk03esmwhmw1o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ObhuhfIyDq8KQS0H?= =?utf-8?q?UOfShIFMSzTP?= 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)(1800799024)(366016)(7416014)(52116014)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?iAEpUdPu598CNT+mWQgmKDaS1gtq?= =?utf-8?q?1Wp2t2qxrsU2FAkKSuJOJF5taKTuicWgGpopkidIG+NTOiXS0+BWUoZ5QfGiQ73DX?= =?utf-8?q?Hp/AuSskRrMlty5dIBrBADrHkwmQQSrFwvtuDgnZWI41bvk/QAnESM3fYRT1f62fL?= =?utf-8?q?TEyNdX9Rne1l/nvN6jJ02WbcDlqWdyX1G2WJCSnptSiceVi4/pRpL8d0UVKi2nhE4?= =?utf-8?q?Y1fpTvtHhAARgJT2QCGEuvOBVK5ZhiBR+feY5sASaCDRNwA4wn3Tx3WoPDyHb3+iw?= =?utf-8?q?Y6i6isdN8nJgaSmipC9KrPUMHbw0GlXEQzq1E+++BDXgaWk8stqvr0DoUkKO5Jg2b?= =?utf-8?q?H90THL6qAaVzqsVAnlvYuI9abtPJsRNSJJz3uWlmmBRrKU511rfSA4RT3rLn+RI67?= =?utf-8?q?Yucl9n5XZWSzU8rPxhCGzNnbx5ZnTDfI7k/IxL275ZWy8lqR6s2YhkEWviMWC0Pq8?= =?utf-8?q?vY3XH/06wrMILEET4FJLJ87yr/KpQiBK+G6/iDyXsl4dOdJgce5MaCWnylIiyDbzC?= =?utf-8?q?uiOLGyTR+qpNu2dfm+yazrYPWzCoPr3XlXfxCRNR4f+3ixBfZG3Z2WX5u/gwFYzfz?= =?utf-8?q?NKFeUBi+3bIeVz9eTC1sKsXY6u4u13LR8v+F+26H/ZVzalU+xElHPPIia1iXtonX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q?mMPfjtqmiZpY?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4f392a82-1337-4547-b8b6-08dd05b37c91 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2024 20:24:20.4477 (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: Y1z73zzk59oG/Uo9P8Rw97YA2l8mK0WzpiT9456O0zirsR3po1oijpI2/dSO+2spdals+3U9WRrnTg7GCXM/AQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8231 From: Han Xu Add 'nxp,fxls8974cf' compatible for the FXLS8974CF sensor, falling back to 'nxp,fxls8962af' as the only difference is the ID. Signed-off-by: Han Xu Reviewed-by: Sean Nyekjaer Signed-off-by: Frank Li Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml b/Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml index a5c882bd7d06e..2d99e3811da07 100644 --- a/Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml +++ b/Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml @@ -15,6 +15,7 @@ description: | https://www.nxp.com/docs/en/data-sheet/FXLS8962AF.pdf https://www.nxp.com/docs/en/data-sheet/FXLS8964AF.pdf https://www.nxp.com/docs/en/data-sheet/FXLS8967AF.pdf + https://www.nxp.com/docs/en/data-sheet/FXLS8974CF.pdf properties: compatible: @@ -25,6 +26,7 @@ properties: - items: - enum: - nxp,fxls8967af + - nxp,fxls8974cf - const: nxp,fxls8962af reg: From patchwork Fri Nov 15 20:23:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13876806 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2077.outbound.protection.outlook.com [40.107.103.77]) (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 53D731F585C for ; Fri, 15 Nov 2024 20:24:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.77 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731702268; cv=fail; b=RGnq7jIOagc9CMccGf6ENUKiLFiqIKQjaGEPy5gd2eZONoDeg+j4bIVtGLdV9XJJKVGphURYumfkiRsHMqsAU8K5XjOW/fRdwlFy8GMTQprEXwvsLhdKoXVBU4ioxJeQMGpvTkQucG3b1aOcfnLcpmG7up8Mta48N5aMbTiMBDg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731702268; c=relaxed/simple; bh=84MTZfWTMic2XVsdnlPrZ05JkbZyiSvFDqgoi2DhG1k=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=cExc1B0xRzFHXLQQLTRcEQz7lB/acYd3IyDdoi0y4MADpc1M3ASRwkdZM+N/IQ16x9D0VPX+cB+GgNZXrGEdGu1zMSPCpAENGJZIhdcor1eV/+0WzT7mJ6jRcH0fLz5Cx5aozhIMbf/+Ty0B0sjA1TEz2Uti8+oMEZI5g69AY3E= 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=b7m2oISB; arc=fail smtp.client-ip=40.107.103.77 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="b7m2oISB" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JFBKX8IB0ILNHswbwHLZYDnxXKFw3IbP/OH5Ldo8EIKMAfS+VAs8FS/f3YeKGhw+eFixETTIK5NoO8EWkpe23XfxnIfoOSxmauico6GPJtXCuVp01tNT/zsxl6NgUdSWT/MmsXc07I+SjMvdjuzmjOycjo0HazyQhn187gipF4jpWQjGTc1iPpfjsPAEln1bzY1SaHMc8TOqQpPEv93vOHQhuODyeXd1Ap47agQ50198IQMf9GadsUok6pSvSQMRs2feVyGsymK5J5kjeZjKTLF4jJsqE8ezoR25oSyIJqMnXHSCXr+Tr5RXZqRsvdDfUDMFf6/Pdh/YbEAjsl5IzA== 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=QwtZw6HmnwhigUkuCooLfaqkLXVWtIQD82ziIoqUq3k=; b=nlN5xS1W/vAqmN4EJJnrJQc44Ba7+obyN6HBtY9K1nRr0AJMK4v8lUx258dvl4+6unIO7OEfisCIydyD+HMdGgCY2P6RZYzd5asNBCNuqexmciQHRtMX9fFysmK7YTwbkA4o9gxEnSRdFPKC9ftMkfNgnd2vl5Sy16oMi+1CsHjvxcYCsyKC+ug/OSAWIYaW0hyPTDolp1EArX4h5dVkMBJVOFE5IuoQCFB/WDq3WuU+9xVHwOSyJLlce7kp04vP4rNnLUzFt47+nnkLfXzC9MOeQPky0PvDSif91gz0vSyAMdtuEtpCskDo+JTGsb6Spjr2w+daO7fMy4QhjWO2qQ== 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=QwtZw6HmnwhigUkuCooLfaqkLXVWtIQD82ziIoqUq3k=; b=b7m2oISBu6ae2BHncHrl989kv17lYjXVf/OtEvzfeYiPGT/f6g/mJgEdHBAtQEFOqRQyI2t+oh8Aqg/4KJLljsSeP5B/Q3P5Q3q8fjDsxo3EpKck1qBu22xBqGEB/N6ZhYnh9Z7jBpitKGFR7GnM2LugylFLs9gT9z+ujtNJr8YolMGGxV6kdLiqjo89F1wopoyLefsrII+qXDFT/z9SFhN5VrpIsUO4M0m7cS3WfIiiwlujI5OsAheEl6WdgzNe5013Skh2yNiPHWa3SqRMrM2O4g5C/2udKup9SdVYsPPDD9ShFrFeiKCYtSve2vqPRW6MJFVT2LQQIo7Syj/kKA== 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 AS8PR04MB8231.eurprd04.prod.outlook.com (2603:10a6:20b:3ff::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.19; Fri, 15 Nov 2024 20:24:24 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8158.017; Fri, 15 Nov 2024 20:24:23 +0000 From: Frank Li Date: Fri, 15 Nov 2024 15:23:59 -0500 Subject: [PATCH v2 3/4] iio: accel: fxls8962af: add fxls8974cf support Message-Id: <20241115-fxls-v2-3-95f3df9228ed@nxp.com> References: <20241115-fxls-v2-0-95f3df9228ed@nxp.com> In-Reply-To: <20241115-fxls-v2-0-95f3df9228ed@nxp.com> To: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sean Nyekjaer Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, Frank Li , Haibo Chen , Clark Wang X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1731702250; l=2203; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=9ByT1xnywtbuXkHRk/zAK6676kDTZKvd9DfDVoZTI98=; b=oimrAguPjDiczhkN0dxcJ9lWePJrGjRSMdrylJrPTWjh9c7GrjFn6Q+/rHCoXh00LQ8veGVIC un2MKpFrziFBzzF2noqXhQRUDQZHxmblFBhiFRHCGyNwLkBV1cVkynD X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR07CA0057.namprd07.prod.outlook.com (2603:10b6:a03:60::34) 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_|AS8PR04MB8231:EE_ X-MS-Office365-Filtering-Correlation-Id: 1b2bb63a-f222-4195-c0bb-08dd05b37e8a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|7416014|52116014|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?W3FQRNaOrovN95NERT3OXCzNisyVx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q?ICfOCka2myg5pwfdZTQhWnPtAFuBV/BxV/nOXLn1Z8zdTJbJnkweyEmT7qQF/YMnA?= =?utf-8?q?272LWRd6i8x3MFihwzx62VUbCmtukkA1dcUImPqgZfhfkexDsM6azAnPFMr3ZdHLF?= =?utf-8?q?DgQ+wbCl8EFWy887iSAg9DEnu4iyvwzIfilt8n0fkqso655szgA8WvDQjKvwTP2Ku?= =?utf-8?q?dGvZzPY9Hq2JFlwcl7tOooSQ5FA1gUCh4gG5BrICJQwD0Vgtgq5i9dsER588vA8Id?= =?utf-8?q?CA316BQ5DmMOV4O0U3j8/lLJwcdpiwejCGnh9RmrUHiS+OOjHEPFftdieORTU4I5q?= =?utf-8?q?IWXKV0VktTdhKs817yA62XUeEE2f3ATYAyznnFg9zyNINzd2PaUz4vy/NR7a1Rjo6?= =?utf-8?q?gh4ClIlXYOKHDzcqetCiNG0P465Puw/nHhmsbl3DyK7tqeeSMd6IOj/M=3D?= 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)(1800799024)(366016)(7416014)(52116014)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?xsEu47J07WvKoEvlnH5aQgNZkpVp?= =?utf-8?q?3aUuzkCp4J68wddHGsoiwcdQgt/b9V0Ojj7BrK3lAwVZT7QgSmIy26GSh/ZbaZjvE?= =?utf-8?q?qVdn7T02sMUtsOy2Q6Wpon2Dtn1JZI//qnjFmA3WbRI8ndGmh81+puz5Sf+Es2f86?= =?utf-8?q?Z3NSROmMjZf4rkYyyBbw7PVH9fsVcGeffeGVdhWPZH0U5JbFgqgtDxkrPYIK8AapA?= =?utf-8?q?QCxUNRoT0D4VmjcKaDzWDQl/REV7Z/3njV/dq4xP6mk23gK5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p7BfhILoRyn/f7Dz0dmAcR?= =?utf-8?q?VfbrYrDhRNTQTDEVxoFFWCYrvz7TBokUxAs+ez+9rdG4fEQWA6If0fV10nW5Pnr2p?= =?utf-8?q?bgafmbCVMzGuVuZuCfNlPc1XODpVVq1MFIx4ZOhlyDmqVs0zBIawLYe6apEMru5sv?= =?utf-8?q?4zhJ5l0mabx/fmACVKAb3Ypubal24otj3dt1T0GX/po4RZGOBYx9Y53cq89MKLGP8?= =?utf-8?q?jCPqZBBcg31pwFVgrLPxFjmoVgIg+uvuCPX0KkktdJtq9AetdR05Wf5pYk9DifP7F?= =?utf-8?q?XVHxR1RoiC3gmeGE6EKtoPxuLRQUXiY+Rm67on47zyXazfw7L1ONSrN7iSWRCGY7J?= =?utf-8?q?MbBizjyONr37wa6Fw096JMu+CnU+boAJwiCyAQYCHcXLL4bJEx0Rrm2JvPBAjRqUF?= =?utf-8?q?rjWHP9a5/2HN?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b2bb63a-f222-4195-c0bb-08dd05b37e8a X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2024 20:24:23.8091 (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: GgBjbSw5gur2R+sK+5FlHuRxShWXHaM54xbJdP1rroXKor32DJ0z3k9BS1P3caJTGcAQhacwqqsg7aUgoEussw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8231 From: Haibo Chen fxls8974cf is similar with fxls8962af, the only difference is the device id change to 0x86. Signed-off-by: Haibo Chen Reviewed-by: Clark Wang Reviewed-by: Sean Nyekjaer Signed-off-by: Frank Li --- drivers/iio/accel/fxls8962af-core.c | 7 +++++++ drivers/iio/accel/fxls8962af-i2c.c | 1 + drivers/iio/accel/fxls8962af.h | 1 + 3 files changed, 9 insertions(+) diff --git a/drivers/iio/accel/fxls8962af-core.c b/drivers/iio/accel/fxls8962af-core.c index f07fba17048e7..b5607e753a7db 100644 --- a/drivers/iio/accel/fxls8962af-core.c +++ b/drivers/iio/accel/fxls8962af-core.c @@ -129,6 +129,7 @@ #define FXLS8962AF_DEVICE_ID 0x62 #define FXLS8964AF_DEVICE_ID 0x84 +#define FXLS8974CF_DEVICE_ID 0x86 /* Raw temp channel offset */ #define FXLS8962AF_TEMP_CENTER_VAL 25 @@ -766,6 +767,12 @@ static const struct fxls8962af_chip_info fxls_chip_info_table[] = { .channels = fxls8962af_channels, .num_channels = ARRAY_SIZE(fxls8962af_channels), }, + [fxls8974cf] = { + .chip_id = FXLS8974CF_DEVICE_ID, + .name = "fxls8974cf", + .channels = fxls8962af_channels, + .num_channels = ARRAY_SIZE(fxls8962af_channels), + }, }; static const struct iio_info fxls8962af_info = { diff --git a/drivers/iio/accel/fxls8962af-i2c.c b/drivers/iio/accel/fxls8962af-i2c.c index 1601246733083..687eb49035111 100644 --- a/drivers/iio/accel/fxls8962af-i2c.c +++ b/drivers/iio/accel/fxls8962af-i2c.c @@ -30,6 +30,7 @@ static int fxls8962af_probe(struct i2c_client *client) static const struct i2c_device_id fxls8962af_id[] = { { "fxls8962af", fxls8962af }, { "fxls8964af", fxls8964af }, + { "fxls8974cf", fxls8974cf }, {} }; MODULE_DEVICE_TABLE(i2c, fxls8962af_id); diff --git a/drivers/iio/accel/fxls8962af.h b/drivers/iio/accel/fxls8962af.h index 6eaa2803b26f0..733b69e01e1cc 100644 --- a/drivers/iio/accel/fxls8962af.h +++ b/drivers/iio/accel/fxls8962af.h @@ -11,6 +11,7 @@ struct device; enum { fxls8962af, fxls8964af, + fxls8974cf, }; int fxls8962af_core_probe(struct device *dev, struct regmap *regmap, int irq); From patchwork Fri Nov 15 20:24:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13876807 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2077.outbound.protection.outlook.com [40.107.103.77]) (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 BAE411F7094 for ; Fri, 15 Nov 2024 20:24:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.77 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731702270; cv=fail; b=arePZNORwpuo1jtkgk1nR51fLSL7eqVo2nbJODjsSRKUMphjOcxH48zGBU5pCFRSz3sN6y8ABLHMLLuoBZL2ZbaXOQfFw8APCyQpn5R8vnvPnauLkxhEUzySSQW92eHakB+L+DEE0AYwENQYjnIWPReTyav6hPvJxN0gt+NFH88= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731702270; c=relaxed/simple; bh=9CereBTgdqpoG2P6KYEI3UetU9pdiS4pL3erD9GHBnc=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=NtKS6QLXbac7Gxixt7mLsa476lTj4y6/uxPJC8qIv70D1kyEZtDUKvQFTtHu+2GQbjPajUMp6+XvxO41uBUqsrCzQKF0z38CGKkggReWWxKymhYmkOTu6fMCDD7EnUCTnk8lC8AfByFNQg77RRbaWF17Yhfcw2wWerwJnu7Y26c= 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=iCezJZzf; arc=fail smtp.client-ip=40.107.103.77 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="iCezJZzf" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=mz3fJvCj95SAw12E1JPs52dkiAA87f3Hy4NRlJioTsLRdB2rSzlIdZo60sJK1QIEYBeqWWBJuevAFb9gQEDWkdlAjt9ZfPjI690a1tYAjWCKjzTFOQ84TfOp/18jpMmYiFXv4mnEwIM8SkcGtjGK3nFkZtyBtiX5U8JSIIXi0d2p/wp3QfzfoWJcTCtQnCuJSIjU+Rzj+zChxDcU1kRY1qWyQhPFdZ1ms+7r3o5yImzme2yT6enRun4nlVlW65ayicL8GCj3EroUdg2lLyBSIv6pqWg4TW6Cx4fZRL+nmupt3WpgaofkwPGEC3AFquBZabWqufYxCK+AoQ+RvNbVVA== 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=YCj5587eU3VZFXt0swdhoTIIkw9zw5buUCn/uS6QZcw=; b=yJgmgR0sYze1pLLWelnReNiMXgALCRy3RwN9pqaCtLK3HUBf8bREmne0l8vnNvLjGZmCFP6VZYxYzZ5ldjbZs0E4kt1G3BiUb8VXUw5f1Y+y3nloY8Afg9bgDKgMTin4JrE1S/MMH3X2VBvaejcEuKyYXWgJ7Bmmo72jL6HvslqVtNB1/QW6DQ3oSiU9yKVZ5wo8qfrf574xPwpQic49xhk+9zkZKmRLgfcsE7zEqG6UG8oyB7zD4NQsQ//TtOcG4at3cDHVHCrE8l0O4u9h/8cp+tNn+ESDlYy28+4PJ3cLEn2U5fZKQt+4z9zpZpXkcT6PhrAFlwubuz0R2LPxVg== 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=YCj5587eU3VZFXt0swdhoTIIkw9zw5buUCn/uS6QZcw=; b=iCezJZzfj8soqXScXlxX4Xs5S854HX1Z3MHs2calC+6sEF9xoEfJB51wR+5ATc0POSMwyu5nlHyI3gxs+53bY16bpgLeB3CT4PAAfl/iUhm8T9yeDS+AQ6MldC4C5BHuYDM52jSi5ya4N3Xun9Ox2g2xNqmHNdOdjQOklLIfWoz36Mh9Ct1lRxtTZQR8Rp8hfQ88+WECP834eNGju991Imd/E/xU9RuNby5wvDfce+lN/OK1GxVhfWjW3IjssPiE7QCbV8417etappCwixFXErO2bFNksLJxZkIwYA6bkvGN6eDYLucLP03CT52M/76i8lVg4lrAUrQvDPv8vZm/ZA== 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 AS8PR04MB8231.eurprd04.prod.outlook.com (2603:10a6:20b:3ff::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.19; Fri, 15 Nov 2024 20:24:27 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8158.017; Fri, 15 Nov 2024 20:24:27 +0000 From: Frank Li Date: Fri, 15 Nov 2024 15:24:00 -0500 Subject: [PATCH v2 4/4] iio: accel: fxls8962af: add fxls8967af support Message-Id: <20241115-fxls-v2-4-95f3df9228ed@nxp.com> References: <20241115-fxls-v2-0-95f3df9228ed@nxp.com> In-Reply-To: <20241115-fxls-v2-0-95f3df9228ed@nxp.com> To: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sean Nyekjaer Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, Frank Li , Han Xu X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1731702250; l=2129; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=+5pZ0e2TQAqE2VPxZTaDVC5nqnEOf64tyTq8OlxCBFU=; b=0i0T+xwJioct0pOSrEIaSJHPixvRm34dqzuP71/md31POKNOYAtvY3e3fLdQpsXBuPvpJhY1A jqMmSzuT+VYARNJILfM5cbSj8+GDg5aQ/q27KEUOuq+6fXvC8Iwhg7u X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR07CA0057.namprd07.prod.outlook.com (2603:10b6:a03:60::34) 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_|AS8PR04MB8231:EE_ X-MS-Office365-Filtering-Correlation-Id: edb590b2-d10c-4364-a399-08dd05b3806f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|7416014|52116014|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?WAwSvETwElbEFKAfefocFydJagmcEEr?= =?utf-8?q?ItEjG1ojehClL3AzWV5fBBEL+9igDbkIVmWUgffCy2aWU8tI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aSllgVNhb8rCsz5VdF1+/BnNBV7Iq?= =?utf-8?q?x7IKZAZg+ePDbw0sAyhpEuxcdbPq5Ldp6hg4vTza8kj2LOyE6NyK75yKl7kveZjzA?= =?utf-8?q?iQkR9E0oqBi+zsIvdA67EFqWd6Nheu4NxW3tBvsykYs26X0SDlBntOZ4jJRrGQdKZ?= =?utf-8?q?mkBJPDyJ9X5XCHO0hsLAnTRMTmH3+LEx62RDI/ORoKDsr+u6c1u7/nV+Jannaem4C?= =?utf-8?q?9EJOO3UhgT6XobTmspmnkWGbrcCy/ykSVc9+w87D3gjW4GspETBBf5CkJjb3WC+SI?= =?utf-8?q?esbOBT4DuEMj9fGmGQ5o6beDipKGcQ5HSFEezNHHWMrqoD0yObdO370w6NIqN+ivj?= =?utf-8?q?+KYzqMlldXrimNGOpylu5SiPBZDTbv25BNuvHSJmbyrpGx8h7rc3tCUE=3D?= 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)(1800799024)(366016)(7416014)(52116014)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?t9AJ08odhW+vj/HiKri+lbf8ygw1?= =?utf-8?q?7UFvXzsjRRNvJxMDoHXEmjE8p1+Gi/vRW2k7N4HYYdcZZdeILk6yqWytmILU6KDin?= =?utf-8?q?HMmTDP3sN5mGDvb/dw21bfvqraHpJ2jpkWRq4K1NmeJ/EiJyGlzm4hSTA8sIhrwgf?= =?utf-8?q?sBqCvVhu8ST5p+ic/CI2vBZxC9F3HueMmKyFzKK12DELRpyA1l6PKlgUxTAytpO5w?= =?utf-8?q?UF367Kc/AA7zPK91v3Zo4ZS4tgBv6lY7sx63/2fDB7HXFfHK4Y3Mu1GREPRtdtQFA?= =?utf-8?q?KP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xjnx395LujNUc20w4jHXP5Z0GpFShJ1r6E7FUM9zxdPxZ5bRaY9WyEMUlW?= =?utf-8?q?sqEAuHl3Y1clyDVuaaFmTdLmpvG+d9xI5EP8IYS65gGD4+N1YVprwieXkM+pYjTSn?= =?utf-8?q?zv/ffo4orBGWNrX/BfF/GhtsrHhLGNQIjGRuqlsw8QhBwrpsAkcilsUFZpTId7fes?= =?utf-8?q?DRJ2ivKCKeB5ETGj+dHaGPhqXugPoL2XoIGL8qNoHVeglEA2fRS/V+nH9KnflAlZp?= =?utf-8?q?z9fZ7IZAxvI3z47qlT/JMxM4OpwrfQCUWTGYH9L3os8YC//xDcFal/yY/daG8rXZf?= =?utf-8?q?85nm+rZHWjOP96WbAftMPoc+wJ53/Iamv9czWGvxWxp6DMYc+rqQj5BCCf9dy0A3F?= =?utf-8?q?CFH93uvWz2Wv?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: edb590b2-d10c-4364-a399-08dd05b3806f X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2024 20:24:26.9529 (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: vBM8PpjLqqG8Ly3azIHaSkfQaLCJUgUUlkT8CzVX40fhqMVPDgJzPNcQhYiBf7CEWwu4UVUgEO/iMOmkdzgv+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8231 From: Han Xu fxls8967af is similar with fxls8962af, the only difference is the device id change to 0x87. Signed-off-by: Han Xu Reviewed-by: Sean Nyekjaer Signed-off-by: Frank Li --- drivers/iio/accel/fxls8962af-core.c | 7 +++++++ drivers/iio/accel/fxls8962af-i2c.c | 1 + drivers/iio/accel/fxls8962af.h | 1 + 3 files changed, 9 insertions(+) diff --git a/drivers/iio/accel/fxls8962af-core.c b/drivers/iio/accel/fxls8962af-core.c index b5607e753a7db..fd9b461904c20 100644 --- a/drivers/iio/accel/fxls8962af-core.c +++ b/drivers/iio/accel/fxls8962af-core.c @@ -130,6 +130,7 @@ #define FXLS8962AF_DEVICE_ID 0x62 #define FXLS8964AF_DEVICE_ID 0x84 #define FXLS8974CF_DEVICE_ID 0x86 +#define FXLS8967AF_DEVICE_ID 0x87 /* Raw temp channel offset */ #define FXLS8962AF_TEMP_CENTER_VAL 25 @@ -767,6 +768,12 @@ static const struct fxls8962af_chip_info fxls_chip_info_table[] = { .channels = fxls8962af_channels, .num_channels = ARRAY_SIZE(fxls8962af_channels), }, + [fxls8967af] = { + .chip_id = FXLS8967AF_DEVICE_ID, + .name = "fxls8967af", + .channels = fxls8962af_channels, + .num_channels = ARRAY_SIZE(fxls8962af_channels), + }, [fxls8974cf] = { .chip_id = FXLS8974CF_DEVICE_ID, .name = "fxls8974cf", diff --git a/drivers/iio/accel/fxls8962af-i2c.c b/drivers/iio/accel/fxls8962af-i2c.c index 687eb49035111..c66ba3ecf373a 100644 --- a/drivers/iio/accel/fxls8962af-i2c.c +++ b/drivers/iio/accel/fxls8962af-i2c.c @@ -30,6 +30,7 @@ static int fxls8962af_probe(struct i2c_client *client) static const struct i2c_device_id fxls8962af_id[] = { { "fxls8962af", fxls8962af }, { "fxls8964af", fxls8964af }, + { "fxls8967af", fxls8967af }, { "fxls8974cf", fxls8974cf }, {} }; diff --git a/drivers/iio/accel/fxls8962af.h b/drivers/iio/accel/fxls8962af.h index 733b69e01e1cc..1c9adfc8c0dc1 100644 --- a/drivers/iio/accel/fxls8962af.h +++ b/drivers/iio/accel/fxls8962af.h @@ -11,6 +11,7 @@ struct device; enum { fxls8962af, fxls8964af, + fxls8967af, fxls8974cf, };