Commit 7d87c9b9 authored by Thomas Haemmerle's avatar Thomas Haemmerle Committed by Jonathan Cameron

dt-bindings: iio: ti,tmp117: add vcc supply binding

Add the binding to specify the vcc supply. We can't make it required
since this would break the backward compatibility.
Reviewed-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarThomas Haemmerle <thomas.haemmerle@leica-geosystems.com>
Signed-off-by: default avatarMarco Felsch <m.felsch@pengutronix.de>
Link: https://lore.kernel.org/r/20240219131114.134607-1-m.felsch@pengutronix.deSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 58efe761
...@@ -24,9 +24,13 @@ properties: ...@@ -24,9 +24,13 @@ properties:
reg: reg:
maxItems: 1 maxItems: 1
vcc-supply:
description: provide VCC power to the sensor.
required: required:
- compatible - compatible
- reg - reg
- vcc-supply
additionalProperties: false additionalProperties: false
...@@ -39,5 +43,6 @@ examples: ...@@ -39,5 +43,6 @@ examples:
tmp117@48 { tmp117@48 {
compatible = "ti,tmp117"; compatible = "ti,tmp117";
reg = <0x48>; reg = <0x48>;
vcc-supply = <&pmic_reg_3v3>;
}; };
}; };
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