video: ssd2828: Allow using 'pclk' as the PLL clock source
[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         default 0
23         ---help---
24         The frequency of the crystal, which is clocking SSD2828. It may be
25         anything in the 8MHz-30MHz range and the exact value should be
26         retrieved from the board schematics. Or in the case of Allwinner
27         hardware, it can be usually found as 'lcd_xtal_freq' variable in
28         FEX files. It can be also set to 0 for selecting PCLK from the
29         parallel LCD interface instead of TX_CLK as the PLL clock source.
30
31 config VIDEO_LCD_SSD2828_RESET
32         string "RESET pin of SSD2828"
33         depends on VIDEO_LCD_SSD2828
34         default ""
35         ---help---
36         The reset pin of SSD2828 chip. This takes a string in the format
37         understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
38
39 config VIDEO_LCD_SPI_CS
40         string "SPI CS pin for LCD related config job"
41         depends on VIDEO_LCD_SSD2828
42         default ""
43         ---help---
44         This is one of the SPI communication pins, involved in setting up a
45         working LCD configuration. The exact role of SPI may differ for
46         different hardware setups. The option takes a string in the format
47         understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
48
49 config VIDEO_LCD_SPI_SCLK
50         string "SPI SCLK pin for LCD related config job"
51         depends on VIDEO_LCD_SSD2828
52         default ""
53         ---help---
54         This is one of the SPI communication pins, involved in setting up a
55         working LCD configuration. The exact role of SPI may differ for
56         different hardware setups. The option takes a string in the format
57         understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
58
59 config VIDEO_LCD_SPI_MOSI
60         string "SPI MOSI pin for LCD related config job"
61         depends on VIDEO_LCD_SSD2828
62         default ""
63         ---help---
64         This is one of the SPI communication pins, involved in setting up a
65         working LCD configuration. The exact role of SPI may differ for
66         different hardware setups. The option takes a string in the format
67         understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
68
69 config VIDEO_LCD_SPI_MISO
70         string "SPI MISO pin for LCD related config job (optional)"
71         depends on VIDEO_LCD_SSD2828
72         default ""
73         ---help---
74         This is one of the SPI communication pins, involved in setting up a
75         working LCD configuration. The exact role of SPI may differ for
76         different hardware setups. If wired up, this pin may provide additional
77         useful functionality. Such as bi-directional communication with the
78         hardware and LCD panel id retrieval (if the panel can report it). The
79         option takes a string in the format understood by 'name_to_gpio'
80         function, e.g. PH1 for pin 1 of port H.