diff options
author | Vasily Khoruzhick <anarsoul@gmail.com> | 2017-10-26 21:51:51 -0700 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2017-10-27 09:39:19 +0200 |
commit | 79f285ddebea204eedefb4cb4bfe4a2710138fa3 (patch) | |
tree | 785b52bbd6f2bd13772a9c104525b45fa12ed808 /arch/arm/include/asm/arch-sunxi | |
parent | 491041c74965275defd2749db0e2248b2a7e317a (diff) |
sunxi: video: split out PLL configuration code
It will be reused in new DM LCD driver.
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/lcdc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/lcdc.h b/arch/arm/include/asm/arch-sunxi/lcdc.h index a751698b4f..132c480106 100644 --- a/arch/arm/include/asm/arch-sunxi/lcdc.h +++ b/arch/arm/include/asm/arch-sunxi/lcdc.h @@ -124,5 +124,8 @@ void lcdc_tcon0_mode_set(struct sunxi_lcdc_reg * const lcdc, void lcdc_tcon1_mode_set(struct sunxi_lcdc_reg * const lcdc, const struct display_timing *mode, bool ext_hvsync, bool is_composite); +void lcdc_pll_set(struct sunxi_ccm_reg * const ccm, int tcon, + int dotclock, int *clk_div, int *clk_double, + bool is_composite); #endif /* _LCDC_H */ |