summaryrefslogtreecommitdiffstats
path: root/drivers/phy/Kconfig
diff options
context:
space:
mode:
authorSylwester Nawrocki2014-02-21 17:44:01 +0100
committerKishon Vijay Abraham I2014-03-01 19:56:26 +0100
commit13454e5e08450fe500bef240aa98976dcb06ff63 (patch)
treea8ab34c6a063cab6b987ea9f699c86e2f42ee792 /drivers/phy/Kconfig
parentusb: phy: bcm-kona-usb2: Use PTR_ERR_OR_ZERO (diff)
downloadkernel-qcow2-linux-13454e5e08450fe500bef240aa98976dcb06ff63.tar.gz
kernel-qcow2-linux-13454e5e08450fe500bef240aa98976dcb06ff63.tar.xz
kernel-qcow2-linux-13454e5e08450fe500bef240aa98976dcb06ff63.zip
phy: Select PHY_EXYNOS_MIPI_VIDEO by default for ARCH_EXYNOS
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>
Diffstat (limited to 'drivers/phy/Kconfig')
-rw-r--r--drivers/phy/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index c7a551c2d5f1..f0fb4290fc07 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -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.