Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
phy: Add Tegra XUSB pad controller support
Browse files Browse the repository at this point in the history
Add a new driver for the XUSB pad controller found on NVIDIA Tegra SoCs.
This hardware block used to be exposed as a pin controller, but it turns
out that this isn't a good fit. The new driver and DT binding much more
accurately describe the hardware and are more flexible in supporting new
SoC generations.

Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
  • Loading branch information
thierryreding committed Apr 29, 2016
1 parent d6f83c1 commit 53d2a71
Show file tree
Hide file tree
Showing 9 changed files with 3,245 additions and 16 deletions.
2 changes: 2 additions & 0 deletions drivers/phy/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -421,4 +421,6 @@ config PHY_CYGNUS_PCIE
Enable this to support the Broadcom Cygnus PCIe PHY.
If unsure, say N.

source "drivers/phy/tegra/Kconfig"

endmenu
2 changes: 2 additions & 0 deletions drivers/phy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,5 @@ obj-$(CONFIG_PHY_TUSB1210) += phy-tusb1210.o
obj-$(CONFIG_PHY_BRCMSTB_SATA) += phy-brcmstb-sata.o
obj-$(CONFIG_PHY_PISTACHIO_USB) += phy-pistachio-usb.o
obj-$(CONFIG_PHY_CYGNUS_PCIE) += phy-bcm-cygnus-pcie.o

obj-$(CONFIG_ARCH_TEGRA) += tegra/
8 changes: 8 additions & 0 deletions drivers/phy/tegra/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
config PHY_TEGRA_XUSB
tristate "NVIDIA Tegra XUSB pad controller driver"
depends on ARCH_TEGRA
help
Choose this option if you have an NVIDIA Tegra SoC.

To compile this driver as a module, choose M here: the module will
be called phy-tegra-xusb.
5 changes: 5 additions & 0 deletions drivers/phy/tegra/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
obj-$(CONFIG_PHY_TEGRA_XUSB) += phy-tegra-xusb.o

phy-tegra-xusb-y += xusb.o
phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_124_SOC) += xusb-tegra124.o
phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_132_SOC) += xusb-tegra124.o
Loading

0 comments on commit 53d2a71

Please sign in to comment.