mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Alexander Shiyan <eagle.alexander923@gmail.com>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH master 1/3] video: dw-hdmi: populate missing I2C adapter device node
Date: Tue, 17 Dec 2024 16:04:48 +0300	[thread overview]
Message-ID: <CAP1tNvRNW2Ua5CiQPYiwEpfqvrZ1EyYoF-Cu1BWDVpHq31beGA@mail.gmail.com> (raw)
In-Reply-To: <20241215095412.3756337-1-a.fatoum@pengutronix.de>

ERROR: i2c11: of_i2c: invalid reg on /hdmi@fe0a0000/ports
dwhdmi-rockchip fe0a0000.hdmi@fe0a0000.of: registered I2C bus driver
dwhdmi-rockchip fe0a0000.hdmi@fe0a0000.of: Detected HDMI TX controller
v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
rockchip-vop2 fe040000.vop@fe040000.of: Registered fb0 on VP0, window
Smart0-win0, type primary
rockchip-vop2 fe040000.vop@fe040000.of: Registered fb0_0 on VP0,
window Esmart1-win0, type overlay
NOTICE: rockchip-vop2 fe040000.vop@fe040000.of: no modes found on vp1
rockchip-vop2 fe040000.vop@fe040000.of: Registered fb1 on VP1, window
Smart1-win0, type primary
rockchip-vop2 fe040000.vop@fe040000.of: Registered fb1_0 on VP1,
window Esmart0-win0, type overlay
ERROR: i2c11: of_i2c: invalid reg on /hdmi@fe0a0000/ports

вс, 15 дек. 2024 г. в 12:54, Ahmad Fatoum <a.fatoum@pengutronix.de>:
>
> By recording the correct device tree node, it's possible to use OF
> aliases for deterministic numbering of the I2C adapter.
>
> Fixes: aea9e8bac578 ("video: add dw-hdmi driver")
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
>  drivers/video/dw-hdmi.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/video/dw-hdmi.c b/drivers/video/dw-hdmi.c
> index 73201836b7e5..cd5de17e9bd7 100644
> --- a/drivers/video/dw-hdmi.c
> +++ b/drivers/video/dw-hdmi.c
> @@ -433,6 +433,7 @@ static struct i2c_adapter *dw_hdmi_i2c_adapter(struct dw_hdmi *hdmi)
>
>         adap = &i2c->adap;
>         adap->dev.parent = hdmi->dev;
> +       adap->dev.of_node = hdmi->dev->of_node;
>         adap->master_xfer = dw_hdmi_i2c_xfer;
>         adap->nr = -1;
>
> --
> 2.39.5
>
>



      parent reply	other threads:[~2024-12-17 13:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-15  9:54 Ahmad Fatoum
2024-12-15  9:54 ` [PATCH master 2/3] i2c: i2c: fix getting adapter.nr for I2C muxes Ahmad Fatoum
2024-12-15  9:54 ` [PATCH master 3/3] i2c: order dynamically numbered adapter after highest alias id Ahmad Fatoum
2024-12-16  7:16 ` [PATCH master 1/3] video: dw-hdmi: populate missing I2C adapter device node Sascha Hauer
2024-12-17 13:04 ` Alexander Shiyan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAP1tNvRNW2Ua5CiQPYiwEpfqvrZ1EyYoF-Cu1BWDVpHq31beGA@mail.gmail.com \
    --to=eagle.alexander923@gmail.com \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox