diff options
-rw-r--r-- | drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c b/drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c index 82502b351aec..856124806353 100644 --- a/drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c +++ b/drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c | |||
@@ -417,6 +417,14 @@ static const struct sun8i_hdmi_phy_variant sun8i_h3_hdmi_phy = { | |||
417 | .phy_config = &sun8i_hdmi_phy_config_h3, | 417 | .phy_config = &sun8i_hdmi_phy_config_h3, |
418 | }; | 418 | }; |
419 | 419 | ||
420 | static const struct sun8i_hdmi_phy_variant sun8i_r40_hdmi_phy = { | ||
421 | .has_phy_clk = true, | ||
422 | .has_second_pll = true, | ||
423 | .phy_init = &sun8i_hdmi_phy_init_h3, | ||
424 | .phy_disable = &sun8i_hdmi_phy_disable_h3, | ||
425 | .phy_config = &sun8i_hdmi_phy_config_h3, | ||
426 | }; | ||
427 | |||
420 | static const struct of_device_id sun8i_hdmi_phy_of_table[] = { | 428 | static const struct of_device_id sun8i_hdmi_phy_of_table[] = { |
421 | { | 429 | { |
422 | .compatible = "allwinner,sun50i-a64-hdmi-phy", | 430 | .compatible = "allwinner,sun50i-a64-hdmi-phy", |
@@ -430,6 +438,10 @@ static const struct of_device_id sun8i_hdmi_phy_of_table[] = { | |||
430 | .compatible = "allwinner,sun8i-h3-hdmi-phy", | 438 | .compatible = "allwinner,sun8i-h3-hdmi-phy", |
431 | .data = &sun8i_h3_hdmi_phy, | 439 | .data = &sun8i_h3_hdmi_phy, |
432 | }, | 440 | }, |
441 | { | ||
442 | .compatible = "allwinner,sun8i-r40-hdmi-phy", | ||
443 | .data = &sun8i_r40_hdmi_phy, | ||
444 | }, | ||
433 | { /* sentinel */ } | 445 | { /* sentinel */ } |
434 | }; | 446 | }; |
435 | 447 | ||