From nobody Mon Feb 9 16:17:10 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 4D71B30C347; Thu, 29 Jan 2026 15:28:04 +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=1769700485; cv=none; b=QPFCSGVZDckFMmscM9QFe63tlco+pHhQqz6KfrY+uvO+raacz3bph7KKVTtwuxzQyDGAN/hUz7w7457dYdZp3WQS5fEG/8K8aVEUSQeg/ShPGQ/FP/NxYY+DPnUZebcZt7tZ0piK+iLGNAPs0ew/V9b+9apxHQ2J2qqCXbNb0Qk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769700485; c=relaxed/simple; bh=EfEhAZia1vvxywCloQoiAeq3Iv5M1JcpChW5zrehlP8=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=sAeoi/LhugdRA3lu2H2cu+9SJ8aKp/WHpRbTBJNF531eTT/PVD/Kgklzy3q6UNrybHFtvffn4tTfLSLaZ3A0JWC09o6RnrkB3fjidoayDH/wl+8CHDS/kQHO/QUq/55ncPJbHA8tJpk0Mi8UaOIH1s+JyKkDBYEglo6/Kic2YLA= 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=D7caN6U1; 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="D7caN6U1" Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60TDonaZ009080; Thu, 29 Jan 2026 10:27:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=DKIM; bh=zNmZ1 ZToVHhVLeI4vZq2SGdxsSD9Eb7+F+YyKsv0tSM=; b=D7caN6U1GVC+mHOWJQgCN l4C/+xF1PNh3NtmiFLtVarxo0YSjEUtJgDD/YsxaX919df9/T1SH6Xn+s7NyqjO5 y6nYB+ux4971i8wU82nZ7HeFKBJJfa1eYkt4ul67JuBNNmjRgJy+2f+BiwR9xuu8 BgWB7boH9o3McPNyiC+Y1NwEnoYS8nySbLjzQV9LqfJd5bOXvd8EKa+Y3LbIRBwp YXAJcX790b6WImqYF9MLap4mJNwiQs4iSJGS8ZlIXuC2fobOUOrph9FwzbNWEOA8 /HF0g4bYAhxqBII1hHVb3VKZoWGnerHUW2mhaYerMxEUDOBu02bs3Kro0gLB1sSv A== Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 4c08su8dd5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 29 Jan 2026 10:27:49 -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 60TFRmOG042239 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 29 Jan 2026 10:27:48 -0500 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.1748.37; Thu, 29 Jan 2026 10:27:48 -0500 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) 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.1748.37; Thu, 29 Jan 2026 10:27:48 -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.1748.37 via Frontend Transport; Thu, 29 Jan 2026 10:27:48 -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 60TFRX1j002992; Thu, 29 Jan 2026 10:27:42 -0500 From: Antoniu Miclaus To: Lars-Peter Clausen , Michael Hennerich , Antoniu Miclaus , Jonathan Cameron , David Lechner , =?UTF-8?q?Nuno=20S=C3=A1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , Subject: [PATCH 1/2] dt-bindings: iio: adc: ad4080: add AD4880 support Date: Thu, 29 Jan 2026 17:27:29 +0200 Message-ID: <20260129152731.154368-2-antoniu.miclaus@analog.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260129152731.154368-1-antoniu.miclaus@analog.com> References: <20260129152731.154368-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-ORIG-GUID: rA9L361kNp5tKGAWpI98Qj3vLYy3tzOO X-Proofpoint-GUID: rA9L361kNp5tKGAWpI98Qj3vLYy3tzOO X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTI5MDEwNyBTYWx0ZWRfX4TfbJdt5QYT1 ICoY2xTSBHcfqt+5bqCTKadVzasfbLWG/Y3xwykIK43xFu6OkdBP5mt24iHeu0EAosZClDcFt85 AG7GEu9gjSbJntOVqSHtdDE0CCF76db7qV2H0W7WtyiGWLRjQ4I/Ejfi9anY39GesgO3rsN0f8d v5XcokThr9bqJN+VItP+uT1BigqR5QrOcsjO9E8vknf6uizcXZHVBk0j2vJ0f9RryeGP4/FclFP HGXAe/5rj/5xH6mJChcJ+3zXuM1DTU2knJqcm3c2p480gFAU/Xslv03upJY/dum02G/tr7Sg0P3 M2Se+PDN8agLQiEl8Wj+xdL/9r9R13N7a+IBCVFncsScZA8H5eqbUYUwfckv9lEF+FJ6GW1Zc6S /siA83PM8HEA21f9RGs/YOXw5LgVl8iNoTDKuBTvj+TZ47WksYdJbetTCWJ7jK9kZyDbhiLf+2i ckygecJ1yc4p0YHAgcA== X-Authority-Analysis: v=2.4 cv=IsgTsb/g c=1 sm=1 tr=0 ts=697b7c76 cx=c_pps a=3WNzaoukacrqR9RwcOSAdA==:117 a=3WNzaoukacrqR9RwcOSAdA==:17 a=vUbySO9Y5rIA:10 a=VkNPw1HP01LnGYTKEx00:22 a=gAnH3GRIAAAA:8 a=UQpGX_erbYJYhkMay1IA:9 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-01-29_02,2026-01-28_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 bulkscore=0 spamscore=0 adultscore=0 impostorscore=0 phishscore=0 clxscore=1015 malwarescore=0 suspectscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601290107 Content-Type: text/plain; charset="utf-8" Add AD4880 dual-channel ADC to the AD4080 bindings. The AD4880 is a dual-channel variant with two independent ADC channels, each with its own SPI configuration interface. For AD4880, the binding requires: - adi,aux-spi-cs property for secondary channel chip select - Two io-backends entries for each channel's data interface Signed-off-by: Antoniu Miclaus --- .../bindings/iio/adc/adi,ad4080.yaml | 49 ++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad4080.yaml b/Do= cumentation/devicetree/bindings/iio/adc/adi,ad4080.yaml index ccd6a0ac1539..3909e3095507 100644 --- a/Documentation/devicetree/bindings/iio/adc/adi,ad4080.yaml +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad4080.yaml @@ -18,6 +18,9 @@ description: | service a wide variety of precision, wide bandwidth data acquisition applications. =20 + The AD4880 is a dual-channel variant with two independent ADC channels, + each with its own SPI configuration interface. + https://www.analog.com/media/en/technical-documentation/data-sheets/ad40= 80.pdf =20 $ref: /schemas/spi/spi-peripheral-props.yaml# @@ -31,10 +34,18 @@ properties: - adi,ad4084 - adi,ad4086 - adi,ad4087 + - adi,ad4880 =20 reg: maxItems: 1 =20 + adi,aux-spi-cs: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Chip select for the auxiliary SPI interface used by multi-channel + devices like AD4880. Each additional channel beyond the first requir= es + its own SPI configuration interface on a separate chip select. + spi-max-frequency: description: Configuration of the SPI bus. maximum: 50000000 @@ -57,7 +68,8 @@ properties: vrefin-supply: true =20 io-backends: - maxItems: 1 + minItems: 1 + maxItems: 2 =20 adi,lvds-cnv-enable: description: Enable the LVDS signal type on the CNV pin. Default is CM= OS. @@ -78,6 +90,23 @@ required: - vdd33-supply - vrefin-supply =20 +allOf: + - if: + properties: + compatible: + contains: + const: adi,ad4880 + then: + properties: + io-backends: + minItems: 2 + required: + - adi,aux-spi-cs + else: + properties: + io-backends: + maxItems: 1 + additionalProperties: false =20 examples: @@ -98,4 +127,22 @@ examples: io-backends =3D <&iio_backend>; }; }; + - | + spi { + #address-cells =3D <1>; + #size-cells =3D <0>; + + adc@0 { + compatible =3D "adi,ad4880"; + reg =3D <0>; + adi,aux-spi-cs =3D <1>; + spi-max-frequency =3D <10000000>; + vdd33-supply =3D <&vdd33>; + vddldo-supply =3D <&vddldo>; + vrefin-supply =3D <&vrefin>; + clocks =3D <&cnv>; + clock-names =3D "cnv"; + io-backends =3D <&iio_backend_cha>, <&iio_backend_chb>; + }; + }; ... --=20 2.43.0