From: Igor Grinberg <grinberg@compulab.co.il>
To: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
agross@codeaurora.org, linux-arm-msm@vger.kernel.org
Cc: Mark Rutland <mark.rutland@arm.com>,
devicetree@vger.kernel.org, Russell King <linux@arm.linux.org.uk>,
Pawel Moll <pawel.moll@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 12/14] ARM: dts: qs600: add pwrseq support to WLAN
Date: Mon, 21 Sep 2015 09:27:53 +0300 [thread overview]
Message-ID: <55FFA369.9020206@compulab.co.il> (raw)
In-Reply-To: <1442579525-20440-1-git-send-email-srinivas.kandagatla@linaro.org>
On 09/18/15 15:32, Srinivas Kandagatla wrote:
> Add pwrseq support to sdcc4 which would enable a proper reset of WLAN
> without ugly hacks in the board support file.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thanks Srini!
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
> ---
> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 32 +++++++++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
>
> diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
> index 8aac3be..cc9d942 100644
> --- a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
> +++ b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
> @@ -1,4 +1,6 @@
> #include "qcom-apq8064-v2.0.dtsi"
> +#include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
>
> / {
> model = "CompuLab CM-QS600";
> @@ -12,6 +14,20 @@
> stdout-path = "serial0:115200n8";
> };
>
> + pwrseq {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges;
> + compatible = "simple-bus";
> +
> + sdcc4_pwrseq: sdcc4_pwrseq {
> + pinctrl-names = "default";
> + pinctrl-0 = <&wlan_default_gpios>;
> + compatible = "mmc-pwrseq-simple";
> + reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
> + };
> + };
> +
> soc {
> rpm@108000 {
> regulators {
> @@ -154,6 +170,21 @@
> regulator-always-on;
> };
>
> + qcom,ssbi@500000 {
> + pmic@0 {
> + gpio@150 {
> + wlan_default_gpios: wlan-gpios {
> + pios {
> + pins = "gpio43";
> + function = "normal";
> + bias-disable;
> + power-source = <PM8921_GPIO_S4>;
> + };
> + };
> + };
> + };
> + };
> +
> amba {
> /* eMMC */
> sdcc1: sdcc@12400000 {
> @@ -172,6 +203,7 @@
> status = "okay";
> vmmc-supply = <&v3p3_fixed>;
> vqmmc-supply = <&v3p3_fixed>;
> + mmc-pwrseq = <&sdcc4_pwrseq>;
> };
> };
> };
>
--
Regards,
Igor.
next prev parent reply other threads:[~2015-09-21 6:27 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-18 12:29 [PATCH 00/14] ARM: dts: apq8064 dt cleanups and additions Srinivas Kandagatla
2015-09-18 12:30 ` [PATCH 01/14] ARM: dts: apq8064: remove redundant i2c pinctrl properties Srinivas Kandagatla
2015-09-18 12:30 ` [PATCH 02/14] ARM: dts: ifc6410: remove unnecessary eeprom label Srinivas Kandagatla
2015-09-18 12:30 ` [PATCH 03/14] ARM: dts: qs600: " Srinivas Kandagatla
2015-09-18 12:31 ` [PATCH 04/14] devicetree: Add hardware rng entry to qcom-apq8064.dtsi Srinivas Kandagatla
2015-10-26 21:46 ` Bjorn Andersson
2015-09-18 12:31 ` [PATCH 05/14] ARM: dts: apq8064: add pm8921 rtc Srinivas Kandagatla
2015-09-18 12:31 ` [PATCH 06/14] ARM: dts: apq8064: add pm8921 pwrkey support Srinivas Kandagatla
2015-09-18 12:31 ` [PATCH 07/14] ARM: dts: apq8064: Prefix the gsbi6 uart pins correctly Srinivas Kandagatla
2015-09-18 12:31 ` [PATCH 08/14] ARM: dts: apq8064: add missing gsbi7 uart pinctrl Srinivas Kandagatla
2015-09-18 12:31 ` [PATCH 09/14] ARM: dts: ifc6410: Add missing pinctrl to gsbi7 uart Srinivas Kandagatla
2015-09-25 18:54 ` Kevin Hilman
2015-09-30 13:22 ` Srinivas Kandagatla
2015-09-18 12:31 ` [PATCH 10/14] ARM: dts: qs600: Add missing pinctrl property for " Srinivas Kandagatla
2015-09-21 6:26 ` Igor Grinberg
2015-09-18 12:31 ` [PATCH 11/14] ARM: dts: ifc6410: Add pwrseq support for WLAN Srinivas Kandagatla
2015-09-18 12:32 ` [PATCH 12/14] ARM: dts: qs600: add pwrseq support to WLAN Srinivas Kandagatla
2015-09-21 6:27 ` Igor Grinberg [this message]
2015-09-18 12:32 ` [PATCH 13/14] ARM: dts: apq8064-ifc6410: add notify led support Srinivas Kandagatla
2015-09-18 12:32 ` [PATCH 14/14] ARM: dts: qs600: Add SD card detect support Srinivas Kandagatla
2015-09-21 6:31 ` Igor Grinberg
2015-09-20 2:52 ` [PATCH 00/14] ARM: dts: apq8064 dt cleanups and additions Andy Gross
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=55FFA369.9020206@compulab.co.il \
--to=grinberg@compulab.co.il \
--cc=agross@codeaurora.org \
--cc=devicetree@vger.kernel.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=srinivas.kandagatla@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;
as well as URLs for NNTP newsgroup(s).