Skip to content

Commit

Permalink
usb: phy: samsung: Add host phy support to samsung-phy driver
Browse files Browse the repository at this point in the history
This patch adds host phy support to samsung-usbphy driver and
further adds support for samsung's exynos5250 usb-phy.

Signed-off-by: Praveen Paneri <p.paneri@samsung.com>
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Vivek Gautam authored and Felipe Balbi committed Jan 23, 2013
1 parent b506eeb commit 8c1b3e1
Show file tree
Hide file tree
Showing 3 changed files with 496 additions and 31 deletions.
12 changes: 10 additions & 2 deletions Documentation/devicetree/bindings/usb/samsung-usbphy.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
* Samsung's usb phy transceiver

The Samsung's phy transceiver is used for controlling usb otg phy for
s3c-hsotg usb device controller.
The Samsung's phy transceiver is used for controlling usb phy for
s3c-hsotg as well as ehci-s5p and ohci-exynos usb controllers
across Samsung SOCs.
TODO: Adding the PHY binding with controller(s) according to the under
developement generic PHY driver.

Required properties:

Exynos4210:
- compatible : should be "samsung,exynos4210-usbphy"
- reg : base physical address of the phy registers and length of memory mapped
region.

Exynos5250:
- compatible : should be "samsung,exynos5250-usbphy"
- reg : base physical address of the phy registers and length of memory mapped
region.

Optional properties:
- #address-cells: should be '1' when usbphy node has a child node with 'reg'
property.
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/phy/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ config USB_RCAR_PHY

config SAMSUNG_USBPHY
bool "Samsung USB PHY controller Driver"
depends on USB_S3C_HSOTG
depends on USB_S3C_HSOTG || USB_EHCI_S5P || USB_OHCI_EXYNOS
select USB_OTG_UTILS
help
Enable this to support Samsung USB phy controller for samsung
Expand Down
Loading

0 comments on commit 8c1b3e1

Please sign in to comment.