]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi: video: Force h/vsync active high when using ext. vga dac on some boards
authorHans de Goede <hdegoede@redhat.com>
Sun, 25 Jan 2015 14:33:07 +0000 (15:33 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 2 Feb 2015 12:57:16 +0000 (13:57 +0100)
commitfb75d972eaf5c887ada28e73d3e84d52931d4cb0
tree1bd562e1ddadc7242ca3027a898c0f7461bd6501
parent8d0df9be927eff1be9aef29aa995f6b54900962e
sunxi: video: Force h/vsync active high when using ext. vga dac on some boards

On both my A13-OLinuxIno and my A13-OLinuxIno-Micro, the vga output gives an
unstable image when active low v or hsync is used.

The problem seems to be specific to the OLinuxIno A13 (normal & micro)
boards. I've just looked up the schematics and they use an opendrain driver
for the vga sync lines, and with sync pulses it is the logical high->low
edge of the pulse which counts for the timing, which with an active low
sync is being driven by the pull-up, and that simply seems to not drive
it hard enough to get a stable image.

So force v and hsync active high on these boards. independent of what the
modeline says. This fixes the unstable image.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
board/sunxi/Kconfig
configs/A13-OLinuXinoM_defconfig
configs/A13-OLinuXino_defconfig
drivers/video/sunxi_display.c