From nobody Fri Sep 25 23:50:56 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 32DDC379C22; Mon, 7 Sep 2026 10:18:52 +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=1788776334; cv=none; b=r2ucGprGzmQi+jDg8dv9q1QiaJGJgAUCksV5mWGuLWPWNqD9cMvPc4D+glRTmeGZIGloR7LrUVzrt7rHBPicO59kU9UKCn8vZMKw+hQ0Zzubs9tYAsIRZpkx/kUTfqfnfI8fi/JEbNeLLXlrJRTUZlA2qk/vqWtOGJ63JR7IZ44= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788776334; c=relaxed/simple; bh=KAyCQdJzFzjqYUOhcD0oPKc3/rJgr9YdLJM+JH1GEkA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YP3bb1QM4SOpOh7cegTP111oGDo1we0Iu4cRgU0AOYWDFskoAu22kHBk9XZsiO10ZUaqFpH/FujGTwNNFBGQlqat/PFvc9zmlLElPsP8WbKiYvEdtbvjgLFBuwSG5WJoVgadhhhOMFeoaoMflGunhRnyQFTBeD34z4wzcXVcqHQ= 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=EIKueeFV; 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="EIKueeFV" 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 6879YaWL3717672; Mon, 7 Sep 2026 06:18:28 -0400 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=3Lf7b 6KXiIgjWP91CS7SgdoKU3dxg9cni7R+EoNCMsw=; b=EIKueeFVSat8z2OLAvay7 sD84O3vmVZmTbBmine/hYoytwew2MC/tw2Rv6cPFSFOj41DBmwq8wjk+rqlZjdyR tOpNaTzpb+8rhPxzjn1sNPV8zbCOj+SS2IFNNEYX2PrEyM0Y4DgDTdN15F2GhNzp FAqPqtCq3Dg1NCkVEc83fOcuJ0jrt6kcdn+KsQpwcMkwNgdG1j74qAOLOS4GV36C PUSRh5Sx9lIuPHsVXAM6bVbf4+aMCRo339M1geRqYZm8nMmBQkbfAA73n2wUzw89 zHSOPJsdDeSqfY7VfBsww2dxzxg17itTZ/wyGdFMT92Yvy4k0RUjFFDncmMxCCoY A== Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 4gh4dg4d7r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Sep 2026 06:18:28 -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 687AIQo7010530 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Sep 2026 06:18:26 -0400 Received: from ASHBMBX9.ad.analog.com (10.64.17.10) 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.1748.37; Mon, 7 Sep 2026 06:18:26 -0400 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, 7 Sep 2026 06:18:26 -0400 Received: from HYB-b1tGeUj4GP1.ad.analog.com (HYB-b1tGeUj4GP1.ad.analog.com [10.48.65.185]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 687AI3Dd007412; Mon, 7 Sep 2026 06:18:21 -0400 From: Antoniu Miclaus To: =?UTF-8?q?Nuno=20S=C3=A1?= , Michael Hennerich , Antoniu Miclaus , Jonathan Cameron , David Lechner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , Shuah Khan , Randy Dunlap , Marcelo Schmitt , Joshua Crofts , Radu Sabau , Salih Erim , Jishnu Prakash , Jakub Szczudlo , , , , , CC: Subject: [PATCH 1/4] iio: adc: ade9000: fix ADE9000 full-scale RMS and PCF codes Date: Mon, 7 Sep 2026 13:16:18 +0300 Message-ID: <20260907101623.8730-2-antoniu.miclaus@analog.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260907101623.8730-1-antoniu.miclaus@analog.com> References: <20260907101623.8730-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: OgbgRtMnkzkMcjuNLIeec3qnNqlCEkPf X-Authority-Analysis: v=2.4 cv=f5N4wuyM c=1 sm=1 tr=0 ts=6a9e8f74 cx=c_pps a=3WNzaoukacrqR9RwcOSAdA==:117 a=3WNzaoukacrqR9RwcOSAdA==:17 a=VdqzKS8jKosA:10 a=VkNPw1HP01LnGYTKEx00:22 a=0sLvza09kfJOxVLZPwjg:22 a=OmVn7CZJonkx5R5zMQLL:22 a=VwQbUJbxAAAA:8 a=gAnH3GRIAAAA:8 a=ViKl6yswhRTQ_48acFcA:9 X-Proofpoint-GUID: OgbgRtMnkzkMcjuNLIeec3qnNqlCEkPf X-Proofpoint-Spam-Info: AW1haW4tMjYwOTA3MDExMiBTYWx0ZWRfX+clNOMwhLVoy lPbL0oa4TwBnX9MaIWddV6E6/fMcTbZVrR+/BuA77cCecZL8eWZkBGN/aVXUtrhNYCceTcc/Kif BvIl/GHR6V9afgTc1OZG8BxD4kjU26oUJlu3LDubdKYCtP2DaHu5 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTA3MDExMiBTYWx0ZWRfX5MzV/EQumGoX hqk1EfppT4dE2gaRNYYui8L/8HBy6Mkq65KhW8rDqsEKxnU4cN47F1ZhOsnQJPzadRf6w+wlX3S s0HMq3m3J/+sv87epzevvgfAac2aWVaXt47EySKBogmOj8++stDnSnOd05GnTfS2a15z4xvR78Y NqPribjevfh28eZpKoUYDjLcYPKPuXqnCxtokbMW3O3aYRG3vpEcVbvbS9j+Nxr7HJi42elCaLS T8geM7eN/6ahoiYNgALacN7TCQNwPQymfJylwVD364IDIcssVN3Gt+gPQyluIs7WjYawkZfD6pz CC/Y+8eyXFAUBLSX1GS9EdYIo6CpeBreqSlN2nVAlZeaif5CSV72nU5aau/AxPu+jP5BH6yRvuL 6ecWduaEj1Nm/jB5+c2atyYrbGH1LocpvAjqKzmMRb4i+0sBkNFdg3Yu9HEpQV/PpKoihM9G716 fNjySh/wMHc6Hq3Uw+g== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-07_02,2026-09-07_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 malwarescore=0 phishscore=0 bulkscore=0 priorityscore=1501 impostorscore=0 lowpriorityscore=0 adultscore=0 spamscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2609070112 Content-Type: text/plain; charset="utf-8" The ADE9000 chip_info uses full-scale codes that do not match the datasheet. The RMS full-scale code was set to 52866837, which is the ADE9078 value; per the ADE9000 datasheet the xRMS/xFRMS full-scale reading is 52702092. The PCF full-scale code was set to 74770000, a value that appears in no datasheet; the ADE9000 xI_PCF/xV_PCF full-scale reading is 74532013. Because the IIO scale of the RMS and PCF channels is reported as 1 / full_scale_codes, these wrong values make the affected current and voltage channels read about 0.3% low on real hardware. The active power (WATT) full-scale code was already correct and is left unchanged. These are the same family-A values already used by the ADE9430. Fixes: 81de7b4619fc ("iio: adc: add ade9000 support") Cc: stable@vger.kernel.org Signed-off-by: Antoniu Miclaus --- drivers/iio/adc/ade9000.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/adc/ade9000.c b/drivers/iio/adc/ade9000.c index fd1362a98052..0f64bfb221da 100644 --- a/drivers/iio/adc/ade9000.c +++ b/drivers/iio/adc/ade9000.c @@ -677,9 +677,9 @@ static const struct ade9000_chip_info ade9000_chip_info= =3D { .name =3D "ade9000", .channels =3D ade9000_channels, .num_channels =3D ARRAY_SIZE(ade9000_channels), - .rms_full_scale_codes =3D 52866837, + .rms_full_scale_codes =3D 52702092, .watt_full_scale_codes =3D 20694066, - .pcf_full_scale_codes =3D 74770000, + .pcf_full_scale_codes =3D 74532013, }; =20 static const struct ade9000_chip_info ade9078_chip_info =3D { --=20 2.43.0 From nobody Fri Sep 25 23:50:56 2026 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 B437240B6F4; Mon, 7 Sep 2026 10:18:54 +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=1788776336; cv=none; b=GmpFlw3rqja7V2N/cu2cN5pCWu0YQ6iR1j772x6YJjBH6APIe0QhK6WxMNEbvpdSfw+ciSF542nIVqPw5hIpI2DPLDxHE3uJJY2ZFYIFZKYeDaYtvqvL2c7tYgg+KLPCDLYaDeCO4Y3ve77HTkUBT3aJhaHR62ZPCBoAvaTedXs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788776336; c=relaxed/simple; bh=JAmfGYfnjhgXKx1bUAHG2lH9Gn4iPQnfrFBIhblsCOg=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=aW3u2D8X01YrJSmT+xUACUBhG8xC2Cp4V2hXQ/nn+q3M+lD9VWS/TODJh9Sfg0W9q2s7xDcXCvEKqMrfojNO5uClJZHYs0pPgPkcxolemgS64Txys+ocZm6aCfcCtuAwxtG3DjSgF3F5PU64sNFlFXYnYfNPBq1jYBf135JiJSA= 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=eTIUfDve; 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="eTIUfDve" Received: from pps.filterd (m0375855.ppops.net [127.0.0.1]) by mx0b-00128a01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6879YUmP2726524; Mon, 7 Sep 2026 06:18:31 -0400 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=PcLIl 504y0IUtrhz7ug4nvh0+gtGbDVMaODkxUjnFoQ=; b=eTIUfDveRuC6ttGKwSYRx tMbASjHFzHSdWkrTHzpMri71DK0DE2Q2nuyoxwvL00q80VwBY1O/6BsYKDyKTXuj Y3wwBRaFP0o0MrEd2EqcBgcTjRVmS2YFkab8FjMgf4Tx6X5HxTLwVB65Ip4IUqCc 3FAbBqDVd8pZUqNZ6QRI8fhnnnGHFdQ1fHHa1CgU/jyIYXfi/CANe6IbPOsaAtFI apgraeHPlOedsiP+kJ9OJGtOp7FesC3e6U3t9g44Z96kdZsuke452lzryxCMgQzh 1Ofj1Q20g7AqTO3DI3pYDedQQEqgP5icJt2TUD//e/t6uz4V7/tqutYb6OI5synw w== Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0b-00128a01.pphosted.com (PPS) with ESMTPS id 4gh1dbvunj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Sep 2026 06:18:31 -0400 (EDT) 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 687AITiZ010533 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Sep 2026 06:18:29 -0400 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, 7 Sep 2026 06:18:29 -0400 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, 7 Sep 2026 06:18:29 -0400 Received: from HYB-b1tGeUj4GP1.ad.analog.com (HYB-b1tGeUj4GP1.ad.analog.com [10.48.65.185]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 687AI3De007412; Mon, 7 Sep 2026 06:18:24 -0400 From: Antoniu Miclaus To: =?UTF-8?q?Nuno=20S=C3=A1?= , Michael Hennerich , Antoniu Miclaus , Jonathan Cameron , David Lechner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , Shuah Khan , Randy Dunlap , Marcelo Schmitt , Joshua Crofts , Radu Sabau , Salih Erim , Jishnu Prakash , Jakub Szczudlo , , , , , Subject: [PATCH 2/4] dt-bindings: iio: adc: adi,ade9000: add adi,ade9430 compatible Date: Mon, 7 Sep 2026 13:16:19 +0300 Message-ID: <20260907101623.8730-3-antoniu.miclaus@analog.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260907101623.8730-1-antoniu.miclaus@analog.com> References: <20260907101623.8730-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-Authority-Analysis: v=2.4 cv=XOsAjwhE c=1 sm=1 tr=0 ts=6a9e8f77 cx=c_pps a=3WNzaoukacrqR9RwcOSAdA==:117 a=3WNzaoukacrqR9RwcOSAdA==:17 a=IkcTkHD0fZMA:10 a=VdqzKS8jKosA:10 a=VkNPw1HP01LnGYTKEx00:22 a=0sLvza09kfJOxVLZPwjg:22 a=N--XFCr6TIEc_64PeIT2:22 a=gEfo2CItAAAA:8 a=gAnH3GRIAAAA:8 a=tT9GeYvpIO8S9_p5PeQA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwOTA3MDExMiBTYWx0ZWRfXygt6+f4oq5EP 35ULtjrs2NPnGJcuMRHfjO7I6gYQsCjRY1bjIVjLaDow9yritn5eAYaVYdnkp4jLtk4jE83cd/s hUmo2wsRFuX7z3x70Gga3fFbk495egl4OFxxy27MtZZ6z2FqX7nB X-Proofpoint-ORIG-GUID: d6oID1hpdAAahRz1A6pLlLrVMQ0z1fk4 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTA3MDExMiBTYWx0ZWRfX4LFZga9btXpv JFdl5GGvT5RnvbGUEqhonN0U7BuXVBNGbL25vCK9PPaZmUaTUwfnV5Aq1AytOoy8/i4Pg8mRrrn rUKqKXdrtTzUDg4neL0F/HB6QcnDPuSDq0gTvc4S1kqIpwbddBlGGjmwfXq78FHx+qwMG9J1Chm MdwnWRy8gNCZJcbwQ5Tvd5qm8vkjqT3+Q/fDSur3LG9pju15fHJgXGmpUUTNKPowcBH52fSVmL4 oPCWilZV5ujg68Az2ZrTlEA+EFmHnHxL5pcHvWHkqhogs7liPpe+ibXF+3pyDOlnf3eKMcaiK5M /q4stvbQhCGGYYIeq/r9OpfEjWvmd1rpeKICzqDrWBkoThTt8uD0LvGZX393iCWa/GG77xv14c5 br08gk0E47QhIZ4EH1YpdjWlWTl8gRRw8O0wos1o0Qy2KbkflFTaUfxSSNRsTvRR2F7A+p1eeyi XwFYJOa9fbbDppveFAg== X-Proofpoint-GUID: d6oID1hpdAAahRz1A6pLlLrVMQ0z1fk4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-07_02,2026-09-07_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 lowpriorityscore=0 clxscore=1011 priorityscore=1501 malwarescore=0 bulkscore=0 phishscore=0 impostorscore=0 adultscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2609070112 The ADE9430 is a polyphase energy metering device from the same family as the ADE9000. It is register-compatible with the ADE9000 but does not provide the on-chip dip/swell detection, and it has no on-chip digital integrator (it relies on an external analog integrator for Rogowski coil current sensors). Add the new compatible. No spi-max-frequency constraint is needed as the ADE9430 supports the same 20 MHz maximum SPI clock as the ADE9000. Signed-off-by: Antoniu Miclaus --- .../bindings/iio/adc/adi,ade9000.yaml | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ade9000.yaml b/D= ocumentation/devicetree/bindings/iio/adc/adi,ade9000.yaml index 1e940e8c7297..ec68e6887142 100644 --- a/Documentation/devicetree/bindings/iio/adc/adi,ade9000.yaml +++ b/Documentation/devicetree/bindings/iio/adc/adi,ade9000.yaml @@ -5,23 +5,26 @@ $id: http://devicetree.org/schemas/iio/adc/adi,ade9000.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# =20 -title: Analog Devices ADE9000/ADE9078 High Performance, Polyphase Energy M= etering +title: Analog Devices ADE9000/ADE9078/ADE9430 High Performance, Polyphase = Energy Metering =20 maintainers: - Antoniu Miclaus =20 description: | - The ADE9000 and ADE9078 are highly accurate, fully integrated, multiphase - energy and power quality monitoring devices. Superior analog performance= and a - digital signal processing (DSP) core enable accurate energy monitoring o= ver a - wide dynamic range. An integrated high end reference ensures low drift o= ver - temperature with a combined drift of less than =C2=B125 ppm/=C2=B0C maxi= mum for the - entire channel including a programmable gain amplifier (PGA) and an - analog-to-digital converter (ADC). The ADE9078 does not provide the on-c= hip - dip/swell detection available on the ADE9000. + The ADE9000, ADE9078 and ADE9430 are highly accurate, fully integrated, + multiphase energy and power quality monitoring devices. Superior analog + performance and a digital signal processing (DSP) core enable accurate e= nergy + monitoring over a wide dynamic range. An integrated high end reference e= nsures + low drift over temperature with a combined drift of less than =C2=B125 p= pm/=C2=B0C + maximum for the entire channel including a programmable gain amplifier (= PGA) + and an analog-to-digital converter (ADC). The ADE9078 and ADE9430 do not + provide the on-chip dip/swell detection available on the ADE9000, and the + ADE9430 has no on-chip digital integrator (it uses an external analog + integrator for Rogowski coils). =20 https://www.analog.com/media/en/technical-documentation/data-sheets/ADE9= 000.pdf https://www.analog.com/media/en/technical-documentation/data-sheets/ADE9= 078.pdf + https://www.analog.com/media/en/technical-documentation/data-sheets/ADE9= 430.pdf =20 $ref: /schemas/spi/spi-peripheral-props.yaml# =20 @@ -30,6 +33,7 @@ properties: enum: - adi,ade9000 - adi,ade9078 + - adi,ade9430 =20 reg: maxItems: 1 --=20 2.43.0 From nobody Fri Sep 25 23:50:56 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 58225453A22; Mon, 7 Sep 2026 10:18:54 +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=1788776335; cv=none; b=OILICALgZQ0Q6c2N7DIH+2WYRgdA8BHeju2C/3F+9pvOja08AoZUVyNbSfSM5Wjbd2990M7bGd943g//733dN3FmYUdqudwX1VTKJygq9bDc8+bsG+fTJMa3wvDcPjfdzQdZmBfKRuhX/8uwNKUdFQXA28TA+SOVQjGcgiLQGxY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788776335; c=relaxed/simple; bh=X/+lIyV5TKF2AbJW18CnbjUmNfk1Mnb+7p78luW1VJI=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IEnU43R5xmOdtGfQPajJVBt3Yxl8EmkjdEtYKwYY3Neb3/msuQw5xrca0bLq5n/73S7sAImcmjgmtZ8DcpDazJ/gIDzCyWuJhNfU7G/owN4p9CJsYzvI0OIbZwG3EDiDpA5ShpqqFwb/rwrfCIQZo7UHUAlYHD8huYIoC5YndZg= 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=rLTuNIB2; 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="rLTuNIB2" 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 6879YUMR3717590; Mon, 7 Sep 2026 06:18:35 -0400 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=EOWZW y8P1tAUb6fCC4AZoR8Sqsm1fd7G8oHqhkC9B+g=; b=rLTuNIB2A5JYJ3iiPLoMx GGQFFHtjPrPeP9fGcqOIc/spvV5z7JI+o6+mDiXdUQhxMSgNhUmj6dBz7E4X8DcA YDtnU/Pkik+iuXGOZ4qRbHWxahuzB+h3yeV02M/r+AxQ0oHMa6D+5FMmNyM7mFLX cTqWDTxEubRkJ8Bagz5YSQrVMKh5nSdHDgq1PcgN+MGiwFN4v40UWwtK+oyvlUM7 EeELT3iwfrJcGOvpRigCRBoyh/y1EJ+Qxqqfilba5NKKHxMs+OvC9sA1y7yhkhhl ts6jwUWuUuEq2+OuczqycPLgmmILJpZD8viwb3wT6oCt5LQ/c4TzKahOleT3Leqo g== Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 4gh4dg4d81-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Sep 2026 06:18:34 -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 687AIX0q010539 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Sep 2026 06:18:33 -0400 Received: from ASHBCASHYB5.ad.analog.com (10.64.17.133) 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.1748.37; Mon, 7 Sep 2026 06:18:33 -0400 Received: from ASHBMBX9.ad.analog.com (10.64.17.10) 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; Mon, 7 Sep 2026 06:18:33 -0400 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, 7 Sep 2026 06:18:33 -0400 Received: from HYB-b1tGeUj4GP1.ad.analog.com (HYB-b1tGeUj4GP1.ad.analog.com [10.48.65.185]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 687AI3Df007412; Mon, 7 Sep 2026 06:18:27 -0400 From: Antoniu Miclaus To: =?UTF-8?q?Nuno=20S=C3=A1?= , Michael Hennerich , Antoniu Miclaus , Jonathan Cameron , David Lechner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , "Shuah Khan" , Randy Dunlap , Marcelo Schmitt , Joshua Crofts , Radu Sabau , Salih Erim , Jishnu Prakash , "Jakub Szczudlo" , , , , , Subject: [PATCH 3/4] iio: adc: ade9000: add support for ADE9430 Date: Mon, 7 Sep 2026 13:16:20 +0300 Message-ID: <20260907101623.8730-4-antoniu.miclaus@analog.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260907101623.8730-1-antoniu.miclaus@analog.com> References: <20260907101623.8730-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: hh-qvLzKMaeL9gZEDUJ3diqwseDUTTvP X-Authority-Analysis: v=2.4 cv=f5N4wuyM c=1 sm=1 tr=0 ts=6a9e8f7a cx=c_pps a=3WNzaoukacrqR9RwcOSAdA==:117 a=3WNzaoukacrqR9RwcOSAdA==:17 a=VdqzKS8jKosA:10 a=VkNPw1HP01LnGYTKEx00:22 a=0sLvza09kfJOxVLZPwjg:22 a=OmVn7CZJonkx5R5zMQLL:22 a=gAnH3GRIAAAA:8 a=Qowmki7bGa4GvelHUEEA:9 X-Proofpoint-GUID: hh-qvLzKMaeL9gZEDUJ3diqwseDUTTvP X-Proofpoint-Spam-Info: AW1haW4tMjYwOTA3MDExMiBTYWx0ZWRfX6bWZU1qE9jQv Amjeuz0SNrgSbCovppW3Lje5SrfQkUyvntr4x03xDUNyBqDSiFsVWVcv3Xu00ntHu41aAVDr+xx lQicvcf1j3+JnEUWcD84ofSQ8g841TTEzbxcXc3JTEtpgReEOVlH X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTA3MDExMiBTYWx0ZWRfXxsnmo8J70Zt4 9gzunmhYVV2F3HP+VAh7J81Y3wtW7gz6qQsLVTOSs+G1ryjkh8RSA7H4VjCL7d7tWiWrCSdyNNf 1ck7ndsiw58TYUWMVbbDunOwwwIQFOTthTSoxUHH5aF9ap5AQz9C2pMS+h4KUsjgn/ZhPzyiyIV giyONMiA8jZuhgNnS1sA3GVLaVW03gQ4YL134KvrLxrDT0Oy/JuXZ5bghNhs+ytQK91rLoEo8KC hBmnJNUXhd0N/1pLZE2E8W9cYux3mVgeFLxPlqGQMwpGSwxJOsg3FOtIWZJtHbElVPSpyXA7qPj 4KdHxMyh+94PPftJMZm71CNFYSNUznRBEoCDSKJnjdAztGGNZGkp/ovfXQYMzQUjM62moVeMm5W KO9TxFFXF2t8qr5t/cNL5+/icKyH3GNoZYLkfJJJumgMM0QYOIbaOj3fqMeR2Hxd4ydWF23tJrw mAuanEyyj88dbvh9ETQ== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-07_02,2026-09-07_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 malwarescore=0 phishscore=0 bulkscore=0 priorityscore=1501 impostorscore=0 lowpriorityscore=0 adultscore=0 spamscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2609070112 Content-Type: text/plain; charset="utf-8" The ADE9430 is a polyphase energy metering device that is register compatible with the ADE9000. The differences relevant to the driver are the absence of the on-chip dip/swell detection, the absence of an on-chip digital integrator (the ADE9430 uses an external analog integrator for Rogowski coils, so the DICOEFF register does not exist) and slightly different full-scale ADC codes. Reuse the dip/swell-less channel table introduced for the ADE9078 and add a matching chip_info describing the ADE9430 full-scale codes. Add a has_digital_integrator flag to the chip_info so the DICOEFF write is only issued on parts that implement the register, and skip it for the ADE9430. Signed-off-by: Antoniu Miclaus --- drivers/iio/adc/Kconfig | 1 + drivers/iio/adc/ade9000.c | 25 ++++++++++++++++++++++++- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 6431592c5fa3..85a10524c76a 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -587,6 +587,7 @@ config ADE9000 integrated circuits: - ADE9000 - ADE9078 + - ADE9430 =20 The devices feature high-precision analog-to-digital converters and digital signal processing to compute RMS values, power factor, diff --git a/drivers/iio/adc/ade9000.c b/drivers/iio/adc/ade9000.c index 0f64bfb221da..2f5fe016a82f 100644 --- a/drivers/iio/adc/ade9000.c +++ b/drivers/iio/adc/ade9000.c @@ -290,6 +290,7 @@ enum ade9000_wfb_cfg { * @rms_full_scale_codes: digital code produced at full-scale RMS input * @watt_full_scale_codes: digital code produced at full-scale power input * @pcf_full_scale_codes: digital code produced at full-scale xI_PCF/xV_PC= F input + * @has_digital_integrator: part has an on-chip digital integrator (DICOEF= F) * * The full-scale codes are taken from the respective datasheets and are u= sed to * derive the IIO scale of the raw measurement channels. @@ -301,6 +302,7 @@ struct ade9000_chip_info { unsigned int rms_full_scale_codes; unsigned int watt_full_scale_codes; unsigned int pcf_full_scale_codes; + bool has_digital_integrator; }; =20 struct ade9000_state { @@ -668,6 +670,7 @@ static const struct iio_chan_spec_ext_info ade9000_ext_= info[] =3D { =20 ADE9000_DECLARE_CHANNELS(ade9000_channels, ADE9000_ALTVOLTAGE_RMS_CHANNEL); ADE9000_DECLARE_CHANNELS(ade9078_channels, ADE9000_ALTVOLTAGE_RMS_CHANNEL_= NO_EVENTS); +ADE9000_DECLARE_CHANNELS(ade9430_channels, ADE9000_ALTVOLTAGE_RMS_CHANNEL_= NO_EVENTS); =20 /* * Full-scale codes referred from the respective datasheets. These are the @@ -680,6 +683,7 @@ static const struct ade9000_chip_info ade9000_chip_info= =3D { .rms_full_scale_codes =3D 52702092, .watt_full_scale_codes =3D 20694066, .pcf_full_scale_codes =3D 74532013, + .has_digital_integrator =3D true, }; =20 static const struct ade9000_chip_info ade9078_chip_info =3D { @@ -689,6 +693,16 @@ static const struct ade9000_chip_info ade9078_chip_inf= o =3D { .rms_full_scale_codes =3D 52866837, .watt_full_scale_codes =3D 20823646, .pcf_full_scale_codes =3D 74680000, + .has_digital_integrator =3D true, +}; + +static const struct ade9000_chip_info ade9430_chip_info =3D { + .name =3D "ade9430", + .channels =3D ade9430_channels, + .num_channels =3D ARRAY_SIZE(ade9430_channels), + .rms_full_scale_codes =3D 52702092, + .watt_full_scale_codes =3D 20694066, + .pcf_full_scale_codes =3D 74532013, }; =20 static const struct reg_sequence ade9000_initialization_sequence[] =3D { @@ -704,7 +718,6 @@ static const struct reg_sequence ade9000_initialization= _sequence[] =3D { { ADE9000_REG_EVENT_MASK, ADE9000_EVENT_DISABLE }, { ADE9000_REG_WFB_CFG, ADE9000_WFB_CFG }, { ADE9000_REG_VLEVEL, ADE9000_VLEVEL }, - { ADE9000_REG_DICOEFF, ADE9000_DICOEFF }, { ADE9000_REG_EGY_TIME, ADE9000_EGY_TIME }, { ADE9000_REG_EP_CFG, ADE9000_EP_CFG }, /* Clear all pending status bits by writing 1s */ @@ -1672,6 +1685,14 @@ static int ade9000_setup(struct ade9000_state *st) if (ret) return dev_err_probe(dev, ret, "Failed to write register sequence"); =20 + /* The ADE9430 has no on-chip digital integrator and lacks DICOEFF. */ + if (st->info->has_digital_integrator) { + ret =3D regmap_write(st->regmap, ADE9000_REG_DICOEFF, + ADE9000_DICOEFF); + if (ret) + return dev_err_probe(dev, ret, "Failed to set DICOEFF\n"); + } + fsleep(2000); =20 return 0; @@ -1842,6 +1863,7 @@ static int ade9000_probe(struct spi_device *spi) static const struct spi_device_id ade9000_id[] =3D { { .name =3D "ade9000", .driver_data =3D (kernel_ulong_t)&ade9000_chip_inf= o }, { .name =3D "ade9078", .driver_data =3D (kernel_ulong_t)&ade9078_chip_inf= o }, + { .name =3D "ade9430", .driver_data =3D (kernel_ulong_t)&ade9430_chip_inf= o }, { } }; MODULE_DEVICE_TABLE(spi, ade9000_id); @@ -1849,6 +1871,7 @@ MODULE_DEVICE_TABLE(spi, ade9000_id); static const struct of_device_id ade9000_of_match[] =3D { { .compatible =3D "adi,ade9000", .data =3D &ade9000_chip_info }, { .compatible =3D "adi,ade9078", .data =3D &ade9078_chip_info }, + { .compatible =3D "adi,ade9430", .data =3D &ade9430_chip_info }, { } }; MODULE_DEVICE_TABLE(of, ade9000_of_match); --=20 2.43.0 From nobody Fri Sep 25 23:50:56 2026 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 BAC3D411F95; Mon, 7 Sep 2026 10:19:48 +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=1788776390; cv=none; b=WZqS6IIq9lfnPeRbtN47M1n2Kcuc4uVaWFHQp3hWHeTUppqb71RENOpIuxGJUxiLgApOHvaikCLXMPgD664zLvyBDM/GgJtaVLUX/6GjIQM9A7RgN7kGAip0qUrfMScmkeFxStmci05y+m27U7wDldTzUFjfN5VN5JhRyjLgmIs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788776390; c=relaxed/simple; bh=AeDehaS3lnZVD+uqFs7acviz1mmh7H0aERDlWs6DYjA=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=V/58C2D2Pg1JJy7dRvycGCAo1j+W4Q1WHbevWiR35QqL+h3c4VQ66jeGsxX6Hy9qNlIwomRaDUs5OnMEXrevC4B/qEdg57fs840KWCHnafja/kRj1kAUE8i2nUXaoGuCU8M04C46BgyKfAI7uQHKUn7ndmrcmCblt37a8UsakK4= 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=y2tlmDd9; 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="y2tlmDd9" Received: from pps.filterd (m0375855.ppops.net [127.0.0.1]) by mx0b-00128a01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6879YNfb2726330; Mon, 7 Sep 2026 06:19:32 -0400 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=jkmVh fazNEFBnoGm+hy/0GNdF8QmsKMbuWiFAzVD0z0=; b=y2tlmDd9Ls3gAeqymZ5tj +SZH4Jl7Qu+oCNpwgAMpC5zsufecLLwPduFda8oxB7PcenWf1KuC0JLZlmU3dCgZ puhtuvHpnh5eP5HurqexwFCJOOIRmA9/FWWySKVboeTseq+u4CEaIOHKSxD4t/PB vlmAHq0BfgQystTuIjN5hw/DrSghUXo6gpB+c171GG3CdvTjWKIH76EK0/OblnEc 6UMKuJEDTN7pCOjX2P4tiYA6QkSgK7krlQ7zt6TYZub1LyMxtHPD6YzktbrjCAOB HoiCJ7i7hN18EGco5KFQGAWOYvdAjcKvibqEFJbWH1F7Yl33TWosGZVV86D86quD w== Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0b-00128a01.pphosted.com (PPS) with ESMTPS id 4gh1dbvuqb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Sep 2026 06:19:31 -0400 (EDT) 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 687AJUAE010597 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Sep 2026 06:19:30 -0400 Received: from ASHBCASHYB4.ad.analog.com (10.64.17.132) 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, 7 Sep 2026 06:19:30 -0400 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.1748.37; Mon, 7 Sep 2026 06:18:38 -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.1748.37 via Frontend Transport; Mon, 7 Sep 2026 06:18:38 -0400 Received: from HYB-b1tGeUj4GP1.ad.analog.com (HYB-b1tGeUj4GP1.ad.analog.com [10.48.65.185]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 687AI3Dg007412; Mon, 7 Sep 2026 06:18:31 -0400 From: Antoniu Miclaus To: =?UTF-8?q?Nuno=20S=C3=A1?= , Michael Hennerich , Antoniu Miclaus , Jonathan Cameron , David Lechner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , "Shuah Khan" , Randy Dunlap , Marcelo Schmitt , Joshua Crofts , Radu Sabau , Salih Erim , Jishnu Prakash , "Jakub Szczudlo" , , , , , Subject: [PATCH 4/4] docs: iio: ade9000: document ADE9430 support Date: Mon, 7 Sep 2026 13:16:21 +0300 Message-ID: <20260907101623.8730-5-antoniu.miclaus@analog.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260907101623.8730-1-antoniu.miclaus@analog.com> References: <20260907101623.8730-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-Authority-Analysis: v=2.4 cv=XOsAjwhE c=1 sm=1 tr=0 ts=6a9e8fb4 cx=c_pps a=3WNzaoukacrqR9RwcOSAdA==:117 a=3WNzaoukacrqR9RwcOSAdA==:17 a=IkcTkHD0fZMA:10 a=VdqzKS8jKosA:10 a=VkNPw1HP01LnGYTKEx00:22 a=0sLvza09kfJOxVLZPwjg:22 a=N--XFCr6TIEc_64PeIT2:22 a=gAnH3GRIAAAA:8 a=91yIaBucF7qhNAsP3n4A:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 X-Proofpoint-Spam-Info: AW1haW4tMjYwOTA3MDExMyBTYWx0ZWRfX+xO4RbdqucOZ pJliXDAHvdxhnIDbcLw4MbqaZjEhtq/xrpq1Fz6P39660FRcH4EYAZDQ6h3HsvgXqxhUAFIdlmL mNw/s8j4nGk5dTZSgGSdP65IFInbn3DuVXJ6wPsCm0cKMfaPSuA6 X-Proofpoint-ORIG-GUID: ZG7r8CVvf5mQIUmKzBRRRMmwmsVsK69s X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTA3MDExMyBTYWx0ZWRfXw9lYtqTbdvcF JlED/n9TadSw+DmeR3MHaqLuRpzABOi2tgUJY0UaL6HdwDddrHoPaA+iXWNwsbJC4sgJryMRKb1 xN88LEq2KPbcOrMTsSYNQNDmkizFYWBsrqhBR3DtPphY6gWuP3q5Uc9GDcjJhAmYZ5TQk23mBkM /1aAzeiSgI0Dzm16mWOagN52JZMD9q23SVornVmTPeBp5C6sf97r/jlDKbhxbc1+8+sAVzCY31G UOaa4Qe38HDCYU8or01ddeAtqvzgMfuCE0+CVM3GYQGRsA/k/SlhHLEWWisJx0SYNr7M8yHceVQ zIq7xWT44j/km65dOEb64XXaz/mhXi4QdtXBD7s1nioOl06tCd+TxSOh0bxIyXyQrbdSxFQP2VO tvn0J8520sLYN9f0TJZfL3ucvkvd939RmJGn/ugbSAXvr5oaILz9Mlr1gLkXpvrVy9dyGSOXNG5 Rs8qubYaUa4YnDfMxuQ== X-Proofpoint-GUID: ZG7r8CVvf5mQIUmKzBRRRMmwmsVsK69s X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-07_02,2026-09-07_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 lowpriorityscore=0 clxscore=1011 priorityscore=1501 malwarescore=0 bulkscore=0 phishscore=0 impostorscore=0 adultscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2609070113 Add the ADE9430 to the list of supported devices and note that, like the ADE9078, it does not provide the on-chip dip/swell voltage events. Also note that the ADE9430 has no on-chip digital integrator and instead uses an external analog integrator for Rogowski coils. Signed-off-by: Antoniu Miclaus --- Documentation/iio/ade9000.rst | 36 ++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/Documentation/iio/ade9000.rst b/Documentation/iio/ade9000.rst index 72737b5ec59c..881b7ff2ad3e 100644 --- a/Documentation/iio/ade9000.rst +++ b/Documentation/iio/ade9000.rst @@ -1,29 +1,31 @@ .. SPDX-License-Identifier: GPL-2.0 =20 -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -ADE9000/ADE9078 driver -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D +ADE9000/ADE9078/ADE9430 driver +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D =20 -This driver supports Analog Device's ADE9000 and ADE9078 energy measurement -ICs on SPI bus. +This driver supports Analog Device's ADE9000, ADE9078 and ADE9430 energy +measurement ICs on SPI bus. =20 1. Supported devices =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 * `ADE9000 `_ * `ADE9078 `_ - -The ADE9000 and ADE9078 are highly accurate, fully integrated, multiphase = energy -and power quality monitoring devices. Superior analog performance and a di= gital -signal processing (DSP) core enable accurate energy monitoring over a wide -dynamic range. An integrated high end reference ensures low drift over -temperature with a combined drift of less than =C2=B125 ppm/=C2=B0C maximu= m for the entire -channel including a programmable gain amplifier (PGA) and an analog-to-dig= ital -converter (ADC). - -The ADE9078 does not provide the on-chip dip/swell (sag) detection availab= le on -the ADE9000, so the RMS voltage swell/dip events described below are only -available on the ADE9000. +* `ADE9430 `_ + +The ADE9000, ADE9078 and ADE9430 are highly accurate, fully integrated, +multiphase energy and power quality monitoring devices. Superior analog +performance and a digital signal processing (DSP) core enable accurate ene= rgy +monitoring over a wide dynamic range. An integrated high end reference ens= ures +low drift over temperature with a combined drift of less than =C2=B125 ppm= /=C2=B0C maximum +for the entire channel including a programmable gain amplifier (PGA) and an +analog-to-digital converter (ADC). + +The ADE9078 and ADE9430 do not provide the on-chip dip/swell (sag) detecti= on +available on the ADE9000, so the RMS voltage swell/dip events described be= low are +only available on the ADE9000. The ADE9430 additionally has no on-chip dig= ital +integrator and instead uses an external analog integrator for Rogowski coi= ls. =20 2. Device attributes =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 2.43.0