Commit a7b4f316 authored by Anson Huang's avatar Anson Huang Committed by Jonathan Cameron

dt-bindings: iio: accel: mma8452: add power supplies property

The accelerometer's power supplies could be controllable on some
platforms, add property "vdd/vddio" power supply to let device tree
to pass phandles to the regulators to driver.
Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 1a02d123
...@@ -20,6 +20,10 @@ Optional properties: ...@@ -20,6 +20,10 @@ Optional properties:
- interrupt-names: should contain "INT1" and/or "INT2", the accelerometer's - interrupt-names: should contain "INT1" and/or "INT2", the accelerometer's
interrupt line in use. interrupt line in use.
- vdd-supply: phandle to the regulator that provides vdd power to the accelerometer.
- vddio-supply: phandle to the regulator that provides vddio power to the accelerometer.
Example: Example:
mma8453fc@1d { mma8453fc@1d {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment