diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2014-07-07 05:39:26 -0400 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2014-07-22 03:16:10 -0400 |
commit | 016e0d3cb72c1433810fd85a7a7c0946e710d3d6 (patch) | |
tree | 575e437a997120a2996ca3351090416e286dce2f /drivers/phy/phy-samsung-usb2.c | |
parent | e379413a346ce5943ab895aa5a702ec752577f13 (diff) |
drivers: phy: exynos-usb2: add support for Exynos 3250
This patch adds support for Exynos3250 SoC to Exynos2USB PHY driver.
Although Exynos3250 has only one device phy interface, the register
layout and all operations that are required to get it enabled are almost
same as on Exynos4x12. The only different is one more register
(REFCLKSEL) which need to be set and lack of MODE SWITCH register.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/phy-samsung-usb2.c')
-rw-r--r-- | drivers/phy/phy-samsung-usb2.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/phy/phy-samsung-usb2.c b/drivers/phy/phy-samsung-usb2.c index 1e69a32c221d..16aae7a285f0 100644 --- a/drivers/phy/phy-samsung-usb2.c +++ b/drivers/phy/phy-samsung-usb2.c | |||
@@ -87,6 +87,12 @@ static struct phy *samsung_usb2_phy_xlate(struct device *dev, | |||
87 | } | 87 | } |
88 | 88 | ||
89 | static const struct of_device_id samsung_usb2_phy_of_match[] = { | 89 | static const struct of_device_id samsung_usb2_phy_of_match[] = { |
90 | #ifdef CONFIG_PHY_EXYNOS4X12_USB2 | ||
91 | { | ||
92 | .compatible = "samsung,exynos3250-usb2-phy", | ||
93 | .data = &exynos3250_usb2_phy_config, | ||
94 | }, | ||
95 | #endif | ||
90 | #ifdef CONFIG_PHY_EXYNOS4210_USB2 | 96 | #ifdef CONFIG_PHY_EXYNOS4210_USB2 |
91 | { | 97 | { |
92 | .compatible = "samsung,exynos4210-usb2-phy", | 98 | .compatible = "samsung,exynos4210-usb2-phy", |