Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp480234rwi; Mon, 31 Oct 2022 04:06:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5qyPPo/f/HLeUO8lJDc22KZgJqzJKtygbDTTCFRDqIhWC41iMKmtWZSmVxNn1TsNbQMCN8 X-Received: by 2002:a17:907:31c7:b0:740:e3e5:c025 with SMTP id xf7-20020a17090731c700b00740e3e5c025mr12514299ejb.341.1667214418907; Mon, 31 Oct 2022 04:06:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667214418; cv=none; d=google.com; s=arc-20160816; b=dz230d31gN7raGyzNTsLEuxzRVGrSQWYJPdanOBj6OtwITqsgf5Crk/OHa4em1aHCO 2jX0TS3glk8+aN9i9e3Q+BaN+3rc8DbBkbjQVTzWtf22mXvBSNEVRw/kZsi73EExE6Wh fN8N2YpXnSb7nWozOnlSnVwEYbkFn2bWk8mkjJ0IE+ULh9jHyl+sqXRzpzL0hFYvPO4S svHHHqgIH83pxYAyvY75jFD4UVGIOGpJB2Wya3aqxVdYc/Kf8IslzOcyfJAPtuiWmHeV lyVOQpMtWE7UdFIFIK/Bvd3R0LvJ7VBRLH/FVCz6o8cjP0oHacS2jip7unFCdwgye5zg FuYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=iBjJ4WEX4UUo6jloFtekbcYSjb2JFuGEXyQmQwzxHs4=; b=OxXf9YpeccH1f6CgRwyND51xqoSkOj1gx2XWvI4oZJMOAAQd4ngzqu8EsqhnXP2DxS FlxTK6lrIFoxaXiTs/mr0MngkwJxpIiQuOa8at5QxzYusUr4Jva7ThhiJqNIJ1Je7H7h eXq9uDi1RCQL6DY7yO1nQ2JNIr+GqQXli36/66IVvnRyOcvwAlqoP8qNS2lMrj17Ln6V 8H4IT4rLjTuoJ/MPRlZglk9yneoqxfAzlDItnJe7DuIgyG0MchoUZ/s1rNDzsAaTrV7b ZaIteH0Go/H1Q2WNgr2dtQscbNyjiQ2gwSnrueuPRqqFNMVr2+xseeF9/dU8W4DNc/C3 I0aw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z10-20020a05640235ca00b004615855c483si8568579edc.98.2022.10.31.04.06.34; Mon, 31 Oct 2022 04:06:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230140AbiJaKwh (ORCPT + 99 others); Mon, 31 Oct 2022 06:52:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229707AbiJaKwd (ORCPT ); Mon, 31 Oct 2022 06:52:33 -0400 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBD022AD0; Mon, 31 Oct 2022 03:52:32 -0700 (PDT) Received: from pps.filterd (m0167089.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 29V7eQQ0013391; Mon, 31 Oct 2022 06:52:23 -0400 Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3kj6ghhtaa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 31 Oct 2022 06:52:23 -0400 Received: from ASHBMBX9.ad.analog.com (ASHBMBX9.ad.analog.com [10.64.17.10]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 29VAqMnY050436 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 31 Oct 2022 06:52:22 -0400 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) by ASHBMBX9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Mon, 31 Oct 2022 06:52:21 -0400 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server id 15.2.986.14 via Frontend Transport; Mon, 31 Oct 2022 06:52:21 -0400 Received: from rbolboac.ad.analog.com ([10.48.65.139]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 29VAq8wU021417; Mon, 31 Oct 2022 06:52:11 -0400 From: Ramona Bolboaca To: , , , , , CC: Ramona Bolboaca Subject: [PATCH v2 0/3] Add ADXL359 support Date: Mon, 31 Oct 2022 12:51:26 +0200 Message-ID: <20221031105129.47740-1-ramona.bolboaca@analog.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-GUID: CQhmixAvpqOYPlI6OXi-NrKm49wTObUQ X-Proofpoint-ORIG-GUID: CQhmixAvpqOYPlI6OXi-NrKm49wTObUQ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-31_06,2022-10-31_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 lowpriorityscore=0 malwarescore=0 mlxscore=0 impostorscore=0 phishscore=0 mlxlogscore=999 suspectscore=0 priorityscore=1501 spamscore=0 clxscore=1015 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2210310068 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for ADXL359 device in existing ADXL355 driver. The digital output ADXL359 is a low noise density, low 0 g offset drift, low power, 3-axis microelectromechanical system (MEMS) accelerometer with selectable measurement ranges. The ADXL359 supports the ±10 g, ±20 g, and ±40 g ranges. Ramona Bolboaca (3): drivers: iio: accel: Use warning if invalid device id is detected dt-bindings: iio: accel: Add docs for ADXL359 drivers: iio: accel: Add support for ADXL359 device .../bindings/iio/accel/adi,adxl355.yaml | 8 +- drivers/iio/accel/adxl355.h | 21 ++++- drivers/iio/accel/adxl355_core.c | 91 ++++++++++++++----- drivers/iio/accel/adxl355_i2c.c | 22 ++++- drivers/iio/accel/adxl355_spi.c | 19 +++- 5 files changed, 127 insertions(+), 34 deletions(-) -- 2.25.1