drm: kirin: Remove HISI_KIRIN_DW_DSI config option
authorJohn Stultz <john.stultz@linaro.org>
Tue, 20 Aug 2019 23:06:03 +0000 (23:06 +0000)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 21 Aug 2019 17:15:32 +0000 (19:15 +0200)
The CONFIG_HISI_KIRIN_DW_DSI option is only used w/ kirin
driver, so cut out the middleman and condense the config
logic down.

Cc: Rongrong Zou <zourongrong@gmail.com>
Cc: Xinliang Liu <z.liuxinliang@hisilicon.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel <dri-devel@lists.freedesktop.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Xinliang Liu <z.liuxinliang@hisilicon.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190820230626.23253-3-john.stultz@linaro.org
drivers/gpu/drm/hisilicon/kirin/Kconfig
drivers/gpu/drm/hisilicon/kirin/Makefile

index 0fa29af08ad0c2847ed01fec1f67af454e238439..290553e2f6b4160dd518ac2fce412790d5a92194 100644 (file)
@@ -5,16 +5,8 @@ config DRM_HISI_KIRIN
        select DRM_KMS_HELPER
        select DRM_GEM_CMA_HELPER
        select DRM_KMS_CMA_HELPER
-       select HISI_KIRIN_DW_DSI
+       select DRM_MIPI_DSI
        help
          Choose this option if you have a hisilicon Kirin chipsets(hi6220).
          If M is selected the module will be called kirin-drm.
 
-config HISI_KIRIN_DW_DSI
-       tristate "HiSilicon Kirin specific extensions for Synopsys DW MIPI DSI"
-       depends on DRM_HISI_KIRIN
-       select DRM_MIPI_DSI
-       help
-        This selects support for HiSilicon Kirin SoC specific extensions for
-        the Synopsys DesignWare DSI driver. If you want to enable MIPI DSI on
-        hi6220 based SoC, you should selet this option.
index c0501fa3fe5300ba10cfe67d8ebf7e1f311d7ca1..d9323f66a7d4d96daa7d3d420c3b02ab814b8a5b 100644 (file)
@@ -2,6 +2,5 @@
 kirin-drm-y := kirin_drm_drv.o \
               kirin_drm_ade.o
 
-obj-$(CONFIG_DRM_HISI_KIRIN) += kirin-drm.o
+obj-$(CONFIG_DRM_HISI_KIRIN) += kirin-drm.o dw_drm_dsi.o
 
-obj-$(CONFIG_HISI_KIRIN_DW_DSI) += dw_drm_dsi.o