From patchwork Wed Jun 12 10:28:02 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: 166539 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3501125ilk; Wed, 12 Jun 2019 03:29:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqw3amfXu3FvYf8gqKmLOnJ6gyNdFMgmhYCz5euvHRgP6quSKOXg5tuWwhwa2tkuNEKjG43x X-Received: by 2002:a63:1a59:: with SMTP id a25mr17414894pgm.173.1560335399552; Wed, 12 Jun 2019 03:29:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560335399; cv=none; d=google.com; s=arc-20160816; b=Wsjjh9eUXb0YeOJwCFQLCWaEo/B59RbJaxiIjK5Ahyyw40oXCPHW8F/WIBEDQ9e7ZJ 85yLy1O1ZmVjNqZXqbGqg3534Po7kC3YN4VuPie/Z16nlIZtbohDC5dHvS2gI6l+NKRI tlZoYLTe5ghjjZc190YGzIQkhb3awSvdryG3kdHusaDaLs3weh1KpaeTahU/+GnP7/H+ MYCzGqDCe9uQG0Iw4CopcXCg1K9LFK7vsbJ+gMgpxd2SGYtuEnHkkPdEB8hYLhrB5Q9n Ox8bKVDP6CUCFqCcsx3k93DdBU9hgRU9DQOgLxdthjiYIoX3eog1qhlKImJTL7nymgd5 a8Ng== 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=m/camuLRbAZ3IcPBA6b6JbT9L7ibhWAGZHCG5yYnaN8=; b=Yv2rwjomn/S4Y8Z2t7dMQdjnSBOmtmmLBu3l0o8falQhTc5nGy554hFnjq3ySLTvge tlGQWsBxNmOQU1I0paeBLceGwhJnsqpsDLOBCRARdnP6gkLvDEQdvuofBnWbngBAjglc 9FORc0vII6vG/YEC85MwwwsCYliZB36Vfqe11mNS75lT8rO0pdEBvZ31sFOEOWgZL/vm Z45UDreDE6Smw4d2B+evtFg7gEsYtyZ52aM0QDSO8JjwB5oQZzepjUcI4zGHAjDZ3MAh xWoPTK3mGJ0NRe5WXx9wFgOktzMfRKANEvlG/L+cVftFhh82G7BzRuA7rcMKIEwyqBoK 6gzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=gwINgRPM; 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.29.59; Wed, 12 Jun 2019 03:29:59 -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=gwINgRPM; 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 S1732211AbfFLK36 (ORCPT + 30 others); Wed, 12 Jun 2019 06:29:58 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:35062 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727846AbfFLK35 (ORCPT ); Wed, 12 Jun 2019 06:29:57 -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 x5CATu8q062201; Wed, 12 Jun 2019 05:29:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1560335396; bh=m/camuLRbAZ3IcPBA6b6JbT9L7ibhWAGZHCG5yYnaN8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=gwINgRPMtHskh4fiPpi4Szu533q8OgZGgXX8wGXbMkPTuVVgJtmHd4mC89s9CHwbe lpSjPTk2Kt5tLvXl2h0ohpKfsE20ka4dkmO5BKxH7STJlxuguIqnr0bGG5wrs262gp b/4S/83ZUDYPNPa22o4RAWZHHdnkuQB7R0OzsVj4= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x5CATu9Z085435 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 12 Jun 2019 05:29:56 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE106.ent.ti.com (10.64.6.27) 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:55 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE110.ent.ti.com (10.64.6.31) 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:56 -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 x5CATTJb128310; Wed, 12 Jun 2019 05:29:52 -0500 From: Kishon Vijay Abraham I To: Greg Kroah-Hartman , CC: Subject: [PATCH 5/6] phy: tegra: xusb: Add Tegra124 PLL power supplies Date: Wed, 12 Jun 2019 15:58:02 +0530 Message-ID: <20190612102803.25398-6-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 Tegra124 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-tegra124.c | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.17.1 diff --git a/drivers/phy/tegra/xusb-tegra124.c b/drivers/phy/tegra/xusb-tegra124.c index c45cbedc6634..254592c47b00 100644 --- a/drivers/phy/tegra/xusb-tegra124.c +++ b/drivers/phy/tegra/xusb-tegra124.c @@ -1721,6 +1721,13 @@ static const struct tegra_xusb_padctl_ops tegra124_xusb_padctl_ops = { .hsic_set_idle = tegra124_hsic_set_idle, }; +static const char * const tegra124_xusb_padctl_supply_names[] = { + "avdd-pll-utmip", + "avdd-pll-erefe", + "avdd-pex-pll", + "hvdd-pex-pll-e", +}; + const struct tegra_xusb_padctl_soc tegra124_xusb_padctl_soc = { .num_pads = ARRAY_SIZE(tegra124_pads), .pads = tegra124_pads, @@ -1743,6 +1750,8 @@ const struct tegra_xusb_padctl_soc tegra124_xusb_padctl_soc = { }, }, .ops = &tegra124_xusb_padctl_ops, + .supply_names = tegra124_xusb_padctl_supply_names, + .num_supplies = ARRAY_SIZE(tegra124_xusb_padctl_supply_names), }; EXPORT_SYMBOL_GPL(tegra124_xusb_padctl_soc);