[U-Boot] [PATCH v2 7/8] rockchip: configs: Enable mipi dsi for rk3399

Eddie Cai eddie.cai.linux at gmail.com
Tue Apr 18 14:34:49 UTC 2017


some part of mipi driver should move here. see comment in patch 1 please.

2017-04-18 15:09 GMT+08:00 Eric Gao <eric.gao at rock-chips.com>:

> Enable mipi dsi by default for rk3399-evb board
>
> Signed-off-by: Eric Gao <eric.gao at rock-chips.com>
>
> ---
>
> Changes in v2:
> -Add defconfigs for mipi display, so that it can be enabled by default.
>
>  configs/evb-rk3399_defconfig    | 6 ++++++
>  drivers/video/rockchip/Kconfig  | 2 +-
>  drivers/video/rockchip/Makefile | 2 +-
>  3 files changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig
> index cef8506..3405857 100644
> --- a/configs/evb-rk3399_defconfig
> +++ b/configs/evb-rk3399_defconfig
> @@ -66,3 +66,9 @@ CONFIG_PMIC_CHILDREN=y
>  CONFIG_SPL_PMIC_CHILDREN=y
>  CONFIG_PMIC_RK808=y
>  CONFIG_REGULATOR_RK808=y
> +CONFIG_DM_VIDEO=y
> +CONFIG_DM_PWM=y
> +CONFIG_PWM_ROCKCHIP=y
> +CONFIG_DISPLAY=y
> +CONFIG_VIDEO_ROCKCHIP=y
> +CONFIG_DISPLAY_ROCKCHIP_MIPI=y
> diff --git a/drivers/video/rockchip/Kconfig b/drivers/video/rockchip/
> Kconfig
> index 3f57d5c..1383efa 100644
> --- a/drivers/video/rockchip/Kconfig
> +++ b/drivers/video/rockchip/Kconfig
> @@ -40,7 +40,7 @@ if VIDEO_ROCKCHIP
>                         This enable High-Definition Multimedia
> Interface(HDMI) display
>                         support.
>
> -       config DISPLAY_MIPI
> +       config DISPLAY_ROCKCHIP_MIPI
>                 bool "MIPI Port"
>                 depends on VIDEO_ROCKCHIP
>                 help
> diff --git a/drivers/video/rockchip/Makefile b/drivers/video/rockchip/
> Makefile
> index f9d1abf..c742902 100644
> --- a/drivers/video/rockchip/Makefile
> +++ b/drivers/video/rockchip/Makefile
> @@ -10,5 +10,5 @@ obj-y += rk_vop.o
>  obj-$(CONFIG_DISPLAY_ROCKCHIP_EDP) += rk_edp.o
>  obj-$(CONFIG_DISPLAY_ROCKCHIP_LVDS) += rk_lvds.o
>  obj-$(CONFIG_DISPLAY_ROCKCHIP_HDMI) += rk_hdmi.o ../dw_hdmi.o
> -obj-$(CONFIG_DISPLAY_MIPI) += rk_mipi.o
> +obj-$(CONFIG_DISPLAY_ROCKCHIP_MIPI) += rk_mipi.o
>  endif
> --
> 1.9.1
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
>


More information about the U-Boot mailing list