[PATCH 1/6] dt-bindings: iio: adc: ad7380: remove voltage reference for supplies

Julien Stephan posted 6 patches 1 month, 3 weeks ago
There is a newer version of this series
[PATCH 1/6] dt-bindings: iio: adc: ad7380: remove voltage reference for supplies
Posted by Julien Stephan 1 month, 3 weeks ago
Voltages may not bo valid for future compatible parts, so remove them and
remove useless description

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
---
 Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml
index bd19abb867d9..72c51b3de97b 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml
@@ -55,17 +55,9 @@ properties:
   spi-cpol: true
   spi-cpha: true
 
-  vcc-supply:
-    description: A 3V to 3.6V supply that powers the chip.
-
-  vlogic-supply:
-    description:
-      A 1.65V to 3.6V supply for the logic pins.
-
-  refio-supply:
-    description:
-      A 2.5V to 3.3V supply for the external reference voltage. When omitted,
-      the internal 2.5V reference is used.
+  vcc-supply: true
+  vlogic-supply: true
+  refio-supply: true
 
   aina-supply:
     description:

-- 
2.46.0
Re: [PATCH 1/6] dt-bindings: iio: adc: ad7380: remove voltage reference for supplies
Posted by Krzysztof Kozlowski 1 month, 2 weeks ago
On Mon, Oct 07, 2024 at 05:45:44PM +0200, Julien Stephan wrote:
> Voltages may not bo valid for future compatible parts, so remove them and
> remove useless description
> 
> Signed-off-by: Julien Stephan <jstephan@baylibre.com>
> ---
>  Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml | 14 +++-----------
>  1 file changed, 3 insertions(+), 11 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml
> index bd19abb867d9..72c51b3de97b 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml
> @@ -55,17 +55,9 @@ properties:
>    spi-cpol: true
>    spi-cpha: true
>  
> -  vcc-supply:
> -    description: A 3V to 3.6V supply that powers the chip.
> -
> -  vlogic-supply:
> -    description:
> -      A 1.65V to 3.6V supply for the logic pins.
> -
> -  refio-supply:
> -    description:
> -      A 2.5V to 3.3V supply for the external reference voltage. When omitted,
> -      the internal 2.5V reference is used.

This is valid description. I would say all of them are useful, not
useless.

Best regards,
Krzysztof