From patchwork Wed Jun 12 10:28:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 166540 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3501175ilk; Wed, 12 Jun 2019 03:30:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqxNDklZ82AmGU0lWUQDMK1AM5N9HNwVJ3ROoXvxKbqOSx+N0T+8BcuPRUsXnyqmr15KxnQT X-Received: by 2002:a17:902:b215:: with SMTP id t21mr80306955plr.152.1560335402590; Wed, 12 Jun 2019 03:30:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560335402; cv=none; d=google.com; s=arc-20160816; b=B1D9fIVx06BSuhF9G1QWQxpZWagZlTQm1DiBgxAjuKYP5X4nwZpKx+KAGfTMT9sjAp KJqVw5qsC/vCRijcbanS35+3apFPsbjv/iXuyXuBe63+A4td5tSMR4VoUS2HrjPO2x5b prsWE6KrREcEcS5WSSQgqJNP/3wnULqfQAIOLevnFPUMn2Ra7YLUXXzNBotP1Y2mcGE/ 1je8PtD5SFQhP6mVEOPhWBOVZpEDm6U2hZGuVqZK7dOpMml03pTbsA/fSkl0CML78DZ9 kRsjI6qhSu+xCKAZhULONhZUE35BzHgHuLXi+Ju47uDZZW6lDSIpWhoZtCjevj1tKbdM Ca7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=wwNbg1w9v5IkgOhwYOOeoAu3oTH9oE2LfzyI39Kb0+0=; b=fyyN88WzUtUAlj6ubl64jk5hOJ2oDYTRMom6+dyuPXmUS4Q9NKUUUUp9C8pjKYdlVe r7SNfTJZKNAnlWr4VVF1pFY7VDxNTpLiq0OOaCqqc6V62PrRNzMqIQwApIJiD1Hx6gmO FfQBJSWXQ1OGuHjawsutUQBNlUwIceXV5P+X6RjnxEpsWVLYGz2rJz5C5HE3rs0EGzCd /gQdG3nG0uRWczVCJOzV4pkG+hI0sv/5oH54UHmpho3laTdK5ja0ifl6nyfkoPXfQIvL GZ+++uMb4B9rc5f+wqA7VomwbfebF4AmLAgOIlNKkYNNCQ6WDveqovJzE8y8PiLcL/df pE7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ubkLiEay; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m7si4960819pjs.63.2019.06.12.03.30.02; Wed, 12 Jun 2019 03:30:02 -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=@ti.com header.s=ti-com-17Q1 header.b=ubkLiEay; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732226AbfFLKaB (ORCPT + 30 others); Wed, 12 Jun 2019 06:30:01 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:35070 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727846AbfFLKaB (ORCPT ); Wed, 12 Jun 2019 06:30:01 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x5CATxjB062212; Wed, 12 Jun 2019 05:29:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1560335399; bh=wwNbg1w9v5IkgOhwYOOeoAu3oTH9oE2LfzyI39Kb0+0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=ubkLiEayWkRYVd3mfzWVQCNgLU8GbntEDtHR+4jlbpT1ECqu6BdE7H7z4JF4tDep6 toRBMlCU7ANfsPkZG0GgUzVwKfE9ZflpwL/9niXwF6UoceEtiPFfIvr8qr+kZ5kfVT 0ku7bCLoVRrwJGLoYDj2aZQt1uwIHykMgEJN86zs= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x5CATxdA085469 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 12 Jun 2019 05:29:59 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 12 Jun 2019 05:29:59 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Wed, 12 Jun 2019 05:29:59 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id x5CATTJc128310; Wed, 12 Jun 2019 05:29:57 -0500 From: Kishon Vijay Abraham I To: Greg Kroah-Hartman , CC: Subject: [PATCH 6/6] phy: tegra: xusb: Add Tegra210 PLL power supplies Date: Wed, 12 Jun 2019 15:58:03 +0530 Message-ID: <20190612102803.25398-7-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190612102803.25398-1-kishon@ti.com> References: <20190612102803.25398-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Thierry Reding The Tegra210 SoC has four inputs that consume power in order to supply the PLLs that drive the various USB, PCI and SATA pads. Signed-off-by: Thierry Reding Acked-by: Jon Hunter Tested-by: Jon Hunter Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/tegra/xusb-tegra210.c | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.17.1 diff --git a/drivers/phy/tegra/xusb-tegra210.c b/drivers/phy/tegra/xusb-tegra210.c index 05bee32a3a4d..eb754baa8d71 100644 --- a/drivers/phy/tegra/xusb-tegra210.c +++ b/drivers/phy/tegra/xusb-tegra210.c @@ -2017,6 +2017,13 @@ static const struct tegra_xusb_padctl_ops tegra210_xusb_padctl_ops = { .hsic_set_idle = tegra210_hsic_set_idle, }; +static const char * const tegra210_xusb_padctl_supply_names[] = { + "avdd-pll-utmip", + "avdd-pll-uerefe", + "dvdd-pex-pll", + "hvdd-pex-pll-e", +}; + const struct tegra_xusb_padctl_soc tegra210_xusb_padctl_soc = { .num_pads = ARRAY_SIZE(tegra210_pads), .pads = tegra210_pads, @@ -2035,6 +2042,8 @@ const struct tegra_xusb_padctl_soc tegra210_xusb_padctl_soc = { }, }, .ops = &tegra210_xusb_padctl_ops, + .supply_names = tegra210_xusb_padctl_supply_names, + .num_supplies = ARRAY_SIZE(tegra210_xusb_padctl_supply_names), }; EXPORT_SYMBOL_GPL(tegra210_xusb_padctl_soc);