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

Yusuf Alper Bilgin posted 4 patches 1 month, 3 weeks ago
There is a newer version of this series
[PATCH v3 1/4] dt-bindings: iio: adc: ltc2497: add lltc,ltc2495 bindings
Posted by Yusuf Alper Bilgin 1 month, 3 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 v3 1/4] dt-bindings: iio: adc: ltc2497: add lltc,ltc2495 bindings
Posted by Krzysztof Kozlowski 1 month, 2 weeks ago
On Thu, Aug 14, 2025 at 01:00:17PM +0200, Yusuf Alper Bilgin 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.

Your patch #2 says they are compatible, so either this patch is wrong
(and you are supposed to use fallbacks) or patch #2 is wrong/incomplete.

Best regards,
Krzysztof
Re: [PATCH v3 1/4] dt-bindings: iio: adc: ltc2497: add lltc,ltc2495 bindings
Posted by Jonathan Cameron 1 month, 2 weeks ago
On Fri, 15 Aug 2025 10:57:21 +0200
Krzysztof Kozlowski <krzk@kernel.org> wrote:

> On Thu, Aug 14, 2025 at 01:00:17PM +0200, Yusuf Alper Bilgin 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.  
> 
> Your patch #2 says they are compatible, so either this patch is wrong
> (and you are supposed to use fallbacks) or patch #2 is wrong/incomplete.
Agreed.  Going too fast here, and discussion on v1 wasn't finished.

Jonathan

> 
> Best regards,
> Krzysztof
>