u-boot/drivers/video
Mark Kettenis f34e7fc29b sunxi: video: HDMI: Fix LCD clock divider
Currently we may end up with an LCD clock divider that differs from
the HDMI PHY clock divider if we can't exactly match the pixel clock.
Fix this by using DIV_ROUND_UP to calculate the divider.  This works
since the PLL is chosen such that the resulting pixel clock is
never higher than the requested pixel clock.

Fixes: 1feed358ed ("sunxi: video: HDMI: Fix clock setup")

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
2019-09-21 10:52:57 +02:00
..
bridge dm: video: bridge: don't fail to activate bridge if reset or sleep GPIO is missing 2018-11-13 22:08:23 +05:30
exynos SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fonts video: Add a default TrueType font 2018-12-28 12:27:53 +01:00
imx mxc_ipuv3_fb.c: enable a backlight on a panel 2019-07-30 12:58:33 +02:00
meson video: dw_hdmi: Add support for ddc-i2c-bus property 2019-07-29 00:32:59 +02:00
rockchip video: dw_hdmi: Add support for ddc-i2c-bus property 2019-07-29 00:32:59 +02:00
stm32 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sunxi sunxi: video: HDMI: Fix LCD clock divider 2019-09-21 10:52:57 +02:00
tegra124 drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
am335x-fb.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
am335x-fb.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
anx98xx-edp.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
anx9804.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
anx9804.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04: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: Move env_get() to env.h 2019-08-11 16:43:41 -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 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
atmel_lcdfb.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
backlight_gpio.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
backlight-uclass.c panel: Expand the backlight support 2018-10-09 04:40:27 -06:00
bcm2835.c video: arm: rpi: Bail out early if querying video information fails 2019-07-29 10:14:04 +02:00
broadwell_igd.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bus_vcxk.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cfb_console.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
console_normal.c video/console: Fix DM_VIDEO font glyph array indexing 2019-04-14 14:18:47 +02:00
console_rotate.c video/console: Fix DM_VIDEO font glyph array indexing 2019-04-14 14:18:47 +02:00
console_truetype.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
coreboot.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
da8xx-fb.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
da8xx-fb.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
display-uclass.c video: display: use edid_get_timing_validate() variant to filter supported EDID modes 2019-07-29 00:21:49 +02:00
dw_hdmi.c video: dw_hdmi: Add support for ddc-i2c-bus property 2019-07-29 00:32:59 +02:00
efi.c dm: video: Add an EFI framebuffer driver 2018-06-17 21:16:04 +08:00
formike.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsl_dcu_fb.c video: fsl_dcu_fb: add DM_VIDEO support 2019-07-29 00:09:06 +02:00
fsl_diu_fb.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
hitachi_tx18d42vm_lcd.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
hitachi_tx18d42vm_lcd.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
i915_reg.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ihs_video_out.c ihs_video_out: Fix error handling 2019-01-28 21:29:25 +01:00
ivybridge_igd.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig video: fsl_dcu_fb: add DM_VIDEO support 2019-07-29 00:09:06 +02:00
ld9040.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
lg4573.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
logicore_dp_dpcd.h video_display: Add Xilinx LogiCore DP TX 2018-08-11 09:18:44 +02:00
logicore_dp_tx_regif.h video_display: Add Xilinx LogiCore DP TX 2018-08-11 09:18:44 +02:00
logicore_dp_tx.c video_display: Add Xilinx LogiCore DP TX 2018-08-11 09:18:44 +02:00
logicore_dp_tx.h video_display: Add Xilinx LogiCore DP TX 2018-08-11 09:18:44 +02:00
Makefile video: move ipuv3 files to subdirectory 2019-04-13 20:30:09 +02:00
mali_dp.c video: Add support for Arm's Mali Display Processors 2018-09-28 19:11:44 +02:00
mb862xx.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
mvebu_lcd.c video: Armada XP: Move driver to DM_VIDEO 2019-02-05 14:23:21 +01:00
mx3fb.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
mxsfb.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
omap3_dss.c omap3: allow dynamic selection of gfx_format 2013-03-08 16:41:13 -05:00
panel-uclass.c panel: Expand the backlight support 2018-10-09 04:40:27 -06:00
pwm_backlight.c video: backlight: fix pwm inversion 2019-07-06 23:31:52 +02:00
pxa_lcd.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
s6e8ax0.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sandbox_osd.c video_osd: Add osd sandbox driver and tests 2018-09-28 18:26:52 +02:00
sandbox_osd.h video_osd: Add osd sandbox driver and tests 2018-09-28 18:26:52 +02:00
sandbox_sdl.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
scf0403_lcd.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
simple_panel.c video, simple_panel: add lg,lb070wv8 display 2019-07-29 00:20:19 +02:00
simplefb.c video: simplefb: Remove DM_FLAG_PRE_RELOC flag 2018-11-14 09:16:28 -08:00
ssd2828.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ssd2828.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
stb_truetype.h video: stb_truetype: simplify expression 2018-03-19 09:47:02 +01:00
tda19988.c video: Add support for NXP's TDA19988 HDMI encoder 2018-09-28 18:44:50 +02:00
tegra.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
vesa.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
vidconsole-uclass.c video: Factor out vidconsole_put_string() 2019-05-20 12:00:05 +02:00
video_bmp.c video: bmp: Add support for 24bpp BMP files on 16bpp displays 2019-02-15 16:51:12 +01:00
video_osd-uclass.c drivers: Add OSD uclass 2018-09-28 18:26:32 +02:00
video-uclass.c fdt: Allow indicating a node is for U-Boot proper only 2019-07-10 16:52:58 -06:00
videomodes.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
videomodes.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00