All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH rebased 1/2] ARM: dts: imx6qdl: add a new pinctrl for uart3
@ 2013-07-12  7:56 Huang Shijie
  2013-07-12  7:56 ` [PATCH rebased 2/2] ARM: dts: imx6qdl-sabreauto: add a DT node " Huang Shijie
  2013-07-12  8:38 ` [PATCH rebased 1/2] ARM: dts: imx6qdl: add a new pinctrl " Shawn Guo
  0 siblings, 2 replies; 6+ messages in thread
From: Huang Shijie @ 2013-07-12  7:56 UTC (permalink / raw)
  To: linux-arm-kernel

Add the a new pinctrl for uart3. In the imx6q{dl}-sabreauto boards,
the uart3 is used for Bluetooth.

Signed-off-by: Huang Shijie <b32955@freescale.com>
---
 arch/arm/boot/dts/imx6qdl.dtsi |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index 5ca82bf..a050865 100644
--- a/arch/arm/boot/dts/imx6qdl.dtsi
+++ b/arch/arm/boot/dts/imx6qdl.dtsi
@@ -1028,6 +1028,17 @@
 					};
 				};
 
+				uart3 {
+					pinctrl_uart3_1: uart3grp-1 {
+						fsl,pins = <
+							PAD_SD4_CLK__UART3_RX_DATA 0x1b0b1
+							PAD_SD4_CMD__UART3_TX_DATA 0x1b0b1
+							PAD_EIM_D30__UART3_CTS_B   0x1b0b1
+							PAD_EIM_EB3__UART3_RTS_B   0x1b0b1
+						>;
+					};
+				};
+
 				uart4 {
 					pinctrl_uart4_1: uart4grp-1 {
 						fsl,pins = <
-- 
1.7.1

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

* [PATCH rebased 2/2] ARM: dts: imx6qdl-sabreauto: add a DT node for uart3
  2013-07-12  7:56 [PATCH rebased 1/2] ARM: dts: imx6qdl: add a new pinctrl for uart3 Huang Shijie
@ 2013-07-12  7:56 ` Huang Shijie
  2013-07-12  8:40   ` Shawn Guo
  2013-07-12  8:38 ` [PATCH rebased 1/2] ARM: dts: imx6qdl: add a new pinctrl " Shawn Guo
  1 sibling, 1 reply; 6+ messages in thread
From: Huang Shijie @ 2013-07-12  7:56 UTC (permalink / raw)
  To: linux-arm-kernel

Add a DT node for uart3, in the imx6q{dl}-sabreauto boards,
the uart3 is used by Bluetooth.

Since the uart3 has pin conflict with gpmi and weim nor, we keep it
disabled by default.

Signed-off-by: Huang Shijie <b32955@freescale.com>
---
 arch/arm/boot/dts/imx6qdl-sabreauto.dtsi |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
index 365e8ff..70a8bf1 100644
--- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
@@ -67,6 +67,15 @@
 	};
 };
 
+&uart3 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_uart3_1>;
+	fsl,uart-has-rtscts;
+	dma-names = "rx", "tx";
+	dmas = <&sdma 29 4 0>, <&sdma 30 4 0>;
+	status = "disabled"; /* used by the BT, pin conflict with gpmi and weim NOR */
+};
+
 &uart4 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart4_1>;
-- 
1.7.1

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

* [PATCH rebased 1/2] ARM: dts: imx6qdl: add a new pinctrl for uart3
  2013-07-12  7:56 [PATCH rebased 1/2] ARM: dts: imx6qdl: add a new pinctrl for uart3 Huang Shijie
  2013-07-12  7:56 ` [PATCH rebased 2/2] ARM: dts: imx6qdl-sabreauto: add a DT node " Huang Shijie
@ 2013-07-12  8:38 ` Shawn Guo
  1 sibling, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2013-07-12  8:38 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jul 12, 2013 at 03:56:11PM +0800, Huang Shijie wrote:
> Add the a new pinctrl for uart3. In the imx6q{dl}-sabreauto boards,
> the uart3 is used for Bluetooth.
> 
> Signed-off-by: Huang Shijie <b32955@freescale.com>

Applied (with updating macros to use prefix MX6QDL_), thanks.

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

* [PATCH rebased 2/2] ARM: dts: imx6qdl-sabreauto: add a DT node for uart3
  2013-07-12  7:56 ` [PATCH rebased 2/2] ARM: dts: imx6qdl-sabreauto: add a DT node " Huang Shijie
@ 2013-07-12  8:40   ` Shawn Guo
  2013-07-12  8:50     ` Huang Shijie
  2013-07-12  8:51     ` [PATCH fix] " Huang Shijie
  0 siblings, 2 replies; 6+ messages in thread
From: Shawn Guo @ 2013-07-12  8:40 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jul 12, 2013 at 03:56:12PM +0800, Huang Shijie wrote:
> Add a DT node for uart3, in the imx6q{dl}-sabreauto boards,
> the uart3 is used by Bluetooth.
> 
> Since the uart3 has pin conflict with gpmi and weim nor, we keep it
> disabled by default.
> 
> Signed-off-by: Huang Shijie <b32955@freescale.com>
> ---
>  arch/arm/boot/dts/imx6qdl-sabreauto.dtsi |    9 +++++++++
>  1 files changed, 9 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
> index 365e8ff..70a8bf1 100644
> --- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
> @@ -67,6 +67,15 @@
>  	};
>  };
>  
> +&uart3 {
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&pinctrl_uart3_1>;
> +	fsl,uart-has-rtscts;

> +	dma-names = "rx", "tx";
> +	dmas = <&sdma 29 4 0>, <&sdma 30 4 0>;

These two properties should be added in imx6qdl.dtsi

Shawn

> +	status = "disabled"; /* used by the BT, pin conflict with gpmi and weim NOR */
> +};
> +
>  &uart4 {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_uart4_1>;
> -- 
> 1.7.1
> 
> 

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

* [PATCH rebased 2/2] ARM: dts: imx6qdl-sabreauto: add a DT node for uart3
  2013-07-12  8:40   ` Shawn Guo
@ 2013-07-12  8:50     ` Huang Shijie
  2013-07-12  8:51     ` [PATCH fix] " Huang Shijie
  1 sibling, 0 replies; 6+ messages in thread
From: Huang Shijie @ 2013-07-12  8:50 UTC (permalink / raw)
  To: linux-arm-kernel

? 2013?07?12? 16:40, Shawn Guo ??:
>> >  +&uart3 {
>> >  +	pinctrl-names = "default";
>> >  +	pinctrl-0 =<&pinctrl_uart3_1>;
>> >  +	fsl,uart-has-rtscts;
>> >  +	dma-names = "rx", "tx";
>> >  +	dmas =<&sdma 29 4 0>,<&sdma 30 4 0>;
> These two properties should be added in imx6qdl.dtsi
the uart3 may does _not_ have the RTS/CTS pins except in the 
imx6q{dl}-sabreauto boards.

Is it proper to add the dma property in the imx6qdl.dtsi?


thanks
Huang Shijie

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

* [PATCH fix] ARM: dts: imx6qdl-sabreauto: add a DT node for uart3
  2013-07-12  8:40   ` Shawn Guo
  2013-07-12  8:50     ` Huang Shijie
@ 2013-07-12  8:51     ` Huang Shijie
  1 sibling, 0 replies; 6+ messages in thread
From: Huang Shijie @ 2013-07-12  8:51 UTC (permalink / raw)
  To: linux-arm-kernel

Add a DT node for uart3, in the imx6q{dl}-sabreauto boards,
the uart3 is used by Bluetooth.

Since the uart3 has pin conflict with gpmi and weim nor, we keep it
disabled by default.

Signed-off-by: Huang Shijie <b32955@freescale.com>
---
 arch/arm/boot/dts/imx6qdl-sabreauto.dtsi |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
index 1cbbc51..4f99ddd 100644
--- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
@@ -67,6 +67,13 @@
 	};
 };
 
+&uart3 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_uart3_1>;
+	fsl,uart-has-rtscts;
+	status = "disabled"; /* used by the BT, pin conflict with gpmi and weim NOR */
+};
+
 &uart4 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart4_1>;
-- 
1.7.1

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

end of thread, other threads:[~2013-07-12  8:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-12  7:56 [PATCH rebased 1/2] ARM: dts: imx6qdl: add a new pinctrl for uart3 Huang Shijie
2013-07-12  7:56 ` [PATCH rebased 2/2] ARM: dts: imx6qdl-sabreauto: add a DT node " Huang Shijie
2013-07-12  8:40   ` Shawn Guo
2013-07-12  8:50     ` Huang Shijie
2013-07-12  8:51     ` [PATCH fix] " Huang Shijie
2013-07-12  8:38 ` [PATCH rebased 1/2] ARM: dts: imx6qdl: add a new pinctrl " Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.