mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 19:06:23 +07:00
1f0f015151
Some Rockchip CRTCs, like rv1108 and px30, can directly output parallel and serial RGB data to panel or conversion chip. So add a feature-bit for vops to mark the ability for these direct outputs and add an internal encoder in that case, that can attach to bridge chipsor panels. Changes in v7: 1. forget to delete rockchip_rgb_driver and delete it. Changes in v6: 1. Update according to Heiko Stuebner' implemention, rgb output is part of vop's feature, should not register as a independent driver. Changes in v5: 1. add SPDX-License-Identifier tag Changes in v4: 1. add support px30; Changes in v3: 1. update for rgb-mode move to panel node. Changes in v2: 1. add error log when probe failed; 2. update name_to_output_mode() according to sean's suggest; 3. Fix uninitialized use of ret. Signed-off-by: Sandy Huang <hjc@rock-chips.com> Reviewed-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20180830211207.10480-3-heiko@sntech.de
81 lines
2.7 KiB
Plaintext
81 lines
2.7 KiB
Plaintext
config DRM_ROCKCHIP
|
|
tristate "DRM Support for Rockchip"
|
|
depends on DRM && ROCKCHIP_IOMMU
|
|
select DRM_GEM_CMA_HELPER
|
|
select DRM_KMS_HELPER
|
|
select DRM_PANEL
|
|
select VIDEOMODE_HELPERS
|
|
select DRM_ANALOGIX_DP if ROCKCHIP_ANALOGIX_DP
|
|
select DRM_DW_HDMI if ROCKCHIP_DW_HDMI
|
|
select DRM_MIPI_DSI if ROCKCHIP_DW_MIPI_DSI
|
|
select DRM_RGB if ROCKCHIP_RGB
|
|
select SND_SOC_HDMI_CODEC if ROCKCHIP_CDN_DP && SND_SOC
|
|
help
|
|
Choose this option if you have a Rockchip soc chipset.
|
|
This driver provides kernel mode setting and buffer
|
|
management to userspace. This driver does not provide
|
|
2D or 3D acceleration; acceleration is performed by other
|
|
IP found on the SoC.
|
|
|
|
if DRM_ROCKCHIP
|
|
|
|
config ROCKCHIP_ANALOGIX_DP
|
|
bool "Rockchip specific extensions for Analogix DP driver"
|
|
help
|
|
This selects support for Rockchip SoC specific extensions
|
|
for the Analogix Core DP driver. If you want to enable DP
|
|
on RK3288 or RK3399 based SoC, you should select this option.
|
|
|
|
config ROCKCHIP_CDN_DP
|
|
bool "Rockchip cdn DP"
|
|
depends on EXTCON=y || (EXTCON=m && DRM_ROCKCHIP=m)
|
|
help
|
|
This selects support for Rockchip SoC specific extensions
|
|
for the cdn DP driver. If you want to enable Dp on
|
|
RK3399 based SoC, you should select this
|
|
option.
|
|
|
|
config ROCKCHIP_DW_HDMI
|
|
bool "Rockchip specific extensions for Synopsys DW HDMI"
|
|
help
|
|
This selects support for Rockchip SoC specific extensions
|
|
for the Synopsys DesignWare HDMI driver. If you want to
|
|
enable HDMI on RK3288 or RK3399 based SoC, you should select
|
|
this option.
|
|
|
|
config ROCKCHIP_DW_MIPI_DSI
|
|
bool "Rockchip specific extensions for Synopsys DW MIPI DSI"
|
|
help
|
|
This selects support for Rockchip SoC specific extensions
|
|
for the Synopsys DesignWare HDMI driver. If you want to
|
|
enable MIPI DSI on RK3288 or RK3399 based SoC, you should
|
|
select this option.
|
|
|
|
config ROCKCHIP_INNO_HDMI
|
|
bool "Rockchip specific extensions for Innosilicon HDMI"
|
|
help
|
|
This selects support for Rockchip SoC specific extensions
|
|
for the Innosilicon HDMI driver. If you want to enable
|
|
HDMI on RK3036 based SoC, you should select this option.
|
|
|
|
config ROCKCHIP_LVDS
|
|
bool "Rockchip LVDS support"
|
|
depends on DRM_ROCKCHIP
|
|
depends on PINCTRL && OF
|
|
help
|
|
Choose this option to enable support for Rockchip LVDS controllers.
|
|
Rockchip rk3288 SoC has LVDS TX Controller can be used, and it
|
|
support LVDS, rgb, dual LVDS output mode. say Y to enable its
|
|
driver.
|
|
|
|
config ROCKCHIP_RGB
|
|
bool "Rockchip RGB support"
|
|
depends on DRM_ROCKCHIP
|
|
depends on PINCTRL
|
|
help
|
|
Choose this option to enable support for Rockchip RGB output.
|
|
Some Rockchip CRTCs, like rv1108, can directly output parallel
|
|
and serial RGB format to panel or connect to a conversion chip.
|
|
say Y to enable its driver.
|
|
endif
|