[PATCH v4 2/2] dt-bindings: iio: light: add VEML6040 RGBW-LS bindings

Arthur Becker via B4 Relay posted 2 patches 1 year, 8 months ago
[PATCH v4 2/2] dt-bindings: iio: light: add VEML6040 RGBW-LS bindings
Posted by Arthur Becker via B4 Relay 1 year, 8 months ago
From: Arthur Becker <arthur.becker@sentec.com>

Device tree bindings for the vishay VEML6040 RGBW light sensor iio
driver

Signed-off-by: Arthur Becker <arthur.becker@sentec.com>
---
V1 -> V3: Addressed review comments (v1 of the dt-bindings was sent
along with v2 of the driver but not in a set)
V3 -> V4: Combined dt-binding with veml6075 as they are basically the
same
---
 Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml b/Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml
index 91c318746bf3..ecf2339e02f6 100644
--- a/Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml
+++ b/Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml
@@ -4,14 +4,19 @@
 $id: http://devicetree.org/schemas/iio/light/vishay,veml6075.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
-title: Vishay VEML6075 UVA and UVB sensor
+title: Vishay VEML6075 UVA/B and VEML6040 RGBW sensors
 
 maintainers:
   - Javier Carrasco <javier.carrasco.cruz@gmail.com>
 
+description:
+  VEML6040 datasheet at https://www.vishay.com/docs/84276/veml6040.pdf
+
 properties:
   compatible:
-    const: vishay,veml6075
+    enum:
+      - vishay,veml6040
+      - vishay,veml6075
 
   reg:
     maxItems: 1

-- 
2.34.1
Re: [PATCH v4 2/2] dt-bindings: iio: light: add VEML6040 RGBW-LS bindings
Posted by Krzysztof Kozlowski 1 year, 8 months ago
On 04/06/2024 10:01, Arthur Becker via B4 Relay wrote:
> From: Arthur Becker <arthur.becker@sentec.com>
> 
> Device tree bindings for the vishay VEML6040 RGBW light sensor iio
> driver
> 
> Signed-off-by: Arthur Becker <arthur.becker@sentec.com>
> ---

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

If there is any resend:
A nit, subject: drop second/last, redundant "bindings". The
"dt-bindings" prefix is already stating that these are bindings.
See also:
https://elixir.bootlin.com/linux/v6.7-rc8/source/Documentation/devicetree/bindings/submitting-patches.rst#L18

Best regards,
Krzysztof
Re: [EXTERNAL]Re: [PATCH v4 2/2] dt-bindings: iio: light: add VEML6040 RGBW-LS bindings
Posted by Arthur Becker 1 year, 8 months ago
From: Krzysztof Kozlowski <krzk@kernel.org>
Sent: 04 June 2024 10:45
To: Arthur Becker; Jonathan Cameron; Lars-Peter Clausen; Rob Herring; Krzysztof Kozlowski; Conor Dooley; Javier Carrasco
Cc: linux-kernel@vger.kernel.org; linux-iio@vger.kernel.org; devicetree@vger.kernel.org
Subject: [EXTERNAL]Re: [PATCH v4 2/2] dt-bindings: iio: light: add VEML6040 RGBW-LS bindings

> On 04/06/2024 10:01, Arthur Becker via B4 Relay wrote:
> > From: Arthur Becker <arthur.becker@sentec.com>
> >
> > Device tree bindings for the vishay VEML6040 RGBW light sensor iio
> > driver
> >
> > Signed-off-by: Arthur Becker <arthur.becker@sentec.com>
> > ---
>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>
> If there is any resend:
> A nit, subject: drop second/last, redundant "bindings". The
> "dt-bindings" prefix is already stating that these are bindings.
> See also:
> https://elixir.bootlin.com/linux/v6.7-rc8/source/Documentation/devicetree/bindings/submitting-patches.rst#L18
>
> Best regards,
> Krzysztof

Oups! I had read that part of the documentation but forgot about it...
I'll think about it next time.

Thanks for the review!

Kind Regards
Arthur
Re: [EXTERNAL]Re: [PATCH v4 2/2] dt-bindings: iio: light: add VEML6040 RGBW-LS bindings
Posted by Krzysztof Kozlowski 1 year, 8 months ago
On 04/06/2024 10:59, Arthur Becker wrote:
>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>>
>> If there is any resend:
>> A nit, subject: drop second/last, redundant "bindings". The
>> "dt-bindings" prefix is already stating that these are bindings.
>> See also:
>> https://elixir.bootlin.com/linux/v6.7-rc8/source/Documentation/devicetree/bindings/submitting-patches.rst#L18
>>
>> Best regards,
>> Krzysztof
> 
> Oups! I had read that part of the documentation but forgot about it...
> I'll think about it next time.
> 

It's fine, no worries.

Best regards,
Krzysztof
Re: [EXTERNAL]Re: [PATCH v4 2/2] dt-bindings: iio: light: add VEML6040 RGBW-LS bindings
Posted by Jonathan Cameron 1 year, 8 months ago
On Tue, 4 Jun 2024 11:05:43 +0200
Krzysztof Kozlowski <krzk@kernel.org> wrote:

> On 04/06/2024 10:59, Arthur Becker wrote:
> >> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> >>
> >> If there is any resend:
> >> A nit, subject: drop second/last, redundant "bindings". The
> >> "dt-bindings" prefix is already stating that these are bindings.
> >> See also:
> >> https://elixir.bootlin.com/linux/v6.7-rc8/source/Documentation/devicetree/bindings/submitting-patches.rst#L18
> >>
> >> Best regards,
> >> Krzysztof  
> > 
> > Oups! I had read that part of the documentation but forgot about it...
> > I'll think about it next time.
> >   
> 
> It's fine, no worries.
> 
> Best regards,
> Krzysztof
> 
I dropped the extra word whilst applying.

Applied to the togreg branch of iio.git and pushed out as testing for 0-day
to take a look at it.

Thanks,

Jonathan