summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-10-01 22:21:16 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-06 16:09:35 +0200
commit7a1af0de1f042af2a7463694866516109f54ffc2 (patch)
tree3e889f7a0ea576ea9040ea05421afbea55115e30 /Documentation/devicetree/bindings/iio
parentiio: light: veml6030: use dev_err_probe() (diff)
downloadlinux-7a1af0de1f042af2a7463694866516109f54ffc2.tar.xz
linux-7a1af0de1f042af2a7463694866516109f54ffc2.zip
dt-bindings: iio: light: veml6030: add vdd-supply property
Add vdd-supply to account for the sensor's power source. Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Link: https://patch.msgid.link/20241001-veml6035-v3-3-d789f6ff147c@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree/bindings/iio')
-rw-r--r--Documentation/devicetree/bindings/iio/light/vishay,veml6030.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/light/vishay,veml6030.yaml b/Documentation/devicetree/bindings/iio/light/vishay,veml6030.yaml
index 7f4995557570..42a78cd4f812 100644
--- a/Documentation/devicetree/bindings/iio/light/vishay,veml6030.yaml
+++ b/Documentation/devicetree/bindings/iio/light/vishay,veml6030.yaml
@@ -41,9 +41,12 @@ properties:
interrupt client node bindings.
maxItems: 1
+ vdd-supply: true
+
required:
- compatible
- reg
+ - vdd-supply
additionalProperties: false
@@ -59,6 +62,7 @@ examples:
compatible = "vishay,veml6030";
reg = <0x10>;
interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
+ vdd-supply = <&vdd>;
};
};
...