4.6-rc7 no wifi on pandaboard A2

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

 



Hi,

I'm trying to make wifi working on pandaboard (A2). I'm trying to use
vanilla 4.6-rc7 (omap2plus_defconfig) + device tree. wl21xx seems it's
not probed on sdio due to the missing clk32k. I got some inspiration
from omap5-evm to create simple pwrseq + define clk32k for twl6040.
Not sure if this is right approach but warning about clk32k is gone
with below patch:
[    2.249786] twl6040 0-004b: clk32k is not handled
[    2.258575] of_get_named_gpiod_flags: parsed 'ti,audpwron-gpio'
property of node '/ocp/i2c@48070000/twl@4b[0]' - status (0)
[    2.542816] vwl1271: disabling


diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi
b/arch/arm/boot/dts/omap4-panda-common.dtsi
index df2e356..502bf95 100644
--- a/arch/arm/boot/dts/omap4-panda-common.dtsi
+++ b/arch/arm/boot/dts/omap4-panda-common.dtsi
@@ -18,6 +18,13 @@
                display1 = &hdmi0;
        };

+       mmc5_pwrseq: sdhci0_pwrseq {
+               compatible = "mmc-pwrseq-simple";
+               clocks = <&clk32kg>;
+               clock-names = "ext_clock";
+       };
+
+
        leds: leds {
                compatible = "gpio-leds";
                pinctrl-names = "default";
@@ -388,6 +395,10 @@
                vio-supply = <&v1v8>;
                v2v1-supply = <&v2v1>;
                enable-active-high;
+
+               clocks = <&clk32kg>;
+               clock-names = "clk32k";
+
        };
 };

@@ -444,6 +455,7 @@
 &mmc5 {
        pinctrl-names = "default";
        pinctrl-0 = <&wl12xx_pins>;
+       mmc-pwrseq = <&mmc5_pwrseq>;
        vmmc-supply = <&wl12xx_vmmc>;
        non-removable;
        bus-width = <4>;
@@ -541,3 +553,10 @@
                };
        };
 };
+
+&twl6040 {
+       clk32kg: palmas_clk32k@1 {
+               compatible = "ti,palmas-clk32kg";
+               #clock-cells = <0>;
+       };
+};

after this change wifi it's still not working. Any ideas or anyone has
it working? Many thanks.

BR,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux