mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Andy Yan" <andyshrk@163.com>
To: "Heiko Stuebner" <heiko@sntech.de>
Cc: maarten.lankhorst@linux.intel.com, mripard@kernel.org,
	tzimmermann@suse.de, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, quentin.schulz@cherry.de,
	andy.yan@rock-chips.com, dri-devel@lists.freedesktop.org,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
	cn.liweihao@gmail.com,
	"Heiko Stuebner" <heiko.stuebner@cherry.de>
Subject: Re:[PATCH v2 2/9] drm/rockchip: hdmi: add RK3368 controller variant
Date: Sun, 26 Oct 2025 16:38:35 +0800 (CST)	[thread overview]
Message-ID: <1a7115bc.1597.19a1fab5ca2.Coremail.andyshrk@163.com> (raw)
In-Reply-To: <20251021074254.87065-3-heiko@sntech.de>


Hello Heiko,

At 2025-10-21 15:42:47, "Heiko Stuebner" <heiko@sntech.de> wrote:
>From: Heiko Stuebner <heiko.stuebner@cherry.de>
>
>The RK3368 has only one VOP, so there is no source selection happening
>and the controller uses an internal PHY for the HDMI output.
>
>Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>

Reviewed-by: Andy Yan <andyshrk@163.com>

Thanks


>---
> drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
>diff --git a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
>index 7b613997bb50..95ff3fce97a3 100644
>--- a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
>+++ b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
>@@ -467,6 +467,19 @@ static const struct dw_hdmi_plat_data rk3328_hdmi_drv_data = {
> 	.use_drm_infoframe = true,
> };
> 
>+static struct rockchip_hdmi_chip_data rk3368_chip_data = {
>+	.lcdsel_grf_reg = -1,
>+};
>+
>+static const struct dw_hdmi_plat_data rk3368_hdmi_drv_data = {
>+	.mode_valid = dw_hdmi_rockchip_mode_valid,
>+	.mpll_cfg   = rockchip_mpll_cfg,
>+	.cur_ctr    = rockchip_cur_ctr,
>+	.phy_config = rockchip_phy_config,
>+	.phy_data = &rk3368_chip_data,
>+	.use_drm_infoframe = true,
>+};
>+
> static struct rockchip_hdmi_chip_data rk3399_chip_data = {
> 	.lcdsel_grf_reg = RK3399_GRF_SOC_CON20,
> 	.lcdsel_big = FIELD_PREP_WM16_CONST(RK3399_HDMI_LCDC_SEL, 0),
>@@ -507,6 +520,9 @@ static const struct of_device_id dw_hdmi_rockchip_dt_ids[] = {
> 	{ .compatible = "rockchip,rk3328-dw-hdmi",
> 	  .data = &rk3328_hdmi_drv_data
> 	},
>+	{ .compatible = "rockchip,rk3368-dw-hdmi",
>+	 .data = &rk3368_hdmi_drv_data
>+	},
> 	{ .compatible = "rockchip,rk3399-dw-hdmi",
> 	  .data = &rk3399_hdmi_drv_data
> 	},
>-- 
>2.47.2

  reply	other threads:[~2025-10-26  8:39 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-21  7:42 [PATCH v2 0/9] General RK3368 HDMI support and 2 outputs for RK3368-Lion Heiko Stuebner
2025-10-21  7:42 ` [PATCH v2 1/9] dt-bindings: display: rockchip: dw-hdmi: Add compatible for RK3368 HDMI Heiko Stuebner
2025-10-21  7:42 ` [PATCH v2 2/9] drm/rockchip: hdmi: add RK3368 controller variant Heiko Stuebner
2025-10-26  8:38   ` Andy Yan [this message]
2025-10-21  7:42 ` [PATCH v2 3/9] soc: rockchip: grf: Add select correct PWM implementation on RK3368 Heiko Stuebner
2025-10-21  7:42 ` [PATCH v2 4/9] arm64: dts: rockchip: Add power-domain to RK3368 DSI controller Heiko Stuebner
2025-12-01 15:23   ` Quentin Schulz
2025-10-21  7:42 ` [PATCH v2 5/9] arm64: dts: rockchip: Add power-domain to RK3368 VOP controller Heiko Stuebner
2025-12-01 15:38   ` Quentin Schulz
2025-10-21  7:42 ` [PATCH v2 6/9] arm64: dts: rockchip: Use phandle for i2c_lvds_blc on rk3368-lion haikou Heiko Stuebner
2025-12-01 15:41   ` Quentin Schulz
2025-10-21  7:42 ` [PATCH v2 7/9] arm64: dts: rockchip: Add HDMI node to RK3368 Heiko Stuebner
2025-10-21  7:42 ` [PATCH v2 8/9] arm64: dts: rockchip: Enable HDMI output on RK3368-Lion-Haikou Heiko Stuebner
2025-12-01 16:31   ` Quentin Schulz
2025-12-02 10:41   ` Quentin Schulz
2025-10-21  7:42 ` [PATCH v2 9/9] arm64: dts: rockchip: Add the Video-Demo overlay for Lion Haikou Heiko Stuebner
2025-12-02 13:37   ` Quentin Schulz
2025-12-03 10:36     ` Quentin Schulz
2025-11-17 21:59 ` (subset) [PATCH v2 0/9] General RK3368 HDMI support and 2 outputs for RK3368-Lion Heiko Stuebner
2025-11-20 22:23 ` Heiko Stuebner
2025-12-15 13:57 ` Heiko Stuebner

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=1a7115bc.1597.19a1fab5ca2.Coremail.andyshrk@163.com \
    --to=andyshrk@163.com \
    --cc=andy.yan@rock-chips.com \
    --cc=cn.liweihao@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=heiko.stuebner@cherry.de \
    --cc=heiko@sntech.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=quentin.schulz@cherry.de \
    --cc=robh@kernel.org \
    --cc=tzimmermann@suse.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

all inboxes | Powered by JetHome®