From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752380AbcF1LUv (ORCPT ); Tue, 28 Jun 2016 07:20:51 -0400 Received: from hqemgate15.nvidia.com ([216.228.121.64]:18466 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752143AbcF1LUt (ORCPT ); Tue, 28 Jun 2016 07:20:49 -0400 X-PGP-Universal: processed; by hqnvupgp08.nvidia.com on Tue, 28 Jun 2016 04:19:36 -0700 From: Jon Hunter To: Stephen Warren , Thierry Reding , Alexandre Courbot CC: , , Jon Hunter Subject: [RFC PATCH 0/3] soc/tegra: Turn on XUSB partitions Date: Tue, 28 Jun 2016 12:20:41 +0100 Message-ID: <1467112844-26927-1-git-send-email-jonathanh@nvidia.com> X-Mailer: git-send-email 2.1.4 X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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