]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: video: add mpixelclock settings from Linux driver
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 31 May 2017 15:59:32 +0000 (17:59 +0200)
committerSimon Glass <sjg@chromium.org>
Thu, 8 Jun 2017 03:30:50 +0000 (21:30 -0600)
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>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/video/rockchip/rk_hdmi.c

index 0479d6eb95e49526f0b6b5d448b1dde3ffc997ab..2d1b5e758eb58c698622caff508dc131f9f29504 100644 (file)
@@ -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,