All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/3] sunxi: Enable VGA output on Hummingbird A31
@ 2015-01-12 10:02 Chen-Yu Tsai
  2015-01-12 10:02 ` [U-Boot] [PATCH 1/3] sunxi: video: Allow external DACs for VGA on platforms without TV encoders Chen-Yu Tsai
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Chen-Yu Tsai @ 2015-01-12 10:02 UTC (permalink / raw)
  To: u-boot

Hi Hans, Ian,

This series enables the VGA output on the Hummingbird A31. The VGA output
is driven from LCD0, through an external DAC that's powered up by toggling
pin PH25.

Patch 1 allows selecting CONFIG_VIDEO_VGA_VIA_LCD on sun6i and sun8i.
These 2 platforms do not have builtin TV encoders, and some vendor may
use an external DAC to support VGA.

Patch 2 adds support for toggling a GPIO pin as part of the video init
sequence to power up the DAC

Patch 3 updates the Hummingbird A31 defconfig to enable VGA output.

I have one question about the VGA_VIA_LCD code in general. The color depth
is forced to 18. Is this necessary? Can we make it configurable? I haven't
tried displaying pictures so I don't know if it makes a visible difference.

Also with the VGA output on my Hummingbird A31, I get greenish flashing
pixels where it should be black, like in and between characters. Once
booted in to the kernel this disappears, and I get a nice console with
simplefb. Kind of weird.


Cheers
ChenYu


Chen-Yu Tsai (3):
  sunxi: video: Allow external DACs for VGA on platforms without TV
    encoders
  sunxi: video: Add support for external DAC enable pin
  sunxi: Hummingbird_A31_defconfig: Enable VGA output through external
    DAC

 board/sunxi/Kconfig               | 10 +++++++++-
 configs/Hummingbird_A31_defconfig |  2 ++
 drivers/video/sunxi_display.c     | 18 ++++++++++++++++++
 3 files changed, 29 insertions(+), 1 deletion(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-01-13 11:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-12 10:02 [U-Boot] [PATCH 0/3] sunxi: Enable VGA output on Hummingbird A31 Chen-Yu Tsai
2015-01-12 10:02 ` [U-Boot] [PATCH 1/3] sunxi: video: Allow external DACs for VGA on platforms without TV encoders Chen-Yu Tsai
2015-01-12 10:02 ` [U-Boot] [PATCH 2/3] sunxi: video: Add support for external DAC enable pin Chen-Yu Tsai
2015-01-12 10:19   ` Hans de Goede
2015-01-12 10:51     ` Chen-Yu Tsai
2015-01-12 10:02 ` [U-Boot] [PATCH 3/3] sunxi: Hummingbird_A31_defconfig: Enable VGA output through external DAC Chen-Yu Tsai
2015-01-12 10:18 ` [U-Boot] [PATCH 0/3] sunxi: Enable VGA output on Hummingbird A31 Hans de Goede
2015-01-12 11:00   ` Chen-Yu Tsai
2015-01-13 11:16 ` Hans de Goede

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.