Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1994266yba; Thu, 25 Apr 2019 08:58:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqz4pM+lp+/2e8zXxjzgEAuQKd0lzchwbMRu0cfIW/GVakp8ig8p5lvdFXFFJYwMlVP92Da/ X-Received: by 2002:a17:902:6ac2:: with SMTP id i2mr17538550plt.260.1556207930276; Thu, 25 Apr 2019 08:58:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556207930; cv=none; d=google.com; s=arc-20160816; b=aaj3rWe2lbJwwbC3z73RNgwOpc1K1FDRB1WK3eMpbIjbaoAauShWoRi8iQZ64f/CVB tTQxw1LGt9uvoIMuamb13q+B8vwy5TTpbERcXinzPVuLCGzkPoR2xwMFTbCxh8Z37HPs OB0O5UV+uZlQ1EQ2YRIP4OWzaimqovfLzTqkHL5yKofap0Zt4KsyTbgxd4psLVMzvuC5 zSTDvqVHHrbBTWI1nsuEVQMcI0o6q6gkoLPtOo58LpGSWreXDAoi9HsOZ2FD8Pd7y6bC TjdG/aO9d42lqhphPoblMaBVaU2jOATiCoB46OOtczr8xyk7ajSMRbxIXI3jq7VVpE3p MHxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=E7pTCVImssNKLhIIh1mDsX/+6gYcG+1Q8Ji1QYfJoQY=; b=kdEUHCZ3gpFDp2KdN4KaltCe1sSWQSb1v1xSfHMhTpbcqOk05t96l+oSR0ZuJIEc3N K0Zv5ZifHGqOnb3HcrWo7rkRqOmg8H4cXSLpCLCzm9N9ngTU1LF4wK4M8F82MPb1f480 p2ef9rFM45imaPpQUjqA0vR2D3JQf6uZcOy90WE4QgiI+stzYJwjaxoBVOizHfeZys0e nP5Y/0i/X0NCUux9uxX3nr16LgcLGwnYs9vuIVh45cX6R9MxJYZm5gy1oyiNgzYoD+hq sHWksJWdV+c+UTLV8hwEGj50q6T8wxFyY/tB4rsz7owrsCXr4gRxNcnxt8eQFr2F+BxP s8Zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TJgkekSK; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t14si11655230pgs.543.2019.04.25.08.58.35; Thu, 25 Apr 2019 08:58:50 -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=@gmail.com header.s=20161025 header.b=TJgkekSK; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728269AbfDYPex (ORCPT + 99 others); Thu, 25 Apr 2019 11:34:53 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:43630 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726326AbfDYPeu (ORCPT ); Thu, 25 Apr 2019 11:34:50 -0400 Received: by mail-wr1-f65.google.com with SMTP id a12so12405wrq.10; Thu, 25 Apr 2019 08:34:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=E7pTCVImssNKLhIIh1mDsX/+6gYcG+1Q8Ji1QYfJoQY=; b=TJgkekSKieFe3J3hx+IwB3cfYQgjxTLYh1EIzttDLiq0ubDWdDx/gQw7o3ezDB0sCH obqL6JQCLc5ykbqy8QLwqbC2p6y3PJW9MvPWSxm0PrSpWiUjkos2UtXlHtPLi1mqjEor ejvFQ73eZBwZbGFQEi2zHAJm6PciakBdkRbIQyXsXyHRQ3yHRxg3Zvsd88pTFnf2j0NX z7XU8VJotfE3y/t+EZ+tGFI/aJmGWGJr49+j/JTEEvcwN3FsjpOfiA64rCU5nI7ilg6T o7dE8JlXvdKCA9qIhWLyfh0Now3VyUFgNbqYoTClhAp7n0+Eig4runb+0YR/2Cieax7A vKHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=E7pTCVImssNKLhIIh1mDsX/+6gYcG+1Q8Ji1QYfJoQY=; b=Uuh0oOhD3JDGwTkHCyCD7RSXNX0HxCXlBNDaTKJCc7bK2hSGbBfuwS7V5Mau2IuCm+ X6VPJheRhThn74+qx+/N5LBEyWo48MLxIzUir21kscwduLKyoxDC1IdkS9MXveVRiaSq LBZhACGKuwg4VdXyqbXWYGm+rwRNvyvXsEaeoLTKklcpQsEseyctvWEr61K8LnZ5B8nO L4yjJZKtxBhU0i3ALovjqngYi25v3DGA3J5Gk4rW20n+g261hxEwd3KNvy5plr/ejqcK wcXaQPhi/lT3OavzbtEp5Fn62uJKZsGXRpF2M4LudYe6BNXSYT0PquzMGpjU6EJTi9hu sUWQ== X-Gm-Message-State: APjAAAVApkxaxPtsG1r8pvbUTSfrvGifDuA/lTbxDdidMSCy97OKLMuk fZ/SgtwMGdH5hM6zghKJw9I= X-Received: by 2002:adf:e811:: with SMTP id o17mr7092123wrm.30.1556206487735; Thu, 25 Apr 2019 08:34:47 -0700 (PDT) Received: from localhost (p2E5BEF36.dip0.t-ipconnect.de. [46.91.239.54]) by smtp.gmail.com with ESMTPSA id v14sm2914929wra.58.2019.04.25.08.34.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Apr 2019 08:34:47 -0700 (PDT) From: Thierry Reding To: Kishon Vijay Abraham I Cc: Thierry Reding , Jon Hunter , JC Kuo , linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] phy: tegra: xusb: Add Tegra124 PLL power supplies Date: Thu, 25 Apr 2019 17:34:43 +0200 Message-Id: <20190425153444.6281-2-thierry.reding@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190425153444.6281-1-thierry.reding@gmail.com> References: <20190425153444.6281-1-thierry.reding@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- drivers/phy/tegra/xusb-tegra124.c | 9 +++++++++ 1 file changed, 9 insertions(+) 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); -- 2.21.0