Re: [PATCH] dt-bindings: iio: adc: lltc,ltc2497: Make vref-supply optional for LTC2305/LTC2309

From: Krzysztof Kozlowski

Date: Fri Nov 13 2026 - 07:12:08 EST


On Tue, Nov 10, 2026 at 04:42:59PM +0800, Kyle Hsieh wrote:
> The LTC2305 and LTC2309 have an internal 4.096V reference, so their REF
> pin does not need to be driven by an external supply. The LTC2497 and
> LTC2499 have no internal reference and require one.
>
> Only require vref-supply for the LTC2497 and LTC2499, so boards using
> the internal reference can be described without a dummy regulator.
>
> Signed-off-by: Kyle Hsieh <kylehsieh1995@xxxxxxxxx>
> ---
> The ltc2309 driver already uses the internal reference when vref-supply
> is absent. This is needed by the Meta Ventura2 BMC devicetree, which
> describes LTC2305 ADCs that use their internal reference:
> https://lore.kernel.org/all/20261106-ventura2-dts-update-v1-0-b085ece9bf57@xxxxxxxxx/
> ---
> .../devicetree/bindings/iio/adc/lltc,ltc2497.yaml | 18 ++++++++++++++++--
> 1 file changed, 16 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml b/Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml
> index 4df5aadd1e1d..22abc6885b5a 100644
> --- a/Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml
> @@ -47,14 +47,28 @@ properties:
> - lltc,ltc2499
>
> reg: true
> - vref-supply: true

Blank line

> + vref-supply:
> + description:
> + Reference voltage supply. The LTC2305 and LTC2309 have an internal
> + 4.096V reference which is used when this property is absent.

Blank line here as well.

> "#io-channel-cells":
> const: 1

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>

Best regards,
Krzysztof