u-boot-brain/drivers
Jernej Skrabec 1feed358ed sunxi: video: HDMI: Fix clock setup
Currently, HDMI driver doesn't consider minimum and maximum allowed rate
of pll3 (video PLL). It works most of the time, but not always.

Consider monitor with resolution 1920x1200, which has pixel clock rate
of 154 MHz. Current code would determine that pll3 rate has to be set to
154 MHz. However, minimum supported rate is 192 MHz. In this case video
output just won't work.

The reason why the driver is written in the way it is, is that at the
time HDMI PHY and clock configuration wasn't fully understood. But now
we have needed knowledge, so the issue can be fixed.

With this fix, clock configuration routine uses full range (1-16) for
clock divider instead of limited one (1, 2, 4, 11). It also considers
minimum and maximum allowed rate for pll3.

Fixes: 56009451d8 ("sunxi: video: Add A64/H3/H5 HDMI driver")
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
2019-03-28 23:45:41 +01:00
..
adc adc: exynos-adc: Fix wrong bit operation used to stop the ADC 2019-03-11 15:53:19 +09:00
ata
axi
bios_emulator
block blk: Increase cache element size 2019-01-15 15:28:53 -05:00
board
bootcount
clk clk: sunxi: h3: Implement EPHY CLK and RESET 2019-03-09 13:16:35 +05:30
core dm: syscon: Don't require a regmap for PCI devices 2019-02-20 15:21:44 +08:00
cpu cpu: Bind timer driver for boot hart 2019-02-27 09:12:33 +08:00
crypto
ddr mv_ddr: ddr3: only use active chip-selects when tuning ODT 2019-03-19 09:22:05 +01:00
demo
dfu dfu: mmc: call fs functions instead of run_command 2019-01-30 21:22:53 -05:00
dma dma: add bcm6348-iudma support 2018-12-19 15:23:00 +01:00
fastboot fastboot: common: fix default fastboot_boot on 64-bit 2019-03-16 13:29:43 +01:00
firmware firmware: psci: introduce SPL_ARM_PSCI_FW 2018-12-12 12:14:25 -05:00
fpga ARM: socfpga: stratix10: Return valid error code from FPGA driver 2019-02-18 13:00:54 +01:00
gpio gpio: altera_pio: fix get_value 2019-02-25 16:07:36 +01:00
hwspinlock
i2c i2c: i2c_cdns: Fix below warnings with checker tool 2019-03-21 08:21:43 +01:00
input Kconfig: tegra: Migrate TEGRA_KEYBOARD 2019-02-20 09:01:45 -07:00
led
mailbox
memory
misc xilinx: common: Remove !DM_i2C code for reading mac from eeprom 2019-02-14 14:31:10 +01:00
mmc mmc: Align MMC_TRACE with tiny printf 2019-03-25 11:44:12 -04:00
mtd Convert CONFIG_SF_DEFAULT_* to Kconfig 2019-03-25 17:36:53 -04:00
net drivers: net: ls1088ardb: Fix EC1 and EC2 RCW offset 2019-03-15 11:52:01 +05:30
nvme
pch pch: Add ioctl support 2019-02-20 15:27:08 +08:00
pci pci: pci_mvebu: Add comment about missing of_n_addr_cells() call 2019-03-19 09:22:05 +01:00
pcmcia
phy phy: sun4i-usb: Use CLK and RESET support 2019-01-18 22:19:09 +05:30
pinctrl pinctrl: add imx8m driver 2019-03-13 09:14:35 +01:00
power Merge branch 'master' of git://git.denx.de/u-boot-samsung 2019-03-14 11:37:11 -04:00
pwm
qe
ram rockchip: ram: update license for sdram driver 2019-01-02 22:37:10 +01:00
remoteproc
reset reset: Add Allwinner RESET driver 2019-01-18 22:19:08 +05:30
rtc
scsi dm: scsi: report correct device number 2019-02-19 08:55:43 -05:00
serial imx: serial_mxc: use CONFIG_IS_ENABLED instead of ifdef 2019-03-13 09:14:35 +01:00
smem
soc
sound x86: Add sound support for samus 2019-02-20 15:27:11 +08:00
spi spi: Rename sun4i_spi.c into spi-sunxi.c 2019-03-04 18:08:56 +05:30
spmi
sysreset x86: Add efi runtime reset 2019-03-11 00:44:42 +01:00
tee tee: change return code for REE FS supplicant cmd 2018-12-15 11:49:19 -05:00
thermal
timer x86: tsc: Add support for native calibration of TSC freq 2019-02-12 14:37:16 +08:00
tpm
usb usb: udc-uclass: Fixed problem when no alias is defined in DT 2019-03-16 13:29:43 +01:00
video sunxi: video: HDMI: Fix clock setup 2019-03-28 23:45:41 +01:00
virtio
w1 w1: Add driver for i.MX bus master controller 2019-01-01 14:12:18 +01:00
w1-eeprom
watchdog watchdog: bcm6345: allow to use this driver on arm bcm63158 2019-02-09 07:50:59 -05:00
Kconfig x86: sandbox: pch: Add a CONFIG option for PCH 2019-02-20 15:25:30 +08:00
Makefile x86: sandbox: pch: Add a CONFIG option for PCH 2019-02-20 15:25:30 +08:00