Skip to content

Commit 53d2a71

Browse files
committed
phy: Add Tegra XUSB pad controller support
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 <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent d6f83c1 commit 53d2a71

File tree

9 files changed

+3245
-16
lines changed

9 files changed

+3245
-16
lines changed

drivers/phy/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,4 +421,6 @@ config PHY_CYGNUS_PCIE
421421
Enable this to support the Broadcom Cygnus PCIe PHY.
422422
If unsure, say N.
423423

424+
source "drivers/phy/tegra/Kconfig"
425+
424426
endmenu

drivers/phy/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,5 @@ obj-$(CONFIG_PHY_TUSB1210) += phy-tusb1210.o
5252
obj-$(CONFIG_PHY_BRCMSTB_SATA) += phy-brcmstb-sata.o
5353
obj-$(CONFIG_PHY_PISTACHIO_USB) += phy-pistachio-usb.o
5454
obj-$(CONFIG_PHY_CYGNUS_PCIE) += phy-bcm-cygnus-pcie.o
55+
56+
obj-$(CONFIG_ARCH_TEGRA) += tegra/

drivers/phy/tegra/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
config PHY_TEGRA_XUSB
2+
tristate "NVIDIA Tegra XUSB pad controller driver"
3+
depends on ARCH_TEGRA
4+
help
5+
Choose this option if you have an NVIDIA Tegra SoC.
6+
7+
To compile this driver as a module, choose M here: the module will
8+
be called phy-tegra-xusb.

drivers/phy/tegra/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
obj-$(CONFIG_PHY_TEGRA_XUSB) += phy-tegra-xusb.o
2+
3+
phy-tegra-xusb-y += xusb.o
4+
phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_124_SOC) += xusb-tegra124.o
5+
phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_132_SOC) += xusb-tegra124.o

0 commit comments

Comments
 (0)