Devicetree
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Chi-Wen Weng <cwweng.linux@gmail.com>
Cc: Rob Herring <robh@kernel.org>,
	krzk+dt@kernel.org, conor+dt@kernel.org, dlechner@baylibre.com,
	nuno.sa@analog.com, andy@kernel.org,
	Victor Chernyakin <chernyakin.victor.j@outlook.com>,
	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
Date: Sun, 29 Nov 2026 00:12:55 +0000	[thread overview]
Message-ID: <20261129001255.0a56382e@jic23-hlaptop> (raw)
In-Reply-To: <8c25cc7f-5c8f-4bb7-b82f-0f2d1933e334@gmail.com>

On Wed, 25 Nov 2026 09:40:43 +0800
Chi-Wen Weng <cwweng.linux@gmail.com> 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
> 
> 


  reply	other threads:[~2026-11-29  0:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-17  8:28 [PATCH v5 0/3] iio: adc: Add Nuvoton MA35D1 EADC support Chi-Wen Weng
2026-11-17  8:28 ` [PATCH v5 1/3] dt-bindings: iio: adc: Fix channel property validation Chi-Wen Weng
2026-11-18 16:31   ` Rob Herring (Arm)
2026-11-17  8:28 ` [PATCH v5 2/3] dt-bindings: iio: adc: Add Nuvoton MA35D1 EADC Chi-Wen Weng
2026-11-17  8:42   ` sashiko-bot
2026-11-25  1:40     ` Chi-Wen Weng
2026-11-29  0:12       ` Jonathan Cameron [this message]
2026-11-18 16:33   ` Rob Herring (Arm)
2026-11-17  8:28 ` [PATCH v5 3/3] iio: adc: Add Nuvoton MA35D1 EADC driver Chi-Wen Weng
2026-11-17  9:43   ` Andy Shevchenko
2026-11-22  3:06   ` Jonathan Cameron
2026-11-24  8:41     ` Chi-Wen Weng
2026-11-29  0:17       ` Jonathan Cameron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261129001255.0a56382e@jic23-hlaptop \
    --to=jic23@kernel.org \
    --cc=andy@kernel.org \
    --cc=chernyakin.victor.j@outlook.com \
    --cc=conor+dt@kernel.org \
    --cc=cwweng.linux@gmail.com \
    --cc=cwweng@nuvoton.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nuno.sa@analog.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox