phy: bcm-ns-usb3: new driver for USB 3.0 PHY on Northstar
authorRafał Miłecki <rafal@milecki.pl>
Thu, 11 Aug 2016 22:28:03 +0000 (00:28 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 10 Sep 2016 11:18:28 +0000 (16:48 +0530)
commite5666281d9eadb98a802e5ec6e85f0b4640f30c4
tree1a2cd3465dc17529d4f8819663009f4ec8f4a184
parentb3e0d141ca9f7355fca8a12feb451c31f6b2ee18
phy: bcm-ns-usb3: new driver for USB 3.0 PHY on Northstar

Northstar is a family of SoCs used in home routers. They have USB 2.0
and 3.0 controllers with PHYs that need to be properly initialized.
This driver provides PHY init support in a generic way and can be bound
with XHCI controller driver.

There aren't any public datasheets from Broadcom so we can't have nice
defines for all used bits. It means we just follow Broadcom's
initialization procedure using their magic values. We were quite lucky
actually that Broadcom put some comments in their SDK reference code
explaining what given writes are responsible for.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Documentation/devicetree/bindings/phy/bcm-ns-usb3-phy.txt [new file with mode: 0644]
drivers/phy/Kconfig
drivers/phy/Makefile
drivers/phy/phy-bcm-ns-usb3.c [new file with mode: 0644]