Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8492258ybi; Thu, 6 Jun 2019 13:19:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJNOx96f0oYlZSVjvbznhampvcNNZEnXLqAzfLnzPlKmjVc4tjAhM6rIdgDcbAqEgXfzww X-Received: by 2002:a17:90a:8e86:: with SMTP id f6mr1654586pjo.66.1559852349442; Thu, 06 Jun 2019 13:19:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559852349; cv=none; d=google.com; s=arc-20160816; b=iEPNAPPTR1TwL9272CXmb53XpVZ2n6e01EfZgO4TJtNng6gxCQ0KqfC21fdl+7ATPp yEcwWGjUHoKowpouQCN65ltePPOTX2Tbl+jeWiYkGQguYPzj93DPxLCBJvuJOPuYqK1e XyD0bAqBgKB8rPSYPM/J7urDU1rcAPsEAdWnbUYQoW91pjUMzXdPktrQje2XlxwNl+Sh q8vrURTCOgEaa13vGRBUUZ2wyMZblHNEIYy/1Ppjk/p1BXAAgJkiFlmc0uS2Lp3zyb+K UX4bFWHARUSUBvW6zpnVmy1tsYTqF7ErFs5sa4XF5+f4l5xH7wqmleYrPaOqQv64glS2 kFZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=ShYV+EbWvX524xQNClO0SMbhJ4ngTe/5gGFiTlAJkmg=; b=ILZrQkw5UTkazXWha12dJv/5Sh6V8FNLP92nEMLdPI9W6epj6kkLBfL0GbYeltQa5T iKkI297Cf+zvmwSLlUJp0KsyMYhzsd/96GzV2Gv/RDrUyZcSXy3NfB13ZeM0hd858tvI kiiu5W8k5Oi4Jm34AijrHAjUKKyFf2w8Aje9naN4kzBprjjSPPL6irkIIgaNyIV/MJmZ 0mP03Qzgj/7+AjYqC0c3BgGVLvGizg1xyqJNhPbcHNLd5cXIzYYp91tGAiAmcUNSyrov 0KAvmEWwbGqeDHFvz/b/dZp3aN22TuCx3cESIYOQLXOED23J/vcLZeJWRjYYPMSiOqJp JeiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nf1Vgu5n; 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 j11si43908pgh.302.2019.06.06.13.18.53; Thu, 06 Jun 2019 13:19:09 -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=nf1Vgu5n; 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 S1728444AbfFFSwa (ORCPT + 99 others); Thu, 6 Jun 2019 14:52:30 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:38370 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726893AbfFFSw3 (ORCPT ); Thu, 6 Jun 2019 14:52:29 -0400 Received: by mail-pl1-f194.google.com with SMTP id f97so1279320plb.5; Thu, 06 Jun 2019 11:52:29 -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; bh=ShYV+EbWvX524xQNClO0SMbhJ4ngTe/5gGFiTlAJkmg=; b=nf1Vgu5nL4tLoizqDxbhb3lSAkF7+BQSN8P3rCgdFMiMozj7zIgNZFuExpn2BwEuJg Jm8B5wndn617akK85HdovJPPR85poikWLHkpMF2AwuxvpwXN71Uy6fJ2kVVwr+HMpPVS bCQBJQOWaXrpKo/mCuoJAJqgU9y5twDOsVzKl57fw2dJfQRg6766632s8jdCgNGBnSIA DUL+6Z8kYja5TLQtDNh5l3PybMeyuqRS8Kiv4K19H/YnRI5JluI6upg+L5Qwyenkj1KL 8ng1EucC4B0QuPX8H50H6AF7yYQdgblWzaXvq/LpYTq50b7p5aSDlCp9TRFy4/+5mfeE cWqw== 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; bh=ShYV+EbWvX524xQNClO0SMbhJ4ngTe/5gGFiTlAJkmg=; b=BCD/CqsevsC5ZsNL0kLRGifFiH9oY37qKqa7YYH3YLv/+1tCf8DMQLAbhLdz234Zy0 Cgu8g5R7+AEH6eWemyvbI+PU7WBHmz4FA44iipxaNN0KhLK6E/SOIKfJdnpxY4iPS8Ki T0RHuupAKuU20toYQtIjaGwb+hh/wzoN8mFKTNm403xN47g30o9Br08u6UX/QpAzfAxU LiO1nrGkzuTK5MI7v5YpeKFZwPZT/v1srJ3XW617S+aocG3iZ6Qf/7vjbw6JCYIR5BRd S+x5NPvfVETwMeIPMZ1NFAJt19pDzUr4s4JuLxhkfvcCFxyYB9OPOuRALQrnLmR5g/Kr BZsA== X-Gm-Message-State: APjAAAVoLp3Uou+Wm4ydX/su8pdslbr75/p3g3ts7DKUh5MCwZelf3mi sfIMrhCzKk1yBcHfiqHV0/E= X-Received: by 2002:a17:902:3064:: with SMTP id u91mr52245703plb.244.1559847149252; Thu, 06 Jun 2019 11:52:29 -0700 (PDT) Received: from aw-bldr-10.qualcomm.com (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id d10sm6175332pgh.43.2019.06.06.11.52.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Jun 2019 11:52:28 -0700 (PDT) From: Jeffrey Hugo To: agross@kernel.org, david.brown@linaro.org, bjorn.andersson@linaro.org Cc: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, jorge.ramirez-ortiz@linaro.org, niklas.cassel@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jeffrey Hugo Subject: [PATCH v2 5/7] arm64: dts: msm8998-mtp: Add pm8005_s1 regulator Date: Thu, 6 Jun 2019 11:51:03 -0700 Message-Id: <20190606185103.39788-1-jeffrey.l.hugo@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190606184842.39484-1-jeffrey.l.hugo@gmail.com> References: <20190606184842.39484-1-jeffrey.l.hugo@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The pm8005_s1 is VDD_GFX, and needs to be on to enable the GPU. This should be hooked up to the GPU CPR, but we don't have support for that yet, so until then, just turn on the regulator and keep it on so that we can focus on basic GPU bringup. Signed-off-by: Jeffrey Hugo Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi b/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi index f09f3e03f708..108667ce4f31 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi @@ -27,6 +27,23 @@ status = "okay"; }; +&pm8005_lsid1 { + pm8005-regulators { + compatible = "qcom,pm8005-regulators"; + + vdd_s1-supply = <&vph_pwr>; + + pm8005_s1: s1 { /* VDD_GFX supply */ + regulator-min-microvolt = <524000>; + regulator-max-microvolt = <1100000>; + regulator-enable-ramp-delay = <500>; + + /* hack until we rig up the gpu consumer */ + regulator-always-on; + }; + }; +}; + &qusb2phy { status = "okay"; -- 2.17.1