diff options
author | Thomas Haemmerle <thomas.haemmerle@leica-geosystems.com> | 2024-02-19 14:11:13 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-02-28 19:26:35 +0000 |
commit | 7d87c9b94a44bed97637199a62e99c702f8469d0 (patch) | |
tree | 22c952176f555758fcb301e67a09ba055da44804 /Documentation/devicetree/bindings/iio | |
parent | iio: adc: mcp320x: Simplify device removal logic (diff) | |
download | wireguard-linux-7d87c9b94a44bed97637199a62e99c702f8469d0.tar.xz wireguard-linux-7d87c9b94a44bed97637199a62e99c702f8469d0.zip |
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: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Thomas Haemmerle <thomas.haemmerle@leica-geosystems.com>
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Link: https://lore.kernel.org/r/20240219131114.134607-1-m.felsch@pengutronix.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree/bindings/iio')
-rw-r--r-- | Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml index 8c6d7735e875..33f2e9c5bd81 100644 --- a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml +++ b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml @@ -24,9 +24,13 @@ properties: reg: maxItems: 1 + vcc-supply: + description: provide VCC power to the sensor. + required: - compatible - reg + - vcc-supply additionalProperties: false @@ -39,5 +43,6 @@ examples: tmp117@48 { compatible = "ti,tmp117"; reg = <0x48>; + vcc-supply = <&pmic_reg_3v3>; }; }; |