From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej2-f12.google.com (mail-ej2-f12.google.com [74.125.228.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 01A914FE2FB for ; Fri, 18 Sep 2026 15:26:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.228.140 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789745170; cv=none; b=I6oKyjxi0bf1BoRunLbYJQhMBTxSrMoO0+7lHEDFmfQh0k7KW8kjicZpCm2f6K6Nggs3lylEGLwTmyq6eiVoHknQb0bXdVF0o2MFmV5RlT1pCsIfqtAaQm0s1UPgaCMwLpcJ2y/ec/5+bK/EztEcvTi5Nqu1QBMSmFws8AEgt0k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789745170; c=relaxed/simple; bh=S4BbbDlFMvSPl2ab6YtXb/KsV0JNn8z1b6pr9Asc0Ds=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References: Content-Type:MIME-Version; b=JhnxYPWmQskkLSYLCmSTQH44nkz+QFuXE3v4XchGiHPuvHWtRxvwu4qOEiXqN5gTO7aad4j0VKOMw5EvrjJYCvxog0v/ilS+gia12HnAQUBgyW10nT2efplF1msOiwynrBoWwby9QBJiZc5XlCUdprMZ95bTpCnEqj2bJDOGzgk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=srIiNcV1; arc=none smtp.client-ip=74.125.228.140 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="srIiNcV1" Received: by mail-ej2-f12.google.com with SMTP id a640c23a62f3a-c2953a01240so138097666b.0 for ; Fri, 18 Sep 2026 08:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789745166; x=1790349966; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:content-type :references:in-reply-to:date:to:from:subject:message-id:from:to:cc :subject:date:message-id:reply-to:content-type; bh=S4BbbDlFMvSPl2ab6YtXb/KsV0JNn8z1b6pr9Asc0Ds=; b=srIiNcV1+31jY3wY5Zs5IYPLeYz9lw0Ixf6yqZAcU9auUHyoYPk44X+k+GgwoMw1eg KFHwAdkBYIbhjwTAnejc/qh0YmrOgBXIzJc9/0h2jo9OCStsX49YsYPfzstwawsr0l0L jJ/th+JYr6zLIWgymC+2fkJdbMtsVqkNHLgD6GalEYkZcWeZAFI8v7bGm10fycOTUwhX L7lSqs2QI7oJprUuQfgM5Z+aGdcsGlB9fWCrvQ/Qsco/dZi4tZCwQlxvYYCJ3tZ+2lsc WpTWMF/7u55nBfg8RP1jWklCf8G9J2rmM3BtfVMPpbpiyCPLQIbXzqb65WD/q6PSSUa1 B1Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789745166; x=1790349966; h=mime-version:user-agent:content-transfer-encoding:content-type :references:in-reply-to:date:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=S4BbbDlFMvSPl2ab6YtXb/KsV0JNn8z1b6pr9Asc0Ds=; b=dZKEqElurRPAaOLR6GszmN7qY9Sx+gBT8JYLMz+qwdMEycGrSRDHqfqn2m+f/LcgiJ o+jcMb0SyNmugoQ+9mAFHzY6g+W46DcLegt2Zoq1ts4sL3VUFj0Vh6OosfGmj1jy05sh x0uyZNPYUE2ql13Ynh0l/RNUJY2VWUfTep2hW36kzJbi7o8FbUSOb7broacKIYKTuiIZ tT7W+Q5nZ2jgpc//rug37Xe5Iub1fVhzQzPwAVsTzAB60cFSUERw/2bHfoLky96abU0N hMGTyzte0a09VJ76M5EMh12opo26is4YYEit6VnkzTd8YPfVDywjq31u69C6Wl+rP1ge ejcA== X-Forwarded-Encrypted: i=1; AKwUvByZmf4DSv2MlvbeIdzTYBHwyxLjPsm8LwYazWayrd3d4R6XMjDy6u2gLlFF3AuFrhFuJtBHk0rZlyY=@vger.kernel.org X-Gm-Message-State: AFuF++kbw+n9HiiYsfBtlZKWHoKuqKnFKQGBQGy5JEBTL5YxtxiGGSQj v+W3O7i/tvi4GI1VoopbUfZ4pvg96/61k6kkdK7FxyuPJbdEvS5bInC7 X-Gm-Gg: AYBFou27KRjXrgcm3lNUt/21cfKRiB4fpxW2QnWMhdIq8EBbog0Rm4MIM8XSzTd92a0 Vi0/V1145VdSzL1BBnhMEdsDCfgCEFwtbmCi2BtLujfFMTwW11aW/HspIg7BLudRnsqOcF+clBa eJlipdTjWNE1EnTbTDe1tlfvpKaqvIVOhuogIpT7gD8wKmLj29qXoMLyG4O1kCooI0GQ4OLNNZR TN9M8XjmHKijHsvWkOx3bhWox0WOhRbMVSbHnsFzn6H3kq1iYrgq8DelKcGl66WVdEObKL6ydgx +o3NlGB59D5VeWUdJ/QusqrfXLrJPE8KRb9QZGs4E3cQkeE1u9idXP7+/lHxpUGFZ3AhtJ50qAl lRp67iWWCoM7t2APwSTpeoZlJwtd4SMbytbK6lqOI5YsCw2lO+zHzRG6K7OVM+BIieZfSB+509W ZjVi7qwFhkN7L2vy7Svdeiijk+JXUYmoyyfb0MjwKB/TqviOF+yQJpqo1+O8q6JGvxWtPzrROR1 ldpEBcS8JleTCnCnSHk3J3eN3SUQUdp+9lrWao7CL83md2viUNqyjcTFeLywmCAmLeORg4D20Ft 6V6wMw== X-Received: by 2002:a05:6402:a0d7:b0:69c:6547:518b with SMTP id 4fb4d7f45d1cf-6aa577f4a28mr1746463a12.12.1789745165596; Fri, 18 Sep 2026 08:26:05 -0700 (PDT) Received: from ?IPv6:2001:818:ea56:d000:56e0:ceba:7da4:6673? ([2001:818:ea56:d000:56e0:ceba:7da4:6673]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6aa67c6d71fsm35507a12.2.2026.09.18.08.26.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Sep 2026 08:26:05 -0700 (PDT) Message-ID: <9fc012985151b1b79b5d6e3f16738397ac9f837f.camel@gmail.com> Subject: Re: [PATCH v2 0/6] iio: adc: ade9000: add ADE9430 support From: Nuno =?ISO-8859-1?Q?S=E1?= To: Antoniu Miclaus , Nuno =?ISO-8859-1?Q?S=E1?= , Michael Hennerich , 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 , linux-iio@vger.kernel.org, linux@analog.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Date: Fri, 18 Sep 2026 16:27:30 +0100 In-Reply-To: <20260918073537.1572-1-antoniu.miclaus@analog.com> References: <20260918073537.1572-1-antoniu.miclaus@analog.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.60.2 (3.60.2-1.fc44) Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Fri, 2026-09-18 at 10:35 +0300, Antoniu Miclaus wrote: > The ADE9430 is a polyphase energy metering device from the same family as > the ADE9000. It is register-compatible with the ADE9000 but omits the > on-chip dip/swell detection and has no on-chip digital integrator; it > relies on an external analog integrator for Rogowski coil current sensors= . >=20 > This series adds ADE9430 support to the existing ade9000 driver, reusing > the dip/swell-less channel table introduced for the ADE9078 and adding a > matching chip_info for the ADE9430 full-scale codes. A precursor patch > gates the DICOEFF register write behind a has_digital_integrator chip_inf= o > flag so it is skipped on parts without an on-chip digital integrator. >=20 > Patches 1 and 2 are standalone fixes carried with this series. Patch 1 > corrects the ADE9000 full-scale RMS/PCF codes to the same family-A values > the ADE9430 uses. Patch 2 fixes the DIPC event never being handled or > cleared, found by the sashiko review of v1. Both carry Fixes: tags and ca= n > be applied independently of the rest of the series. >=20 > Changes in v2: > - new patch: fix the DIPC event never being handled or cleared, found by > =C2=A0 the sashiko review of v1 (patch 2). > - new precursor patch: gate the DICOEFF write behind a has_digital_integr= ator > =C2=A0 chip_info flag, split out of the ADE9430 support patch. > - reuse ade9078_channels for the ADE9430 instead of adding a duplicate > =C2=A0 channel table. > - reword the documentation intro to "The supported parts are..." so it do= es > =C2=A0 not need updating for each new part. >=20 > v1: > https://lore.kernel.org/linux-iio/20260907101623.8730-1-antoniu.miclaus@a= nalog.com/ >=20 > Antoniu Miclaus (6): > =C2=A0 iio: adc: ade9000: fix ADE9000 full-scale RMS and PCF codes > =C2=A0 iio: adc: ade9000: fix DIPC event never being handled or cleared > =C2=A0 dt-bindings: iio: adc: adi,ade9000: add adi,ade9430 compatible > =C2=A0 iio: adc: ade9000: gate the DICOEFF write behind a chip_info flag > =C2=A0 iio: adc: ade9000: add support for ADE9430 > =C2=A0 docs: iio: ade9000: document ADE9430 support >=20 > =C2=A0.../bindings/iio/adc/adi,ade9000.yaml=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 | 22 ++++++----- > =C2=A0Documentation/iio/ade9000.rst=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 36 +++++++++= -------- > =C2=A0drivers/iio/adc/Kconfig=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 |=C2=A0 1 + > =C2=A0drivers/iio/adc/ade9000.c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 | 39 ++++++++++++++++--- > =C2=A04 files changed, 67 insertions(+), 31 deletions(-) >=20 >=20 > base-commit: edb91bc566576f6664a3efbad6bd4205aa1d5259 LGTM Reviewed-by: Nuno S=C3=A1