Message ID | 20240923-veml6035-v2-4-58c72a0df31c@gmail.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
Series | iio: light: veml6030: fix issues and add support for veml6035 | expand |
On Mon, Sep 23, 2024 at 12:17:52AM +0200, Javier Carrasco wrote: > Add vdd-supply to account for the sensor's power source. > > Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> > --- > Documentation/devicetree/bindings/iio/light/vishay,veml6030.yaml | 3 +++ > 1 file changed, 3 insertions(+) Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Best regards, Krzysztof
On 24/09/2024 12:06, Krzysztof Kozlowski wrote: > On Mon, Sep 23, 2024 at 12:17:52AM +0200, Javier Carrasco wrote: >> Add vdd-supply to account for the sensor's power source. >> >> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> >> --- >> Documentation/devicetree/bindings/iio/light/vishay,veml6030.yaml | 3 +++ >> 1 file changed, 3 insertions(+) > > Acked-by: Krzysztof Kozlowski <krzk@kernel.org> > > Best regards, > Krzysztof > I just realized that the indentation of vdd-supply is not right in the version I sent, and dt_binding_check rightfully complains about that. I will fix it for v3. Best regards, Javier Carrasco
diff --git a/Documentation/devicetree/bindings/iio/light/vishay,veml6030.yaml b/Documentation/devicetree/bindings/iio/light/vishay,veml6030.yaml index 7f4995557570..2583b61c8357 100644 --- a/Documentation/devicetree/bindings/iio/light/vishay,veml6030.yaml +++ b/Documentation/devicetree/bindings/iio/light/vishay,veml6030.yaml @@ -41,6 +41,8 @@ properties: interrupt client node bindings. maxItems: 1 + vdd-supply: true + required: - compatible - reg @@ -59,6 +61,7 @@ examples: compatible = "vishay,veml6030"; reg = <0x10>; interrupts = <12 IRQ_TYPE_LEVEL_LOW>; + vdd-supply = <&vdd>; }; }; ...
Add vdd-supply to account for the sensor's power source. Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> --- Documentation/devicetree/bindings/iio/light/vishay,veml6030.yaml | 3 +++ 1 file changed, 3 insertions(+)