]> git.karo-electronics.de Git - linux-beck.git/commitdiff
phy: Select PHY_EXYNOS_MIPI_VIDEO by default for ARCH_EXYNOS
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 21 Feb 2014 16:44:01 +0000 (17:44 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 1 Mar 2014 18:56:26 +0000 (00:26 +0530)
Instead of requiring user to figure out when PHY_EXYNOS_MIPI_VIDEO needs
to be selected select it by default for Exynos SoCs. Also enable it when
COMPILE_TEST is selected. If required the MIPI CSIS/DPHY driver can be
then disabled or compiled in as module.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/Kconfig

index c7a551c2d5f1b4d39b982d85222537ec3fbfb804..f0fb4290fc07334c0e694bae53b47eaf47736695 100644 (file)
@@ -16,8 +16,11 @@ config GENERIC_PHY
          framework should select this config.
 
 config PHY_EXYNOS_MIPI_VIDEO
-       depends on HAS_IOMEM
        tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
+       depends on HAS_IOMEM
+       depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
+       select GENERIC_PHY
+       default y if ARCH_S5PV210 || ARCH_EXYNOS
        help
          Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
          and EXYNOS SoCs.