mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
8517f64fe6
Instead of having drivers/video/rockchip/Kconfig point outside of its hierarchy for dw_hdmi.o, we should use a configuration-option to include the Designware HDMI support. This change introduces a new config option (not to be selected via menuconfig, but to be selected from a dependent video driver's configuration option) that enables dw_hdmi.o and selects it whenever the HDMI support for Rockchip SoCs is selected. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
51 lines
1.6 KiB
Text
51 lines
1.6 KiB
Text
#
|
|
# Video drivers selection for rockchip soc. These configs only impact the
|
|
# compile process. You can surely check all the options. In this case, all the
|
|
# display driver will be compiled, but which drivers finally will be used is
|
|
# decided by device tree configuration. What's more, enable needed power for
|
|
# display by configure the device tree, and the vop driver will do the rest.
|
|
#
|
|
# Author: Eric Gao <eric.gao@rock-chips.com>
|
|
#
|
|
|
|
menuconfig VIDEO_ROCKCHIP
|
|
bool "Enable Rockchip Video Support"
|
|
depends on DM_VIDEO
|
|
help
|
|
Rockchip SoCs provide video output capabilities for High-Definition
|
|
Multimedia Interface (HDMI), Low-voltage Differential Signalling
|
|
(LVDS), embedded DisplayPort (eDP) and Display Serial Interface
|
|
(DSI). This driver supports the on-chip video output device, and
|
|
targets the Rockchip RK3288 and RK3399.
|
|
|
|
if VIDEO_ROCKCHIP
|
|
|
|
config DISPLAY_ROCKCHIP_EDP
|
|
bool "EDP Port"
|
|
depends on VIDEO_ROCKCHIP
|
|
help
|
|
This enables Embedded DisplayPort(EDP) display support.
|
|
|
|
config DISPLAY_ROCKCHIP_LVDS
|
|
bool "LVDS Port"
|
|
depends on VIDEO_ROCKCHIP
|
|
help
|
|
This enables Low-voltage Differential Signaling(LVDS) display
|
|
support.
|
|
|
|
config DISPLAY_ROCKCHIP_HDMI
|
|
bool "HDMI port"
|
|
select VIDEO_DW_HDMI
|
|
depends on VIDEO_ROCKCHIP
|
|
help
|
|
This enables High-Definition Multimedia Interface display support.
|
|
|
|
config DISPLAY_ROCKCHIP_MIPI
|
|
bool "MIPI Port"
|
|
depends on VIDEO_ROCKCHIP
|
|
help
|
|
This enables Mobile Industry Processor Interface(MIPI) display
|
|
support. The mipi controller and dphy on rk3288& rk3399 support
|
|
16,18, 24 bits per pixel with upto 2k resolution ratio.
|
|
|
|
endif
|