* [PATCH] dt-bindings: iio: health: maxim,max30102: fix compatible check
@ 2024-03-16 22:56 Javier Carrasco
2024-03-17 14:37 ` Conor Dooley
0 siblings, 1 reply; 4+ messages in thread
From: Javier Carrasco @ 2024-03-16 22:56 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Matt Ranostay
Cc: Jonathan Cameron, linux-iio, devicetree, linux-kernel,
Javier Carrasco
The "maxim,green-led-current-microamp" property is only available for
the max30105 part (it provides an extra green LED), and must be set to
false for the max30102 part.
Instead, the max30100 part has been used for that, which is not
supported by this binding (it has its own binding).
This error was introduced during the txt to yaml conversion.
Fixes: 5a6a65b11e3a ("dt-bindings:iio:health:maxim,max30102: txt to yaml conversion")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml b/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml
index c13c10c8d65d..eed0df9d3a23 100644
--- a/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml
+++ b/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml
@@ -42,7 +42,7 @@ allOf:
properties:
compatible:
contains:
- const: maxim,max30100
+ const: maxim,max30102
then:
properties:
maxim,green-led-current-microamp: false
---
base-commit: c1f10ac840caced7a9f717d4170dcc14b3fac076
change-id: 20240316-max30102_binding_fix-898e7c94cce9
Best regards,
--
Javier Carrasco <javier.carrasco.cruz@gmail.com>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: iio: health: maxim,max30102: fix compatible check
2024-03-16 22:56 [PATCH] dt-bindings: iio: health: maxim,max30102: fix compatible check Javier Carrasco
@ 2024-03-17 14:37 ` Conor Dooley
2024-03-24 11:07 ` Jonathan Cameron
0 siblings, 1 reply; 4+ messages in thread
From: Conor Dooley @ 2024-03-17 14:37 UTC (permalink / raw)
To: Javier Carrasco
Cc: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Matt Ranostay,
Jonathan Cameron, linux-iio, devicetree, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1603 bytes --]
On Sat, Mar 16, 2024 at 11:56:57PM +0100, Javier Carrasco wrote:
> The "maxim,green-led-current-microamp" property is only available for
> the max30105 part (it provides an extra green LED), and must be set to
> false for the max30102 part.
>
> Instead, the max30100 part has been used for that, which is not
> supported by this binding (it has its own binding).
>
> This error was introduced during the txt to yaml conversion.
>
> Fixes: 5a6a65b11e3a ("dt-bindings:iio:health:maxim,max30102: txt to yaml conversion")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
> ---
> Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml b/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml
> index c13c10c8d65d..eed0df9d3a23 100644
> --- a/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml
> +++ b/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml
> @@ -42,7 +42,7 @@ allOf:
> properties:
> compatible:
> contains:
> - const: maxim,max30100
> + const: maxim,max30102
> then:
> properties:
> maxim,green-led-current-microamp: false
>
> ---
> base-commit: c1f10ac840caced7a9f717d4170dcc14b3fac076
> change-id: 20240316-max30102_binding_fix-898e7c94cce9
>
> Best regards,
> --
> Javier Carrasco <javier.carrasco.cruz@gmail.com>
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: iio: health: maxim,max30102: fix compatible check
2024-03-17 14:37 ` Conor Dooley
@ 2024-03-24 11:07 ` Jonathan Cameron
2024-03-25 19:05 ` Conor Dooley
0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Cameron @ 2024-03-24 11:07 UTC (permalink / raw)
To: Conor Dooley
Cc: Javier Carrasco, Lars-Peter Clausen, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Matt Ranostay,
Jonathan Cameron, linux-iio, devicetree, linux-kernel
On Sun, 17 Mar 2024 14:37:39 +0000
Conor Dooley <conor@kernel.org> wrote:
> On Sat, Mar 16, 2024 at 11:56:57PM +0100, Javier Carrasco wrote:
> > The "maxim,green-led-current-microamp" property is only available for
> > the max30105 part (it provides an extra green LED), and must be set to
> > false for the max30102 part.
> >
> > Instead, the max30100 part has been used for that, which is not
> > supported by this binding (it has its own binding).
> >
> > This error was introduced during the txt to yaml conversion.
> >
> > Fixes: 5a6a65b11e3a ("dt-bindings:iio:health:maxim,max30102: txt to yaml conversion")
> > Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
>
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
Applied to the fixes-togreg branch of iio.git (which I'll rebase on rc1 once available)
and marked for stable. Not really a critical thing to backport, but maybe it is worth
doing as risk is very low
Thanks,
Jonathan
>
> > ---
> > Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml b/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml
> > index c13c10c8d65d..eed0df9d3a23 100644
> > --- a/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml
> > +++ b/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml
> > @@ -42,7 +42,7 @@ allOf:
> > properties:
> > compatible:
> > contains:
> > - const: maxim,max30100
> > + const: maxim,max30102
> > then:
> > properties:
> > maxim,green-led-current-microamp: false
> >
> > ---
> > base-commit: c1f10ac840caced7a9f717d4170dcc14b3fac076
> > change-id: 20240316-max30102_binding_fix-898e7c94cce9
> >
> > Best regards,
> > --
> > Javier Carrasco <javier.carrasco.cruz@gmail.com>
> >
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: iio: health: maxim,max30102: fix compatible check
2024-03-24 11:07 ` Jonathan Cameron
@ 2024-03-25 19:05 ` Conor Dooley
0 siblings, 0 replies; 4+ messages in thread
From: Conor Dooley @ 2024-03-25 19:05 UTC (permalink / raw)
To: Jonathan Cameron
Cc: Javier Carrasco, Lars-Peter Clausen, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Matt Ranostay,
Jonathan Cameron, linux-iio, devicetree, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1196 bytes --]
On Sun, Mar 24, 2024 at 11:07:15AM +0000, Jonathan Cameron wrote:
> On Sun, 17 Mar 2024 14:37:39 +0000
> Conor Dooley <conor@kernel.org> wrote:
>
> > On Sat, Mar 16, 2024 at 11:56:57PM +0100, Javier Carrasco wrote:
> > > The "maxim,green-led-current-microamp" property is only available for
> > > the max30105 part (it provides an extra green LED), and must be set to
> > > false for the max30102 part.
> > >
> > > Instead, the max30100 part has been used for that, which is not
> > > supported by this binding (it has its own binding).
> > >
> > > This error was introduced during the txt to yaml conversion.
> > >
> > > Fixes: 5a6a65b11e3a ("dt-bindings:iio:health:maxim,max30102: txt to yaml conversion")
> > > Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
> >
> > Acked-by: Conor Dooley <conor.dooley@microchip.com>
> Applied to the fixes-togreg branch of iio.git (which I'll rebase on rc1 once available)
> and marked for stable. Not really a critical thing to backport, but maybe it is worth
> doing as risk is very low
Yeah, I figure stuff like this is worth just backporting in case someone
is using a stable tree to add some new board.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-03-25 19:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-16 22:56 [PATCH] dt-bindings: iio: health: maxim,max30102: fix compatible check Javier Carrasco
2024-03-17 14:37 ` Conor Dooley
2024-03-24 11:07 ` Jonathan Cameron
2024-03-25 19:05 ` Conor Dooley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).