2020-05-14 20:52:38

by Jonathan Bakker

[permalink] [raw]
Subject: [PATCH v2 4/7] dt-bindings: iio: accel: Add required regulators to bma180

The bma180 and related chips should have two registers attached to
them. The IIO driver currently uses them, document them here as
well.

Acked-by: Rob Herring <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Jonathan Bakker <[email protected]>
---
Changes from v1
- Added A-b and R-b tags
---
Documentation/devicetree/bindings/iio/accel/bma180.txt | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/accel/bma180.txt b/Documentation/devicetree/bindings/iio/accel/bma180.txt
index cfbfc6276b3c..33da4a6fdb39 100644
--- a/Documentation/devicetree/bindings/iio/accel/bma180.txt
+++ b/Documentation/devicetree/bindings/iio/accel/bma180.txt
@@ -14,6 +14,8 @@ Required properties:
"bosch,bma254"
"bosch,smb380"
- reg : the I2C address of the sensor
+ - vdd-supply : regulator phandle connected to the VDD pin
+ - vddio-supply : regulator phandle connected to the VDDIO pin

Optional properties:

--
2.20.1


2020-05-16 15:08:44

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH v2 4/7] dt-bindings: iio: accel: Add required regulators to bma180

On Thu, 14 May 2020 13:48:58 -0700
Jonathan Bakker <[email protected]> wrote:

> The bma180 and related chips should have two registers attached to
registers-> regulators.

I'll fix that up.

J
> them. The IIO driver currently uses them, document them here as
> well.
>
> Acked-by: Rob Herring <[email protected]>
> Reviewed-by: Linus Walleij <[email protected]>
> Signed-off-by: Jonathan Bakker <[email protected]>
> ---
> Changes from v1
> - Added A-b and R-b tags
> ---
> Documentation/devicetree/bindings/iio/accel/bma180.txt | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/iio/accel/bma180.txt b/Documentation/devicetree/bindings/iio/accel/bma180.txt
> index cfbfc6276b3c..33da4a6fdb39 100644
> --- a/Documentation/devicetree/bindings/iio/accel/bma180.txt
> +++ b/Documentation/devicetree/bindings/iio/accel/bma180.txt
> @@ -14,6 +14,8 @@ Required properties:
> "bosch,bma254"
> "bosch,smb380"
> - reg : the I2C address of the sensor
> + - vdd-supply : regulator phandle connected to the VDD pin
> + - vddio-supply : regulator phandle connected to the VDDIO pin
>
> Optional properties:
>