Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8120399rwp; Wed, 19 Jul 2023 05:40:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlGRWRVbxARI6kWOIf/XtyGq5GQkgepxKjkP6yJk9aGqVNEWOYEojSbtZXbHhQi5Q0zhaPfk X-Received: by 2002:aa7:db50:0:b0:51b:eb5f:baf with SMTP id n16-20020aa7db50000000b0051beb5f0bafmr2281035edt.18.1689770450076; Wed, 19 Jul 2023 05:40:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689770450; cv=none; d=google.com; s=arc-20160816; b=MaCYEtnEVqnguzA3EtOCAUGG5cnOO8a4hdylYSya1oXdWYGPHNgJ1uTAyQQZkqRgg8 3O4UbZamQfL8aRDtApu0CMaO/CnwqcdS/aJwVovITGJ3frR8ktQdzi045zb7fLPGrXA6 0lWV5OnAaD8Ai/6vDW8dLTe+VGF/YvIX6fnRnJ3vf6Op2Ot5TpEjfqmttz2ERWNSm6qc xhKqrBeaJ3lcNn8x32Q0yR2+Wg7q+XRKPJM7YZ76sZhN+S+z8/UPbsUvTd2q65gHREK1 Bk0xDZepM1jw5HdVAlvnOm2QapQsFf80xTvezsu1yJ0DtA8wBJAocETfi/QwO+nwLKYf 6lPA== 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=IywakY1HdSGKloTqkB7QrN9cJJPsqiZExsfohpS0v5c=; fh=x8TsL9VIYp0Xcf0wTz2ewHmPUWmJa27GhEFUlttMH2A=; b=NGO9QWf8AT4zwOXmZ4vkPm01k/gT/aMs7pQDeY6t34u0Yqf8kjyFhbZPJSu5yWtR71 SNnu398T3b0r8pDrqL5dXGRdWYaIZATgnPoFo77v1Mcfgh8LnVvXrMTRqOKk5gJiKhWW LuOgYxDcF83chedTFsD5E1BUCoYhlRlbdBn9EzPWLKt1g5gEapO3g/d0HV1FRw50snG2 bPeRac9t7iF16gT6c9e2xAvl3DLAmgqtJgHaq04ZjDjlP7F9fWndgvSThJllnESDgQ9X TdYqrGAH1BQbXIf/lvF+2I+ZEcPStScdsjAFTUFrTs2WcgytJWNEBfgo/KYL7vghvMzA ir6g== 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 c4-20020aa7c984000000b0051e0bb6bc02si3021016edt.274.2023.07.19.05.40.24; Wed, 19 Jul 2023 05:40:50 -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 S230024AbjGSMcU (ORCPT + 99 others); Wed, 19 Jul 2023 08:32:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229790AbjGSMcS (ORCPT ); Wed, 19 Jul 2023 08:32:18 -0400 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46C8B186; Wed, 19 Jul 2023 05:32:14 -0700 (PDT) Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36J9jpTo020552; Wed, 19 Jul 2023 08:32:12 -0400 Received: from nwd2mta3.analog.com ([137.71.173.56]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3rx7bu2vhs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jul 2023 08:32:11 -0400 Received: from ASHBMBX9.ad.analog.com (ASHBMBX9.ad.analog.com [10.64.17.10]) by nwd2mta3.analog.com (8.14.7/8.14.7) with ESMTP id 36JCWAdk014019 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 19 Jul 2023 08:32:10 -0400 Received: from ASHBCASHYB5.ad.analog.com (10.64.17.133) 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; Wed, 19 Jul 2023 08:32:09 -0400 Received: from ASHBMBX9.ad.analog.com (10.64.17.10) by ASHBCASHYB5.ad.analog.com (10.64.17.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Wed, 19 Jul 2023 08:32:09 -0400 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server id 15.2.986.14 via Frontend Transport; Wed, 19 Jul 2023 08:32:09 -0400 Received: from rbolboac.ad.analog.com ([10.48.65.149]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 36JCW1ac008419; Wed, 19 Jul 2023 08:32:03 -0400 From: Ramona Bolboaca To: , , , CC: Ramona Bolboaca Subject: [PATCH v2 0/3] Add new channels for adis16475 Date: Wed, 19 Jul 2023 15:31:49 +0300 Message-ID: <20230719123152.309624-1-ramona.bolboaca@analog.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-ORIG-GUID: g93uSd8pXgBRrUoLPYUi-rVDastQkiJ1 X-Proofpoint-GUID: g93uSd8pXgBRrUoLPYUi-rVDastQkiJ1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-19_08,2023-07-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 adultscore=0 impostorscore=0 priorityscore=1501 mlxlogscore=649 clxscore=1015 mlxscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307190112 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 changes in v2: new patches: 1,2 patch3: added buffer support for delta angle and delta velocity channels If a device supports burst32, it also supports burst mode for reading delta angle and delta velocity measurements, so the same has_burst32 flag was used to handle the logic for reading delta angle and delta velocity channels. Ramona Bolboaca (3): iio: imu: adis16475.c: Remove unused enum elements iio: imu: adis16475.c: Add has_burst32 flag to adis16477 devices iio: imu: adis16475.c: Add delta angle and delta velocity channels drivers/iio/imu/adis16475.c | 215 +++++++++++++++++++++++++++++++----- 1 file changed, 187 insertions(+), 28 deletions(-) -- 2.25.1