From nobody Sat Jul 25 03:46:07 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7CCD637CD48; Sun, 19 Jul 2026 09:52:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784454723; cv=none; b=lRMBYG958aHCLckA26h67VyXAioGzTme4BjJBOACd23kJGBtF43fyScXz20GQl2qfQ8ld4KsyQXhKwI9NQS+U3E5oi7WAzA5ZewxRRM1FJPwbTCfppQAhqjNvwr2oW3ievUiJFBqp9TlMYf/XtgjZGnIJKvmc8uhSV6yxl7EeC8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784454723; c=relaxed/simple; bh=Z5zLwOZ0zA27cy4m0/x/oxRV97NFDeXGwKmtvD9NbsM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dyHlBKyPGKNkQaRR8NPVm/2Yt0JofFjYIhP59aOaCtdXeJ6qThiTEjQwo1VaaU9Il9HVHxcvUxUeRXq54gfaRodvMFom8V4YFeTNyXmU0rP87tHDvuOkfAJS5prGyR2skdpCz3u08iMxr/9y5GKQzL8rnp0A2avBBmdDgIXjjJ8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UVRxYzw9; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UVRxYzw9" Received: by smtp.kernel.org (Postfix) with ESMTPS id EFA9AC2BCC9; Sun, 19 Jul 2026 09:52:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1784454723; bh=Z5zLwOZ0zA27cy4m0/x/oxRV97NFDeXGwKmtvD9NbsM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=UVRxYzw9T6ZyfFw0a9hU3Gf3DE+8Nn/Vf07+nn4K6wpnRY+pZEvibOYT6MHzo/0Bc RIRQywrSaG3xzigOIg1bNPSg1KE7RtkauiMCwzOMZI/guDTYx1+lXFswkIvHqdqQ/N j7Ji2FhPfRxrZo1IqCOND5jCWr5Yvi4E6zzzluiv/lf8bqrHcJQRqsldAqdl7Pu5PR Mlq0M6pJMFe7582eqy3588NCut4djhpn5s/JcDBhy4X4FbvS2h/ZiX4Rc1gQcNYT9e k/qpyv2zgLX36DWFiFl6j03Sr8BNWw4X1eFHGfqHNsTXNZlKMjQaW+gXJbt+dDmKjc koUrC1pxz0t5g== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D1ECBC4450A; Sun, 19 Jul 2026 09:52:02 +0000 (UTC) From: Rodrigo Alencar via B4 Relay Date: Sun, 19 Jul 2026 10:51:57 +0100 Subject: [PATCH 1/4] dt-bindings: iio: dac: ad5696: extend device support Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260719-ad5686-extend-dev-support-v1-1-841ec75cf5d8@analog.com> References: <20260719-ad5686-extend-dev-support-v1-0-841ec75cf5d8@analog.com> In-Reply-To: <20260719-ad5686-extend-dev-support-v1-0-841ec75cf5d8@analog.com> To: Michael Auchter , linux@analog.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Michael Hennerich , Jonathan Cameron , David Lechner , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rodrigo Alencar , Conor Dooley X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784454721; l=1452; i=rodrigo.alencar@analog.com; s=default; h=from:subject:message-id; bh=C17Ef8/aBMvZgOB/6VhtM6LaRYek9umi2SylTJmyiAE=; b=IeZpLLd9yhIC5rXRxr+bxAsCcJ9DRMaOHgB/nXc40ICt4x1IrouFwCLw/HtbIeCeiFvUDQOGC fnMsusMb/EyCYqf8zcMRYyrUah2W4WUgg2eBygNGV1wTCe2OAUTbTWk X-Developer-Key: i=rodrigo.alencar@analog.com; a=ed25519; pk=ULeHbgU/OYh/PG/4anHDfLgldFItQHAhOktYRVLMFRo= X-Endpoint-Received: by B4 Relay for rodrigo.alencar@analog.com/default with auth_id=561 X-Original-From: Rodrigo Alencar Reply-To: rodrigo.alencar@analog.com From: Rodrigo Alencar Support for AD5316R, AD5673R, AD5675, AD5677R and AD5697R missing from the device-tree bindings documentation. These devices have different bit resolutions or different number of channels so no fallback compatibles are used. Acked-by: Conor Dooley Signed-off-by: Rodrigo Alencar --- Documentation/devicetree/bindings/iio/dac/adi,ad5696.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5696.yaml b/Do= cumentation/devicetree/bindings/iio/dac/adi,ad5696.yaml index e10f8596f9d3..835fa21c474e 100644 --- a/Documentation/devicetree/bindings/iio/dac/adi,ad5696.yaml +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5696.yaml @@ -16,10 +16,14 @@ properties: compatible: enum: - adi,ad5311r + - adi,ad5316r - adi,ad5337r - adi,ad5338r - adi,ad5671r + - adi,ad5673r + - adi,ad5675 - adi,ad5675r + - adi,ad5677r - adi,ad5691r - adi,ad5692r - adi,ad5693 @@ -29,6 +33,7 @@ properties: - adi,ad5695r - adi,ad5696 - adi,ad5696r + - adi,ad5697r =20 reg: maxItems: 1 @@ -84,6 +89,7 @@ allOf: compatible: contains: enum: + - adi,ad5675 - adi,ad5693 - adi,ad5694 - adi,ad5696 --=20 2.43.0 From nobody Sat Jul 25 03:46:07 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7CC1F373C0B; Sun, 19 Jul 2026 09:52:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784454723; cv=none; b=euXWM9o7ARFreNlqCwNnEmgKM+wntMs9gAnz+bFU+1VwAMNBYz/GaaN+bOtgtZaYj0qn3nziT/7wXcEBd7+4nqBq+VXCKtCtlJRCGGb/J/gXLieYWgE6iTw+NG6dQCCktdgGqDv7ILyinOI/ZK+TWFuorKr3WpOWY+ig2f3sHE0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784454723; c=relaxed/simple; bh=xQ7i5O7xzqtX6gPknQYlgjTSO65uAy4SX/x/+L0kdKM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mlcM3X7Py//Y1u+BBMjFofSEbuDpCemg5ArwveQ44or4zPhI+jI2tUr1kYFZgRSji9QO9mTj0NoK+nrEVZLNyxASnBXgNwbIwGcBGr4YDvIHbC8MJPD37QNtlqjNV51tZqm3W7S6S0VCfyCcC/Vwj/ni1e/ZzFOeS+6WF0G1kzM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=s8zMjF4k; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="s8zMjF4k" Received: by smtp.kernel.org (Postfix) with ESMTPS id 089D2C2BCFB; Sun, 19 Jul 2026 09:52:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1784454723; bh=xQ7i5O7xzqtX6gPknQYlgjTSO65uAy4SX/x/+L0kdKM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=s8zMjF4kJjKSoBblQJW8sdKL/cQjFsoeMiDH2CjHRFILNQUf8cq/OedaOoRXU1t7K jGwC8I16EqFz+rvO0/jtqjIdxvwE2zc2/IxKOUioLFvpfKoPMHIw8JYs1d8P5h1gc2 Mk0yo1aKzcaF/ASzdz6Bt4B9/CIxjDASE8OGSwUXEkbv8Sc00IfpwIOUTkRbPWTk+T mI1Z6jhKEzBgMNvPL7jcYo0tuEw17PwsrY2fXChTNVHcv6ME1aXVlO2FFL4Hi1Qr3f lFshIVymYTbNAd1rAUmcpAB2/LpngLCntxo0bRNCN9zlCcfEEudPRrBlsA9mQRmyfA pqD6Sz8YtZABA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E040FC44512; Sun, 19 Jul 2026 09:52:02 +0000 (UTC) From: Rodrigo Alencar via B4 Relay Date: Sun, 19 Jul 2026 10:51:58 +0100 Subject: [PATCH 2/4] dt-bindings: iio: dac: ad5686: extend device support Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260719-ad5686-extend-dev-support-v1-2-841ec75cf5d8@analog.com> References: <20260719-ad5686-extend-dev-support-v1-0-841ec75cf5d8@analog.com> In-Reply-To: <20260719-ad5686-extend-dev-support-v1-0-841ec75cf5d8@analog.com> To: Michael Auchter , linux@analog.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Michael Hennerich , Jonathan Cameron , David Lechner , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rodrigo Alencar , Conor Dooley X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784454721; l=2105; i=rodrigo.alencar@analog.com; s=default; h=from:subject:message-id; bh=Ns24MscU2vZDNQferz6p0S9pqqd8IKrb5WBkwEhcXhc=; b=qu6jyXzAx/LKcXaOQ7rhVrFJsQuiHXJNmXwyF8+XfOc0EeHVK2jqeN5GbIp+6ZkRsIsiEFCwv Y6KznEmjsV9D58tlEGfAEc/daS1t92ZMMheYuma75EMkLFyFsVfP7Pz X-Developer-Key: i=rodrigo.alencar@analog.com; a=ed25519; pk=ULeHbgU/OYh/PG/4anHDfLgldFItQHAhOktYRVLMFRo= X-Endpoint-Received: by B4 Relay for rodrigo.alencar@analog.com/default with auth_id=561 X-Original-From: Rodrigo Alencar Reply-To: rodrigo.alencar@analog.com From: Rodrigo Alencar Add compatible entries for AD5313R, AD5317R, AD5674, AD5679, AD5687, AD5687R, AD5689, AD5689R. These devices have unique combination of channel count, bit resolution and supported command set, so that fallback compatibles are not used. Also, a small copy-and-paste error is fixed to the title field. Acked-by: Conor Dooley Signed-off-by: Rodrigo Alencar --- Documentation/devicetree/bindings/iio/dac/adi,ad5686.yaml | 14 +++++++++++= ++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5686.yaml b/Do= cumentation/devicetree/bindings/iio/dac/adi,ad5686.yaml index 02e8c78e36d3..d1bb09054440 100644 --- a/Documentation/devicetree/bindings/iio/dac/adi,ad5686.yaml +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5686.yaml @@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/iio/dac/adi,ad5686.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# =20 -title: Analog Devices AD5360 and similar SPI DACs +title: Analog Devices AD5686 and similar SPI DACs =20 maintainers: - Michael Hennerich @@ -14,10 +14,14 @@ properties: compatible: enum: - adi,ad5310r + - adi,ad5313r + - adi,ad5317r - adi,ad5672r + - adi,ad5674 - adi,ad5674r - adi,ad5676 - adi,ad5676r + - adi,ad5679 - adi,ad5679r - adi,ad5681r - adi,ad5682r @@ -28,6 +32,10 @@ properties: - adi,ad5685r - adi,ad5686 - adi,ad5686r + - adi,ad5687 + - adi,ad5687r + - adi,ad5689 + - adi,ad5689r =20 reg: maxItems: 1 @@ -84,10 +92,14 @@ allOf: compatible: contains: enum: + - adi,ad5674 - adi,ad5676 + - adi,ad5679 - adi,ad5683 - adi,ad5684 - adi,ad5686 + - adi,ad5687 + - adi,ad5689 then: required: - vref-supply --=20 2.43.0 From nobody Sat Jul 25 03:46:07 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7CB9934F24A; Sun, 19 Jul 2026 09:52:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784454723; cv=none; b=klyFWclpERsia58TvEoKXXbO4Gil2tckqNEnB5DZ+33qdfcgAZmnECwxG52s1sTtv33R9P6q1EM70Cr6kCM5mEGiDushF/XGisjrxcMPLbFefvdJrS4Hx6NOomGzrTV7B7JP1cenWsRDFUm5sjGNsOG3zEjZeHWC8I/e6Ly1Pmc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784454723; c=relaxed/simple; bh=ziMmmYZydXy7SVXF5YowcDdIWRal6R6m0TBQhYZ1nm0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=j4BKj+jNbglNd5cd1hEUrKl6slggQ6oI/CD1x3PiUNJgAn+onIw9hTGeakxofgcWzIErFYT1pmuouGO55lSTQXiXwJrSqvu6jAfh5rQbvPM7HXuoQQbrtpD2ZoeMW+uVxUwBQB3VV49lG14Y3tz3ucvpQM9Xo567YUzIyh1kYyY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tv4fA/6Q; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tv4fA/6Q" Received: by smtp.kernel.org (Postfix) with ESMTPS id 14166C2BCFC; Sun, 19 Jul 2026 09:52:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1784454723; bh=ziMmmYZydXy7SVXF5YowcDdIWRal6R6m0TBQhYZ1nm0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=tv4fA/6Q8UFj+xLnS6gkZfay52EhREVYzSEV0watvaW4QiETaBBneEOm/NuoOk/kY wTjdPnpuWyvMM8RDG156kj9wNRruX5apKHrHa56FJd8kfOHSp3DxWJQqRFsZY4tn1W uAiIcOUngx4+YEF//9DkygXpIamMjoljDWj7JwyvCSCaMRI7CN+vH31NNj7yQgvYRH IkrlXZPXgM4N7sWQEhkt0nK/sJ0tn1eHIyB2z1XaXTprPi48SDXgfXVVQ1drksBEJh cRbeQFzj8Q0koUhjxxFrX7Fqy0EW1FchWYwaXUYHTrSH00N2X9ZgvhYTH7V1RZTWtQ 0FsOlzmY7kxww== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id EDD73C44524; Sun, 19 Jul 2026 09:52:02 +0000 (UTC) From: Rodrigo Alencar via B4 Relay Date: Sun, 19 Jul 2026 10:51:59 +0100 Subject: [PATCH 3/4] iio: dac: ad5686: extend device support with new parts Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260719-ad5686-extend-dev-support-v1-3-841ec75cf5d8@analog.com> References: <20260719-ad5686-extend-dev-support-v1-0-841ec75cf5d8@analog.com> In-Reply-To: <20260719-ad5686-extend-dev-support-v1-0-841ec75cf5d8@analog.com> To: Michael Auchter , linux@analog.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Michael Hennerich , Jonathan Cameron , David Lechner , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rodrigo Alencar X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784454721; l=10989; i=rodrigo.alencar@analog.com; s=default; h=from:subject:message-id; bh=pwyIWIwpbueR4AW5F3cEAEBFNsVvf6IGY71bPbLlF4g=; b=AjeIocc/+0xj5fsFGGEJ3FskdB5kdwwYZJCi/KKkus1xND75sEWp0/de/kikfSIEk8dULRYN+ N4ef89IkYDMAsbQh8DrhPjVY9kyhyueOpCDSct8k+NM9nWaGKI50xAf X-Developer-Key: i=rodrigo.alencar@analog.com; a=ed25519; pk=ULeHbgU/OYh/PG/4anHDfLgldFItQHAhOktYRVLMFRo= X-Endpoint-Received: by B4 Relay for rodrigo.alencar@analog.com/default with auth_id=561 X-Original-From: Rodrigo Alencar Reply-To: rodrigo.alencar@analog.com From: Rodrigo Alencar Add support for AD5313R, AD5317R, AD5674, AD5679, AD5687, AD5687R, AD5689, AD5689R to the AD5686 SPI driver. Also adding support for AD5316R, AD5675, AD5697R to the AD5696 I2C driver. AD5673R and AD5677R were missing from the of_match table. This includes the creation of seven chip info struct instances and reuse of existing ones. Signed-off-by: Rodrigo Alencar --- drivers/iio/dac/ad5686-spi.c | 16 +++++++++++++ drivers/iio/dac/ad5686.c | 55 ++++++++++++++++++++++++++++++++++++++++= ++++ drivers/iio/dac/ad5686.h | 7 ++++++ drivers/iio/dac/ad5696-i2c.c | 8 +++++++ 4 files changed, 86 insertions(+) diff --git a/drivers/iio/dac/ad5686-spi.c b/drivers/iio/dac/ad5686-spi.c index 227ddb269669..003541edb742 100644 --- a/drivers/iio/dac/ad5686-spi.c +++ b/drivers/iio/dac/ad5686-spi.c @@ -178,10 +178,14 @@ static int ad5686_spi_probe(struct spi_device *spi) =20 static const struct spi_device_id ad5686_spi_id[] =3D { { .name =3D "ad5310r", .driver_data =3D (kernel_ulong_t)&ad5310r_chip_inf= o }, + { .name =3D "ad5313r", .driver_data =3D (kernel_ulong_t)&ad5338r_chip_inf= o }, + { .name =3D "ad5317r", .driver_data =3D (kernel_ulong_t)&ad5317r_chip_inf= o }, { .name =3D "ad5672r", .driver_data =3D (kernel_ulong_t)&ad5672r_chip_inf= o }, + { .name =3D "ad5674", .driver_data =3D (kernel_ulong_t)&ad5674_chip_info= }, { .name =3D "ad5674r", .driver_data =3D (kernel_ulong_t)&ad5674r_chip_inf= o }, { .name =3D "ad5676", .driver_data =3D (kernel_ulong_t)&ad5676_chip_info= }, { .name =3D "ad5676r", .driver_data =3D (kernel_ulong_t)&ad5676r_chip_inf= o }, + { .name =3D "ad5679", .driver_data =3D (kernel_ulong_t)&ad5679_chip_info= }, { .name =3D "ad5679r", .driver_data =3D (kernel_ulong_t)&ad5679r_chip_inf= o }, { .name =3D "ad5681r", .driver_data =3D (kernel_ulong_t)&ad5681r_chip_inf= o }, { .name =3D "ad5682r", .driver_data =3D (kernel_ulong_t)&ad5682r_chip_inf= o }, @@ -193,16 +197,24 @@ static const struct spi_device_id ad5686_spi_id[] =3D= { { .name =3D "ad5685r", .driver_data =3D (kernel_ulong_t)&ad5685r_chip_inf= o }, { .name =3D "ad5686", .driver_data =3D (kernel_ulong_t)&ad5686_chip_info= }, { .name =3D "ad5686r", .driver_data =3D (kernel_ulong_t)&ad5686r_chip_inf= o }, + { .name =3D "ad5687", .driver_data =3D (kernel_ulong_t)&ad5687_chip_info= }, + { .name =3D "ad5687r", .driver_data =3D (kernel_ulong_t)&ad5687r_chip_inf= o }, + { .name =3D "ad5689", .driver_data =3D (kernel_ulong_t)&ad5689_chip_info= }, + { .name =3D "ad5689r", .driver_data =3D (kernel_ulong_t)&ad5689r_chip_inf= o }, { } }; MODULE_DEVICE_TABLE(spi, ad5686_spi_id); =20 static const struct of_device_id ad5686_of_match[] =3D { { .compatible =3D "adi,ad5310r", .data =3D &ad5310r_chip_info }, + { .compatible =3D "adi,ad5313r", .data =3D &ad5338r_chip_info }, + { .compatible =3D "adi,ad5317r", .data =3D &ad5317r_chip_info }, { .compatible =3D "adi,ad5672r", .data =3D &ad5672r_chip_info }, + { .compatible =3D "adi,ad5674", .data =3D &ad5674_chip_info }, { .compatible =3D "adi,ad5674r", .data =3D &ad5674r_chip_info }, { .compatible =3D "adi,ad5676", .data =3D &ad5676_chip_info }, { .compatible =3D "adi,ad5676r", .data =3D &ad5676r_chip_info }, + { .compatible =3D "adi,ad5679", .data =3D &ad5679_chip_info }, { .compatible =3D "adi,ad5679r", .data =3D &ad5679r_chip_info }, { .compatible =3D "adi,ad5681r", .data =3D &ad5681r_chip_info }, { .compatible =3D "adi,ad5682r", .data =3D &ad5682r_chip_info }, @@ -213,6 +225,10 @@ static const struct of_device_id ad5686_of_match[] =3D= { { .compatible =3D "adi,ad5685r", .data =3D &ad5685r_chip_info }, { .compatible =3D "adi,ad5686", .data =3D &ad5686_chip_info }, { .compatible =3D "adi,ad5686r", .data =3D &ad5686r_chip_info }, + { .compatible =3D "adi,ad5687", .data =3D &ad5687_chip_info }, + { .compatible =3D "adi,ad5687r", .data =3D &ad5687r_chip_info }, + { .compatible =3D "adi,ad5689", .data =3D &ad5689_chip_info }, + { .compatible =3D "adi,ad5689r", .data =3D &ad5689r_chip_info }, { } }; MODULE_DEVICE_TABLE(of, ad5686_of_match); diff --git a/drivers/iio/dac/ad5686.c b/drivers/iio/dac/ad5686.c index 873dfb5b9107..090707d76d6e 100644 --- a/drivers/iio/dac/ad5686.c +++ b/drivers/iio/dac/ad5686.c @@ -409,8 +409,11 @@ DECLARE_AD5683_CHANNELS(ad5683r_channels, 16, 0); /* dual-channel */ DECLARE_AD5338_CHANNELS(ad5337r_channels, 8, 8); DECLARE_AD5338_CHANNELS(ad5338r_channels, 10, 6); +DECLARE_AD5338_CHANNELS(ad5687r_channels, 12, 4); +DECLARE_AD5338_CHANNELS(ad5689r_channels, 16, 0); =20 /* quad-channel */ +DECLARE_AD5686_CHANNELS(ad5317r_channels, 10, 6); DECLARE_AD5686_CHANNELS(ad5684r_channels, 12, 4); DECLARE_AD5686_CHANNELS(ad5685r_channels, 14, 2); DECLARE_AD5686_CHANNELS(ad5686r_channels, 16, 0); @@ -486,6 +489,44 @@ const struct ad5686_chip_info ad5338r_chip_info =3D { }; EXPORT_SYMBOL_NS_GPL(ad5338r_chip_info, "IIO_AD5686"); =20 +const struct ad5686_chip_info ad5687_chip_info =3D { + .channels =3D ad5687r_channels, + .num_channels =3D 2, + .regmap_type =3D AD5686_REGMAP, +}; +EXPORT_SYMBOL_NS_GPL(ad5687_chip_info, "IIO_AD5686"); + +const struct ad5686_chip_info ad5687r_chip_info =3D { + .channels =3D ad5687r_channels, + .int_vref_mv =3D 2500, + .num_channels =3D 2, + .regmap_type =3D AD5686_REGMAP, +}; +EXPORT_SYMBOL_NS_GPL(ad5687r_chip_info, "IIO_AD5686"); + +const struct ad5686_chip_info ad5689_chip_info =3D { + .channels =3D ad5689r_channels, + .num_channels =3D 2, + .regmap_type =3D AD5686_REGMAP, +}; +EXPORT_SYMBOL_NS_GPL(ad5689_chip_info, "IIO_AD5686"); + +const struct ad5686_chip_info ad5689r_chip_info =3D { + .channels =3D ad5689r_channels, + .int_vref_mv =3D 2500, + .num_channels =3D 2, + .regmap_type =3D AD5686_REGMAP, +}; +EXPORT_SYMBOL_NS_GPL(ad5689r_chip_info, "IIO_AD5686"); + +const struct ad5686_chip_info ad5317r_chip_info =3D { + .channels =3D ad5317r_channels, + .int_vref_mv =3D 2500, + .num_channels =3D 4, + .regmap_type =3D AD5686_REGMAP, +}; +EXPORT_SYMBOL_NS_GPL(ad5317r_chip_info, "IIO_AD5686"); + const struct ad5686_chip_info ad5684_chip_info =3D { .channels =3D ad5684r_channels, .num_channels =3D 4, @@ -547,6 +588,13 @@ const struct ad5686_chip_info ad5676r_chip_info =3D { }; EXPORT_SYMBOL_NS_GPL(ad5676r_chip_info, "IIO_AD5686"); =20 +const struct ad5686_chip_info ad5674_chip_info =3D { + .channels =3D ad5674r_channels, + .num_channels =3D 16, + .regmap_type =3D AD5686_REGMAP, +}; +EXPORT_SYMBOL_NS_GPL(ad5674_chip_info, "IIO_AD5686"); + const struct ad5686_chip_info ad5674r_chip_info =3D { .channels =3D ad5674r_channels, .int_vref_mv =3D 2500, @@ -555,6 +603,13 @@ const struct ad5686_chip_info ad5674r_chip_info =3D { }; EXPORT_SYMBOL_NS_GPL(ad5674r_chip_info, "IIO_AD5686"); =20 +const struct ad5686_chip_info ad5679_chip_info =3D { + .channels =3D ad5679r_channels, + .num_channels =3D 16, + .regmap_type =3D AD5686_REGMAP, +}; +EXPORT_SYMBOL_NS_GPL(ad5679_chip_info, "IIO_AD5686"); + const struct ad5686_chip_info ad5679r_chip_info =3D { .channels =3D ad5679r_channels, .int_vref_mv =3D 2500, diff --git a/drivers/iio/dac/ad5686.h b/drivers/iio/dac/ad5686.h index c1222ef83a4f..482bc70515f7 100644 --- a/drivers/iio/dac/ad5686.h +++ b/drivers/iio/dac/ad5686.h @@ -106,8 +106,13 @@ extern const struct ad5686_chip_info ad5683r_chip_info; /* dual-channel instances */ extern const struct ad5686_chip_info ad5337r_chip_info; extern const struct ad5686_chip_info ad5338r_chip_info; +extern const struct ad5686_chip_info ad5687_chip_info; +extern const struct ad5686_chip_info ad5687r_chip_info; +extern const struct ad5686_chip_info ad5689_chip_info; +extern const struct ad5686_chip_info ad5689r_chip_info; =20 /* quad-channel instances */ +extern const struct ad5686_chip_info ad5317r_chip_info; extern const struct ad5686_chip_info ad5684_chip_info; extern const struct ad5686_chip_info ad5684r_chip_info; extern const struct ad5686_chip_info ad5685r_chip_info; @@ -120,7 +125,9 @@ extern const struct ad5686_chip_info ad5676_chip_info; extern const struct ad5686_chip_info ad5676r_chip_info; =20 /* 16-channel instances */ +extern const struct ad5686_chip_info ad5674_chip_info; extern const struct ad5686_chip_info ad5674r_chip_info; +extern const struct ad5686_chip_info ad5679_chip_info; extern const struct ad5686_chip_info ad5679r_chip_info; =20 /** diff --git a/drivers/iio/dac/ad5696-i2c.c b/drivers/iio/dac/ad5696-i2c.c index 31439567f00f..7254bb976388 100644 --- a/drivers/iio/dac/ad5696-i2c.c +++ b/drivers/iio/dac/ad5696-i2c.c @@ -80,10 +80,12 @@ static int ad5686_i2c_probe(struct i2c_client *i2c) =20 static const struct i2c_device_id ad5686_i2c_id[] =3D { { .name =3D "ad5311r", .driver_data =3D (kernel_ulong_t)&ad5311r_chip_inf= o }, + { .name =3D "ad5316r", .driver_data =3D (kernel_ulong_t)&ad5317r_chip_inf= o }, { .name =3D "ad5337r", .driver_data =3D (kernel_ulong_t)&ad5337r_chip_inf= o }, { .name =3D "ad5338r", .driver_data =3D (kernel_ulong_t)&ad5338r_chip_inf= o }, { .name =3D "ad5671r", .driver_data =3D (kernel_ulong_t)&ad5672r_chip_inf= o }, { .name =3D "ad5673r", .driver_data =3D (kernel_ulong_t)&ad5674r_chip_inf= o }, + { .name =3D "ad5675", .driver_data =3D (kernel_ulong_t)&ad5676_chip_info= }, { .name =3D "ad5675r", .driver_data =3D (kernel_ulong_t)&ad5676r_chip_inf= o }, { .name =3D "ad5677r", .driver_data =3D (kernel_ulong_t)&ad5679r_chip_inf= o }, { .name =3D "ad5691r", .driver_data =3D (kernel_ulong_t)&ad5681r_chip_inf= o }, @@ -95,16 +97,21 @@ static const struct i2c_device_id ad5686_i2c_id[] =3D { { .name =3D "ad5695r", .driver_data =3D (kernel_ulong_t)&ad5685r_chip_inf= o }, { .name =3D "ad5696", .driver_data =3D (kernel_ulong_t)&ad5686_chip_info= }, { .name =3D "ad5696r", .driver_data =3D (kernel_ulong_t)&ad5686r_chip_inf= o }, + { .name =3D "ad5697r", .driver_data =3D (kernel_ulong_t)&ad5687r_chip_inf= o }, { } }; MODULE_DEVICE_TABLE(i2c, ad5686_i2c_id); =20 static const struct of_device_id ad5686_of_match[] =3D { { .compatible =3D "adi,ad5311r", .data =3D &ad5311r_chip_info }, + { .compatible =3D "adi,ad5316r", .data =3D &ad5317r_chip_info }, { .compatible =3D "adi,ad5337r", .data =3D &ad5337r_chip_info }, { .compatible =3D "adi,ad5338r", .data =3D &ad5338r_chip_info }, { .compatible =3D "adi,ad5671r", .data =3D &ad5672r_chip_info }, + { .compatible =3D "adi,ad5673r", .data =3D &ad5674r_chip_info }, + { .compatible =3D "adi,ad5675", .data =3D &ad5676_chip_info }, { .compatible =3D "adi,ad5675r", .data =3D &ad5676r_chip_info }, + { .compatible =3D "adi,ad5677r", .data =3D &ad5679r_chip_info }, { .compatible =3D "adi,ad5691r", .data =3D &ad5681r_chip_info }, { .compatible =3D "adi,ad5692r", .data =3D &ad5682r_chip_info }, { .compatible =3D "adi,ad5693", .data =3D &ad5683_chip_info }, @@ -114,6 +121,7 @@ static const struct of_device_id ad5686_of_match[] =3D { { .compatible =3D "adi,ad5695r", .data =3D &ad5685r_chip_info }, { .compatible =3D "adi,ad5696", .data =3D &ad5686_chip_info }, { .compatible =3D "adi,ad5696r", .data =3D &ad5686r_chip_info }, + { .compatible =3D "adi,ad5697r", .data =3D &ad5687r_chip_info }, { } }; MODULE_DEVICE_TABLE(of, ad5686_of_match); --=20 2.43.0 From nobody Sat Jul 25 03:46:07 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 84AC337FF67; Sun, 19 Jul 2026 09:52:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784454723; cv=none; b=MAr92XiwwK38isu8JLvFtHLQ33/ubs6oe+OerSkkTr9faLiTFYFABbNUdT1tcFkIpGsN3CJon310chgUyNAjNoaY0kzYQjjM/jGjll1aOXjG3vrFGy69b0NyxaFPTVCpQNLvP7cigUEqOTEFAnk2qQwBzdG0hRzEHQFdK4/pjQw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784454723; c=relaxed/simple; bh=lXScJa8OJQoqeBtvvym2KfAmG9yf8mt7R7cSNm1O8tA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qF/94Pc6UHa2oS0n9KXp5QXfjzLuMhxzU8uk3CmtWAXESjyx2W7FQRNzD7IeoLQSse1z7+Tw1fYD3ZcIxOQaiwSUIduMs8Ymc1ANTXmrYiMkO82Anbh3XSPNIpMegUV796jmJ16z9IwISEzv12AJwJtkrZrLUY/HxnBeJT5i9CI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TMU+9CdY; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TMU+9CdY" Received: by smtp.kernel.org (Postfix) with ESMTPS id 25298C2BCFD; Sun, 19 Jul 2026 09:52:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1784454723; bh=lXScJa8OJQoqeBtvvym2KfAmG9yf8mt7R7cSNm1O8tA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=TMU+9CdYYYExaz5T2OB1l7BT8qNgKNxtoJA/QZbAhiW+zYBUW0nXWx7OC3bht+jSP rhXc6Hcv5vgaJengA0YK50IQTY6TivJCZVbFIi4JRbK85JiQ+OOPTEvR7OFu3oREpS vUbt3s9Li1hnaDfR9Oip3mBExHiVFbxEPLyAzoUNLoObXekVzlTH73JG0oqamiERXY iKtMSVqZTWenoB6bE4FpDWIehoN9V1uL3nWIjp6S+hXTAcFMKRVZ+9A+hN978nePOR qFttbymaNBwyvk7gHiCozM5B9d+4f2sm30gqBDqzEdw1vuoWnZWInrqEWi8TXvZ49E jNMMPYXk3sTAQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 071F7C44523; Sun, 19 Jul 2026 09:52:03 +0000 (UTC) From: Rodrigo Alencar via B4 Relay Date: Sun, 19 Jul 2026 10:52:00 +0100 Subject: [PATCH 4/4] iio: dac: ad5686: update device list and file header comments Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260719-ad5686-extend-dev-support-v1-4-841ec75cf5d8@analog.com> References: <20260719-ad5686-extend-dev-support-v1-0-841ec75cf5d8@analog.com> In-Reply-To: <20260719-ad5686-extend-dev-support-v1-0-841ec75cf5d8@analog.com> To: Michael Auchter , linux@analog.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Michael Hennerich , Jonathan Cameron , David Lechner , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rodrigo Alencar X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784454721; l=4144; i=rodrigo.alencar@analog.com; s=default; h=from:subject:message-id; bh=g87LSQvSH5zO99f8r0mYhWdXFrEI0PIUf10Rds43rLE=; b=3kkX5U/Dmb4CYXRm3XMM/lysS2S6upGe2fOml1gdgoaPuEPnI9rOYVatEmXbFniPNsZR/nlbD TROlJfiNL6vCKJVrN+vMGP0sDKCxRh/g+SRttCu7epfqFstzxaMTFVs X-Developer-Key: i=rodrigo.alencar@analog.com; a=ed25519; pk=ULeHbgU/OYh/PG/4anHDfLgldFItQHAhOktYRVLMFRo= X-Endpoint-Received: by B4 Relay for rodrigo.alencar@analog.com/default with auth_id=561 X-Original-From: Rodrigo Alencar Reply-To: rodrigo.alencar@analog.com From: Rodrigo Alencar Update device list entries in Kconfig and remove device description from file headers. One can rely on the ID table(s) to check for supported devices. Adjust comment header accordingly and update Copyright notice in comment file headers with the current year. Signed-off-by: Rodrigo Alencar --- drivers/iio/dac/Kconfig | 31 ++++++++++++++++++++++++------- drivers/iio/dac/ad5686-spi.c | 7 ++----- drivers/iio/dac/ad5686.c | 4 ++-- drivers/iio/dac/ad5696-i2c.c | 6 ++---- 4 files changed, 30 insertions(+), 18 deletions(-) diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig index d6d560c09e25..ba2065241af3 100644 --- a/drivers/iio/dac/Kconfig +++ b/drivers/iio/dac/Kconfig @@ -251,9 +251,18 @@ config AD5686_SPI depends on SPI select AD5686 help - Say yes here to build support for Analog Devices AD5672R, AD5674R, - AD5676, AD5676R, AD5679R, AD5684, AD5684R, AD5684R, AD5685R, AD5686, - AD5686R Voltage Output Digital to Analog Converter. + Say yes here to build support for Analog Devices Voltage Output + Digital to Analog Converters: + - Single-channel: + AD5310R, AD5681R, AD5682R, AD5683R, AD5683R + - Dual-channel: + AD5313R, AD5687, AD5687R, AD5689, AD5689R + - Quad-channel: + AD5317R, AD5684, AD5684R, AD5685R, AD5686, AD5686R + - 8-channel: + AD5672R, AD5676, AD5676R + - 16-channel: + AD5674, AD5674R, AD5679, AD5679R =20 To compile this driver as a module, choose M here: the module will be called ad5686. @@ -263,10 +272,18 @@ config AD5696_I2C depends on I2C select AD5686 help - Say yes here to build support for Analog Devices AD5311R, AD5337, - AD5338R, AD5671R, AD5673R, AD5675R, AD5677R, AD5691R, AD5692R, AD5693, - AD5693R, AD5694, AD5694R, AD5695R, AD5696, and AD5696R Digital to - Analog converters. + Say yes here to build support for Analog Devices Voltage Output + Digital to Analog Converters: + - Single-channel: + AD5311R, AD5691R, AD5692R, AD5693, AD5693R + - Dual-channel: + AD5338R, AD5697R + - Quad-channel: + AD5316R, AD5694, AD5694R, AD5695R, AD5696, AD5696R + - 8-channel: + AD5671R, AD5675, AD5675R + - 16-channel: + AD5673R, AD5677R =20 To compile this driver as a module, choose M here: the module will be called ad5696. diff --git a/drivers/iio/dac/ad5686-spi.c b/drivers/iio/dac/ad5686-spi.c index 003541edb742..b4531b49cb22 100644 --- a/drivers/iio/dac/ad5686-spi.c +++ b/drivers/iio/dac/ad5686-spi.c @@ -1,11 +1,8 @@ // SPDX-License-Identifier: GPL-2.0 /* - * AD5672R, AD5674R, AD5676, AD5676R, AD5679R, - * AD5681R, AD5682R, AD5683, AD5683R, AD5684, - * AD5684R, AD5685R, AD5686, AD5686R - * Digital to analog converters driver + * SPI driver for AD5686 and similar Digital to Analog Converters * - * Copyright 2018 Analog Devices Inc. + * Copyright 2018-2026 Analog Devices Inc. */ =20 #include diff --git a/drivers/iio/dac/ad5686.c b/drivers/iio/dac/ad5686.c index 090707d76d6e..fc0bccfb0a03 100644 --- a/drivers/iio/dac/ad5686.c +++ b/drivers/iio/dac/ad5686.c @@ -1,8 +1,8 @@ // SPDX-License-Identifier: GPL-2.0 /* - * AD5686R, AD5685R, AD5684R Digital to analog converters driver + * Core driver for AD5686 and similar Digital to Analog Converters * - * Copyright 2011 Analog Devices Inc. + * Copyright 2011-2026 Analog Devices Inc. */ =20 #include diff --git a/drivers/iio/dac/ad5696-i2c.c b/drivers/iio/dac/ad5696-i2c.c index 7254bb976388..19605274e787 100644 --- a/drivers/iio/dac/ad5696-i2c.c +++ b/drivers/iio/dac/ad5696-i2c.c @@ -1,10 +1,8 @@ // SPDX-License-Identifier: GPL-2.0 /* - * AD5338R, AD5671R, AD5673R, AD5675R, AD5677R, AD5691R, AD5692R, AD5693, - * AD5693R, AD5694, AD5694R, AD5695R, AD5696, AD5696R - * Digital to analog converters driver + * I2C driver for AD5696 and similar Digital to Analog Converters * - * Copyright 2018 Analog Devices Inc. + * Copyright 2018-2026 Analog Devices Inc. */ =20 #include --=20 2.43.0