Devicetree
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: i2c: maxim,max96712: Add compatible for MAX96724
@ 2024-05-27 13:22 Niklas Söderlund
  2024-05-27 16:34 ` Conor Dooley
  2024-05-27 18:56 ` Krzysztof Kozlowski
  0 siblings, 2 replies; 3+ messages in thread
From: Niklas Söderlund @ 2024-05-27 13:22 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Geert Uytterhoeven, linux-media, devicetree
  Cc: linux-renesas-soc, Niklas Söderlund

The MAX96712 and MAX96724 are almost identical and can be supported by
the same driver, add a compatible for MAX96724.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
---
 .../devicetree/bindings/media/i2c/maxim,max96712.yaml        | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml b/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml
index 6c72e77b927c..26f85151afbd 100644
--- a/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml
@@ -25,7 +25,10 @@ description: |
 
 properties:
   compatible:
-    const: maxim,max96712
+    items:
+      - enum:
+          - maxim,max96712
+          - maxim,max96724
 
   reg:
     description: I2C device address
-- 
2.45.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: i2c: maxim,max96712: Add compatible for MAX96724
  2024-05-27 13:22 [PATCH] dt-bindings: i2c: maxim,max96712: Add compatible for MAX96724 Niklas Söderlund
@ 2024-05-27 16:34 ` Conor Dooley
  2024-05-27 18:56 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2024-05-27 16:34 UTC (permalink / raw)
  To: Niklas Söderlund
  Cc: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Geert Uytterhoeven, linux-media, devicetree,
	linux-renesas-soc

[-- Attachment #1: Type: text/plain, Size: 1507 bytes --]

On Mon, May 27, 2024 at 03:22:16PM +0200, Niklas Söderlund wrote:
> The MAX96712 and MAX96724 are almost identical and can be supported by
> the same driver, add a compatible for MAX96724.

What does "almost identical" mean? I don't see another patch here adding
the driver support, which makes me wonder if this was intended to be a
fallback to the existing device... Ohh wait, the other patch is here:
https://lore.kernel.org/all/20240527133410.1690169-1-niklas.soderlund+renesas@ragnatech.se/

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Put it in a series next time (and mention what actually is different in
your commit message).

Thanks,
Conor.

> 
> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
> ---
>  .../devicetree/bindings/media/i2c/maxim,max96712.yaml        | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml b/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml
> index 6c72e77b927c..26f85151afbd 100644
> --- a/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml
> @@ -25,7 +25,10 @@ description: |
>  
>  properties:
>    compatible:
> -    const: maxim,max96712
> +    items:
> +      - enum:
> +          - maxim,max96712
> +          - maxim,max96724
>  
>    reg:
>      description: I2C device address
> -- 
> 2.45.1
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: i2c: maxim,max96712: Add compatible for MAX96724
  2024-05-27 13:22 [PATCH] dt-bindings: i2c: maxim,max96712: Add compatible for MAX96724 Niklas Söderlund
  2024-05-27 16:34 ` Conor Dooley
@ 2024-05-27 18:56 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-05-27 18:56 UTC (permalink / raw)
  To: Niklas Söderlund, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Geert Uytterhoeven,
	linux-media, devicetree
  Cc: linux-renesas-soc

On 27/05/2024 15:22, Niklas Söderlund wrote:
> The MAX96712 and MAX96724 are almost identical and can be supported by
> the same driver, add a compatible for MAX96724.
> 
> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
> ---
>  .../devicetree/bindings/media/i2c/maxim,max96712.yaml        | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml b/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml
> index 6c72e77b927c..26f85151afbd 100644
> --- a/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml
> @@ -25,7 +25,10 @@ description: |
>  
>  properties:
>    compatible:
> -    const: maxim,max96712
> +    items:

Why adding items?

Where is any user of this binding? Please stop posting some random
binding changes without users.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-27 18:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-27 13:22 [PATCH] dt-bindings: i2c: maxim,max96712: Add compatible for MAX96724 Niklas Söderlund
2024-05-27 16:34 ` Conor Dooley
2024-05-27 18:56 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox