From patchwork Thu Aug 3 04:35:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 109293 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp286253qge; Wed, 2 Aug 2017 21:35:34 -0700 (PDT) X-Received: by 10.84.195.131 with SMTP id j3mr421165pld.147.1501734933927; Wed, 02 Aug 2017 21:35:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501734933; cv=none; d=google.com; s=arc-20160816; b=TJU9BKmE85gvogeIZH2knL8m9ARlmDdAtlMkhb9e3VNCYdBKm4YWtvVOBnDUXxJLEq RDBPtElSArIcDKrD4LmOues01yUW1rnEWr0XJLdSETBlddqvDlswi+h6RjiqaJXp1qnA r+HDgdUnc47Dyn/AT/kNyZRF1yPeFYFvvnx5XbDKj/EOb5sMCcAxQ/3qfYGrPOB735TO /HJX9WH7rQcWsWbPZDwL+Wju6VP9oA/+FO/XrZ7jGml+AW+LLpQXY3t0dcZb+d2mjy0K /UwNcgP9IIQwYNcuDmXNb2U6wdeiY5/NTX1OhvMm6BK5/u1WgvAOAz/zB5LImk+UWYjM DT7g== 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:arc-authentication-results; bh=/OKFnVNvcXojGiwpWaAyp0Hup8aYmjRvLzxJgiflDF0=; b=XH1Rd+Ug3UE1Yo0MoZmnWT8fP81UBG/m3HvfMCLRfdjg5Yxd/cI7fi4Do5sMWfa8V9 5347e77W8J2ygP8H2cMjDEay9AdArUerxDmIVjPlvjmIf8zcKadx8ncxU9A6OpcCFiwP 3cfBaWH/dpkBuCuYYbLrpPrmerY/oZsk7RkJX6FMChVOen3AwsOSR0DhGtzhLgQ9SHw7 YrUcBPywqy+AivhaZhOMAr1YPIC71Y7hMRgZ2HHvyZRvaRNk4HNEhoCFiXf95DixqQLA mAgKLBUkOu411Cu1h5Z+CvkgitYfIJWPciz4CqFAVRGmqVXtwQhDTf6L6BjYuWE10AP2 4m9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=erhxai7U; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b1si21924624plc.28.2017.08.02.21.35.33; Wed, 02 Aug 2017 21:35:33 -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=neutral (body hash did not verify) header.i=@linaro.org header.b=erhxai7U; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751226AbdHCEfa (ORCPT + 9 others); Thu, 3 Aug 2017 00:35:30 -0400 Received: from mail-pg0-f52.google.com ([74.125.83.52]:36935 "EHLO mail-pg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751230AbdHCEfZ (ORCPT ); Thu, 3 Aug 2017 00:35:25 -0400 Received: by mail-pg0-f52.google.com with SMTP id y129so1594668pgy.4 for ; Wed, 02 Aug 2017 21:35:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=C9KKapL2WrMet0+e74R/Ij/DzrugkPvqjmR3C015DwQ=; b=erhxai7UhxhYUhxfLzk3fq+TMwJ/J4trDWFX82fp9I/Cy98rekb1bjf2zTserVe28s siAOCBtz4ZkENvArrab7Lfq8L0eC1pIog/+WEupOmWBAO1v/ubL0mnvGvdtAiPXPXPSG PhOUxfS5Oof+boJehFz+6ofl+vLevZJ1jjki8= 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=C9KKapL2WrMet0+e74R/Ij/DzrugkPvqjmR3C015DwQ=; b=b2pmkHFBJCUUanlpVXkx7LgZAmuiR9/oQwx0xtugCtw3LUjpvg+0XNuk4gUcVfm8cY ZKtoj354RwTkOEBfU6n+GiK8GeN/moxHZXlMnn4YMGXQ4VCxidqdHcfUxjM6r3FrcmFc cihQCh4eTqSo0F8B5lWYOcz420XO6A1jpNWjk/GNy1HIzdqVCVv5ap9ABOTNrQKCCVBh FL8QhNro304zE9+WLuBq/9NaqYFcva0TuEKWdbYw6IZFwCOvw8hx05zqHhxnrFlULrAh 0p0m89MFPT1LesXGzMxSEGoCpkSV5jCJL41x284y28enVwLt9DMfdhBiE9TR+CczGkcu QwoA== X-Gm-Message-State: AIVw110e4qs/GBUhNMuPBOBPZukeDLIrW6Xd3xlyz2B6aJNAyGU/a44F DISh5KFpnYEghDYbROA3Cw== X-Received: by 10.84.238.2 with SMTP id u2mr424989plk.169.1501734925079; Wed, 02 Aug 2017 21:35:25 -0700 (PDT) Received: from localhost.localdomain (ip68-111-217-79.sd.sd.cox.net. [68.111.217.79]) by smtp.gmail.com with ESMTPSA id k4sm51888344pgr.74.2017.08.02.21.35.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Aug 2017 21:35:24 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , David Brown Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/4] arm64: dts: qcom: db820c: Add pm8994 regulator node Date: Wed, 2 Aug 2017 21:35:16 -0700 Message-Id: <20170803043518.21408-3-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170803043518.21408-1-bjorn.andersson@linaro.org> References: <20170803043518.21408-1-bjorn.andersson@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Rajendra Nayak Add PM8994 RPM regulators with their min/max voltages to DB820c. Signed-off-by: Rajendra Nayak Signed-off-by: Bjorn Andersson --- Changes since v1: - None arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 148 +++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) -- 2.12.0 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi index d2196fc6d739..b4817d6c0d50 100644 --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi @@ -106,4 +106,152 @@ gpios = <&pm8994_gpios 2 GPIO_ACTIVE_LOW>; }; }; + + rpm-glink { + rpm_requests { + pm8994-regulators { + vdd_l1-supply = <&pm8994_s3>; + vdd_l2_l26_l28-supply = <&pm8994_s3>; + vdd_l3_l11-supply = <&pm8994_s3>; + vdd_l4_l27_l31-supply = <&pm8994_s3>; + vdd_l5_l7-supply = <&pm8994_s5>; + vdd_l14_l15-supply = <&pm8994_s5>; + vdd_l20_l21-supply = <&pm8994_s5>; + vdd_l25-supply = <&pm8994_s3>; + + s3 { + regulator-min-microvolt = <1300000>; + regulator-max-microvolt = <1300000>; + }; + s4 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + s5 { + regulator-min-microvolt = <2150000>; + regulator-max-microvolt = <2150000>; + }; + s7 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <800000>; + }; + + l1 { + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + }; + l2 { + regulator-min-microvolt = <1250000>; + regulator-max-microvolt = <1250000>; + }; + l3 { + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <850000>; + }; + l4 { + regulator-min-microvolt = <1225000>; + regulator-max-microvolt = <1225000>; + }; + l6 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + }; + l8 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + l9 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + l10 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + l11 { + regulator-min-microvolt = <1150000>; + regulator-max-microvolt = <1150000>; + }; + l12 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + l13 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2950000>; + }; + l14 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + l15 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + l16 { + regulator-min-microvolt = <2700000>; + regulator-max-microvolt = <2700000>; + }; + l17 { + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <2500000>; + }; + l18 { + regulator-min-microvolt = <2700000>; + regulator-max-microvolt = <2900000>; + }; + l19 { + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + }; + l20 { + regulator-min-microvolt = <2950000>; + regulator-max-microvolt = <2950000>; + regulator-allow-set-load; + }; + l21 { + regulator-min-microvolt = <2950000>; + regulator-max-microvolt = <2950000>; + }; + l22 { + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + l23 { + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + }; + l24 { + regulator-min-microvolt = <3075000>; + regulator-max-microvolt = <3075000>; + }; + l25 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-allow-set-load; + }; + l27 { + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + }; + l28 { + regulator-min-microvolt = <925000>; + regulator-max-microvolt = <925000>; + regulator-allow-set-load; + }; + l29 { + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + }; + l30 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + l32 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + }; + }; + }; };