diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2016-08-12 00:28:03 +0200 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2016-09-10 16:48:28 +0530 |
commit | e5666281d9eadb98a802e5ec6e85f0b4640f30c4 (patch) | |
tree | 1a2cd3465dc17529d4f8819663009f4ec8f4a184 /drivers/phy/Kconfig | |
parent | b3e0d141ca9f7355fca8a12feb451c31f6b2ee18 (diff) | |
download | lwn-e5666281d9eadb98a802e5ec6e85f0b4640f30c4.tar.gz lwn-e5666281d9eadb98a802e5ec6e85f0b4640f30c4.zip |
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>
Diffstat (limited to 'drivers/phy/Kconfig')
-rw-r--r-- | drivers/phy/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index 19bff3a10f69..afbdd6a9b964 100644 --- a/drivers/phy/Kconfig +++ b/drivers/phy/Kconfig @@ -24,6 +24,15 @@ config PHY_BCM_NS_USB2 Enable this to support Broadcom USB 2.0 PHY connected to the USB controller on Northstar family. +config PHY_BCM_NS_USB3 + tristate "Broadcom Northstar USB 3.0 PHY Driver" + depends on ARCH_BCM_IPROC || COMPILE_TEST + depends on HAS_IOMEM && OF + select GENERIC_PHY + help + Enable this to support Broadcom USB 3.0 PHY connected to the USB + controller on Northstar family. + config PHY_BERLIN_USB tristate "Marvell Berlin USB PHY Driver" depends on ARCH_BERLIN && RESET_CONTROLLER && HAS_IOMEM && OF |