linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] soc/tegra: Turn on XUSB partitions
@ 2016-06-28 11:20 Jon Hunter
  2016-06-28 11:20 ` [RFC PATCH 1/3] soc/tegra: pmc: Initialise power partitions early Jon Hunter
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Jon Hunter @ 2016-06-28 11:20 UTC (permalink / raw)
  To: Stephen Warren, Thierry Reding, Alexandre Courbot
  Cc: linux-tegra, linux-kernel, Jon Hunter

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(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-06-30 10:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-28 11:20 [RFC PATCH 0/3] soc/tegra: Turn on XUSB partitions Jon Hunter
2016-06-28 11:20 ` [RFC PATCH 1/3] soc/tegra: pmc: Initialise power partitions early Jon Hunter
2016-06-30 10:17   ` Thierry Reding
2016-06-30 10:20     ` Jon Hunter
2016-06-28 11:20 ` [RFC PATCH 2/3] soc/tegra: pmc: Enable XUSB partitions on boot Jon Hunter
2016-06-28 11:20 ` [RFC PATCH 3/3] arm64: tegra210: Add XUSB powergates Jon Hunter
2016-06-29 15:30   ` Jon Hunter
2016-06-29 15:56     ` Thierry Reding
2016-06-29 16:07       ` Jon Hunter
2016-06-30 10:20         ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).