Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/rockchip: hdmi: add RK3368 controller variant

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>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patch.msgid.link/20251021074254.87065-3-heiko@sntech.de

authored by

Heiko Stuebner and committed by
Heiko Stuebner
e7a943f0 0edbd43e

+16
+16
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
··· 467 467 .use_drm_infoframe = true, 468 468 }; 469 469 470 + static struct rockchip_hdmi_chip_data rk3368_chip_data = { 471 + .lcdsel_grf_reg = -1, 472 + }; 473 + 474 + static const struct dw_hdmi_plat_data rk3368_hdmi_drv_data = { 475 + .mode_valid = dw_hdmi_rockchip_mode_valid, 476 + .mpll_cfg = rockchip_mpll_cfg, 477 + .cur_ctr = rockchip_cur_ctr, 478 + .phy_config = rockchip_phy_config, 479 + .phy_data = &rk3368_chip_data, 480 + .use_drm_infoframe = true, 481 + }; 482 + 470 483 static struct rockchip_hdmi_chip_data rk3399_chip_data = { 471 484 .lcdsel_grf_reg = RK3399_GRF_SOC_CON20, 472 485 .lcdsel_big = FIELD_PREP_WM16_CONST(RK3399_HDMI_LCDC_SEL, 0), ··· 519 506 }, 520 507 { .compatible = "rockchip,rk3328-dw-hdmi", 521 508 .data = &rk3328_hdmi_drv_data 509 + }, 510 + { .compatible = "rockchip,rk3368-dw-hdmi", 511 + .data = &rk3368_hdmi_drv_data 522 512 }, 523 513 { .compatible = "rockchip,rk3399-dw-hdmi", 524 514 .data = &rk3399_hdmi_drv_data