Skip to content

Commit

Permalink
ayufan: drm: rockchip: add support for modeline 32MHz (ex. `1024x600@…
Browse files Browse the repository at this point in the history
…43`)
  • Loading branch information
ayufan committed Apr 9, 2020
1 parent 81043e6 commit 652fb97
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/rockchip/clk-rk3399.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ static struct rockchip_pll_rate_table rk3399_pll_rates[] = {
RK3036_PLL_RATE( 74250000, 2, 99, 4, 4, 1, 0),
RK3036_PLL_RATE( 65000000, 1, 65, 6, 4, 1, 0),
RK3036_PLL_RATE( 54000000, 1, 54, 6, 4, 1, 0),
RK3036_PLL_RATE( 32000000, 3, 112, 7, 4, 0, 0),
RK3036_PLL_RATE( 27000000, 1, 27, 6, 4, 1, 0),
{ /* sentinel */ },
};
Expand Down
6 changes: 6 additions & 0 deletions drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ static const struct dw_hdmi_mpll_config rockchip_mpll_cfg[] = {
{ 0x2153, 0x0000},
{ 0x40f3, 0x0000}
},
}, {
32000000, {
{ 0x0072, 0x0001},
{ 0x2153, 0x0000},
{ 0x40f3, 0x0000}
},
}, {
36000000, {
{ 0x00b3, 0x0000},
Expand Down

0 comments on commit 652fb97

Please sign in to comment.