[PATCH v5 2/3] dt-bindings: iio: adc: Add Nuvoton MA35D1 EADC

Jonathan Cameron jic23 at kernel.org
Sat Nov 28 16:12:55 PST 2026


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




More information about the linux-arm-kernel mailing list