* [PATCH 1/2] ARM: dts: imx6sl-warp: Add changes for rev1.12
@ 2015-06-29 13:05 Fabio Estevam
2015-06-29 13:05 ` [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select HCIUART_H4 Fabio Estevam
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Fabio Estevam @ 2015-06-29 13:05 UTC (permalink / raw)
To: linux-arm-kernel
Warp board rev1.12 is the version of the hardware that will be publicly
available for the customers.
It uses UART5 as the Bluetooth serial port as well as some
additional signals for HOSTWAKE on Wifi and Bluetooth.
Make the changes to support the rev1.12 hardware.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
arch/arm/boot/dts/imx6sl-warp.dts | 29 ++++++++++++++++-------------
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/arch/arm/boot/dts/imx6sl-warp.dts b/arch/arm/boot/dts/imx6sl-warp.dts
index 401a6b3..10c6996 100644
--- a/arch/arm/boot/dts/imx6sl-warp.dts
+++ b/arch/arm/boot/dts/imx6sl-warp.dts
@@ -61,7 +61,9 @@
usdhc3_pwrseq: usdhc3_pwrseq {
compatible = "mmc-pwrseq-simple";
reset-gpios = <&gpio4 5 GPIO_ACTIVE_LOW>, /* WL_REG_ON */
+ <&gpio4 7 GPIO_ACTIVE_LOW>, /* WL_HOSTWAKE */
<&gpio3 25 GPIO_ACTIVE_LOW>, /* BT_REG_ON */
+ <&gpio3 27 GPIO_ACTIVE_LOW>, /* BT_HOSTWAKE */
<&gpio4 4 GPIO_ACTIVE_LOW>, /* BT_WAKE */
<&gpio4 6 GPIO_ACTIVE_LOW>; /* BT_RST_N */
};
@@ -73,16 +75,16 @@
status = "okay";
};
-&uart2 {
+&uart3 {
pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_uart2>;
- fsl,uart-has-rtscts;
+ pinctrl-0 = <&pinctrl_uart3>;
status = "okay";
};
-&uart3 {
+&uart5 {
pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_uart3>;
+ pinctrl-0 = <&pinctrl_uart5>;
+ fsl,uart-has-rtscts;
status = "okay";
};
@@ -130,14 +132,6 @@
>;
};
- pinctrl_uart2: uart2grp {
- fsl,pins = <
- MX6SL_PAD_EPDC_D12__UART2_RX_DATA 0x41b0b1
- MX6SL_PAD_EPDC_D13__UART2_TX_DATA 0x41b0b1
- MX6SL_PAD_EPDC_D14__UART2_RTS_B 0x4130B1
- MX6SL_PAD_EPDC_D15__UART2_CTS_B 0x4130B1
- >;
- };
pinctrl_uart3: uart3grp {
fsl,pins = <
@@ -146,6 +140,15 @@
>;
};
+ pinctrl_uart5: uart5grp {
+ fsl,pins = <
+ MX6SL_PAD_ECSPI1_SCLK__UART5_RX_DATA 0x41b0b1
+ MX6SL_PAD_ECSPI1_MOSI__UART5_TX_DATA 0x41b0b1
+ MX6SL_PAD_ECSPI1_MISO__UART5_RTS_B 0x4130b1
+ MX6SL_PAD_ECSPI1_SS0__UART5_CTS_B 0x4130b1
+ >;
+ };
+
pinctrl_usdhc2: usdhc2grp {
fsl,pins = <
MX6SL_PAD_SD2_CMD__SD2_CMD 0x417059
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select HCIUART_H4
2015-06-29 13:05 [PATCH 1/2] ARM: dts: imx6sl-warp: Add changes for rev1.12 Fabio Estevam
@ 2015-06-29 13:05 ` Fabio Estevam
2015-07-13 13:39 ` Shawn Guo
2015-07-06 15:05 ` [PATCH 1/2] ARM: dts: imx6sl-warp: Add changes for rev1.12 Otavio Salvador
2015-07-13 13:37 ` Shawn Guo
2 siblings, 1 reply; 5+ messages in thread
From: Fabio Estevam @ 2015-06-29 13:05 UTC (permalink / raw)
To: linux-arm-kernel
The old warp board revision had hardware issues that prevented
the RTS/CTS lines to work with the Bluetooth module.
Tha latest rev1.12 fixes this problem, so now we should better use
CONFIG_BT_HCIUART_H4 instead, as it provides a better throughput than
the CONFIG_BT_HCIUART_3WIRE option.
Suggested-by: Arthur Lambert <arthur@dreem.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
arch/arm/configs/imx_v6_v7_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index b47863d..48133a9 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -76,7 +76,7 @@ CONFIG_CAN_FLEXCAN=y
CONFIG_BT=y
CONFIG_BT_HCIUART=y
CONFIG_BT_HCIUART_LL=y
-CONFIG_BT_HCIUART_3WIRE=y
+CONFIG_BT_HCIUART_H4=y
CONFIG_CFG80211=y
CONFIG_MAC80211=y
CONFIG_RFKILL=y
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 1/2] ARM: dts: imx6sl-warp: Add changes for rev1.12
2015-06-29 13:05 [PATCH 1/2] ARM: dts: imx6sl-warp: Add changes for rev1.12 Fabio Estevam
2015-06-29 13:05 ` [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select HCIUART_H4 Fabio Estevam
@ 2015-07-06 15:05 ` Otavio Salvador
2015-07-13 13:37 ` Shawn Guo
2 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2015-07-06 15:05 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Jun 29, 2015 at 10:05 AM, Fabio Estevam
<fabio.estevam@freescale.com> wrote:
> Warp board rev1.12 is the version of the hardware that will be publicly
> available for the customers.
>
> It uses UART5 as the Bluetooth serial port as well as some
> additional signals for HOSTWAKE on Wifi and Bluetooth.
>
> Make the changes to support the rev1.12 hardware.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] ARM: dts: imx6sl-warp: Add changes for rev1.12
2015-06-29 13:05 [PATCH 1/2] ARM: dts: imx6sl-warp: Add changes for rev1.12 Fabio Estevam
2015-06-29 13:05 ` [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select HCIUART_H4 Fabio Estevam
2015-07-06 15:05 ` [PATCH 1/2] ARM: dts: imx6sl-warp: Add changes for rev1.12 Otavio Salvador
@ 2015-07-13 13:37 ` Shawn Guo
2 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2015-07-13 13:37 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Jun 29, 2015 at 10:05:42AM -0300, Fabio Estevam wrote:
> Warp board rev1.12 is the version of the hardware that will be publicly
> available for the customers.
>
> It uses UART5 as the Bluetooth serial port as well as some
> additional signals for HOSTWAKE on Wifi and Bluetooth.
>
> Make the changes to support the rev1.12 hardware.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select HCIUART_H4
2015-06-29 13:05 ` [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select HCIUART_H4 Fabio Estevam
@ 2015-07-13 13:39 ` Shawn Guo
0 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2015-07-13 13:39 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Jun 29, 2015 at 10:05:43AM -0300, Fabio Estevam wrote:
> The old warp board revision had hardware issues that prevented
> the RTS/CTS lines to work with the Bluetooth module.
>
> Tha latest rev1.12 fixes this problem, so now we should better use
> CONFIG_BT_HCIUART_H4 instead, as it provides a better throughput than
> the CONFIG_BT_HCIUART_3WIRE option.
>
> Suggested-by: Arthur Lambert <arthur@dreem.com>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-07-13 13:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-29 13:05 [PATCH 1/2] ARM: dts: imx6sl-warp: Add changes for rev1.12 Fabio Estevam
2015-06-29 13:05 ` [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select HCIUART_H4 Fabio Estevam
2015-07-13 13:39 ` Shawn Guo
2015-07-06 15:05 ` [PATCH 1/2] ARM: dts: imx6sl-warp: Add changes for rev1.12 Otavio Salvador
2015-07-13 13:37 ` Shawn Guo
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).