From patchwork Mon Nov 25 13:35:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Budai, Robert" X-Patchwork-Id: 13884903 Received: from mx0b-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.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 A9388191F94; Mon, 25 Nov 2024 13:35:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.135.77 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732541758; cv=none; b=nA2480BFS+V1tSGJlzFHUK1kP2xHZTMXJzjTALaQxR0zpfwQK8AfnBIEJJS2ugTsvePZJ69r0MYYTKSjyfMwZyBt1GNT/3WyTICxPljYH1Ul8ZzlPGQOwJInaNOoaU++Ub1VJC94K4SKLHg1O5RsY+Uuw7d92lsAe/XvE1487tc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732541758; c=relaxed/simple; bh=qzCzoXTF/krigd5N+0Ba7CyT+KZgQHTljQ3YpXDNnvY=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=iGgrtSDKH41lgZuiY8ryf1YA9jNXA7hhtEn4sIQF3fRbM5b1H6FV5HbNNQbmByxbfB7yDckkmN/ck7dcFpXmojiVlhJ73oIn6Eju+SvMXyobSR7LDAkdWGt4yeILIpNTGkunQ0iKP9eO3FqZkTWM4iwirRLm217OYLVT51x9OKg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=analog.com; spf=pass smtp.mailfrom=analog.com; dkim=pass (2048-bit key) header.d=analog.com header.i=@analog.com header.b=oBYrDqWf; arc=none smtp.client-ip=148.163.135.77 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=analog.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=analog.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=analog.com header.i=@analog.com header.b="oBYrDqWf" Received: from pps.filterd (m0375855.ppops.net [127.0.0.1]) by mx0b-00128a01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4AP9Vph0017845; Mon, 25 Nov 2024 08:35:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.com; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=DKIM; bh=Wg7+v7jnQxTPbSJXElm/fRJ+2gI b+LlOKz/e9XijRIU=; b=oBYrDqWfERS4PEtBSXXjfDZyaEk+X1VtMfPPNunaEtB PZ4w4JZnDiadIjruDsmLdi2UZYwWvfzg5S+I+G3d0fnrTfCwkn4EjB7Mj0pgJKjs iv4oF0bsE/PXNbIMUizyiwPp04yl5q238mzJpdLGrt3onYi/LyNGeILNWpb0U2RG STYXDw0vo+evJZVcvhO4cfsxgaocQbKRtD6uKTlxYB73DfS4a0KGRi8Yafpx/PwP mPfRmULdBSLcR7jWMNjQnO2DsdRUDcnkhvBAcMSfRbBi9O6rBUWxVkXimU2t8uaB J1U5tF3a4uWu3QivbzBtVSMg5Nu1r1EF+xq51wDsbwg== Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0b-00128a01.pphosted.com (PPS) with ESMTPS id 434pph0wcr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Nov 2024 08:35:41 -0500 (EST) 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 4APDZe4U030655 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 25 Nov 2024 08:35:40 -0500 Received: from ASHBCASHYB4.ad.analog.com (10.64.17.132) 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, 25 Nov 2024 08:35:40 -0500 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) by ASHBCASHYB4.ad.analog.com (10.64.17.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Mon, 25 Nov 2024 08:35:39 -0500 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, 25 Nov 2024 08:35:39 -0500 Received: from dell-precision-robert.ad.analog.com ([10.48.65.197]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 4APDZR2A031415; Mon, 25 Nov 2024 08:35:29 -0500 From: Robert Budai To: Lars-Peter Clausen , Michael Hennerich , Nuno Sa , "Ramona Gradinariu" , Antoniu Miclaus , Jonathan Cameron , "Rob Herring" , Krzysztof Kozlowski , "Conor Dooley" , Jonathan Corbet , Robert Budai , , , , Subject: [PATCH 0/7] adis16550-v2 Date: Mon, 25 Nov 2024 15:35:07 +0200 Message-ID: <20241125133520.24328-1-robert.budai@analog.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-GUID: kTZtOx8ZzH6aQE_rTLu-rwzU25WARu_v X-Proofpoint-ORIG-GUID: kTZtOx8ZzH6aQE_rTLu-rwzU25WARu_v X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=0 clxscore=1015 phishscore=0 priorityscore=1501 malwarescore=0 adultscore=0 mlxscore=0 bulkscore=0 mlxlogscore=999 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2411250116 Version 2 of adding adis16550 and adis16550w device driver for iio. Robert Budai (7): iio: imu: adis: Remove documented not used elements iio: imu: adis: Add custom ops struct iio: imu: adis: Add reset to custom ops iio: imu: adis: Add DIAG_STAT register size dt-bindings: iio: Add adis16550 bindings iio: imu: adis16550: add adis16550 support docs: iio: add documentation for adis16550 driver .../bindings/iio/imu/adi,adis16550.yaml | 97 ++ Documentation/iio/adis16550.rst | 389 ++++++ Documentation/iio/index.rst | 1 + MAINTAINERS | 9 + drivers/iio/imu/Kconfig | 13 + drivers/iio/imu/Makefile | 1 + drivers/iio/imu/adis.c | 31 +- drivers/iio/imu/adis16550.c | 1203 +++++++++++++++++ include/linux/iio/imu/adis.h | 34 +- 9 files changed, 1762 insertions(+), 16 deletions(-) create mode 100644 Documentation/devicetree/bindings/iio/imu/adi,adis16550.yaml create mode 100644 Documentation/iio/adis16550.rst create mode 100644 drivers/iio/imu/adis16550.c