Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp692166imm; Wed, 26 Sep 2018 05:28:29 -0700 (PDT) X-Google-Smtp-Source: ACcGV601Y77ELvFjGP4JLsr9BrpiCAPv7hFLEKJc+0dG90Uwr0aueBiLI4oLHw4GDHk24TwiKfho X-Received: by 2002:a17:902:b490:: with SMTP id y16-v6mr3692594plr.17.1537964909421; Wed, 26 Sep 2018 05:28:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537964909; cv=none; d=google.com; s=arc-20160816; b=ImeSFCqxF1yX814k2Fy1SbEL7MapN1AQiquhmAcNqpAdore7ctyPXqggWeZVmUnEf3 29BccpPY/JBzUPeA/aWPTfDIfp/Bhe4XKK8yx4VSoCiyn9OdRcLP9MF35rghxJ4pRwgR TF2FubDCE8dn8JVazdhPs7T5ETnIXGvl26fimcS9AizHzTPmaZ7Nxqx9DWqor0Pm2Lfz mxyFXbw7rsAdFiDJ1dSbIkKtSjqYgLuVKURIfq7C37DXHrggV0btYd9SprPXMOAnNI4r aySo8rSwBl1chCbdMlImncIlpwE0POkzPYR3f82n6BSLz6R8RzciDWOTRM/Quw+Sxo/n YGbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from; bh=qy5cYZy2tUNDZUCDXLLRF30Px9H2650Lc8nDv7ApZRE=; b=fFZN6zJV/kQnANVxRcQJhZNRcI0nJ+G9tSWOg3xxT6z82eM+0qIIJ2YFkPWRtK6OUM mSS5ku1mi8/H3c0lNsjTByZObmhpg87X4Z4vKyV1ozm7gSH+ZRUnxmSnVksbdJIuzJOF UhRC7ujx5et0JQKXuxLusuyJpzdq4Xn3lMajP+J0DgbA8N+7KMURzVRW1ezYV2bICPIE wzqPePgnaYUPRVabnJk+LJrlCbCUC2GUGHsqchQq23ATi8x2Y/1TRNvzrNXUTku4avP2 JcO82iMHZthMAM0EdUZinalqtqhBT1Z6UEVyNMyaMuhmcg/xOVzsTCrrDcFr5P55lFYo h3Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=BxDZW0S+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d37-v6si5229132plb.430.2018.09.26.05.28.13; Wed, 26 Sep 2018 05:28:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=BxDZW0S+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728437AbeIZSkj (ORCPT + 99 others); Wed, 26 Sep 2018 14:40:39 -0400 Received: from hqemgate15.nvidia.com ([216.228.121.64]:12113 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726880AbeIZSkj (ORCPT ); Wed, 26 Sep 2018 14:40:39 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 26 Sep 2018 05:27:18 -0700 Received: from HQMAIL105.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Wed, 26 Sep 2018 05:27:53 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Wed, 26 Sep 2018 05:27:53 -0700 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 26 Sep 2018 12:27:53 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Wed, 26 Sep 2018 12:27:53 +0000 Received: from moonraker.nvidia.com (Not Verified[10.21.132.143]) by hqnvemgw02.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Wed, 26 Sep 2018 05:27:53 -0700 From: Jon Hunter To: Rob Herring , Mark Rutland , "Rafael J . Wysocki" , Kevin Hilman , Ulf Hansson , Greg Kroah-Hartman , Mathias Nyman , Thierry Reding CC: , , , Jon Hunter Subject: [PATCH 4/5] soc/tegra: pmc: Don't power-up XUSB power-domains Date: Wed, 26 Sep 2018 13:27:37 +0100 Message-ID: <1537964858-30332-5-git-send-email-jonathanh@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1537964858-30332-1-git-send-email-jonathanh@nvidia.com> References: <1537964858-30332-1-git-send-email-jonathanh@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1537964838; bh=qy5cYZy2tUNDZUCDXLLRF30Px9H2650Lc8nDv7ApZRE=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=BxDZW0S+F3UjFLXDZ/fnzBt78BEHLaHALlIifLn4heeI0p/9LqmTry1tMZ7j7XZHf eZmthZUICt7ALTKZX2kFRQPoSemUXwF3SljcrjxbkBYSvVXnapfXtMrlIOOI6ttyfn HQJ0+rvYBtlLxzA++Lj8E8SPxyTc906JURshJR9LPvascX4K0vsDBYzO5n2kDdNR+7 X1VHWzCyhNNa4/l2oTO2REJ7E6fG/XY71rIwhhRh/Fs3Jxs2/zL89MOcxCFJjp1GEU BdOE4JBGB3xZ1A+Omcf+W5L0YrSV7a2RPTCpmb7t2VVQjK/fewrzCKUSIDCx6aKCxT a6u6tlEOPfQEg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that the Tegra xHCI driver manages the XUSB power-domains itself, remove the code to power-up the power-domains used by the xHCI device from the PMC driver on boot. Signed-off-by: Jon Hunter --- drivers/soc/tegra/pmc.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c index ab719fa90150..a68b4476b4ee 100644 --- a/drivers/soc/tegra/pmc.c +++ b/drivers/soc/tegra/pmc.c @@ -847,22 +847,6 @@ static void tegra_powergate_add(struct tegra_pmc *pmc, struct device_node *np) goto remove_resets; } - /* - * FIXME: If XHCI is enabled for Tegra, then power-up the XUSB - * host and super-speed partitions. Once the XHCI driver - * manages the partitions itself this code can be removed. Note - * that we don't register these partitions with the genpd core - * to avoid it from powering down the partitions as they appear - * to be unused. - */ - if (IS_ENABLED(CONFIG_USB_XHCI_TEGRA) && - (id == TEGRA_POWERGATE_XUSBA || id == TEGRA_POWERGATE_XUSBC)) { - if (off) - WARN_ON(tegra_powergate_power_up(pg, true)); - - goto remove_resets; - } - err = pm_genpd_init(&pg->genpd, NULL, off); if (err < 0) { pr_err("failed to initialise PM domain %s: %d\n", np->name, -- 2.7.4