Message ID | 1496246386-61447-6-git-send-email-philipp.tomsich@theobroma-systems.com |
---|---|
State | Accepted |
Commit | f210e5574ff92734220c9c16a33534faa6959255 |
Delegated to: | Anatolij Gustschin |
Headers | show |
On 31 May 2017 at 09:59, Philipp Tomsich <philipp.tomsich@theobroma-systems.com> wrote: > The Linux driver now supports higher mpixelclock settings. > Add these to rockchip_phy_config[] and rockchip_mpll_cfg[]. > > Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> > > --- > > Changes in v4: > - new patch (split off from the earlier RK3399 HDMI encoder change) > > Changes in v3: None > Changes in v2: None > > drivers/video/rockchip/rk_hdmi.c | 9 +++++++++ > 1 file changed, 9 insertions(+) Reviewed-by: Simon Glass <sjg@chromium.org>
On Wed, 31 May 2017 17:59:32 +0200 Philipp Tomsich philipp.tomsich@theobroma-systems.com wrote: ... > Changes in v4: > - new patch (split off from the earlier RK3399 HDMI encoder change) > > Changes in v3: None > Changes in v2: None > > drivers/video/rockchip/rk_hdmi.c | 9 +++++++++ > 1 file changed, 9 insertions(+) applied to u-boot-video/master, thanks! -- Anatolij
diff --git a/drivers/video/rockchip/rk_hdmi.c b/drivers/video/rockchip/rk_hdmi.c index db07588..2af4995 100644 --- a/drivers/video/rockchip/rk_hdmi.c +++ b/drivers/video/rockchip/rk_hdmi.c @@ -35,6 +35,9 @@ static const struct hdmi_phy_config rockchip_phy_config[] = { .mpixelclock = 297000000, .sym_ctr = 0x8039, .term = 0x0005, .vlev_ctr = 0x028d, }, { + .mpixelclock = 584000000, + .sym_ctr = 0x8039, .term = 0x0000, .vlev_ctr = 0x019d, + }, { .mpixelclock = ~0ul, .sym_ctr = 0x0000, .term = 0x0000, .vlev_ctr = 0x0000, } @@ -60,6 +63,12 @@ static const struct hdmi_mpll_config rockchip_mpll_cfg[] = { .mpixelclock = 148500000, .cpce = 0x0051, .gmp = 0x0003, .curr = 0x0000, }, { + .mpixelclock = 272000000, + .cpce = 0x0040, .gmp = 0x0003, .curr = 0x0000, + }, { + .mpixelclock = 340000000, + .cpce = 0x0040, .gmp = 0x0003, .curr = 0x0000, + }, { .mpixelclock = ~0ul, .cpce = 0x0051, .gmp = 0x0003, .curr = 0x0000, }
The Linux driver now supports higher mpixelclock settings. Add these to rockchip_phy_config[] and rockchip_mpll_cfg[]. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> --- Changes in v4: - new patch (split off from the earlier RK3399 HDMI encoder change) Changes in v3: None Changes in v2: None drivers/video/rockchip/rk_hdmi.c | 9 +++++++++ 1 file changed, 9 insertions(+)