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

Eric Gao eric.gao at rock-chips.com
Mon Apr 17 14:21:51 UTC 2017


Enable mipi dsi by default for rk3399-evb board

Signed-off-by: Eric Gao <eric.gao at rock-chips.com>
---

 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




More information about the U-Boot mailing list