Re: [PATCH] brcmfmac: add support for external 32khz clock

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

 




On 11/6/2017 12:27 PM, Simon Shields wrote:
On Mon, Nov 06, 2017 at 11:59:37AM +0100, Arend van Spriel wrote:
On 11/4/2017 2:24 PM, Simon Shields wrote:
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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux