u-boot/drivers/video
Hannes Schmelzer 8a094f508c am335x-fb: setup display PLL
The LCDC IP-core an be feed from several clock sources, one of those is
a dedicated DPLL for generating a dividable base-clock for this IP-core.

The TRM specifies the maximum input frequency for the LCCD with 200 MHz,
so we must not exceed this value with the PLL frequency (which can lock
much higher).

This patch tries every combination of multipliers and divisors of the
PLL and the IP-core itself for getting as near as possible the the
requested panel->pxl_clk.

Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
2018-01-11 15:19:12 +01:00
..
bridge video: add anx6345 DM driver 2017-10-26 15:43:11 +02:00
exynos exynos: video: fix typo in DisplayPort driver 2017-10-29 14:33:55 +01:00
fonts video: Add the Cantoraone decorative font 2016-01-30 10:56:34 +01:00
rockchip rockchip: video: Makefile: Add soc specific driver for rk3288 mipi dsi 2017-08-07 21:32:11 +02:00
stm32 video: add STM32 LTDC display controller 2017-09-12 13:40:47 +02:00
sunxi sunxi: video: HDMI: split VSYNC and HSYNC polarity settings 2017-12-02 22:01:23 +05:30
tegra124 dm: video: tegra124: Convert to livetree 2017-07-28 12:02:47 -06:00
am335x-fb.c am335x-fb: setup display PLL 2018-01-11 15:19:12 +01:00
am335x-fb.h am335x-fb: setup display PLL 2018-01-11 15:19:12 +01:00
anx98xx-edp.h video: anx9804: split out registers definitions into a separate header 2017-10-26 14:31:42 +02:00
anx9804.c video: anx9804: split out registers definitions into a separate header 2017-10-26 14:31:42 +02:00
anx9804.h video: Add support for the ANX9804 parallel lcd to dp bridge chip 2015-08-14 08:37:39 +02:00
ati_ids.h drivers/video : move video drivers to drivers/video 2007-11-25 18:35:11 +01:00
ati_radeon_fb.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
ati_radeon_fb.h Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
atmel_hlcdfb.c video: atmel_hlcdfb: Fix misaligned cache operation warning 2017-06-09 15:33:28 +02:00
atmel_lcdfb.c avr32: Retire AVR32 for good 2017-07-06 16:17:19 -04:00
backlight-uclass.c dm: backlight: Add a backlight uclass 2016-01-21 20:42:36 -07:00
backlight_gpio.c dm: backlight: Add a driver for GPIO backlight 2017-09-12 13:40:47 +02:00
bcm2835.c dm: video: arm: rpi: Convert to use driver model for video 2017-05-09 20:27:17 -04:00
broadwell_igd.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
bus_vcxk.c Remove typedefs from bmp_layout.h 2015-06-10 19:26:54 -06:00
cfb_console.c video: Support multiple lines version string display 2018-01-03 11:53:48 +01:00
console_normal.c video: Fix crash when scroll screen 2017-04-14 16:11:38 +02:00
console_rotate.c video: Use fractional units for X coordinates 2016-01-30 10:53:26 +01:00
console_truetype.c video: truetype: Fix a memory leak on error 2016-02-22 14:41:02 +01:00
coreboot.c dm: video: Add driver for coreboot framebuffer device 2016-10-12 10:58:12 +08:00
da8xx-fb.c video/da8xx-fb: Cache-align memory allocations 2017-10-29 14:33:24 +01:00
da8xx-fb.h video, da8xx-fb: changes for am335x usage 2013-08-10 10:38:28 +02:00
display-uclass.c video: Track whether a display is in use 2016-11-25 17:59:31 -07:00
dw_hdmi.c video: dw_hdmi: Select HDMI mode only if monitor supports it 2017-05-15 20:38:24 +02:00
formike.c video, formike: change tag/val write 2013-10-30 10:48:41 +01:00
fsl_dcu_fb.c video: fsl_dcu_fb: add additional modes for DCU 2017-04-14 13:59:07 +02:00
fsl_diu_fb.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
hitachi_tx18d42vm_lcd.c video: Add support for Hitachi tx18d42vm LVDS LCD panels 2015-01-22 20:44:33 +01:00
hitachi_tx18d42vm_lcd.h video: Add support for Hitachi tx18d42vm LVDS LCD panels 2015-01-22 20:44:33 +01:00
i915_reg.h x86: broadwell: Add video support 2016-03-17 10:27:26 +08:00
ipu.h video: ipuv3_fb: skip IPU shutdown if IPU was not enabled before 2017-09-04 23:33:45 +02:00
ipu_common.c video: ipu: Fix dereferencing NULL pointer problem 2018-01-03 09:46:52 +01:00
ipu_disp.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
ipu_regs.h video: ipu: fix out of bounds access 2015-11-30 09:18:36 +01:00
ivybridge_igd.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
Kconfig video: add an option for video simplefb via DT 2017-10-26 11:53:39 +02:00
ld9040.c video: ld9040: Fix unused variable warnings 2017-05-12 08:37:29 -04:00
lg4573.c video, lg4573: make spi bus and cs configurable 2015-09-02 15:38:16 +02:00
Makefile video: simplefb 2017-09-12 13:40:47 +02:00
mb862xx.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
mvebu_lcd.c video: Add support for Armada XP LCD controller 2016-01-23 22:58:07 +01:00
mx3fb.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
mxc_ipuv3_fb.c video: ipuv3_fb: skip IPU shutdown if IPU was not enabled before 2017-09-04 23:33:45 +02:00
mxcfb.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxsfb.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
omap3_dss.c omap3: allow dynamic selection of gfx_format 2013-03-08 16:41:13 -05:00
panel-uclass.c dm: panel: Add a panel uclass 2016-01-21 20:42:36 -07:00
pwm_backlight.c dm: video: Update pwm_backlight to support livetree 2017-07-11 10:08:20 -06:00
pxa_lcd.c Revert "pxa_lcd: make driver cache-aware" 2016-03-27 20:58:08 -04:00
s6e8ax0.c exynos: video: Move driver files into their own directory 2016-05-25 13:25:17 +09:00
s6e63d6.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sandbox_sdl.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
scf0403_lcd.c lcd: add DataImage SCF0403x LCD panel support 2013-11-12 10:08:48 +01:00
simple_panel.c video: simple-panel: Add a little more debugging 2017-07-11 10:08:20 -06:00
simplefb.c video: simplefb 2017-09-12 13:40:47 +02:00
ssd2828.c video: ssd2828: Allow using 'pclk' as the PLL clock source 2015-01-22 12:34:56 +01:00
ssd2828.h video: ssd2828: Allow using 'pclk' as the PLL clock source 2015-01-22 12:34:56 +01:00
stb_truetype.h video: freetype: Fix a memory leak with a bad parameter 2016-02-22 14:41:22 +01:00
tegra.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
vesa.c dm: video: Add driver for VESA-compatible device 2016-10-12 10:56:41 +08:00
vidconsole-uclass.c dm: video: Add color ANSI escape sequence support 2017-09-29 17:55:16 +02:00
video-uclass.c dm: video: Add basic ANSI escape sequence support 2017-09-29 17:53:21 +02:00
video_bmp.c video: bmp: rename CONFIG_BMP_24BMP to CONFIG_BMP_24BPP 2017-05-15 20:55:13 +02:00
videomodes.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
videomodes.h videomodes: Add video_edid_dtd_to_ctfb_res_modes helper function 2015-01-14 14:56:38 +01:00