From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH master 1/3] video: dw-hdmi: populate missing I2C adapter device node
Date: Sun, 15 Dec 2024 10:54:10 +0100 [thread overview]
Message-ID: <20241215095412.3756337-1-a.fatoum@pengutronix.de> (raw)
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
next reply other threads:[~2024-12-15 9:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-15 9:54 Ahmad Fatoum [this message]
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
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=20241215095412.3756337-1-a.fatoum@pengutronix.de \
--to=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