summaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-samsung-usb2.h
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2014-07-07 11:39:26 +0200
committerKishon Vijay Abraham I <kishon@ti.com>2014-07-22 12:46:10 +0530
commit016e0d3cb72c1433810fd85a7a7c0946e710d3d6 (patch)
tree575e437a997120a2996ca3351090416e286dce2f /drivers/phy/phy-samsung-usb2.h
parente379413a346ce5943ab895aa5a702ec752577f13 (diff)
downloadlinux-016e0d3cb72c1433810fd85a7a7c0946e710d3d6.tar.gz
linux-016e0d3cb72c1433810fd85a7a7c0946e710d3d6.tar.xz
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.h')
-rw-r--r--drivers/phy/phy-samsung-usb2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/phy/phy-samsung-usb2.h b/drivers/phy/phy-samsung-usb2.h
index 918847843a95..b03da0ef39ac 100644
--- a/drivers/phy/phy-samsung-usb2.h
+++ b/drivers/phy/phy-samsung-usb2.h
@@ -60,8 +60,10 @@ struct samsung_usb2_phy_config {
int (*rate_to_clk)(unsigned long, u32 *);
unsigned int num_phys;
bool has_mode_switch;
+ bool has_refclk_sel;
};
+extern const struct samsung_usb2_phy_config exynos3250_usb2_phy_config;
extern const struct samsung_usb2_phy_config exynos4210_usb2_phy_config;
extern const struct samsung_usb2_phy_config exynos4x12_usb2_phy_config;
extern const struct samsung_usb2_phy_config exynos5250_usb2_phy_config;