Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1434457 > unrolled thread

[PATCH 0/4] soc/tegra: Turn on XUSB partitions

Started byJon Hunter <jonathanh@nvidia.com>
First post2016-06-30 13:00 +0200
Last post2016-06-30 15:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/4] soc/tegra: Turn on XUSB partitions Jon Hunter <jonathanh@nvidia.com> - 2016-06-30 13:00 +0200
    Re: [PATCH 0/4] soc/tegra: Turn on XUSB partitions Thierry Reding <thierry.reding@gmail.com> - 2016-06-30 15:30 +0200

#1434457 — [PATCH 0/4] soc/tegra: Turn on XUSB partitions

FromJon Hunter <jonathanh@nvidia.com>
Date2016-06-30 13:00 +0200
Subject[PATCH 0/4] soc/tegra: Turn on XUSB partitions
Message-ID<rPHRo-72-11@gated-at.bofh.it>
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].

Changes from initial RFC:
- Added patch to add more detailed error messages when initialising
  powergates.

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

Jon Hunter (4):
  soc/tegra: pmc: Add specific error messages for initialising a
    powergate
  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                  | 60 +++++++++++++++++++++++---------
 2 files changed, 67 insertions(+), 17 deletions(-)

-- 
2.1.4

[toc] | [next] | [standalone]


#1434553

FromThierry Reding <thierry.reding@gmail.com>
Date2016-06-30 15:30 +0200
Message-ID<rPKcy-1EL-41@gated-at.bofh.it>
In reply to#1434457

[Multipart message — attachments visible in raw view] — view raw

On Thu, Jun 30, 2016 at 11:56:23AM +0100, Jon Hunter wrote:
> 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].
> 
> Changes from initial RFC:
> - Added patch to add more detailed error messages when initialising
>   powergates.
> 
> [0] http://marc.info/?l=linux-tegra&m=146711078013182&w=2
> 
> Jon Hunter (4):
>   soc/tegra: pmc: Add specific error messages for initialising a
>     powergate
>   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                  | 60 +++++++++++++++++++++++---------
>  2 files changed, 67 insertions(+), 17 deletions(-)

Applied, thanks.

Thierry

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web