Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2305431pxb; Fri, 17 Sep 2021 06:59:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLwEveA9Fq1tSBFceNdaYxvxm9ipVdTu8euaj8S50feGejqG2w7I4D13IUmV8EDO+H+qD4 X-Received: by 2002:a17:907:1b02:: with SMTP id mp2mr12568209ejc.196.1631887141039; Fri, 17 Sep 2021 06:59:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631887141; cv=none; d=google.com; s=arc-20160816; b=u6SPGCY8UEMZe5ZRdUR1mPuzzwEhe0zcUL100HyJCHv2bA4SjyBhNCCbdFUJa4o91C 5mvE6STNTLFiQs4upvGZ6FcA+Z13ww3QyW+S8j+/afGDuXlsybIiqMrWOSGBNuSPxQB/ Z/X09IGOB3p8e2p4Aa27syyhr8qOqoh0vCQUgv3+iNBTuhFx7fhj2kU6vfM/jBafLDDC wo6f0IC/xu2XWESVGC7tzbLoZIsVET68LX17vYtcZ9oQOYnnPpM1cUKKRBLdlGy0z3Ay gwCLvWBbaYOGSzRjsOe3KrF3IBY5mI3l3KS4ip9yWcrP8S10x6PPWz3r7MPPQkn3tYwK GRPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=tf7dZ9QlgxMW8bqrhBTWCXfu3Rty7tNcIo6wXNhz5HE=; b=Sq4Nig6wl36sxk4KAkTQMSUnOAYzxV5cWVd1vbGwqkynDbMoK423ELv4xnZIgNVEGn fGlpS1D7wqAg9j1TDVQYfpooks/M4AVhUTAb/mLh41X4CZ+haT5mbI2ZYtTJbN42qSJD arTbtmvslKM58UUWF5sf8hdcRsmkIq0KschmL4X1IXl0CUHgaHB9JXHH65ENryIC+Qgy MwcPFNpOD4p1Mh9k5r4ZKbKfOgjhJ9fjJfLnHhtFOO6SHpcVbiyIbcQO5x00UtpQ82tL Op2tIzdpWAWO4xmHKa0tkuJYia4D3DoqcICrfu2lZcidxPcEdBzd8/1T8CrR11Jxg43n 3a5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t22si6958352ejt.594.2021.09.17.06.58.36; Fri, 17 Sep 2021 06:59:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240579AbhIQKrn (ORCPT + 99 others); Fri, 17 Sep 2021 06:47:43 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:40285 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230338AbhIQKrm (ORCPT ); Fri, 17 Sep 2021 06:47:42 -0400 Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 17 Sep 2021 03:46:21 -0700 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 17 Sep 2021 03:46:18 -0700 X-QCInternal: smtphost Received: from c-skakit-linux.ap.qualcomm.com (HELO c-skakit-linux.qualcomm.com) ([10.242.51.242]) by ironmsg01-blr.qualcomm.com with ESMTP; 17 Sep 2021 16:15:57 +0530 Received: by c-skakit-linux.qualcomm.com (Postfix, from userid 2344709) id B411D5461; Fri, 17 Sep 2021 16:15:56 +0530 (IST) From: Satya Priya To: Andy Gross , Bjorn Andersson , Rob Herring Cc: Lee Jones , Liam Girdwood , Mark Brown , mka@chromium.org, swboyd@chromium.org, Das Srinagesh , David Collins , kgunda@codeaurora.org, Subbaraman Narayanamurthy , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, satya priya Subject: [PATCH 4/4] arm64: dts: qcom: sc7280: Add pm8008 regulators support for sc7280-idp Date: Fri, 17 Sep 2021 16:15:38 +0530 Message-Id: <1631875538-22473-5-git-send-email-skakit@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1631875538-22473-1-git-send-email-skakit@codeaurora.org> References: <1631875538-22473-1-git-send-email-skakit@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: satya priya Add pm8008 regulators support for sc7280 idp. Signed-off-by: satya priya --- arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 103 +++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi index 52638e2..3b3af49 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi @@ -207,6 +207,97 @@ }; }; +&i2c1 { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + pm8008_chip: pm8008@8 { + compatible = "qcom,pm8008"; + reg = <0x8>; + #address-cells = <1>; + #size-cells = <0>; + + pinctrl-names = "default"; + pinctrl-0 = <&pm8008_active>; + }; + + pm8008_ldo: pm8008@9 { + compatible = "qcom,pm8008"; + reg = <0x9>; + #address-cells = <1>; + #size-cells = <0>; + + pm8008-regulator { + compatible = "qcom,pm8008-regulator"; + #address-cells = <1>; + #size-cells = <0>; + + vdd_l1_l2-supply = <&vreg_s8b_1p2>; + vdd_l3_l4-supply = <&vreg_s1b_1p8>; + vdd_l5-supply = <&vreg_bob>; + vdd_l6-supply = <&vreg_bob>; + vdd_l7-supply = <&vreg_bob>; + + pm8008_l1: regulator@4000 { + reg = <0x4000>; + regulator-name = "pm8008_l1"; + regulator-min-microvolt = <950000>; + regulator-max-microvolt = <1300000>; + qcom,min-dropout-voltage = <96000>; + }; + + pm8008_l2: regulator@4100 { + reg = <0x4100>; + regulator-name = "pm8008_l2"; + regulator-min-microvolt = <950000>; + regulator-max-microvolt = <1250000>; + qcom,min-dropout-voltage = <24000>; + }; + + pm8008_l3: regulator@4200 { + reg = <0x4200>; + regulator-name = "pm8008_l3"; + regulator-min-microvolt = <1650000>; + regulator-max-microvolt = <3000000>; + qcom,min-dropout-voltage = <224000>; + }; + + pm8008_l4: regulator@4300 { + reg = <0x4300>; + regulator-name = "pm8008_l4"; + regulator-min-microvolt = <1504000>; + regulator-max-microvolt = <1600000>; + qcom,min-dropout-voltage = <0>; + }; + + pm8008_l5: regulator@4400 { + reg = <0x4400>; + regulator-name = "pm8008_l5"; + regulator-min-microvolt = <2600000>; + regulator-max-microvolt = <3000000>; + qcom,min-dropout-voltage = <104000>; + }; + + pm8008_l6: regulator@4500 { + reg = <0x4500>; + regulator-name = "pm8008_l6"; + regulator-min-microvolt = <2600000>; + regulator-max-microvolt = <3000000>; + qcom,min-dropout-voltage = <112000>; + }; + + pm8008_l7: regulator@4600 { + reg = <0x4600>; + regulator-name = "pm8008_l7"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3544000>; + qcom,min-dropout-voltage = <96000>; + }; + }; + }; +}; + &qfprom { vcc-supply = <&vreg_l1c_1p8>; }; @@ -313,6 +404,18 @@ /* PINCTRL - additions to nodes defined in sc7280.dtsi */ +&pm8350c_gpios { + pm8008_reset { + pm8008_active: pm8008_active { + pins = "gpio4"; + function = "normal"; + bias-disable; + output-high; + power-source = <0>; + }; + }; +}; + &qspi_cs0 { bias-disable; }; -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation