From: John Stultz <john.stultz@linaro.org>
To: lkml <linux-kernel@vger.kernel.org>
Cc: John Stultz <john.stultz@linaro.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>,
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
Nicolas Dechesne <nicolas.dechesne@linaro.org>,
Stephen Boyd <stephen.boyd@linaro.org>,
Andy Gross <andy.gross@linaro.org>,
Rob Clark <robdclark@gmail.com>, Vinay Simha <simhavcs@gmail.com>,
David Brown <david.brown@linaro.org>,
Rob Herring <robh+dt@kernel.org>
Subject: [PATCH 2/2] ARM: dts: nexus7: Add regulator tweaks and wcnss entry to support wifi
Date: Fri, 12 May 2017 14:18:18 -0700 [thread overview]
Message-ID: <1494623898-27230-3-git-send-email-john.stultz@linaro.org> (raw)
In-Reply-To: <1494623898-27230-1-git-send-email-john.stultz@linaro.org>
Tweak and add some regulator entries that are needed to
support wifi.
The values here were taken from:
arch/arm/mach-msm/asustek/flo/board-flo-regulator.c
in the AOSP msm 3.4 flo branch.
This also adds a wcnss entry so it gets enabled on the board.
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Cc: Stephen Boyd <stephen.boyd@linaro.org>
Cc: Andy Gross <andy.gross@linaro.org>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Vinay Simha <simhavcs@gmail.com>
Cc: David Brown <david.brown@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Signed-off-by: John Stults <john.stultz@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 42 ++++++++++++++++++++--
1 file changed, 40 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
index e5fef32..3cae48f 100644
--- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
@@ -82,7 +82,17 @@
bias-pull-down;
};
- /* msm otg HSUSB_VDDCX */
+ /* wcnss_wlan.0-iris_vddrfa */
+ s2 {
+ regulator-min-microvolt = <1300000>;
+ regulator-max-microvolt = <1300000>;
+ qcom,switch-mode-frequency = <1600000>;
+ };
+
+ /*
+ * msm otg HSUSB_VDDCX
+ * wcnss_wlan.0-riva_vddcx
+ */
s3 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1150000>;
@@ -95,6 +105,7 @@
* tabla2x-slim-CDC_VDDA_TX
* tabla2x-slim-CDC_VDD_CP
* tabla2x-slim-VDDIO_CDC
+ * wcnss_wlan.0-riva_vddpx
*/
s4 {
regulator-min-microvolt = <1800000>;
@@ -123,7 +134,10 @@
bias-pull-down;
};
- /* msm_otg-HSUSB_1p8 */
+ /*
+ * msm_otg-HSUSB_1p8
+ * wcnss_wlan.0-iris_vddxo
+ */
l4 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
@@ -143,6 +157,12 @@
regulator-max-microvolt = <2950000>;
};
+ /* wcnss_wlan.0-iris_vddpa */
+ l10 {
+ regulator-min-microvolt = <2900000>;
+ regulator-max-microvolt = <2900000>;
+ };
+
/* mipi_dsi.1-dsi1_avdd */
l11 {
regulator-min-microvolt = <3000000>;
@@ -165,6 +185,12 @@
bias-pull-down;
};
+ /* wcnss_wlan.0-riva_vddmx */
+ l24 {
+ regulator-min-microvolt = <750000>;
+ regulator-max-microvolt = <1150000>;
+ };
+
/*
* tabla2x-slim-CDC_VDDA_A_1P2V
* tabla2x-slim-VDDD_CDC_D
@@ -175,10 +201,15 @@
bias-pull-down;
};
+ /* wcnss_wlan.0-iris_vddio */
lvs1 {
bias-pull-down;
};
+ /* wcnss_wlan.0-iris_vdddig */
+ lvs2 {
+ };
+
lvs4 {
bias-pull-down;
};
@@ -196,6 +227,7 @@
*/
lvs7 {
bias-pull-down;
+ regulator-always-on;
};
};
};
@@ -340,6 +372,12 @@
};
};
+ riva-pil@3204000 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&riva_wlan_pin_a>;
+ };
+
imem@2a03f000 {
compatible = "syscon", "simple-mfd";
reg = <0x2a03f000 0x1000>;
--
2.7.4
next prev parent reply other threads:[~2017-05-12 21:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-12 21:18 [RFC][PATCH 0/2] Few DTS changes needed for Nexus7 support John Stultz
2017-05-12 21:18 ` [PATCH 1/2] ARM: dts: qcom-apq8064: Collapse usb support into one node John Stultz
2017-05-14 3:23 ` Bjorn Andersson
2017-05-12 21:18 ` John Stultz [this message]
2017-05-13 19:19 ` [PATCH 2/2] ARM: dts: nexus7: Add regulator tweaks and wcnss entry to support wifi Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1494623898-27230-3-git-send-email-john.stultz@linaro.org \
--to=john.stultz@linaro.org \
--cc=andy.gross@linaro.org \
--cc=bjorn.andersson@linaro.org \
--cc=david.brown@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolas.dechesne@linaro.org \
--cc=robdclark@gmail.com \
--cc=robh+dt@kernel.org \
--cc=simhavcs@gmail.com \
--cc=srinivas.kandagatla@linaro.org \
--cc=stephen.boyd@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome