From patchwork Mon Aug 7 11:12:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramona Bolboaca X-Patchwork-Id: 13343453 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 102A2C04FDF for ; Mon, 7 Aug 2023 11:14:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231407AbjHGLOm (ORCPT ); Mon, 7 Aug 2023 07:14:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230425AbjHGLOa (ORCPT ); Mon, 7 Aug 2023 07:14:30 -0400 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3345E2136; Mon, 7 Aug 2023 04:13:40 -0700 (PDT) Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 3778w1UI018437; Mon, 7 Aug 2023 07:12:45 -0400 Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3s9g932hb6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Aug 2023 07:12:45 -0400 (EDT) Received: from ASHBMBX8.ad.analog.com (ASHBMBX8.ad.analog.com [10.64.17.5]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 377BCinJ005269 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Aug 2023 07:12:44 -0400 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) by ASHBMBX8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Mon, 7 Aug 2023 07:12:43 -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, 7 Aug 2023 07:12:43 -0400 Received: from rbolboac.ad.analog.com ([10.48.65.173]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 377BCZxT011933; Mon, 7 Aug 2023 07:12:37 -0400 From: Ramona Bolboaca To: , , , CC: Ramona Bolboaca Subject: [PATCH v4 0/3] Add new channels for adis16475 Date: Mon, 7 Aug 2023 14:12:24 +0300 Message-ID: <20230807111227.374371-1-ramona.bolboaca@analog.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-ORIG-GUID: 5s9BSuMzAjseZqj2VrjhA0nz8EhzgHt7 X-Proofpoint-GUID: 5s9BSuMzAjseZqj2VrjhA0nz8EhzgHt7 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-08-07_10,2023-08-03_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 phishscore=0 mlxscore=0 clxscore=1015 malwarescore=0 mlxlogscore=554 priorityscore=1501 lowpriorityscore=0 adultscore=0 spamscore=0 impostorscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2306200000 definitions=main-2308070104 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org changes in v4: patch 1: changed measurement unit for IIO_DELTA_ANGL from angles to radians patch 2: no changes patch 3: - adapted IIO_DELTA_ANGL scale accordingly for radians - removed ADIS16500_BURST_DATA_SEL definition and called FIELD_PREP directly - moved flag definitions above flags field - broke long line in two Ramona Bolboaca (3): iio: Add IIO_DELTA_ANGL channel type iio: Add IIO_DELTA_VELOCITY channel type iio: imu: adis16475.c: Add delta angle and delta velocity channels Documentation/ABI/testing/sysfs-bus-iio | 29 +++++ drivers/iio/imu/adis16475.c | 165 +++++++++++++++++++++--- drivers/iio/industrialio-core.c | 2 + include/uapi/linux/iio/types.h | 2 + tools/iio/iio_event_monitor.c | 4 + 5 files changed, 183 insertions(+), 19 deletions(-)