diff mbox series

[2/2] dt-bindings: iio: humidity: hts221: introduce vdd regulator bindings

Message ID 5e8009b293f1d5160ecbcdd33e7332ba0192b96e.1605777052.git.lorenzo@kernel.org (mailing list archive)
State New, archived
Headers show
Series hts221: add vdd power regulator | expand

Commit Message

Lorenzo Bianconi Nov. 19, 2020, 9:13 a.m. UTC
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 Documentation/devicetree/bindings/iio/humidity/st,hts221.yaml | 3 +++
 1 file changed, 3 insertions(+)

Comments

Jonathan Cameron Nov. 21, 2020, 3:45 p.m. UTC | #1
On Thu, 19 Nov 2020 10:13:35 +0100
Lorenzo Bianconi <lorenzo@kernel.org> wrote:

> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
I'd drop the description as kind of obvious.

vdd-supply: true

will work fine.

Thanks,

Jonathan

> ---
>  Documentation/devicetree/bindings/iio/humidity/st,hts221.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/iio/humidity/st,hts221.yaml b/Documentation/devicetree/bindings/iio/humidity/st,hts221.yaml
> index 396451c26728..53df083b3de6 100644
> --- a/Documentation/devicetree/bindings/iio/humidity/st,hts221.yaml
> +++ b/Documentation/devicetree/bindings/iio/humidity/st,hts221.yaml
> @@ -26,6 +26,9 @@ properties:
>        The interrupt/data ready line will be configured as open drain, which
>        is useful if several sensors share the same interrupt line.
>  
> +  vdd-supply:
> +    description: if defined provides VDD power to the sensor.
> +
>    interrupts:
>      maxItems: 1
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/humidity/st,hts221.yaml b/Documentation/devicetree/bindings/iio/humidity/st,hts221.yaml
index 396451c26728..53df083b3de6 100644
--- a/Documentation/devicetree/bindings/iio/humidity/st,hts221.yaml
+++ b/Documentation/devicetree/bindings/iio/humidity/st,hts221.yaml
@@ -26,6 +26,9 @@  properties:
       The interrupt/data ready line will be configured as open drain, which
       is useful if several sensors share the same interrupt line.
 
+  vdd-supply:
+    description: if defined provides VDD power to the sensor.
+
   interrupts:
     maxItems: 1