[PATCH v4 1/3] dt-bindings: iio: adc: ltc2497: add lltc,ltc2495 bindings

Yusuf Alper Bilgin posted 3 patches 1 month, 2 weeks ago
[PATCH v4 1/3] dt-bindings: iio: adc: ltc2497: add lltc,ltc2495 bindings
Posted by Yusuf Alper Bilgin 1 month, 2 weeks ago
Update the binding documentation for LTC2497 to include LTC2495 to
enable support for its internal temperature sensor, which requires a
different I2C command format and a new IIO channel.

Signed-off-by: Yusuf Alper Bilgin <y.alperbilgin@gmail.com>
---
 Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml b/Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml
index 5cc6a96840778473895f436b7e2627d6240b254b..2a3e3dcc6ca7a48a0fccb88d8d42fee34efcff73 100644
--- a/Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml
@@ -17,11 +17,13 @@ description: |
 
     https://www.analog.com/media/en/technical-documentation/data-sheets/2309fd.pdf
 
+  LTC2495:
   LTC2497:
   LTC2499:
     16bit ADC supporting up to 16 single ended or 8 differential inputs.
     I2C interface.
 
+    https://www.analog.com/media/en/technical-documentation/data-sheets/2495fe.pdf
     https://www.analog.com/media/en/technical-documentation/data-sheets/2497fb.pdf
     https://www.analog.com/media/en/technical-documentation/data-sheets/2499fe.pdf
 
@@ -29,6 +31,7 @@ properties:
   compatible:
     enum:
       - lltc,ltc2309
+      - lltc,ltc2495
       - lltc,ltc2497
       - lltc,ltc2499
 

-- 
2.43.0
Re: [PATCH v4 1/3] dt-bindings: iio: adc: ltc2497: add lltc,ltc2495 bindings
Posted by Jonathan Cameron 1 month, 2 weeks ago
On Fri, 15 Aug 2025 12:02:02 +0200
Yusuf Alper Bilgin <y.alperbilgin@gmail.com> wrote:

> Update the binding documentation for LTC2497 to include LTC2495 to
> enable support for its internal temperature sensor, which requires a
> different I2C command format and a new IIO channel.
> 
> Signed-off-by: Yusuf Alper Bilgin <y.alperbilgin@gmail.com>
See reply to v1.  

At least at first look it appears this should have a fallback compatible
as Krzysztof called out.

> ---
>  Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml b/Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml
> index 5cc6a96840778473895f436b7e2627d6240b254b..2a3e3dcc6ca7a48a0fccb88d8d42fee34efcff73 100644
> --- a/Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml
> @@ -17,11 +17,13 @@ description: |
>  
>      https://www.analog.com/media/en/technical-documentation/data-sheets/2309fd.pdf
>  
> +  LTC2495:
>    LTC2497:
>    LTC2499:
>      16bit ADC supporting up to 16 single ended or 8 differential inputs.
>      I2C interface.
>  
> +    https://www.analog.com/media/en/technical-documentation/data-sheets/2495fe.pdf
>      https://www.analog.com/media/en/technical-documentation/data-sheets/2497fb.pdf
>      https://www.analog.com/media/en/technical-documentation/data-sheets/2499fe.pdf
>  
> @@ -29,6 +31,7 @@ properties:
>    compatible:
>      enum:
>        - lltc,ltc2309
> +      - lltc,ltc2495
>        - lltc,ltc2497
>        - lltc,ltc2499
>  
>