Re: [PATCH] brcmfmac: add support for external 32khz clock
From: Arend van Spriel <hidden>
Date: 2017-11-07 11:09:23
Also in:
linux-wireless
On 11/6/2017 12:27 PM, Simon Shields wrote:
On Mon, Nov 06, 2017 at 11:59:37AM +0100, Arend van Spriel wrote:quoted
On 11/4/2017 2:24 PM, Simon Shields wrote:quoted
Some boards use an external 32khz clock for low-power mode timing. Make sure the clock is powered on while the chipset is active.Do you have such a board? With the little documentation I can get my hands on here I wonder whether the clock needs to be enabled before the device is powered. If you have the hardware I would like to check some registers in the device.Yes. Trats2 (exynos4412-based) has such a setup. The BCM4334 works fine with this patch and one more that enables the WL_REG_EN pin when brcmfmac is probed.
Ok. So this is exactly the thing I was wondering about. So it makes me curious how the WL_REG_EN patch looks like. Can you provide that?
Without this patch (and only enabling WL_REG_EN), the chip is detected but attempting to initialise it fails with a bunch of timeouts.
I would be interested in seeing a detailed log of that. Could you provide that? You need to build the driver with CONFIG_BRCMDBG and pass module parameter 'debug=0x1416' upon insmod/modprobe. Regards, Arend -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html