phy: core: Add an exported of_phy_get function

Previously the of_phy_get function took a struct device * and
was declared static. It was impossible to call it from
another driver and thus it was impossible to get phy defined
for a given node. The old function was renamed to _of_phy_get
and was left for internal use. of_phy_get function was added
and it was exported. The function enables to get a phy for
a given device tree node.

Signed-off-by: Kamil Debski <k.debski@samsung.com>
phy: core: Add devm_of_phy_get to phy-core

Adding devm_of_phy_get will allow to get phys by supplying a
pointer to the struct device_node instead of struct device.

Signed-off-by: Kamil Debski <k.debski@samsung.com>
phy: Add new Exynos USB 2.0 PHY driver

Add a new driver for the Exynos USB 2.0 PHY. The new driver uses the generic
PHY framework. The driver includes support for the Exynos 4x10 and 4x12
SoC families.

Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
usb: ehci-s5p: Change to use phy provided by the generic phy framework

Change the phy provider used from the old one using the USB phy
framework to a new one using the Generic phy framework.

Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
usb: s3c-hsotg: Use the new Exynos USB phy driver with the generic phy framework

Change the used phy driver to the new Exynos USB phy driver that uses the
generic phy framework.

Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
phy: Add support for S5PV210 to the Exynos USB 2.0 PHY driver

Add support for the Samsung's S5PV210 SoC to the Exynos USB 2.0 PHY driver.

Signed-off-by: Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
[k.debski@samsung.com: cleanup and commit description]
[k.debski@samsung.com: make changes accordingly to the mailing list
comments]
Signed-off-by: Kamil Debski <k.debski@samsung.com>
[tomasz.figa@gmail.com: fix compilation issues]
Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
phy: Add Exynos 5250 support to the Exynos USB 2.0 PHY driver

Add support for Exynos 5250. This driver is to replace the old
USB 2.0 PHY driver.

Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
ARM: dts: s5p6442: Add node for PMU syscon

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: dts: s5p6442: Add missing properties of OTG and OTGPHY nodes

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
clk: samsung: sp5v210: Fix mout_vpll parent clock list

First parent of mout_vpll is mout_vpllsrc, not fin_pll, as opposed to
other PLLs. This patch fixes this.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
clk: samsung: s5pv210: Fix VPLL parent on S5P6442

There is no mout_vpllsrc on S5P6442. Instead VPLL is driven directly by
fin_pll. Let's fix this.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: dts: s5p6442: Keep external clocks enabled

This allows them to be specified as input clocks to other IP blocks
without causing probe failures.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
misc: fsa9480: Allow limited operation with device tree

This allows switching between USB and UART cables, as the unplug/plug
interrupt is handled properly.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: dts: s5p6442-apollo: Fix interrupt of microUSB switch

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
clk: samsung: s5pv210: Fix incorrectly defined S5P6442 clocks

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>