[Bug 58481] [pandaboard] btwilink - st_register failed -22

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=58481

Youxin Su <suyouxin@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |suyouxin@xxxxxxxxx

--- Comment #13 from Youxin Su <suyouxin@xxxxxxxxx> ---
Fixed this bug by adding pads mux contorl settings. In case someone need it.

>From dc8b041e2a99bc8aead49a7130b17a2f2ba9d231 Mon Sep 17 00:00:00 2001
From: Youxin Su <suyouxin@xxxxxxxxxxxx>
Date: Fri, 10 Apr 2015 16:56:13 +1200
Subject: [PATCH 1/2] Add UART2 pads configuration, BT works fine

---
 arch/arm/boot/dts/omap4-panda-common.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi
b/arch/arm/boot/dts/omap4-panda-common.dtsi
index 1505135..02e9d21 100644
--- a/arch/arm/boot/dts/omap4-panda-common.dtsi
+++ b/arch/arm/boot/dts/omap4-panda-common.dtsi
@@ -351,6 +351,15 @@
             0x112 (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc5_dat3.sdmmc5_dat3
*/
         >;
     };
+
+    uart2_pins: pinmux_uart2_pins {
+        pinctrl-single,pins = <
+            0xd8 (PIN_INPUT_PULLUP | MUX_MODE0)    /* uart2_cts.uart2_cts */
+            0xda (PIN_OUTPUT | MUX_MODE0)        /* uart2_rts.uart2_rts */
+            0xdc (PIN_INPUT_PULLUP | MUX_MODE0)    /* uart2_rx.uart2_rx */
+            0xde (PIN_OUTPUT | MUX_MODE0)        /* uart2_tx.uart2_tx */
+        >;
+    };
 };

 &omap4_pmx_wkup {
@@ -481,6 +490,8 @@
 &uart2 {
     interrupts-extended = <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH
                    &omap4_pmx_core OMAP4_UART2_RX>;
+    pinctrl-names = "default";
+    pinctrl-0 = <&uart2_pins>;
 };

 &uart3 {
-- 
1.9.1

-- 
You are receiving this mail because:
You are the assignee for the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux