devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] DT: APQ8064 for qcom-dt-next
@ 2015-08-18 13:04 Srinivas Kandagatla
  2015-08-18 13:06 ` [PATCH v2 1/6] ARM: dts: ifc6410: Add pwrseq support for WLAN Srinivas Kandagatla
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Srinivas Kandagatla @ 2015-08-18 13:04 UTC (permalink / raw)
  To: agross, linux-arm-msm
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Russell King,
	devicetree, linux-arm-kernel, linux-kernel, srinivas.kandagatla

Hi Andy,

Apologies for the long delay in sending new version of the patches.
Here are the new patches with fixes and dropping the MDP and panel
related changes.

Some dt patches which depend on pmic header
 "dt-bindings/pinctrl/qcom,pmic-gpio.h" which is availble in linux-next.


Changes since v1(https://lkml.org/lkml/2015/7/28/489)
 - Fixed style related errors spotted by Stephen and Bjorn
 - dropped mdp and Panel related DT, as it seems to go no where
  w.r.t cleaning up the driver.
 - Added few more patches for qs600 which are very trival.

 thanks,
 srini

Srinivas Kandagatla (6):
  ARM: dts: ifc6410: Add pwrseq support for WLAN
  ARM: dts: qs600: add pwrseq support to WLAN
  ARM: dts: apq8064-ifc6410: add notify led support.
  ARM: dts: qs600: remove unnecessary i2c pinctrl nodes in board file.
  ARM: dts: qs600: add alias to serial0
  ARM: dts: qs600: Add SD card detect support.

 arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 46 +++++++++++++++++++++++--
 arch/arm/boot/dts/qcom-apq8064-ifc6410.dts  | 52 +++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+), 3 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH v2 1/6] ARM: dts: ifc6410: Add pwrseq support for WLAN
  2015-08-18 13:04 [PATCH v2 0/6] DT: APQ8064 for qcom-dt-next Srinivas Kandagatla
@ 2015-08-18 13:06 ` Srinivas Kandagatla
       [not found]   ` <1439903212-19931-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
       [not found] ` <1439903069-19752-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 15+ messages in thread
From: Srinivas Kandagatla @ 2015-08-18 13:06 UTC (permalink / raw)
  To: agross, linux-arm-msm
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Russell King,
	devicetree, linux-arm-kernel, linux-kernel, srinivas.kandagatla

This patch adds pwrseq for WLAN which resets the WLAN just before the
SDIO bus is up.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 31 ++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
index 88d6655..b1f9ddb 100644
--- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
@@ -1,5 +1,6 @@
 #include "qcom-apq8064-v2.0.dtsi"
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
 
 / {
 	model = "Qualcomm APQ8064/IFC6410";
@@ -10,6 +11,20 @@
 		serial1 = &gsbi6_serial;
 	};
 
+	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 {
 		pinctrl@800000 {
 			card_detect: card_detect {
@@ -206,6 +221,21 @@
 			status = "okay";
 		};
 
+		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 {
@@ -227,6 +257,7 @@
 				status = "okay";
 				vmmc-supply = <&ext_3p3v>;
 				vqmmc-supply = <&pm8921_lvs1>;
+				mmc-pwrseq = <&sdcc4_pwrseq>;
 			};
 		};
 	};
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH v2 2/6] ARM: dts: qs600: add pwrseq support to WLAN
       [not found] ` <1439903069-19752-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
@ 2015-08-18 13:10   ` Srinivas Kandagatla
  0 siblings, 0 replies; 15+ messages in thread
From: Srinivas Kandagatla @ 2015-08-18 13:10 UTC (permalink / raw)
  To: agross-sgV2jX0FEOL9JmXXK+q4OQ,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Russell King,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A

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-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
---
 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 34ccb26..ebde2b7 100644
--- a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
@@ -1,9 +1,25 @@
 #include "qcom-apq8064-v2.0.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
 
 / {
 	model = "CompuLab CM-QS600";
 	compatible = "qcom,apq8064-cm-qs600", "qcom,apq8064";
 
+	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 {
 		pinctrl@800000 {
 			i2c1_pins: i2c1 {
@@ -155,6 +171,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 {
@@ -173,6 +204,7 @@
 				status = "okay";
 				vmmc-supply = <&v3p3_fixed>;
 				vqmmc-supply = <&v3p3_fixed>;
+				mmc-pwrseq = <&sdcc4_pwrseq>;
 			};
 		};
 	};
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH v2 3/6] ARM: dts: apq8064-ifc6410: add notify led support.
  2015-08-18 13:04 [PATCH v2 0/6] DT: APQ8064 for qcom-dt-next Srinivas Kandagatla
  2015-08-18 13:06 ` [PATCH v2 1/6] ARM: dts: ifc6410: Add pwrseq support for WLAN Srinivas Kandagatla
       [not found] ` <1439903069-19752-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
@ 2015-08-18 13:10 ` Srinivas Kandagatla
  2015-08-25 21:36   ` Stephen Boyd
  2015-08-18 13:10 ` [PATCH v2 4/6] ARM: dts: qs600: remove unnecessary i2c pinctrl nodes in board file Srinivas Kandagatla
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 15+ messages in thread
From: Srinivas Kandagatla @ 2015-08-18 13:10 UTC (permalink / raw)
  To: agross, linux-arm-msm
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Russell King,
	devicetree, linux-arm-kernel, linux-kernel, srinivas.kandagatla

This patch adds notify led support on IFC6410, whose trigger can be
configured from userspace.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
index b1f9ddb..08daafe 100644
--- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
@@ -221,6 +221,18 @@
 			status = "okay";
 		};
 
+		leds {
+			compatible = "gpio-leds";
+			pinctrl-names = "default";
+			pinctrl-0 = <&notify_led>;
+
+			led@1 {
+				label = "apq8064:green:user1";
+				gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
+				default-state = "on";
+			};
+		};
+
 		qcom,ssbi@500000 {
 			pmic@0 {
 				gpio@150 {
@@ -232,6 +244,15 @@
 							power-source = <PM8921_GPIO_S4>;
 						};
 					};
+
+					notify_led: nled {
+						pios {
+							pins = "gpio18";
+							function = "normal";
+							bias-disable;
+							power-source = <PM8921_GPIO_S4>;
+						};
+					};
 				};
 			};
 		};
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH v2 4/6] ARM: dts: qs600: remove unnecessary i2c pinctrl nodes in board file.
  2015-08-18 13:04 [PATCH v2 0/6] DT: APQ8064 for qcom-dt-next Srinivas Kandagatla
                   ` (2 preceding siblings ...)
  2015-08-18 13:10 ` [PATCH v2 3/6] ARM: dts: apq8064-ifc6410: add notify led support Srinivas Kandagatla
@ 2015-08-18 13:10 ` Srinivas Kandagatla
  2015-08-25 21:24   ` Andy Gross
  2015-08-18 13:10 ` [PATCH v2 5/6] ARM: dts: qs600: add alias to serial0 Srinivas Kandagatla
  2015-08-18 13:10 ` [PATCH v2 6/6] ARM: dts: qs600: Add SD card detect support Srinivas Kandagatla
  5 siblings, 1 reply; 15+ messages in thread
From: Srinivas Kandagatla @ 2015-08-18 13:10 UTC (permalink / raw)
  To: agross, linux-arm-msm
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Russell King,
	devicetree, linux-arm-kernel, linux-kernel, srinivas.kandagatla

This patch removes unnecessary i2c pinctrl nodes in board file, these
are already defined in the soc specific file qcom-apq8064.dtsi.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
index ebde2b7..06b3a70 100644
--- a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
@@ -21,15 +21,6 @@
 	};
 
 	soc {
-		pinctrl@800000 {
-			i2c1_pins: i2c1 {
-				mux {
-					pins = "gpio20", "gpio21";
-					function = "gsbi1";
-				};
-			};
-		};
-
 		rpm@108000 {
 			regulators {
 				vin_lvs1_3_6-supply = <&pm8921_s4>;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH v2 5/6] ARM: dts: qs600: add alias to serial0
  2015-08-18 13:04 [PATCH v2 0/6] DT: APQ8064 for qcom-dt-next Srinivas Kandagatla
                   ` (3 preceding siblings ...)
  2015-08-18 13:10 ` [PATCH v2 4/6] ARM: dts: qs600: remove unnecessary i2c pinctrl nodes in board file Srinivas Kandagatla
@ 2015-08-18 13:10 ` Srinivas Kandagatla
  2015-08-25 21:39   ` Stephen Boyd
  2015-08-25 21:46   ` Andy Gross
  2015-08-18 13:10 ` [PATCH v2 6/6] ARM: dts: qs600: Add SD card detect support Srinivas Kandagatla
  5 siblings, 2 replies; 15+ messages in thread
From: Srinivas Kandagatla @ 2015-08-18 13:10 UTC (permalink / raw)
  To: agross, linux-arm-msm
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Russell King,
	devicetree, linux-arm-kernel, linux-kernel, srinivas.kandagatla

This patch add alias node with serial0.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
index 06b3a70..c095849 100644
--- a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
@@ -6,6 +6,10 @@
 	model = "CompuLab CM-QS600";
 	compatible = "qcom,apq8064-cm-qs600", "qcom,apq8064";
 
+	aliases {
+		serial0 = &gsbi7_serial;
+	};
+
 	pwrseq {
 		#address-cells = <1>;
 		#size-cells = <1>;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH v2 6/6] ARM: dts: qs600: Add SD card detect support.
  2015-08-18 13:04 [PATCH v2 0/6] DT: APQ8064 for qcom-dt-next Srinivas Kandagatla
                   ` (4 preceding siblings ...)
  2015-08-18 13:10 ` [PATCH v2 5/6] ARM: dts: qs600: add alias to serial0 Srinivas Kandagatla
@ 2015-08-18 13:10 ` Srinivas Kandagatla
  5 siblings, 0 replies; 15+ messages in thread
From: Srinivas Kandagatla @ 2015-08-18 13:10 UTC (permalink / raw)
  To: agross, linux-arm-msm
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Russell King,
	devicetree, linux-arm-kernel, linux-kernel, srinivas.kandagatla

This patch adds SD card detect support.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
index c095849..8c7bdc4 100644
--- a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
@@ -25,6 +25,16 @@
 	};
 
 	soc {
+		pinctrl@800000 {
+			card_detect: card_detect {
+				mux {
+					pins = "gpio26";
+					function = "gpio";
+					bias-disable;
+				};
+			};
+		};
+
 		rpm@108000 {
 			regulators {
 				vin_lvs1_3_6-supply = <&pm8921_s4>;
@@ -193,6 +203,9 @@
 			sdcc3: sdcc@12180000 {
 				status = "okay";
 				vmmc-supply = <&v3p3_fixed>;
+				pinctrl-names	= "default";
+				pinctrl-0	= <&card_detect>;
+				cd-gpios	= <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
 			};
 			/* WLAN */
 			sdcc4: sdcc@121c0000 {
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [PATCH v2 4/6] ARM: dts: qs600: remove unnecessary i2c pinctrl nodes in board file.
  2015-08-18 13:10 ` [PATCH v2 4/6] ARM: dts: qs600: remove unnecessary i2c pinctrl nodes in board file Srinivas Kandagatla
@ 2015-08-25 21:24   ` Andy Gross
  0 siblings, 0 replies; 15+ messages in thread
From: Andy Gross @ 2015-08-25 21:24 UTC (permalink / raw)
  To: Srinivas Kandagatla
  Cc: linux-arm-msm, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Russell King, devicetree, linux-arm-kernel,
	linux-kernel

On Tue, Aug 18, 2015 at 02:10:19PM +0100, Srinivas Kandagatla wrote:
> This patch removes unnecessary i2c pinctrl nodes in board file, these
> are already defined in the soc specific file qcom-apq8064.dtsi.
> 
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> ---
>  arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 9 ---------
>  1 file changed, 9 deletions(-)

Applied, thanks!

-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH v2 1/6] ARM: dts: ifc6410: Add pwrseq support for WLAN
       [not found]   ` <1439903212-19931-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
@ 2015-08-25 21:33     ` Stephen Boyd
  2015-09-03 15:45       ` Srinivas Kandagatla
  0 siblings, 1 reply; 15+ messages in thread
From: Stephen Boyd @ 2015-08-25 21:33 UTC (permalink / raw)
  To: Srinivas Kandagatla
  Cc: agross-sgV2jX0FEOL9JmXXK+q4OQ,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Russell King,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

On 08/18/2015 06:06 AM, Srinivas Kandagatla wrote:
> @@ -10,6 +11,20 @@
>   		serial1 = &gsbi6_serial;
>   	};
>   
> +	pwrseq {
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		ranges;

Why do we need any of these three properties?

> +		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>;

Especially because this node doesn't have a reg property.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH v2 3/6] ARM: dts: apq8064-ifc6410: add notify led support.
  2015-08-18 13:10 ` [PATCH v2 3/6] ARM: dts: apq8064-ifc6410: add notify led support Srinivas Kandagatla
@ 2015-08-25 21:36   ` Stephen Boyd
  2015-09-03 15:49     ` Srinivas Kandagatla
  0 siblings, 1 reply; 15+ messages in thread
From: Stephen Boyd @ 2015-08-25 21:36 UTC (permalink / raw)
  To: Srinivas Kandagatla
  Cc: agross, linux-arm-msm, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Russell King, devicetree, linux-arm-kernel,
	linux-kernel

On 08/18/2015 06:10 AM, Srinivas Kandagatla wrote:
> diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
> index b1f9ddb..08daafe 100644
> --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
> +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
> @@ -221,6 +221,18 @@
>   			status = "okay";
>   		};
>   
> +		leds {
> +			compatible = "gpio-leds";
> +			pinctrl-names = "default";
> +			pinctrl-0 = <&notify_led>;
> +
> +			led@1 {
> +				label = "apq8064:green:user1";
> +				gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
> +				default-state = "on";
> +			};
> +		};

Wrong place. Should be in root, not soc node.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH v2 5/6] ARM: dts: qs600: add alias to serial0
  2015-08-18 13:10 ` [PATCH v2 5/6] ARM: dts: qs600: add alias to serial0 Srinivas Kandagatla
@ 2015-08-25 21:39   ` Stephen Boyd
  2015-08-25 21:46   ` Andy Gross
  1 sibling, 0 replies; 15+ messages in thread
From: Stephen Boyd @ 2015-08-25 21:39 UTC (permalink / raw)
  To: Srinivas Kandagatla
  Cc: agross, linux-arm-msm, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Russell King, devicetree, linux-arm-kernel,
	linux-kernel

On 08/18/2015 06:10 AM, Srinivas Kandagatla wrote:
> This patch add alias node with serial0.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> ---

I have a whole set of patches to add all the serial aliases and 
stdout-path properties [1]. Please drop this patch from your series.

[1] 
http://lkml.kernel.org/r/1434490313-13905-1-git-send-email-sboyd@codeaurora.org

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH v2 5/6] ARM: dts: qs600: add alias to serial0
  2015-08-18 13:10 ` [PATCH v2 5/6] ARM: dts: qs600: add alias to serial0 Srinivas Kandagatla
  2015-08-25 21:39   ` Stephen Boyd
@ 2015-08-25 21:46   ` Andy Gross
  2015-08-27  4:53     ` Andy Gross
  1 sibling, 1 reply; 15+ messages in thread
From: Andy Gross @ 2015-08-25 21:46 UTC (permalink / raw)
  To: Srinivas Kandagatla
  Cc: linux-arm-msm, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Russell King, devicetree, linux-arm-kernel,
	linux-kernel

On Tue, Aug 18, 2015 at 02:10:27PM +0100, Srinivas Kandagatla wrote:
> This patch add alias node with serial0.
> 
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> ---
>  arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 4 ++++
>  1 file changed, 4 insertions(+)

Looks fine.  Applied.

-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH v2 5/6] ARM: dts: qs600: add alias to serial0
  2015-08-25 21:46   ` Andy Gross
@ 2015-08-27  4:53     ` Andy Gross
  0 siblings, 0 replies; 15+ messages in thread
From: Andy Gross @ 2015-08-27  4:53 UTC (permalink / raw)
  To: Srinivas Kandagatla
  Cc: linux-arm-msm, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Russell King, devicetree, linux-arm-kernel,
	linux-kernel

On Tue, Aug 25, 2015 at 04:46:22PM -0500, Andy Gross wrote:
> On Tue, Aug 18, 2015 at 02:10:27PM +0100, Srinivas Kandagatla wrote:
> > This patch add alias node with serial0.
> > 
> > Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> > ---
> >  arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 4 ++++
> >  1 file changed, 4 insertions(+)
> 
> Looks fine.  Applied.

Scratch that.  I dropped it from the patch list due to stephen's set.

-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH v2 1/6] ARM: dts: ifc6410: Add pwrseq support for WLAN
  2015-08-25 21:33     ` Stephen Boyd
@ 2015-09-03 15:45       ` Srinivas Kandagatla
  0 siblings, 0 replies; 15+ messages in thread
From: Srinivas Kandagatla @ 2015-09-03 15:45 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: agross, linux-arm-msm, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Russell King, devicetree, linux-arm-kernel,
	linux-kernel



On 25/08/15 22:33, Stephen Boyd wrote:
> On 08/18/2015 06:06 AM, Srinivas Kandagatla wrote:
>> @@ -10,6 +11,20 @@
>>           serial1 = &gsbi6_serial;
>>       };
>> +    pwrseq {
>> +        #address-cells = <1>;
>> +        #size-cells = <1>;
>> +        ranges;
>
> Why do we need any of these three properties?
>
Yep, you are right I will remove it and give it a try.

>> +        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>;
>
> Especially because this node doesn't have a reg property.
>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH v2 3/6] ARM: dts: apq8064-ifc6410: add notify led support.
  2015-08-25 21:36   ` Stephen Boyd
@ 2015-09-03 15:49     ` Srinivas Kandagatla
  0 siblings, 0 replies; 15+ messages in thread
From: Srinivas Kandagatla @ 2015-09-03 15:49 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Mark Rutland, devicetree, Russell King, Pawel Moll, Ian Campbell,
	linux-arm-msm, linux-kernel, Rob Herring, agross,
	linux-arm-kernel



On 25/08/15 22:36, Stephen Boyd wrote:
> On 08/18/2015 06:10 AM, Srinivas Kandagatla wrote:
>> diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
>> b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
>> index b1f9ddb..08daafe 100644
>> --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
>> +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
>> @@ -221,6 +221,18 @@
>>               status = "okay";
>>           };
>> +        leds {
>> +            compatible = "gpio-leds";
>> +            pinctrl-names = "default";
>> +            pinctrl-0 = <&notify_led>;
>> +
>> +            led@1 {
>> +                label = "apq8064:green:user1";
>> +                gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
>> +                default-state = "on";
>> +            };
>> +        };
>
> Wrong place. Should be in root, not soc node.
yep, Will move it to the root.
>

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-09-03 15:49 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-18 13:04 [PATCH v2 0/6] DT: APQ8064 for qcom-dt-next Srinivas Kandagatla
2015-08-18 13:06 ` [PATCH v2 1/6] ARM: dts: ifc6410: Add pwrseq support for WLAN Srinivas Kandagatla
     [not found]   ` <1439903212-19931-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-08-25 21:33     ` Stephen Boyd
2015-09-03 15:45       ` Srinivas Kandagatla
     [not found] ` <1439903069-19752-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-08-18 13:10   ` [PATCH v2 2/6] ARM: dts: qs600: add pwrseq support to WLAN Srinivas Kandagatla
2015-08-18 13:10 ` [PATCH v2 3/6] ARM: dts: apq8064-ifc6410: add notify led support Srinivas Kandagatla
2015-08-25 21:36   ` Stephen Boyd
2015-09-03 15:49     ` Srinivas Kandagatla
2015-08-18 13:10 ` [PATCH v2 4/6] ARM: dts: qs600: remove unnecessary i2c pinctrl nodes in board file Srinivas Kandagatla
2015-08-25 21:24   ` Andy Gross
2015-08-18 13:10 ` [PATCH v2 5/6] ARM: dts: qs600: add alias to serial0 Srinivas Kandagatla
2015-08-25 21:39   ` Stephen Boyd
2015-08-25 21:46   ` Andy Gross
2015-08-27  4:53     ` Andy Gross
2015-08-18 13:10 ` [PATCH v2 6/6] ARM: dts: qs600: Add SD card detect support Srinivas Kandagatla

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).