On 8/2/24 01:34, Arend van Spriel wrote:
From: Jacobe Zang <jacobe.zang@xxxxxxxxxx> WiFi modules often require 32kHz clock to function. Add support to enable the clock to PCIe driver and move "brcm,bcm4329-fmac" check to the top of brcmf_of_probe Co-developed-by: Ondrej Jirman <megi@xxxxxx> Signed-off-by: Ondrej Jirman <megi@xxxxxx> Signed-off-by: Jacobe Zang <jacobe.zang@xxxxxxxxxx> [arend: handle -EPROBE_DEFER scenario] Signed-off-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
This looks fine for a cold boot case, how about handling suspend/resume where the clock might have been disabled, do we need to deal with an "always-on" Device Tree property as well as whether the device is enabled for wake-up or not?
-- Florian