devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH 1/2] dt-bindings: iio: ti,tmp117: add vcc supply binding
@ 2024-02-16 10:28 Marco Felsch
  2024-02-16 10:28 ` [RESEND PATCH 2/2] iio: temperature: tmp117: add support for vcc-supply Marco Felsch
  2024-02-16 11:21 ` [RESEND PATCH 1/2] dt-bindings: iio: ti,tmp117: add vcc supply binding Jonathan Cameron
  0 siblings, 2 replies; 8+ messages in thread
From: Marco Felsch @ 2024-02-16 10:28 UTC (permalink / raw)
  To: puranjay12, jic23, lars, robh+dt, krzysztof.kozlowski+dt,
	conor+dt
  Cc: linux-iio, devicetree, linux-kernel, kernel, thomas.haemmerle

From: Thomas Haemmerle <thomas.haemmerle@leica-geosystems.com>

Add the binding to specify the vcc supply. We can't make it required
since this would break the backward compatibility.

Signed-off-by: Thomas Haemmerle <thomas.haemmerle@leica-geosystems.com>
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
Resend since I forgot to add the DT maintainers

 .../devicetree/bindings/iio/temperature/ti,tmp117.yaml        | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml
index 8c6d7735e875..cf7799c9734f 100644
--- a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml
+++ b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml
@@ -24,6 +24,9 @@ properties:
   reg:
     maxItems: 1
 
+  vcc-supply:
+    description: provide VCC power to the sensor.
+
 required:
   - compatible
   - reg
@@ -39,5 +42,6 @@ examples:
         tmp117@48 {
              compatible = "ti,tmp117";
              reg = <0x48>;
+             vcc-supply = <&pmic_reg_3v3>;
         };
     };
-- 
2.39.2


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

end of thread, other threads:[~2024-02-16 19:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-16 10:28 [RESEND PATCH 1/2] dt-bindings: iio: ti,tmp117: add vcc supply binding Marco Felsch
2024-02-16 10:28 ` [RESEND PATCH 2/2] iio: temperature: tmp117: add support for vcc-supply Marco Felsch
2024-02-16 11:29   ` Jonathan Cameron
2024-02-16 11:51     ` Marco Felsch
2024-02-16 11:21 ` [RESEND PATCH 1/2] dt-bindings: iio: ti,tmp117: add vcc supply binding Jonathan Cameron
2024-02-16 11:23   ` Marco Felsch
2024-02-16 15:50     ` Jonathan Cameron
2024-02-16 19:42   ` Conor Dooley

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).