devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] dt-bindings: iio: magnetometer: bmc150: Document regulator supplies
@ 2021-01-09 15:23 Stephan Gerhold
  2021-01-09 15:23 ` [PATCH v2 2/2] iio: magnetometer: bmc150: Add rudimentary regulator support Stephan Gerhold
  2021-01-09 19:26 ` [PATCH v2 1/2] dt-bindings: iio: magnetometer: bmc150: Document regulator supplies Jonathan Cameron
  0 siblings, 2 replies; 3+ messages in thread
From: Stephan Gerhold @ 2021-01-09 15:23 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: Lars-Peter Clausen, Peter Meerwald-Stadler, Rob Herring,
	linux-iio, devicetree, Linus Walleij, Stephan Gerhold,
	Rob Herring

BMC150 needs VDD and VDDIO regulators that might need to be explicitly
enabled. Document support for vdd/vddio-supply to implement this.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
---
Changes in v2: Picked up Reviewed-by:, split patch series from bmg160
---
 .../bindings/iio/magnetometer/bosch,bmc150_magn.yaml           | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/magnetometer/bosch,bmc150_magn.yaml b/Documentation/devicetree/bindings/iio/magnetometer/bosch,bmc150_magn.yaml
index cdef7aeba708..2867ab6bf9b0 100644
--- a/Documentation/devicetree/bindings/iio/magnetometer/bosch,bmc150_magn.yaml
+++ b/Documentation/devicetree/bindings/iio/magnetometer/bosch,bmc150_magn.yaml
@@ -30,6 +30,9 @@ properties:
   reg:
     maxItems: 1
 
+  vdd-supply: true
+  vddio-supply: true
+
   interrupts:
     maxItems: 1
 
-- 
2.30.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-09 19:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-09 15:23 [PATCH v2 1/2] dt-bindings: iio: magnetometer: bmc150: Document regulator supplies Stephan Gerhold
2021-01-09 15:23 ` [PATCH v2 2/2] iio: magnetometer: bmc150: Add rudimentary regulator support Stephan Gerhold
2021-01-09 19:26 ` [PATCH v2 1/2] dt-bindings: iio: magnetometer: bmc150: Document regulator supplies Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).