Hi Tony, On Wed, Jun 1, 2016 at 1:07 AM, Tony Lindgren <tony@xxxxxxxxxxx> wrote: > * Tony Lindgren <tony@xxxxxxxxxxx> [160516 17:04]: >> Hi, >> >> * Belisko Marek <marek.belisko@xxxxxxxxx> [160513 14:25]: >> > 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 >> >> If the warning goes away and the schematics show the clock coming >> from clk32kg then it seems your patch is correct :) >> >> I just gave a try here on pandaboard es, and I can iw dev wlan0 scan >> just fine. I can also connect to a network, but then it immediately >> gets disconnected for some reason. The wl12xx on it used to work >> just fine, so there seems to be a regression somewhere. Which u-boot do you use on ES? Maybe it could have some influence. I suspect that power sequence is not working properly as there is missing 32kHz clock and then after some time regulator for wifi is disabled as wifi isn't probed on sdio. What is really strange that why it works on ES and not on A2. I did check schematics and wifi part is the same :). > > Seems like pandaboard connects to another access point, but not to > another computer running hostapd on wl12xx.. Anyways, I've started > a kernel.org bugzilla page on this, maybe you can add some more > details there: > > https://bugzilla.kernel.org/show_bug.cgi?id=119331 > > Regards, > > Tony 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