Skip to content

RFC soc/tegra: Turn on XUSB partitions

Jon Hunter linux-tegra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3soc/tegra: pmc: Initialise power partitions earlydrivers/soc/tegra/pmc.c+22 -112 replies
2/3soc/tegra: pmc: Enable XUSB partitions on bootdrivers/soc/tegra/pmc.c+12 -00 replies
3/3arm64: tegra210: Add XUSB powergatesarch/arm64/boot/dts/nvidia/tegra210.dtsi+24 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] soc/tegra: Turn on XUSB partitions

The Tegra XHCI driver currently assumes the XUSB power partitions have been enabled by the bootloader. This is not for the Tegra210 Smaug board and so cause the kernel to hang when enabling XHCI support. Although the XHCI driver itself needs to manage these partitions, for now enable the partitions if the XHCI driver is enabled.

In order to do this I have made a fundamental change to the PMC driver to initialise the power partitions during early init. A benefit of this is that if CONFIG_PM_GENERIC_DOMAINS is not enabled, then we can simply turn on the partitions early before any devices are probed.

This is based upon the PMC fixes series [0].

[0] http://marc.info/?l=linux-tegra&m=146711078013182&w=2

Jon Hunter (3):
soc/tegra: pmc: Initialise power partitions early soc/tegra: pmc: Enable XUSB partitions on boot
arm64: tegra210: Add XUSB powergates

 arch/arm64/boot/dts/nvidia/tegra210.dtsi | 24 +++++++++++++++++
 drivers/soc/tegra/pmc.c                  | 45 ++++++++++++++++++++++++--------
 2 files changed, 58 insertions(+), 11 deletions(-)
Signature · 1 line
2.1.4