xref: /openbmc/u-boot/drivers/video/Kconfig (revision e7e8823c)
16b1ba984SSimon Glassconfig VIDEO_VESA
26b1ba984SSimon Glass	bool "Enable VESA video driver support"
36b1ba984SSimon Glass	depends on X86
46b1ba984SSimon Glass	default n
56b1ba984SSimon Glass	help
66b1ba984SSimon Glass	  Turn on this option to enable a very simple driver which uses vesa
76b1ba984SSimon Glass	  to discover the video mode and then provides a frame buffer for use
86b1ba984SSimon Glass	  by U-Boot. This can in principle be used with any platform that
96b1ba984SSimon Glass	  supports PCI and video cards that support VESA BIOS Extension (VBE).
106b1ba984SSimon Glass
11b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SSD2828
12b8329acfSSiarhei Siamashka	bool "SSD2828 bridge chip"
13b8329acfSSiarhei Siamashka	default n
14b8329acfSSiarhei Siamashka	---help---
15b8329acfSSiarhei Siamashka	Support for the SSD2828 bridge chip, which can take pixel data coming
16b8329acfSSiarhei Siamashka	from a parallel LCD interface and translate it on the fly into MIPI DSI
17b8329acfSSiarhei Siamashka	interface for driving a MIPI compatible LCD panel. It uses SPI for
18b8329acfSSiarhei Siamashka	configuration.
19b8329acfSSiarhei Siamashka
20b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SSD2828_TX_CLK
21b8329acfSSiarhei Siamashka	int "SSD2828 TX_CLK frequency (in MHz)"
22b8329acfSSiarhei Siamashka	depends on VIDEO_LCD_SSD2828
23dddccd69SSiarhei Siamashka	default 0
24b8329acfSSiarhei Siamashka	---help---
25b8329acfSSiarhei Siamashka	The frequency of the crystal, which is clocking SSD2828. It may be
26b8329acfSSiarhei Siamashka	anything in the 8MHz-30MHz range and the exact value should be
27b8329acfSSiarhei Siamashka	retrieved from the board schematics. Or in the case of Allwinner
28b8329acfSSiarhei Siamashka	hardware, it can be usually found as 'lcd_xtal_freq' variable in
29dddccd69SSiarhei Siamashka	FEX files. It can be also set to 0 for selecting PCLK from the
30dddccd69SSiarhei Siamashka	parallel LCD interface instead of TX_CLK as the PLL clock source.
31b8329acfSSiarhei Siamashka
32b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SSD2828_RESET
33b8329acfSSiarhei Siamashka	string "RESET pin of SSD2828"
34b8329acfSSiarhei Siamashka	depends on VIDEO_LCD_SSD2828
35b8329acfSSiarhei Siamashka	default ""
36b8329acfSSiarhei Siamashka	---help---
37b8329acfSSiarhei Siamashka	The reset pin of SSD2828 chip. This takes a string in the format
38b8329acfSSiarhei Siamashka	understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
39b8329acfSSiarhei Siamashka
40a5464f2bSHans de Goedeconfig VIDEO_LCD_HITACHI_TX18D42VM
41a5464f2bSHans de Goede	bool "Hitachi tx18d42vm LVDS LCD panel support"
42a5464f2bSHans de Goede	depends on VIDEO
43a5464f2bSHans de Goede	default n
44a5464f2bSHans de Goede	---help---
45a5464f2bSHans de Goede	Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a
46a5464f2bSHans de Goede	lcd controller which needs to be initialized over SPI, once that is
47a5464f2bSHans de Goede	done they work like a regular LVDS panel.
48a5464f2bSHans de Goede
49b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SPI_CS
50b8329acfSSiarhei Siamashka	string "SPI CS pin for LCD related config job"
51a5464f2bSHans de Goede	depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
52b8329acfSSiarhei Siamashka	default ""
53b8329acfSSiarhei Siamashka	---help---
54b8329acfSSiarhei Siamashka	This is one of the SPI communication pins, involved in setting up a
55b8329acfSSiarhei Siamashka	working LCD configuration. The exact role of SPI may differ for
56b8329acfSSiarhei Siamashka	different hardware setups. The option takes a string in the format
57b8329acfSSiarhei Siamashka	understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
58b8329acfSSiarhei Siamashka
59b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SPI_SCLK
60b8329acfSSiarhei Siamashka	string "SPI SCLK pin for LCD related config job"
61a5464f2bSHans de Goede	depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
62b8329acfSSiarhei Siamashka	default ""
63b8329acfSSiarhei Siamashka	---help---
64b8329acfSSiarhei Siamashka	This is one of the SPI communication pins, involved in setting up a
65b8329acfSSiarhei Siamashka	working LCD configuration. The exact role of SPI may differ for
66b8329acfSSiarhei Siamashka	different hardware setups. The option takes a string in the format
67b8329acfSSiarhei Siamashka	understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
68b8329acfSSiarhei Siamashka
69b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SPI_MOSI
70b8329acfSSiarhei Siamashka	string "SPI MOSI pin for LCD related config job"
71a5464f2bSHans de Goede	depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
72b8329acfSSiarhei Siamashka	default ""
73b8329acfSSiarhei Siamashka	---help---
74b8329acfSSiarhei Siamashka	This is one of the SPI communication pins, involved in setting up a
75b8329acfSSiarhei Siamashka	working LCD configuration. The exact role of SPI may differ for
76b8329acfSSiarhei Siamashka	different hardware setups. The option takes a string in the format
77b8329acfSSiarhei Siamashka	understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
78b8329acfSSiarhei Siamashka
79b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SPI_MISO
80b8329acfSSiarhei Siamashka	string "SPI MISO pin for LCD related config job (optional)"
81b8329acfSSiarhei Siamashka	depends on VIDEO_LCD_SSD2828
82b8329acfSSiarhei Siamashka	default ""
83b8329acfSSiarhei Siamashka	---help---
84b8329acfSSiarhei Siamashka	This is one of the SPI communication pins, involved in setting up a
85b8329acfSSiarhei Siamashka	working LCD configuration. The exact role of SPI may differ for
86b8329acfSSiarhei Siamashka	different hardware setups. If wired up, this pin may provide additional
87b8329acfSSiarhei Siamashka	useful functionality. Such as bi-directional communication with the
88b8329acfSSiarhei Siamashka	hardware and LCD panel id retrieval (if the panel can report it). The
89b8329acfSSiarhei Siamashka	option takes a string in the format understood by 'name_to_gpio'
90b8329acfSSiarhei Siamashka	function, e.g. PH1 for pin 1 of port H.
9151f2c99eSSimon Glass
9251f2c99eSSimon Glassconfig DISPLAY_PORT
9351f2c99eSSimon Glass	bool "Enable DisplayPort support"
9451f2c99eSSimon Glass	help
9551f2c99eSSimon Glass	   eDP (Embedded DisplayPort) is a standard widely used in laptops
9651f2c99eSSimon Glass	   to drive LCD panels. This framework provides support for enabling
9751f2c99eSSimon Glass	   these displays where supported by the video hardware.
98*e7e8823cSSimon Glass
99*e7e8823cSSimon Glassconfig VIDEO_TEGRA124
100*e7e8823cSSimon Glass	bool "Enable video support on Tegra124"
101*e7e8823cSSimon Glass	help
102*e7e8823cSSimon Glass	   Tegra124 supports many video output options including eDP and
103*e7e8823cSSimon Glass	   HDMI. At present only eDP is supported by U-Boot. This option
104*e7e8823cSSimon Glass	   enables this support which can be used on devices which
105*e7e8823cSSimon Glass	   have an eDP display connected.
106