dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: drm/bridge: ti-sn65dsi86: Fix reg value
@ 2021-09-24 12:35 Geert Uytterhoeven
  2021-09-24 12:37 ` Geert Uytterhoeven
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2021-09-24 12:35 UTC (permalink / raw)
  To: Sandeep Panda, David Airlie, Daniel Vetter, Rob Herring,
	Kieran Bingham, Laurent Pinchart
  Cc: dri-devel, devicetree, linux-renesas-soc, Geert Uytterhoeven

make dtbs_check:

    arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dt.yaml: bridge@2c: reg:0:0: 45 was expected

According to the datasheet, the I2C address can be either 0x2c or 0x2d,
depending on the ADDR control input.

Fixes: e3896e6dddf0b821 ("dt-bindings: drm/bridge: Document sn65dsi86 bridge bindings")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Also seen with the in-flight Falcon DSI display output patch:

    arch/arm64/boot/dts/renesas/r8a779a0-falcon.dt.yaml: sn65dsi86@2c: reg:0:0: 45 was expected
---
 .../devicetree/bindings/display/bridge/ti,sn65dsi86.yaml        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.yaml b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.yaml
index 1c2daf7c24cc0417..911564468c5e0f86 100644
--- a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.yaml
@@ -18,7 +18,7 @@ properties:
     const: ti,sn65dsi86
 
   reg:
-    const: 0x2d
+    enum: [ 0x2c, 0x2d ]
 
   enable-gpios:
     maxItems: 1
-- 
2.25.1


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

* Re: [PATCH] dt-bindings: drm/bridge: ti-sn65dsi86: Fix reg value
  2021-09-24 12:35 [PATCH] dt-bindings: drm/bridge: ti-sn65dsi86: Fix reg value Geert Uytterhoeven
@ 2021-09-24 12:37 ` Geert Uytterhoeven
  2021-09-24 14:07 ` Kieran Bingham
  2021-10-04 17:02 ` Rob Herring
  2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2021-09-24 12:37 UTC (permalink / raw)
  To: David Airlie, Daniel Vetter, Rob Herring, Kieran Bingham,
	Laurent Pinchart
  Cc: DRI Development,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux-Renesas

On Fri, Sep 24, 2021 at 2:35 PM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
> make dtbs_check:
>
>     arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dt.yaml: bridge@2c: reg:0:0: 45 was expected
>
> According to the datasheet, the I2C address can be either 0x2c or 0x2d,
> depending on the ADDR control input.
>
> Fixes: e3896e6dddf0b821 ("dt-bindings: drm/bridge: Document sn65dsi86 bridge bindings")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> Also seen with the in-flight Falcon DSI display output patch:
>
>     arch/arm64/boot/dts/renesas/r8a779a0-falcon.dt.yaml: sn65dsi86@2c: reg:0:0: 45 was expected
> ---
>  .../devicetree/bindings/display/bridge/ti,sn65dsi86.yaml        | 2 +-

And the email address of this file's maintainer bounces.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH] dt-bindings: drm/bridge: ti-sn65dsi86: Fix reg value
  2021-09-24 12:35 [PATCH] dt-bindings: drm/bridge: ti-sn65dsi86: Fix reg value Geert Uytterhoeven
  2021-09-24 12:37 ` Geert Uytterhoeven
@ 2021-09-24 14:07 ` Kieran Bingham
  2021-10-04 17:02 ` Rob Herring
  2 siblings, 0 replies; 4+ messages in thread
From: Kieran Bingham @ 2021-09-24 14:07 UTC (permalink / raw)
  To: Geert Uytterhoeven, Sandeep Panda, David Airlie, Daniel Vetter,
	Rob Herring, Laurent Pinchart
  Cc: dri-devel, devicetree, linux-renesas-soc

On 24/09/2021 13:35, Geert Uytterhoeven wrote:
> make dtbs_check:
> 
>     arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dt.yaml: bridge@2c: reg:0:0: 45 was expected
> 
> According to the datasheet, the I2C address can be either 0x2c or 0x2d,
> depending on the ADDR control input.
> 
> Fixes: e3896e6dddf0b821 ("dt-bindings: drm/bridge: Document sn65dsi86 bridge bindings")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> Also seen with the in-flight Falcon DSI display output patch:

And having been running dtbs_check today on this branch I was going to
tackle this same issue ...

But you've beaten me to it ;-)

Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>

> 
>     arch/arm64/boot/dts/renesas/r8a779a0-falcon.dt.yaml: sn65dsi86@2c: reg:0:0: 45 was expected
> ---
>  .../devicetree/bindings/display/bridge/ti,sn65dsi86.yaml        | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.yaml b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.yaml
> index 1c2daf7c24cc0417..911564468c5e0f86 100644
> --- a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.yaml
> +++ b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.yaml
> @@ -18,7 +18,7 @@ properties:
>      const: ti,sn65dsi86
>  
>    reg:
> -    const: 0x2d
> +    enum: [ 0x2c, 0x2d ]
>  
>    enable-gpios:
>      maxItems: 1
> 


-- 
--
Kieran

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

* Re: [PATCH] dt-bindings: drm/bridge: ti-sn65dsi86: Fix reg value
  2021-09-24 12:35 [PATCH] dt-bindings: drm/bridge: ti-sn65dsi86: Fix reg value Geert Uytterhoeven
  2021-09-24 12:37 ` Geert Uytterhoeven
  2021-09-24 14:07 ` Kieran Bingham
@ 2021-10-04 17:02 ` Rob Herring
  2 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2021-10-04 17:02 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Laurent Pinchart, Kieran Bingham, linux-renesas-soc,
	Daniel Vetter, dri-devel, devicetree, David Airlie, Rob Herring,
	Sandeep Panda

On Fri, 24 Sep 2021 14:35:12 +0200, Geert Uytterhoeven wrote:
> make dtbs_check:
> 
>     arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dt.yaml: bridge@2c: reg:0:0: 45 was expected
> 
> According to the datasheet, the I2C address can be either 0x2c or 0x2d,
> depending on the ADDR control input.
> 
> Fixes: e3896e6dddf0b821 ("dt-bindings: drm/bridge: Document sn65dsi86 bridge bindings")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> Also seen with the in-flight Falcon DSI display output patch:
> 
>     arch/arm64/boot/dts/renesas/r8a779a0-falcon.dt.yaml: sn65dsi86@2c: reg:0:0: 45 was expected
> ---
>  .../devicetree/bindings/display/bridge/ti,sn65dsi86.yaml        | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied, thanks!

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

end of thread, other threads:[~2021-10-04 17:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-24 12:35 [PATCH] dt-bindings: drm/bridge: ti-sn65dsi86: Fix reg value Geert Uytterhoeven
2021-09-24 12:37 ` Geert Uytterhoeven
2021-09-24 14:07 ` Kieran Bingham
2021-10-04 17:02 ` Rob Herring

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).