* [PATCH v1] rockchip: video: mipi: add more compatible strings for rk3288/rk3399
@ 2022-04-16 8:25 Johan Jonker
2022-04-18 3:21 ` Kever Yang
0 siblings, 1 reply; 2+ messages in thread
From: Johan Jonker @ 2022-04-16 8:25 UTC (permalink / raw)
To: kever.yang
Cc: sjg, philipp.tomsich, hl, jernej.skrabec, w.egorov, michael,
agust, u-boot
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1] rockchip: video: mipi: add more compatible strings for rk3288/rk3399
2022-04-16 8:25 [PATCH v1] rockchip: video: mipi: add more compatible strings for rk3288/rk3399 Johan Jonker
@ 2022-04-18 3:21 ` Kever Yang
0 siblings, 0 replies; 2+ messages in thread
From: Kever Yang @ 2022-04-18 3:21 UTC (permalink / raw)
To: Johan Jonker
Cc: sjg, philipp.tomsich, hl, jernej.skrabec, w.egorov, michael,
agust, u-boot
On 2022/4/16 16:25, Johan Jonker wrote:
> 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>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Thanks,
- Kever
> ---
>
> 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" },
> { }
> };
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-18 3:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-16 8:25 [PATCH v1] rockchip: video: mipi: add more compatible strings for rk3288/rk3399 Johan Jonker
2022-04-18 3:21 ` Kever Yang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.