Re: [PATCH V2 3/3] soc/tegra: pmc: Move powergate initialisation to probe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 16, 2019 at 05:48:08PM +0100, Jon Hunter wrote:
> Commit 8df127456f29 ("soc/tegra: pmc: Enable XUSB partitions on boot")
> was added as a workaround to ensure that the XUSB powergates or domains
> were turned on early during boot because as this time the Tegra XHCI
> driver did not handle the power domains at all. Now that the Tegra XHCI
> driver has been updated to properly managed the power domains, the
> workaround to enable the XUSB power domain early has been removed. This
> also means that we can now move the initialisation of the powergates
> into the PMC driver probe. Therefore, move the powergate initialisation
> into the PMC driver probe and return any errors detected. To handle any
> errors, functions to cleanup and remove any power-domains registered
> with the generic power-domain framework have been added.
> 
> Finally the initialisation of the 'powergates_available' bitmask is kept
> in the PMC early init function to allow the legacy PMC powergate APIs to
> be called during early boot for enabling secondary CPUs on 32-bit Tegra
> devices.
> 
> Signed-off-by: Jon Hunter <jonathanh@xxxxxxxxxx>
> ---
> Changes since V1:
> - None
> 
> drivers/soc/tegra/pmc.c | 83 ++++++++++++++++++++++++++++++++++++++++---------
>  1 file changed, 68 insertions(+), 15 deletions(-)

Applied to for-5.2/soc, thanks.

Thierry

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux