From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795911184; b=NtSEm9rpZ6fP066RlHfHG0mYAJlLznIxuRehCn1Mh+kglwvG3MukBaTtb59Qdue5Q1pA N27zyI5HgksnI26m1af7AgYS9uwOeS5pIXmCtvG1QGr361tLLkVItTEQXGF4BHT4JSBL/ QaV5tcLqXLVA+IcDIM2jWe3f7lFKoUsoK3/3dm8gNGz98RIEH0IHqfe2n0Ff5uLXGrJGL Eo1yMDpheZs7AWVF31d9TloLH6DikhN7g3xBpZQ0S/IFrcFKp1sVYoZqiisEkv/Mc4t32 S4mdvOg6rEb9LvL6rAUYbvwKSL6qDZrJD1l5swGPNO/eN8Sg3icL26Hvhm8kaKPAFhQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795911184; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:X-Mailer:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=niu2ll9by7Ff7ySZb1daA6d8SCaxRJxLOTBgEG6QcOk=; b=Gm0wMQmB1DrnqwUIFkM6QwoCyY8EEW5tPR/HRgmWmQnLdMUoPqvy9cYv+ABPXVo4FVpR DoOVs7XTYJl9MQ+s9CrlDScZjpdVWeqyfrTR0aP2Y0SWs4wB8Rx2J5AqR5mWPYPVrYoAv n853M9g24slXG6iBtwHxq8+9l7vNA8I8PW6meyaVpEpwJwr8KQzM63A4cpsdPXmWPC3U5 uc/zSwLF5Qv7tH3dTqzJ6pqrE3DegW9crdfAlIyVMKJwRYRGajEHQ4Y4dB+3FX9Bxw1J0 wrZjASzQe6jxqIsQPFNuFwpjFwlK4Fc2rzI4lFiGk9fYuQ11qnKbecTJ4HkroDXmZuA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Nk7w1Au7; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E74FA606A31C; Sun, 29 Nov 2026 00:13:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Nk7w1Au7 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 285751F000C1; Sun, 29 Nov 2026 00:12:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795911183; bh=niu2ll9by7Ff7ySZb1daA6d8SCaxRJxLOTBgEG6QcOk=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=Nk7w1Au7ihWjF2EWvaM8pjaEfe3DSMjgLp8SxmwrsJts/+Ul3wpjfUMx132KPzmvb 8upvCx2NehWXBy3vzhzlgXrNP+pInzwDHBVPF2igWTUrQ9jLcg1nDWRlNnvZrk3esf QurSX82umtXjwefIGPvWduVHh4X6My3Tt7qhyEfNwmCsS4N/MqNSema8NFlfKMcuOA fiS2SucUZ+q504HAarKPdj7gk2ZCrckAEQlEuB+T61pDep1s2mmBaAhYhfIvjrZ8BW APoaJaBi8H14Y+6p/EdTfTfbACQdt1T4oxeyhA1D3Y5kJvVNw1I+T/vgUV4rabLyYa S6Futj234UZ9w== Date: Sun, 29 Nov 2026 00:12:55 +0000 From: Jonathan Cameron To: Chi-Wen Weng Cc: Rob Herring , krzk+dt@kernel.org, conor+dt@kernel.org, dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org, Victor Chernyakin , linux-arm-kernel@lists.infradead.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, cwweng@nuvoton.com Subject: Re: [PATCH v5 2/3] dt-bindings: iio: adc: Add Nuvoton MA35D1 EADC Message-ID: <20261129001255.0a56382e@jic23-hlaptop> In-Reply-To: <8c25cc7f-5c8f-4bb7-b82f-0f2d1933e334@gmail.com> References: <20261117082832.1551574-1-cwweng.linux@gmail.com> <20261117082832.1551574-3-cwweng.linux@gmail.com> <8c25cc7f-5c8f-4bb7-b82f-0f2d1933e334@gmail.com> X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-pc-linux-gnu) X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 25 Nov 2026 09:40:43 +0800 Chi-Wen Weng wrote: > Hi Jonathan, Rob, > > Following Jonathan's earlier comment and the Sashiko review about the > internal VBAT channel, I'd like to clarify the intended IIO channel > numbering. > > The current driver only supports external channels 0-7. The internal > VBAT input is not supported yet and does not require a DT child node. > > Would it make sense to reserve IIO channel specifier 8 for VBAT in the > binding, while keeping #io-channel-cells = <1>? > > External channel specifiers 0-7 would continue to refer to the > corresponding child node reg values. VBAT would use specifier 8 without > a child node once driver support is added. > > The current binding also requires at least one external channel child > node, so a VBAT-only configuration would remain unsupported for now. > > Would you prefer to document the reserved VBAT specifier in v6, or leave > the binding unchanged until VBAT support is implemented? > I'd document it. We have had a few cases of confusion around this recently so I think calling out that there are additional channels that don't have channel nodes but are accessible via of_xlate is useful. Perhaps add it as a description for io-channel-cells? > Thanks, > Chi-Wen > >