This patch series intends to improve handling of SoC-specific differences in Samsung USB PHY drivers, by reducing the need to explicitly check SoC type using if and switch statements. In addition, last patch adds support for Exynos 4x12, as this is simply a matter of adding appropriate driver data and additional case in two switches. Tested on Exynos4210-based Trats board and Exynos4412-based internal Samsung board. Tomasz Figa (6): usb: phy: samsung: Select common driver part implicitly usb: phy: samsung: Use clk_get to get reference clock usb: phy: samsung: Consolidate reference clock rate handling usb: phy: samsung: Pass set_isolation callback through driver data usb: phy: samsung: Pass enable/disable callbacks through driver data usb: phy: samsung: Add support for USB 2.0 PHY on Exynos 4x12 drivers/usb/phy/Kconfig | 2 +- drivers/usb/phy/phy-samsung-usb.c | 154 ++++++++++++++++++------------------- drivers/usb/phy/phy-samsung-usb.h | 14 +++- drivers/usb/phy/phy-samsung-usb2.c | 53 +++++++++---- drivers/usb/phy/phy-samsung-usb3.c | 23 ++++-- 5 files changed, 146 insertions(+), 100 deletions(-) -- 1.8.1.5 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html