From patchwork Wed Aug 14 12:49:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171280 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp791592ily; Wed, 14 Aug 2019 05:51:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqwhvOppv3GAsO0if9uq32G5u7dnpHGwh/gvzCgb8VbknQZiyR3W4izwgaOxidnr8mdvimd4 X-Received: by 2002:a63:ec13:: with SMTP id j19mr38378056pgh.369.1565787112144; Wed, 14 Aug 2019 05:51:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787112; cv=none; d=google.com; s=arc-20160816; b=JFc34MVRC5Wr8BDx4betH8nFCdmAiAk4tSj3z+k+mEA0AvW7ThiQgumLoyrbtmbslO HxABGIYLSqLNhn28qnqWP3cCfwj9wBewgrbz7kioTBe7sXpEBxlDJPrC2mLbzd7Hi/CO xMFgLxl+GrW7IIciRgfcBLKI07codIBoeb6vpCEYipjfvTHxHGH+2zWP6uCPoO/zt6/I kv44DbXHEGp17dN18qiXc78xwNxggeIKkc7KLZZvd01lhcHEKMOlqFZlPocAJGgHwu5t pKZOgcIhHXKC4997Od3azW4kPgjMO7b4Yb/9yrEjT9/WGrrB0DrfTix+axnLB4bcgAmD lggw== 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=U9Ae+/vvmo8U7n0nuecwzXN/S2SB+ubSTL2VTsshUTU=; b=OkJjLSwYrJkIavoIyJDjH6UsnFiNY0ToNBLnCNHlO0kNjLNPvpfU3ld/YEOOta9/uu 8+ljcmTwxwzklPDuGxVfB2HLJm1a5qUDA+TpdOawohlQ8/iKDAKJ/yZNMeHOteSzTcIe 9+VJymyqMnxjItgqizy36mAND9wIQSYnLUjpqx6Qq2XBGVDAOxzAsDfYj/ehtUd66DqD 5o52/xbaQiZUCop68m4CnjpYigPhIftVTCBJdbgAnNI07ChITPkBWuNvw3QbbWzC3ooQ ZUXd8kmNIPq29rsTaiytooBdsrp9Wrbxo2ll4sY1Z3XboVdFOGM9QDBMfhzyBUP+C8V2 73ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IrtwynxI; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r33si12721342plb.421.2019.08.14.05.51.51; Wed, 14 Aug 2019 05:51:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=@kernel.org header.s=default header.b=IrtwynxI; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727890AbfHNMvv (ORCPT + 16 others); Wed, 14 Aug 2019 08:51:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:34778 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727524AbfHNMvv (ORCPT ); Wed, 14 Aug 2019 08:51:51 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 21BF6206C2; Wed, 14 Aug 2019 12:51:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787110; bh=EPC1GLzeMeqHmn2tFzQMNfcvgF2b5Eq+y9SoK23AuaA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IrtwynxIVO35V7839ypZNeKv9RFUw+EGO5TyxYaDj0Z9PbX9ql4QJ3tGzhao1LHk8 rJ/zstS4CIDRkjH2a6Q441WAbL5Drejd0OGJvWiuyBrfreFOefCXHhiTZCWbPMke8S +AjIlJeHwwChjMSBPn7NMhTrDZRnHgjEdSHPn+9Y= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 01/22] arm64: dts: qcom: sm8150: add base dts file Date: Wed, 14 Aug 2019 18:19:51 +0530 Message-Id: <20190814125012.8700-2-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This add base DTS file with cpu, psci, firmware and clock node to enable boot to console Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 269 +++++++++++++++++++++++++++ 1 file changed, 269 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sm8150.dtsi -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi new file mode 100644 index 000000000000..cd9fcadaeacb --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -0,0 +1,269 @@ +// SPDX-License-Identifier: BSD-3-Clause +// Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. +// Copyright (c) 2019, Linaro Limited + +#include +#include + +/ { + interrupt-parent = <&intc>; + + #address-cells = <2>; + #size-cells = <2>; + + chosen { }; + + clocks { + xo_board: xo-board { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <19200000>; + clock-output-names = "xo_board"; + }; + + sleep_clk: sleep-clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <32764>; + clock-output-names = "sleep_clk"; + }; + }; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + CPU0: cpu@0 { + device_type = "cpu"; + compatible = "qcom,kryo485"; + reg = <0x0 0x0>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + L2_0: l2-cache { + compatible = "cache"; + next-level-cache = <&L3_0>; + L3_0: l3-cache { + compatible = "cache"; + }; + }; + }; + + CPU1: cpu@100 { + device_type = "cpu"; + compatible = "qcom,kryo485"; + reg = <0x0 0x100>; + enable-method = "psci"; + next-level-cache = <&L2_100>; + L2_100: l2-cache { + compatible = "cache"; + next-level-cache = <&L3_0>; + }; + + }; + + CPU2: cpu@200 { + device_type = "cpu"; + compatible = "qcom,kryo485"; + reg = <0x0 0x200>; + enable-method = "psci"; + next-level-cache = <&L2_200>; + L2_200: l2-cache { + compatible = "cache"; + next-level-cache = <&L3_0>; + }; + }; + + CPU3: cpu@300 { + device_type = "cpu"; + compatible = "qcom,kryo485"; + reg = <0x0 0x300>; + enable-method = "psci"; + next-level-cache = <&L2_300>; + L2_300: l2-cache { + compatible = "cache"; + next-level-cache = <&L3_0>; + }; + }; + + CPU4: cpu@400 { + device_type = "cpu"; + compatible = "qcom,kryo485"; + reg = <0x0 0x400>; + enable-method = "psci"; + next-level-cache = <&L2_400>; + L2_400: l2-cache { + compatible = "cache"; + next-level-cache = <&L3_0>; + }; + }; + + CPU5: cpu@500 { + device_type = "cpu"; + compatible = "qcom,kryo485"; + reg = <0x0 0x500>; + enable-method = "psci"; + next-level-cache = <&L2_500>; + L2_500: l2-cache { + compatible = "cache"; + next-level-cache = <&L3_0>; + }; + }; + + CPU6: cpu@600 { + device_type = "cpu"; + compatible = "qcom,kryo485"; + reg = <0x0 0x600>; + enable-method = "psci"; + next-level-cache = <&L2_600>; + L2_600: l2-cache { + compatible = "cache"; + next-level-cache = <&L3_0>; + }; + }; + + CPU7: cpu@700 { + device_type = "cpu"; + compatible = "qcom,kryo485"; + reg = <0x0 0x700>; + enable-method = "psci"; + next-level-cache = <&L2_700>; + L2_700: l2-cache { + compatible = "cache"; + next-level-cache = <&L3_0>; + }; + }; + }; + + firmware { + scm: scm { + compatible = "qcom,scm-sm8150", "qcom,scm"; + #reset-cells = <1>; + }; + }; + + memory@80000000 { + device_type = "memory"; + /* We expect the bootloader to fill in the size */ + reg = <0 0x80000000 0 0>; + }; + + psci { + compatible = "arm,psci-1.0"; + method = "smc"; + }; + + soc: soc@0 { + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0 0 0xffffffff>; + compatible = "simple-bus"; + + gcc: clock-controller@100000 { + compatible = "qcom,gcc-sm8150"; + reg = <0x00100000 0x1f0000>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + clock-names = "bi_tcxo", "sleep_clk"; + clocks = <&xo_board>, <&sleep_clk>; + }; + + qupv3_id_1: geniqup@ac0000 { + compatible = "qcom,geni-se-qup"; + reg = <0x00ac0000 0x6000>; + clock-names = "m-ahb", "s-ahb"; + clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, + <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + status = "disabled"; + + uart2: serial@a90000 { + compatible = "qcom,geni-debug-uart"; + reg = <0x00a90000 0x4000>; + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; + interrupts = ; + status = "disabled"; + }; + }; + + intc: interrupt-controller@17a00000 { + compatible = "arm,gic-v3"; + interrupt-controller; + #interrupt-cells = <3>; + reg = <0x17a00000 0x10000>, /* GICD */ + <0x17a60000 0x100000>; /* GICR * 8 */ + interrupts = ; + }; + + timer@17c20000 { + #address-cells = <1>; + #size-cells = <1>; + ranges; + compatible = "arm,armv7-timer-mem"; + reg = <0x17c20000 0x1000>; + clock-frequency = <19200000>; + + frame@17c21000{ + frame-number = <0>; + interrupts = , + ; + reg = <0x17c21000 0x1000>, + <0x17c22000 0x1000>; + }; + + frame@17c23000 { + frame-number = <1>; + interrupts = ; + reg = <0x17c23000 0x1000>; + status = "disabled"; + }; + + frame@17c25000 { + frame-number = <2>; + interrupts = ; + reg = <0x17c25000 0x1000>; + status = "disabled"; + }; + + frame@17c27000 { + frame-number = <3>; + interrupts = ; + reg = <0x17c26000 0x1000>; + status = "disabled"; + }; + + frame@17c29000 { + frame-number = <4>; + interrupts = ; + reg = <0x17c29000 0x1000>; + status = "disabled"; + }; + + frame@17c2b000 { + frame-number = <5>; + interrupts = ; + reg = <0x17c2b000 0x1000>; + status = "disabled"; + }; + + frame@17c2d000 { + frame-number = <6>; + interrupts = ; + reg = <0x17c2d000 0x1000>; + status = "disabled"; + }; + }; + + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = , + , + , + ; + }; +}; From patchwork Wed Aug 14 12:49:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171285 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp791973ily; Wed, 14 Aug 2019 05:52:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyf8g8qIBt9WVEE5P6coSEYnc5tDqP8+v/ZvhoJ/mbI9e823h3pPAnS/kYitr0mmR9504BC X-Received: by 2002:a17:902:883:: with SMTP id 3mr7973459pll.318.1565787132092; Wed, 14 Aug 2019 05:52:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787132; cv=none; d=google.com; s=arc-20160816; b=tR8by29nEn5ymST8d0XXia17ik7Mu1ilWN8kzD/8Pok51VFVj5OpGQfh3PzmrMj21K 5zsyahkn44HcPynsyaUWj6O4Wk3FAbqxS8UtzpDVpvEUoqqx/izqEwmFqc9tQl2cjDWg jdVqRuBxjPdz1wvYS/bPkoxk7TWrRR3tzn6wNOYgP4pxSqNkBWALy+pErZJDjp00nKju jDHuE7zeuJmQAZHaZO4WTrB2EX7MWVAo92+QFLLD+3c5mQ4hhf7aMkA54Nt+NKS/BSA+ UwGAtEvG9fti1vF3GU2P1XaFcklDbBJmRpH2xcZaurfcyUMCG5hqd0KQxD1vi9eQQsQX cs3w== 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=vDJVVxKCkFa+/tOxoZfkIwIkdHjLtWRbfXPlqnwippw=; b=Jc259IFMFgO0t1uf/3ejfLrAqJcUf5fA6sKxLuSioq/qUys9tZRLWjyta21eNpzWBa lrc0t5/P+2FI877WNgvkcgmSTRcBhHNvrOmAzlDWZhbRUIGQI35NIrlUxM2oJs9Fczo8 ibiiZFzSYEkDhU16PliIpl9TTeEN4sD8yaRj39q95V/JLimWedRcXwoaIHG9chdhQTE2 ZeY1qpamkFGLIRICcgjSmVOqnfEg2ctquL5Ldpm0+PxFc3DlZHXznN6J4osI7mzAYbbh FNyRs9AmZRCMUgKYYo04XasXyKA9+Zy24elMF8CQiZP9Gm4fJxIXFEgRID+PrxZPq0uE SVMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jOt1NBmq; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b8si59625822pgn.56.2019.08.14.05.52.11; Wed, 14 Aug 2019 05:52:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=@kernel.org header.s=default header.b=jOt1NBmq; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728017AbfHNMwK (ORCPT + 16 others); Wed, 14 Aug 2019 08:52:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:35142 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726721AbfHNMwK (ORCPT ); Wed, 14 Aug 2019 08:52:10 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A24E020679; Wed, 14 Aug 2019 12:52:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787129; bh=2iQ9SSdWg+pUEq8xTNo80FcOSqZBNd6pLFEMFHpSn6w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jOt1NBmqYsTEM8Hm5a80Nq+IARMynVYiIXPeGkxbtlXmE5sX6CQlemG820VBOnu9g F3DuysdJ2DjYwaDebdZQtKzNKK45zvB53Bm+dI7lWVNhGqTH5HXoM+81Ztc33OrYJw xH9hRbMkast0+JHU8KG2nFr6mbozwkVrgh03Z9Z8= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 06/22] arm64: dts: qcom: pm8150: Add Base DTS file Date: Wed, 14 Aug 2019 18:19:56 +0530 Message-Id: <20190814125012.8700-7-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add base DTS file for pm8150 along with GPIOs Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pm8150.dtsi | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pm8150.dtsi -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/pm8150.dtsi b/arch/arm64/boot/dts/qcom/pm8150.dtsi new file mode 100644 index 000000000000..b533e254a203 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pm8150.dtsi @@ -0,0 +1,41 @@ +// SPDX-License-Identifier: BSD-3-Clause +// Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. +// Copyright (c) 2019, Linaro Limited + +#include +#include + +&spmi_bus { + pm8150_0: pm8150@0 { + compatible = "qcom,spmi-pmic"; + reg = <0x0 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pm8150_gpios: gpio@c000 { + compatible = "qcom,pm8150-gpio"; + reg = <0xc000>; + gpio-controller; + #gpio-cells = <2>; + interrupts = <0 0xc0 0 IRQ_TYPE_NONE>, + <0 0xc1 0 IRQ_TYPE_NONE>, + <0 0xc2 0 IRQ_TYPE_NONE>, + <0 0xc3 0 IRQ_TYPE_NONE>, + <0 0xc4 0 IRQ_TYPE_NONE>, + <0 0xc5 0 IRQ_TYPE_NONE>, + <0 0xc6 0 IRQ_TYPE_NONE>, + <0 0xc7 0 IRQ_TYPE_NONE>, + <0 0xc8 0 IRQ_TYPE_NONE>, + <0 0xc9 0 IRQ_TYPE_NONE>, + <0 0xca 0 IRQ_TYPE_NONE>, + <0 0xcb 0 IRQ_TYPE_NONE>; + }; + }; + + qcom,pm8150@1 { + compatible ="qcom,spmi-pmic"; + reg = <0x1 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + }; +}; From patchwork Wed Aug 14 12:50:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171291 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp792382ily; Wed, 14 Aug 2019 05:52:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqy9h9b+CI6AQOdBjkd1ZEEbSR2skMPl4dznhaWKXYiu88hULbTmfphvE5qVWAd3B2RioQRB X-Received: by 2002:a17:902:f082:: with SMTP id go2mr44557879plb.25.1565787155606; Wed, 14 Aug 2019 05:52:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787155; cv=none; d=google.com; s=arc-20160816; b=Kx5BKa/6vmQDqve5y9RcN+iDaq8r7XPNuhYad0YXLyGkVdArQdnet102kPBHy7sGHV 022vUWo/bfaUhkadkA0H46rTeBhWI+ruDpawbehWb2p+XBQ1rwJ5ytgp8DeV3q2R7Ovy P323fqCNmPD5xULNUXhAMMER88D4OqkQ61DDqgfRoDzNvv8Q+2sPjWIMVsIcJOQWREPL /dhBMwJXedZsXCXH+hTzAWAD+atEA5dq98m8QsZ7kerOSZa6s/xCR37l7P7btImr0kbI dUxHg/zDY4HGOIQAa+RoAdV/gdypE4XrWMJ8BlJZIAWq2dgJH0Kdir4+GRFLNQWPqlXF nL8w== 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=jO0y63bLQ21GRHvrY1wQV8RCdwM+EFqAsVvperDiMOI=; b=XGHkGOJ81gE40wy79GWnOo6USkjovkN8bCOzqmSovwZGdJpBvJeUdl0RTWyglWL8rS SaaJs2WbB1M/xpqc02v4ibzFL2eq0Uh4f0dKos5lWQzL7mZ1TCMxtOGjZxpYSiZ46ygM 5NUj+QF5+ge3syAkz4eqHFmqhurjOnZpkqdJPXklTNkZayCXWJhgOSmdUsvE/JLo3bdi qln3k/vJvbPf+o1oBhFcUJdezDTz+dLaEagkxqAyOf2fDSY/u3YhY/a+sHiliz/2fIPC LoSoVe2SU3S9/16LYBz8Y3wfcHU2JX79yGzk6Zr89cqOnBHeOxX6QvISlh+952XfT9zI leIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="LxP/3/7S"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ce18si2975610pjb.70.2019.08.14.05.52.35; Wed, 14 Aug 2019 05:52:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=@kernel.org header.s=default header.b="LxP/3/7S"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727885AbfHNMwd (ORCPT + 16 others); Wed, 14 Aug 2019 08:52:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:35620 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727687AbfHNMwd (ORCPT ); Wed, 14 Aug 2019 08:52:33 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EC6522173E; Wed, 14 Aug 2019 12:52:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787153; bh=7WQuUjVMmL4PBTu7P4cZtXz6D1Ii+nE4BtX+Ncjxxqc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LxP/3/7SL9w3z7zyDrqh/C/7pgsHhqtbiCEcHUfedA5/26mkWlstb02IItY6pmrJq /47VQPKeE3xlNfJBbOgvFNm9pzX5C9wv3a3dxQBNe1kXUzCMy5Bag204bBZSrQ1UNg 1a/t6PPrvVttR3SYF41VjXngoTJCgDXyX/oAtPHc= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 12/22] arm64: dts: qcom: pm8150l: Add Base DTS file Date: Wed, 14 Aug 2019 18:20:02 +0530 Message-Id: <20190814125012.8700-13-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org PMIC pm8150l is a slave pmic and this adds base DTS file for pm8150l Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pm8150l.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pm8150l.dtsi -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/pm8150l.dtsi b/arch/arm64/boot/dts/qcom/pm8150l.dtsi new file mode 100644 index 000000000000..e61ae6c6dab5 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pm8150l.dtsi @@ -0,0 +1,22 @@ +// SPDX-License-Identifier: BSD-3-Clause +// Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. +// Copyright (c) 2019, Linaro Limited + +#include +#include + +&spmi_bus { + qcom,pm8150@4 { + compatible = "qcom,spmi-pmic"; + reg = <0x4 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + }; + + qcom,pm8150@5 { + compatible ="qcom,spmi-pmic"; + reg = <0x5 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + }; +}; From patchwork Wed Aug 14 12:50:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171295 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp792685ily; Wed, 14 Aug 2019 05:52:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqztkidnvvXPrdOCVoUIrUIHF5zVeXI3n69VqQ6/DfXXWatuHP7Hwn/xZHFWcEvvFq7yo8J3 X-Received: by 2002:a17:90a:1202:: with SMTP id f2mr6830224pja.39.1565787171194; Wed, 14 Aug 2019 05:52:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787171; cv=none; d=google.com; s=arc-20160816; b=gty/znu6KfIwS2Cl0l/24GKSsasV1a/oyr2pUTY4RYqFe3jx8/w8JVfrGWTPrDxIpd s4jKpMynKnfveBCSgoblxNcLEG0TJGYMdmGmniCQRZIyGYHU8/DZvIJgCHmjg/KF2e4M z0z71Fm/li7fpg/Y0R19N8kw6bfG7E8L7lwib1Bc86iu30fHZlATs6/X2fCXQ8a43xmW 0UH76lTS3VJ4BSQkyrULhFOqlIOuJCmzObPPxqg3IzH1RkHn6MZ9DI1mZt0kVOS/NF0f +svWuA3FGIgyxyHcPB4Mojwg6UJmmBmQ54A0t4vxeYkXzxs2wqRfc31cOcQB8fVE4bUQ BVzg== 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=iaFKGDG8/p77WkPlH3sAyYEn1Hm6u19xV96t2b+yPog=; b=mKsMSaeiHKddqdxfs7OBNlzuuVLxg4EOrP39tHrAXb9l9hOSUWYXV6s4phN5TfH/kK VTL4ZVJ4unFMY+tUC+c9yzEjwfr10ZlFyUzHMcoW260ECmwqrSxhZYiyLclwVhgkmKCl KA8oJecowG0fF71s7HVNSmKDkAo+6nVWSipjNjGBR9j6v4xteBwHDddw8NaGj0543P+Y 6Z4Rj75E0IqEBgiFw7R2ZgXWEwynhsmyhsM6ZCMJjiJGyE/InvvTG/WsqUbege56HKYQ hqgbVRHgm9E6nt8kPtjJS5MoRsfOeYRhvGXJ3CNbvV5hcUe6skCHYLSLF/50fmlKJYPD Nd2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FRqPyka0; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b13si20933032pgr.460.2019.08.14.05.52.50; Wed, 14 Aug 2019 05:52:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=@kernel.org header.s=default header.b=FRqPyka0; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727856AbfHNMwu (ORCPT + 16 others); Wed, 14 Aug 2019 08:52:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:35942 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728196AbfHNMwt (ORCPT ); Wed, 14 Aug 2019 08:52:49 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 875892173E; Wed, 14 Aug 2019 12:52:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787168; bh=PaFFEUMSci1o0/biRn3xv8VDRFhQvuyzP763r2zkBH4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FRqPyka0iCZZ6pzB6C5jNao8NN2CWhqHlHcG7dvm0k5frjobehnwwWcRX5TQ7EG1V e7JJsTSURpG0k9r4G/qXupAGkM+2QnZWF/55Jk5tsW3GiB78fh4ZGQpHm+vb7JHHWa aRjhkVZ4viFf3pT6C3LbrBtlGjbt+0r2brUHhBSU= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 16/22] arm64: dts: qcom: sm8150-mtp: Add resin node Date: Wed, 14 Aug 2019 18:20:06 +0530 Message-Id: <20190814125012.8700-17-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The sm8150-mtp board has a reset button which also works as a volume down key. Add the node for resin device to handle the resin and volume down key Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts index 43ba14cc0b00..a42f1c154600 100644 --- a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts @@ -26,6 +26,15 @@ status = "okay"; }; +&pon { + resin { + compatible = "qcom,pm8941-resin"; + interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>; + debounce = <15625>; + bias-pull-up; + linux,code = ; + }; +}; &tlmm { gpio-reserved-ranges = <0 4>, <126 4>; }; From patchwork Wed Aug 14 12:50:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171298 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp792922ily; Wed, 14 Aug 2019 05:53:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqyHPyp1h2ks+IaCe2ckExcctLe1ubfNm0c2uI1HZMT3BXhe/91asbgu4dElg8CcY8tDj1sT X-Received: by 2002:a17:902:e70c:: with SMTP id co12mr11931542plb.7.1565787182910; Wed, 14 Aug 2019 05:53:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787182; cv=none; d=google.com; s=arc-20160816; b=iWkiN8bgiGoFsA5vgGEYi3O2urBDubyunTV3e79Gsk3BLQ3yYQ55LXl+ut75Hnnxpq oTh8B0wN5GClJ0RgYLYq6RgsQ3fOBq9kKvULUvHN8ZLDZJKnJpzWolxv1rylFZL0jXeW o3iUI7cMDk3d3va8BYXbB75ntCqfOZTDkpKI4goLP3navPqLrGZvAqyJmifI44NS3bRx LqmSxUg5rmK2o9+yMI5EX6DVDXHZie2rTIHlHx24Cf0+0MxC+5vCN7wRChfrEUWDhrOw nICc5/nh6giJ2la+OWaL1AXtMSIJdGxScLXb+i2SLRzFJiECHc8rL4/zgELv2a/2biB/ MT6g== 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=yzjPzecYzqcWC6WcAChpM3EYEQRY4loNcqP+HFuo0kM=; b=xLrCJ1iGvGXSy/lEhFcOL/jS10NORjPmDwZ2L4Pl95U4wQ3H6xeefmzx7lZs3KRQSL 8r9w5xBEX+jq5XUAwAsM8/HcuBREhf81B7H95op/IbgKwUIxPIPdvbyBM5wL6WqwNO8b i/uptgdT9LosToMDaoCB+kkoOS5FbPca7zkzsidQgGe6AkPGxzFByi24JZAqqTLqSSey hdlom2TAdZxd/yf1VGlmBFfVLeTdOwk46GyImkkWLTHyWYG2YECdiLdlI9PLmmTw3KLt bRUoLbnRV6u4fh4zI0oJ5w8bcxtuleMuuEe6x/uddQ1EtBcyCWo303ltZs+CK2mlz8zN Wwdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Hhs679s/"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b31si16023179pgb.128.2019.08.14.05.53.02; Wed, 14 Aug 2019 05:53:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=@kernel.org header.s=default header.b="Hhs679s/"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727425AbfHNMxB (ORCPT + 16 others); Wed, 14 Aug 2019 08:53:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:36276 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727111AbfHNMxB (ORCPT ); Wed, 14 Aug 2019 08:53:01 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3627C2173E; Wed, 14 Aug 2019 12:52:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787180; bh=YzVPqjUbc605SbP1cnCkkpJ7/CtKULE2fCxZtBjMX9I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Hhs679s/n6QCm4CmOrOMk7uJFyFgKa9eTVhA4f5JdLDDPzENpsMNVHYK2JQ1Y4/mv MA7InIwakxwPlGcf/M/kF17qLZQMbj2IcdgB8ACqKdzWlvrxR6qw+PbWCaN/Ge2v2r AoATq4p1RGgYiLhlVcH9BCrBNjuvOGsg69IkRPlI= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 19/22] arm64: dts: qcom: sm8150-mtp: Add regulators Date: Wed, 14 Aug 2019 18:20:09 +0530 Message-Id: <20190814125012.8700-20-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add the regulators found in the mtp platform. This platform consists of pmic PM8150, PM8150L and PM8009. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 327 ++++++++++++++++++++++++ 1 file changed, 327 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts index a42f1c154600..1d08a6daa006 100644 --- a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts @@ -4,6 +4,7 @@ /dts-v1/; +#include #include "sm8150.dtsi" #include "pm8150.dtsi" #include "pm8150b.dtsi" @@ -20,6 +21,332 @@ chosen { stdout-path = "serial0:115200n8"; }; + + vph_pwr: vph-pwr-regulator { + compatible = "regulator-fixed"; + regulator-name = "vph_pwr"; + regulator-min-microvolt = <3700000>; + regulator-max-microvolt = <3700000>; + }; + + /* + * Apparently RPMh does not provide support for PM8150 S4 because it + * is always-on; model it as a fixed regulator. + */ + vreg_s4a_1p8: pm8150-s4 { + compatible = "regulator-fixed"; + regulator-name = "vreg_s4a_1p8"; + + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + + regulator-always-on; + regulator-boot-on; + + vin-supply = <&vph_pwr>; + }; +}; + +&apps_rsc { + pm8150-rpmh-regulators { + compatible = "qcom,pm8150-rpmh-regulators"; + qcom,pmic-id = "a"; + + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vph_pwr>; + vdd-s3-supply = <&vph_pwr>; + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + vdd-s6-supply = <&vph_pwr>; + vdd-s7-supply = <&vph_pwr>; + vdd-s8-supply = <&vph_pwr>; + vdd-s9-supply = <&vph_pwr>; + vdd-s10-supply = <&vph_pwr>; + + vdd-l1-l8-l11-supply = <&vreg_s6a_0p9>; + vdd-l2-l10-supply = <&vreg_bob>; + vdd-l3-l4-l5-l18-supply = <&vreg_s6a_0p9>; + vdd-l6-l9-supply = <&vreg_s8c_1p3>; + vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p0>; + vdd-l13-l16-l17-supply = <&vreg_bob>; + + vreg_s5a_2p0: smps5 { + regulator-min-microvolt = <1904000>; + regulator-max-microvolt = <2000000>; + }; + + vreg_s6a_0p9: smps6 { + regulator-min-microvolt = <920000>; + regulator-max-microvolt = <1128000>; + }; + + vdda_wcss_pll: + vreg_l1a_0p75: ldo1 { + regulator-min-microvolt = <752000>; + regulator-max-microvolt = <752000>; + regulator-initial-mode = ; + }; + + vdd_pdphy: + vdda_usb_hs_3p1: + vreg_l2a_3p1: ldo2 { + regulator-min-microvolt = <3072000>; + regulator-max-microvolt = <3072000>; + regulator-initial-mode = ; + }; + + vreg_l3a_0p8: ldo3 { + regulator-min-microvolt = <480000>; + regulator-max-microvolt = <932000>; + regulator-initial-mode = ; + }; + + vdd_usb_hs_core: + vdda_csi_0_0p9: + vdda_csi_1_0p9: + vdda_csi_2_0p9: + vdda_csi_3_0p9: + vdda_dsi_0_0p9: + vdda_dsi_1_0p9: + vdda_dsi_0_pll_0p9: + vdda_dsi_1_pll_0p9: + vdda_pcie_1ln_core: + vdda_pcie_2ln_core: + vdda_pll_hv_cc_ebi01: + vdda_pll_hv_cc_ebi23: + vdda_qrefs_0p875_5: + vdda_sp_sensor: + vdda_ufs_2ln_core_1: + vdda_ufs_2ln_core_2: + vdda_usb_ss_dp_core_1: + vdda_usb_ss_dp_core_2: + vdda_qlink_lv: + vdda_qlink_lv_ck: + vreg_l5a_0p875: ldo5 { + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <880000>; + regulator-initial-mode = ; + }; + + vreg_l6a_1p2: ldo6 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + vreg_l7a_1p8: ldo7 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + vddpx_10: + vreg_l9a_1p2: ldo9 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + + vreg_l10a_2p5: ldo10 { + regulator-min-microvolt = <2504000>; + regulator-max-microvolt = <2960000>; + regulator-initial-mode = ; + }; + + vreg_l11a_0p8: ldo11 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <800000>; + regulator-initial-mode = ; + }; + + vdd_qfprom: + vdd_qfprom_sp: + vdda_apc_cs_1p8: + vdda_gfx_cs_1p8: + vdda_usb_hs_1p8: + vdda_qrefs_vref_1p8: + vddpx_10_a: + vreg_l12a_1p8: ldo12 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + vreg_l13a_2p7: ldo13 { + regulator-min-microvolt = <2704000>; + regulator-max-microvolt = <2704000>; + regulator-initial-mode = ; + }; + + vreg_l14a_1p8: ldo14 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1880000>; + regulator-initial-mode = ; + }; + + vreg_l15a_1p7: ldo15 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1704000>; + regulator-initial-mode = ; + }; + + vreg_l16a_2p7: ldo16 { + regulator-min-microvolt = <2704000>; + regulator-max-microvolt = <2960000>; + regulator-initial-mode = ; + }; + + vreg_l17a_3p0: ldo17 { + regulator-min-microvolt = <2856000>; + regulator-max-microvolt = <3008000>; + regulator-initial-mode = ; + }; + }; + + pm8150l-rpmh-regulators { + compatible = "qcom,pm8150l-rpmh-regulators"; + qcom,pmic-id = "c"; + + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vph_pwr>; + vdd-s3-supply = <&vph_pwr>; + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + vdd-s6-supply = <&vph_pwr>; + vdd-s7-supply = <&vph_pwr>; + vdd-s8-supply = <&vph_pwr>; + + vdd-l1-l8-supply = <&vreg_s4a_1p8>; + vdd-l2-l3-supply = <&vreg_s8c_1p3>; + vdd-l4-l5-l6-supply = <&vreg_bob>; + vdd-l7-l11-supply = <&vreg_bob>; + vdd-l9-l10-supply = <&vreg_bob>; + + vdd-bob-supply = <&vph_pwr>; + vdd-flash-supply = <&vreg_bob>; + vdd-rgb-supply = <&vreg_bob>; + + vreg_bob: bob { + regulator-min-microvolt = <3008000>; + regulator-max-microvolt = <4000000>; + regulator-initial-mode = ; + regulator-allow-bypass; + }; + + vreg_s8c_1p3: smps8 { + regulator-min-microvolt = <1352000>; + regulator-max-microvolt = <1352000>; + }; + + vreg_l1c_1p8: ldo1 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + vdda_wcss_adcdac_1: + vdda_wcss_adcdac_22: + vreg_l2c_1p3: ldo2 { + regulator-min-microvolt = <1304000>; + regulator-max-microvolt = <1304000>; + regulator-initial-mode = ; + }; + + vdda_hv_ebi0: + vdda_hv_ebi1: + vdda_hv_ebi2: + vdda_hv_ebi3: + vdda_hv_refgen0: + vdda_qlink_hv_ck: + vreg_l3c_1p2: ldo3 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + vddpx_5: + vreg_l4c_1p8: ldo4 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <2928000>; + regulator-initial-mode = ; + }; + + vddpx_6: + vreg_l5c_1p8: ldo5 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <2928000>; + regulator-initial-mode = ; + }; + + vddpx_2: + vreg_l6c_2p9: ldo6 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2960000>; + regulator-initial-mode = ; + }; + + vreg_l7c_3p0: ldo7 { + regulator-min-microvolt = <2856000>; + regulator-max-microvolt = <3104000>; + regulator-initial-mode = ; + }; + + vreg_l8c_1p8: ldo8 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + vreg_l9c_2p9: ldo9 { + regulator-min-microvolt = <2704000>; + regulator-max-microvolt = <2960000>; + regulator-initial-mode = ; + }; + + + vreg_l10c_3p3: ldo10 { + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3312000>; + regulator-initial-mode = ; + }; + + vreg_l11c_3p3: ldo11 { + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3312000>; + regulator-initial-mode = ; + }; + }; + + pm8009-rpmh-regulators { + compatible = "qcom,pm8009-rpmh-regulators"; + qcom,pmic-id = "f"; + + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vreg_bob>; + + vdd-l2-supply = <&vreg_s8c_1p3>; + vdd-l5-l6-supply = <&vreg_bob>; + + vreg_l2f_1p2: ldo2 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + vreg_l5f_2p85: ldo5 { + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-initial-mode = ; + }; + + vreg_l6f_2p85: ldo6 { + regulator-initial-mode = ; + regulator-min-microvolt = <2856000>; + regulator-max-microvolt = <2856000>; + }; + }; + }; &qupv3_id_1 {