diff mbox series

[1/2] dt-bindings: iio: accel: kxcjk1013: Document regulator supplies

Message ID 20201213172437.2779-1-devajithvs@gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/2] dt-bindings: iio: accel: kxcjk1013: Document regulator supplies | expand

Commit Message

devajithvs Dec. 13, 2020, 5:24 p.m. UTC
From: Devajith V S <devajithvs@gmail.com>

kxcjk1013 devices have VDD and VDDIO power lines. Need
to make sure the regulators are enabled before any
communication with kxcjk1013. Document support for
vdd/vddio-supply to implement this.

Signed-off-by: Devajith V S <devajithvs@gmail.com>
---
 .../devicetree/bindings/iio/accel/kionix,kxcjk1013.yaml        | 3 +++
 1 file changed, 3 insertions(+)

Comments

Rob Herring (Arm) Dec. 15, 2020, 5:03 p.m. UTC | #1
On Sun, 13 Dec 2020 22:54:35 +0530, devajithvs wrote:
> From: Devajith V S <devajithvs@gmail.com>
> 
> kxcjk1013 devices have VDD and VDDIO power lines. Need
> to make sure the regulators are enabled before any
> communication with kxcjk1013. Document support for
> vdd/vddio-supply to implement this.
> 
> Signed-off-by: Devajith V S <devajithvs@gmail.com>
> ---
>  .../devicetree/bindings/iio/accel/kionix,kxcjk1013.yaml        | 3 +++
>  1 file changed, 3 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/accel/kionix,kxcjk1013.yaml b/Documentation/devicetree/bindings/iio/accel/kionix,kxcjk1013.yaml
index 5667d09df..fbb714431 100644
--- a/Documentation/devicetree/bindings/iio/accel/kionix,kxcjk1013.yaml
+++ b/Documentation/devicetree/bindings/iio/accel/kionix,kxcjk1013.yaml
@@ -20,6 +20,9 @@  properties:
   reg:
     maxItems: 1
 
+  vdd-supply: true
+  vddio-supply: true
+
   mount-matrix:
     description: an optional 3x3 mounting rotation matrix.