public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Johan Jonker <jbx6244@gmail.com>
To: kever.yang@rock-chips.com
Cc: sjg@chromium.org, philipp.tomsich@vrull.eu, hl@rock-chips.com,
	jernej.skrabec@gmail.com, w.egorov@phytec.de,
	michael@amarulasolutions.com, agust@denx.de,
	u-boot@lists.denx.de
Subject: [PATCH v1] rockchip: video: mipi: add more compatible strings for rk3288/rk3399
Date: Sat, 16 Apr 2022 10:25:16 +0200	[thread overview]
Message-ID: <20220416082516.16005-1-jbx6244@gmail.com> (raw)

The rk3288/RK3399 DT synced from Linux contains some different
compatible strings in the mipi node then origanal used in U-boot.
Allow both options to be backwards compatible and to be able
to handle recent rk3288.dtsi and rk3399.dtsi files.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---

Fix for rk3288.dtsi and rk3399.dtsi sync from Linux.
Not tested with hardware.
---
 drivers/video/rockchip/rk3288_mipi.c | 1 +
 drivers/video/rockchip/rk3399_mipi.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/video/rockchip/rk3288_mipi.c b/drivers/video/rockchip/rk3288_mipi.c
index 7e48dd83..c0dffa3c 100644
--- a/drivers/video/rockchip/rk3288_mipi.c
+++ b/drivers/video/rockchip/rk3288_mipi.c
@@ -174,6 +174,7 @@ static const struct dm_display_ops rk_mipi_dsi_ops = {
 };
 
 static const struct udevice_id rk_mipi_dsi_ids[] = {
+	{ .compatible = "rockchip,rk3288-mipi-dsi" },
 	{ .compatible = "rockchip,rk3288_mipi_dsi" },
 	{ }
 };
diff --git a/drivers/video/rockchip/rk3399_mipi.c b/drivers/video/rockchip/rk3399_mipi.c
index 91733504..7fc79ba9 100644
--- a/drivers/video/rockchip/rk3399_mipi.c
+++ b/drivers/video/rockchip/rk3399_mipi.c
@@ -165,6 +165,7 @@ static const struct dm_display_ops rk_mipi_dsi_ops = {
 };
 
 static const struct udevice_id rk_mipi_dsi_ids[] = {
+	{ .compatible = "rockchip,rk3399-mipi-dsi" },
 	{ .compatible = "rockchip,rk3399_mipi_dsi" },
 	{ }
 };
-- 
2.20.1


             reply	other threads:[~2022-04-16  8:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-16  8:25 Johan Jonker [this message]
2022-04-18  3:21 ` [PATCH v1] rockchip: video: mipi: add more compatible strings for rk3288/rk3399 Kever Yang

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=20220416082516.16005-1-jbx6244@gmail.com \
    --to=jbx6244@gmail.com \
    --cc=agust@denx.de \
    --cc=hl@rock-chips.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=kever.yang@rock-chips.com \
    --cc=michael@amarulasolutions.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=w.egorov@phytec.de \
    /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