video: Add support for SSD2828 (parallel LCD to MIPI bridge)
[oweals/u-boot.git] / drivers / video / Kconfig
1 config VIDEO_X86
2         bool "Enable x86 video driver support"
3         depends on X86
4         default n
5         help
6           Turn on this option to enable a very simple driver which uses vesa
7           to discover the video mode and then provides a frame buffer for use
8           by U-Boot.
9
10 config VIDEO_LCD_SSD2828
11         bool "SSD2828 bridge chip"
12         default n
13         ---help---
14         Support for the SSD2828 bridge chip, which can take pixel data coming
15         from a parallel LCD interface and translate it on the fly into MIPI DSI
16         interface for driving a MIPI compatible LCD panel. It uses SPI for
17         configuration.
18
19 config VIDEO_LCD_SSD2828_TX_CLK
20         int "SSD2828 TX_CLK frequency (in MHz)"
21         depends on VIDEO_LCD_SSD2828
22         ---help---
23         The frequency of the crystal, which is clocking SSD2828. It may be
24         anything in the 8MHz-30MHz range and the exact value should be
25         retrieved from the board schematics. Or in the case of Allwinner
26         hardware, it can be usually found as 'lcd_xtal_freq' variable in
27         FEX files.
28
29 config VIDEO_LCD_SSD2828_RESET
30         string "RESET pin of SSD2828"
31         depends on VIDEO_LCD_SSD2828
32         default ""
33         ---help---
34         The reset pin of SSD2828 chip. This takes a string in the format
35         understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
36
37 config VIDEO_LCD_SPI_CS
38         string "SPI CS pin for LCD related config job"
39         depends on VIDEO_LCD_SSD2828
40         default ""
41         ---help---
42         This is one of the SPI communication pins, involved in setting up a
43         working LCD configuration. The exact role of SPI may differ for
44         different hardware setups. The option takes a string in the format
45         understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
46
47 config VIDEO_LCD_SPI_SCLK
48         string "SPI SCLK pin for LCD related config job"
49         depends on VIDEO_LCD_SSD2828
50         default ""
51         ---help---
52         This is one of the SPI communication pins, involved in setting up a
53         working LCD configuration. The exact role of SPI may differ for
54         different hardware setups. The option takes a string in the format
55         understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
56
57 config VIDEO_LCD_SPI_MOSI
58         string "SPI MOSI pin for LCD related config job"
59         depends on VIDEO_LCD_SSD2828
60         default ""
61         ---help---
62         This is one of the SPI communication pins, involved in setting up a
63         working LCD configuration. The exact role of SPI may differ for
64         different hardware setups. The option takes a string in the format
65         understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
66
67 config VIDEO_LCD_SPI_MISO
68         string "SPI MISO pin for LCD related config job (optional)"
69         depends on VIDEO_LCD_SSD2828
70         default ""
71         ---help---
72         This is one of the SPI communication pins, involved in setting up a
73         working LCD configuration. The exact role of SPI may differ for
74         different hardware setups. If wired up, this pin may provide additional
75         useful functionality. Such as bi-directional communication with the
76         hardware and LCD panel id retrieval (if the panel can report it). The
77         option takes a string in the format understood by 'name_to_gpio'
78         function, e.g. PH1 for pin 1 of port H.