diff options
author | Anson Huang <anson.huang@nxp.com> | 2019-01-08 10:14:01 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-01-12 20:04:32 +0100 |
commit | a7b4f316af857915e27633e48600c146b4978522 (patch) | |
tree | 4df44ce974a8b9fba1a4db6ce22e6134cdaa283d /Documentation | |
parent | iio: light: isl29018: add vcc regulator operation support (diff) | |
download | linux-a7b4f316af857915e27633e48600c146b4978522.tar.xz linux-a7b4f316af857915e27633e48600c146b4978522.zip |
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: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/iio/accel/mma8452.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/accel/mma8452.txt b/Documentation/devicetree/bindings/iio/accel/mma8452.txt index 2100e9af379c..e132394375a1 100644 --- a/Documentation/devicetree/bindings/iio/accel/mma8452.txt +++ b/Documentation/devicetree/bindings/iio/accel/mma8452.txt @@ -20,6 +20,10 @@ Optional properties: - interrupt-names: should contain "INT1" and/or "INT2", the accelerometer's 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: mma8453fc@1d { |