From nobody Thu Apr 2 01:48:16 2026 Received: from mx0a-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 6956431618E; Mon, 16 Feb 2026 15:12:03 +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=1771254724; cv=none; b=o1HF5y4Um5Ij2nWx3jZfgkQOTG8vEve0NF2v4DmUk7IU5DowU4uhrkE8xDffgM6nvewhzHXzipehfpYGyl9aQY/yrVWkEOpg4/jfG/PP1V5PM++bKtLjbdJN7qKwRBNw6cgJQj2ChyXHzOSsQuYzuUoIwR8PSqS2/ZB/d7M+8oI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771254724; c=relaxed/simple; bh=Rs2RsRzCEUsNSPjveQYX8SMZqiaHcgQqLX/mVn2sAno=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qVFHvotsR8fvWi8nCOVJyC8eJmYbwqFSUG9Dt+Ro7Zll/uQgQN6EqANZkdB/x7eXJLPmIfHU5aw+0K4KexB/Q8qeF7Y4H95RFDE7l6+3SFTb6VrfIV9NIEsN5JdewUJHSKmXfOs2w/IPcgTmCMKYPYjLS+I3lEwf4rXtoI9uvlQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=SnDdhEQ+; arc=none smtp.client-ip=148.163.135.77 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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="SnDdhEQ+" Received: from pps.filterd (m0167089.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 61GA8oI33758210; Mon, 16 Feb 2026 10:11:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=DKIM; bh=XE3L+ ARvWJpG52M6JRyudID7XngcHcscykkHGC28CsA=; b=SnDdhEQ+L63iJwqyrtPgM hhMgVmDyyYAnrpLYoycPIdaJtztAlZxreg+wmQAjli9OnQnhpRo8fN9dDl9KXfcl EwF3lHKac/5rwSWYHCb1ffNIeuLihgoNxkKCZP9Za27HB5WPfbvDRbrR2OBO52Bg c9l6eEDKFj8/6eAi5QwsBe1fmTuOiXq/mEbfQNNHGvNL3tR4hlGdXJIQ0P/BC8fF x7eHeJ89tBLKaSIbfAJmPiaKSUdEC8yVahfwniOmUSIarbpxXfl2biaBAv/MVZ2t kwdWsXezNoKsmTn7Vp4g2BLtet5RuVHX+Nk1R5UP7mG6wIH1l50MIV5zuUM+i7la w== Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 4capu4fcf4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 Feb 2026 10:11:47 -0500 (EST) 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 61GFBkNC021595 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 16 Feb 2026 10:11:46 -0500 Received: from ASHBMBX9.ad.analog.com (10.64.17.10) 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.1748.37; Mon, 16 Feb 2026 10:11:46 -0500 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.1748.37 via Frontend Transport; Mon, 16 Feb 2026 10:11:46 -0500 Received: from HYB-b1tGeUj4GP1.ad.analog.com (HYB-b1tGeUj4GP1.ad.analog.com [10.48.65.247]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 61GFBT9C017396; Mon, 16 Feb 2026 10:11:38 -0500 From: Antoniu Miclaus To: Antoniu Miclaus , Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , David Lechner , =?UTF-8?q?Nuno=20S=C3=A1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , CC: Conor Dooley Subject: [PATCH v3 1/2] dt-bindings: iio: adc: adi,ad4080: add support for AD4082, AD4085 and AD4088 Date: Mon, 16 Feb 2026 17:11:10 +0200 Message-ID: <20260216151112.139359-2-antoniu.miclaus@analog.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260216151112.139359-1-antoniu.miclaus@analog.com> References: <20260216151112.139359-1-antoniu.miclaus@analog.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjE2MDEyOSBTYWx0ZWRfX1LVoXNlaJg71 xG1FFNNrRLBJVODgwLs4oEeNQlgQSFm+Ki85A4cC5zSqH11j+mR/Y+3Q9+mkKUR4Z0G0z0RswzH hVAtenxoADPW36S/DrxOazlqGGEdx1NAt75fCJm936zGfFeghzzltEtWnHD/2HA6U5Ax+U0ZE6p eXj3SKXzoKV+f3Nf2SyYuUbRL4r/+nAsUhiYabiL+XyW/8Od08JNdX7RJ1m36zHUZZWlnvWo9u5 Sum4S3QpVvHzApYpVuW9NdFw1ObG2FAkms1EHbFmuc6FyhOCRiPAuFFS9/V9I6Gje9mZb8QzUXD nSVphu2sWTFn71KJTTQ83LUTVH6KVHGOe219fY6MSltVHyeAlGpncnlYWs+bGJxGCBrIBJF2Yvp nZ6Q3hJzQhqph3MxQsEAeRWE1nqrSBQi5j4/w6BzY6ke9IOLIBUzN5qXfgMt+hsSsxnUhgK9zlB 4HWhXwKl21n56O5PeFA== X-Proofpoint-ORIG-GUID: EYVmBDzIczlfaLrwE1OeZ42FC_w-I4V4 X-Proofpoint-GUID: EYVmBDzIczlfaLrwE1OeZ42FC_w-I4V4 X-Authority-Analysis: v=2.4 cv=EZnFgfmC c=1 sm=1 tr=0 ts=699333b3 cx=c_pps a=3WNzaoukacrqR9RwcOSAdA==:117 a=3WNzaoukacrqR9RwcOSAdA==:17 a=HzLeVaNsDn8A:10 a=VkNPw1HP01LnGYTKEx00:22 a=Mpw57Om8IfrbqaoTuvik:22 a=GgsMoib0sEa3-_RKJdDe:22 a=XYAwZIGsAAAA:8 a=gAnH3GRIAAAA:8 a=9oEBI_weD3nlnaIwBo4A:9 a=E8ToXWR_bxluHZ7gmE-Z:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-02-16_04,2026-02-16_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 spamscore=0 suspectscore=0 bulkscore=0 adultscore=0 clxscore=1011 lowpriorityscore=0 phishscore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2602160129 Content-Type: text/plain; charset="utf-8" Add device tree binding support for AD4082, AD4085 and AD4088 SAR ADCs. Add adi,ad4082, adi,ad4085 and adi,ad4088 to the compatible enum. A fallback compatible string is not appropriate for these devices as they differ in LVDS CNV clock count maximum from their base variants: - AD4082 (20-bit) vs AD4080: lvds_cnv_clk_cnt_max 8 vs 7 - AD4085 (16-bit) vs AD4084: lvds_cnv_clk_cnt_max 8 vs 2 - AD4088 (14-bit) vs AD4087: lvds_cnv_clk_cnt_max 8 vs 1 Acked-by: Conor Dooley Signed-off-by: Antoniu Miclaus --- Changes in v3: - Merged individual per-device dt-bindings patches into a single patch adding AD4082, AD4085 and AD4088. - Collected Acked-by tag. Documentation/devicetree/bindings/iio/adc/adi,ad4080.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad4080.yaml b/Do= cumentation/devicetree/bindings/iio/adc/adi,ad4080.yaml index ccd6a0ac1539..79df2696ef24 100644 --- a/Documentation/devicetree/bindings/iio/adc/adi,ad4080.yaml +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad4080.yaml @@ -27,10 +27,13 @@ properties: enum: - adi,ad4080 - adi,ad4081 + - adi,ad4082 - adi,ad4083 - adi,ad4084 + - adi,ad4085 - adi,ad4086 - adi,ad4087 + - adi,ad4088 =20 reg: maxItems: 1 --=20 2.43.0 From nobody Thu Apr 2 01:48:16 2026 Received: from mx0a-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 694DD313272; Mon, 16 Feb 2026 15:12:03 +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=1771254724; cv=none; b=r+j15uX60HBQ2eJURdHBsXeXF6pJ1cAoKDgQxTrKDXW58rFvqIpnSEOrP8fLmDpYWYv3504qsTymYbFsg7bnqnYrYfCOQkOfM+9RVzGQa51TytxjWjcUEwjh0voG/T+tEfndsin6MxHcJYf/+9iYIsiTZjuaDEtuUd+CBD9anYk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771254724; c=relaxed/simple; bh=K6q2uvUFNe74IlsTDGrMP4E+PlT8aZ9Rg6OHl6Ov8wA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GEpDvOVZ6vRAqf8xH5y8el8zCcqDoJ76SiIOh59bwrBik0EbaT9YBfU0RlnQP5EcxbEM3wrWmnB1W+QVBklI8/Z75oMH6H9w16OqtLCJ2s5DiIrFXuiayUpvF9zS7jTr3/9xNg9tv/JH8iXxLtlCwUyL/psHqVi0MsbiOj07zFI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=MUcA5Z6e; arc=none smtp.client-ip=148.163.135.77 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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="MUcA5Z6e" Received: from pps.filterd (m0516787.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 61GDRsV34079294; Mon, 16 Feb 2026 10:11:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=DKIM; bh=5PvLE OsRpHbflBCStESm7hryd52QgpUq4ThFgSnBS3g=; b=MUcA5Z6edSBiwr+yqOfCv IPiKb/Vlk0h7bA9Hm6oZPn/WeQGTK5nRdto+BbYfLjS5IgxS1079NFogKlmkVC/M rznFBBsblVYqMM2NvniRcthFKgKzul6t95n0nJtS+7a3gp+D9IJT5D32Yx+cx4vW w86YOd4tC0EWdO+0cxLkFuKTvkHnUzsE/7PO7/SoWXufC3jMM6TRGxyHuzC9cF13 HQRDx9zuA3t8vgqRv2IbpQufLTwNCpCjA9r/ydPP3CpEN6cFxKaBiAjeHLXthnem zdRQ3gPMh51fp2yKz0AnpllJmhwuj/jad+I459eYMoLvUEEjbSLxyR/b8ihqNqHP A== Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 4cbn8r3et1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 Feb 2026 10:11:48 -0500 (EST) 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 61GFBloJ021598 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 16 Feb 2026 10:11:47 -0500 Received: from ASHBMBX9.ad.analog.com (10.64.17.10) 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.1748.37; Mon, 16 Feb 2026 10:11:47 -0500 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.1748.37 via Frontend Transport; Mon, 16 Feb 2026 10:11:47 -0500 Received: from HYB-b1tGeUj4GP1.ad.analog.com (HYB-b1tGeUj4GP1.ad.analog.com [10.48.65.247]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 61GFBT9D017396; Mon, 16 Feb 2026 10:11:40 -0500 From: Antoniu Miclaus To: Antoniu Miclaus , Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , David Lechner , =?UTF-8?q?Nuno=20S=C3=A1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , CC: Andy Shevchenko Subject: [PATCH v3 2/2] iio: adc: ad4080: add support for AD4082, AD4085 and AD4088 Date: Mon, 16 Feb 2026 17:11:11 +0200 Message-ID: <20260216151112.139359-3-antoniu.miclaus@analog.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260216151112.139359-1-antoniu.miclaus@analog.com> References: <20260216151112.139359-1-antoniu.miclaus@analog.com> 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 X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-GUID: wFIm4DDa3sB_8STTGME2W2tyXz0Fnabi X-Proofpoint-ORIG-GUID: wFIm4DDa3sB_8STTGME2W2tyXz0Fnabi X-Authority-Analysis: v=2.4 cv=aIb9aL9m c=1 sm=1 tr=0 ts=699333b4 cx=c_pps a=3WNzaoukacrqR9RwcOSAdA==:117 a=3WNzaoukacrqR9RwcOSAdA==:17 a=IkcTkHD0fZMA:10 a=HzLeVaNsDn8A:10 a=VkNPw1HP01LnGYTKEx00:22 a=Mpw57Om8IfrbqaoTuvik:22 a=GgsMoib0sEa3-_RKJdDe:22 a=QyXUC8HyAAAA:8 a=gAnH3GRIAAAA:8 a=N7TgUSQySV4cBu0JIyQA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjE2MDEyOSBTYWx0ZWRfXy+QAoObLmga9 3AcSUE+Ab3EefMWQd7OQQC4Ypu3sfsEaI6NMcxh4TCQgXP7w4cN40NNIpSZHcyCJ2JPBjJvNYn8 qLL/A8JRJUwTIRrrCnqd4thyCnovi2KbGwsfZ6HsfhFszfzKSSmGj+rrqr69wxyukbsNJkMpPre bu0QfP7nznNrS2FxMFJH5HMO5uz/ldidAxpj1YnPk2M/M1rjneAmPyyI8XyoUOwHjj8AhFxROVf j3zTRqAZKk09RY4BO+bFusXxNTscZhT8EJQQLsafsunTDED5nYtY/tRuKN/yG7oYrzJT214wC+h e8BiZVpmTxoxPnjSLnUuZLmkiU/EiLy98lhx2v0bIuYwrcRncDf78SeTD50jkpbbCoLEO3k40K8 2Td8ur7nw3Dj4E+lmxviEOQ194yP6CRIYjCt85i1LCQYoMQrbWQO24KgBkxM3s+FeL3WtPOTM4c cMz5kiRSwebZnckUt7Q== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-02-16_04,2026-02-16_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 clxscore=1015 bulkscore=0 malwarescore=0 priorityscore=1501 suspectscore=0 spamscore=0 lowpriorityscore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2602160129 Add support for the AD4082, AD4085 and AD4088 SAR ADCs. These devices share the same resolution as their base variants but differ in LVDS CNV clock count maximum: - AD4082 (20-bit, like AD4080): lvds_cnv_clk_cnt_max 8 vs 7 - AD4085 (16-bit, like AD4084): lvds_cnv_clk_cnt_max 8 vs 2 - AD4088 (14-bit, like AD4087): lvds_cnv_clk_cnt_max 8 vs 1 Reviewed-by: Andy Shevchenko Reviewed-by: Nuno S=C3=A1 Signed-off-by: Antoniu Miclaus --- Changes in v3: - Merged individual per-device driver patches into a single patch adding AD4082, AD4085 and AD4088. drivers/iio/adc/ad4080.c | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/drivers/iio/adc/ad4080.c b/drivers/iio/adc/ad4080.c index 7cf3b6ed7940..fc261d3d7687 100644 --- a/drivers/iio/adc/ad4080.c +++ b/drivers/iio/adc/ad4080.c @@ -127,10 +127,13 @@ #define AD4080_SPI_READ BIT(7) #define AD4080_CHIP_ID 0x0050 #define AD4081_CHIP_ID 0x0051 +#define AD4082_CHIP_ID 0x0052 #define AD4083_CHIP_ID 0x0053 #define AD4084_CHIP_ID 0x0054 +#define AD4085_CHIP_ID 0x0055 #define AD4086_CHIP_ID 0x0056 #define AD4087_CHIP_ID 0x0057 +#define AD4088_CHIP_ID 0x0058 =20 #define AD4080_LVDS_CNV_CLK_CNT_MAX 7 =20 @@ -442,14 +445,20 @@ static const struct iio_chan_spec ad4080_channel =3D = AD4080_CHANNEL_DEFINE(20, 32) =20 static const struct iio_chan_spec ad4081_channel =3D AD4080_CHANNEL_DEFINE= (20, 32); =20 +static const struct iio_chan_spec ad4082_channel =3D AD4080_CHANNEL_DEFINE= (20, 32); + static const struct iio_chan_spec ad4083_channel =3D AD4080_CHANNEL_DEFINE= (16, 16); =20 static const struct iio_chan_spec ad4084_channel =3D AD4080_CHANNEL_DEFINE= (16, 16); =20 +static const struct iio_chan_spec ad4085_channel =3D AD4080_CHANNEL_DEFINE= (16, 16); + static const struct iio_chan_spec ad4086_channel =3D AD4080_CHANNEL_DEFINE= (14, 16); =20 static const struct iio_chan_spec ad4087_channel =3D AD4080_CHANNEL_DEFINE= (14, 16); =20 +static const struct iio_chan_spec ad4088_channel =3D AD4080_CHANNEL_DEFINE= (14, 16); + static const struct ad4080_chip_info ad4080_chip_info =3D { .name =3D "ad4080", .product_id =3D AD4080_CHIP_ID, @@ -470,6 +479,16 @@ static const struct ad4080_chip_info ad4081_chip_info = =3D { .lvds_cnv_clk_cnt_max =3D 2, }; =20 +static const struct ad4080_chip_info ad4082_chip_info =3D { + .name =3D "ad4082", + .product_id =3D AD4082_CHIP_ID, + .scale_table =3D ad4080_scale_table, + .num_scales =3D ARRAY_SIZE(ad4080_scale_table), + .num_channels =3D 1, + .channels =3D &ad4082_channel, + .lvds_cnv_clk_cnt_max =3D 8, +}; + static const struct ad4080_chip_info ad4083_chip_info =3D { .name =3D "ad4083", .product_id =3D AD4083_CHIP_ID, @@ -490,6 +509,16 @@ static const struct ad4080_chip_info ad4084_chip_info = =3D { .lvds_cnv_clk_cnt_max =3D 2, }; =20 +static const struct ad4080_chip_info ad4085_chip_info =3D { + .name =3D "ad4085", + .product_id =3D AD4085_CHIP_ID, + .scale_table =3D ad4080_scale_table, + .num_scales =3D ARRAY_SIZE(ad4080_scale_table), + .num_channels =3D 1, + .channels =3D &ad4085_channel, + .lvds_cnv_clk_cnt_max =3D 8, +}; + static const struct ad4080_chip_info ad4086_chip_info =3D { .name =3D "ad4086", .product_id =3D AD4086_CHIP_ID, @@ -510,6 +539,16 @@ static const struct ad4080_chip_info ad4087_chip_info = =3D { .lvds_cnv_clk_cnt_max =3D 1, }; =20 +static const struct ad4080_chip_info ad4088_chip_info =3D { + .name =3D "ad4088", + .product_id =3D AD4088_CHIP_ID, + .scale_table =3D ad4080_scale_table, + .num_scales =3D ARRAY_SIZE(ad4080_scale_table), + .num_channels =3D 1, + .channels =3D &ad4088_channel, + .lvds_cnv_clk_cnt_max =3D 8, +}; + static int ad4080_setup(struct iio_dev *indio_dev) { struct ad4080_state *st =3D iio_priv(indio_dev); @@ -666,10 +705,13 @@ static int ad4080_probe(struct spi_device *spi) static const struct spi_device_id ad4080_id[] =3D { { "ad4080", (kernel_ulong_t)&ad4080_chip_info }, { "ad4081", (kernel_ulong_t)&ad4081_chip_info }, + { "ad4082", (kernel_ulong_t)&ad4082_chip_info }, { "ad4083", (kernel_ulong_t)&ad4083_chip_info }, { "ad4084", (kernel_ulong_t)&ad4084_chip_info }, + { "ad4085", (kernel_ulong_t)&ad4085_chip_info }, { "ad4086", (kernel_ulong_t)&ad4086_chip_info }, { "ad4087", (kernel_ulong_t)&ad4087_chip_info }, + { "ad4088", (kernel_ulong_t)&ad4088_chip_info }, { } }; MODULE_DEVICE_TABLE(spi, ad4080_id); @@ -677,10 +719,13 @@ MODULE_DEVICE_TABLE(spi, ad4080_id); static const struct of_device_id ad4080_of_match[] =3D { { .compatible =3D "adi,ad4080", &ad4080_chip_info }, { .compatible =3D "adi,ad4081", &ad4081_chip_info }, + { .compatible =3D "adi,ad4082", &ad4082_chip_info }, { .compatible =3D "adi,ad4083", &ad4083_chip_info }, { .compatible =3D "adi,ad4084", &ad4084_chip_info }, + { .compatible =3D "adi,ad4085", &ad4085_chip_info }, { .compatible =3D "adi,ad4086", &ad4086_chip_info }, { .compatible =3D "adi,ad4087", &ad4087_chip_info }, + { .compatible =3D "adi,ad4088", &ad4088_chip_info }, { } }; MODULE_DEVICE_TABLE(of, ad4080_of_match); --=20 2.43.0