Re: [PATCH v14 3/4] wifi: brcmfmac: Add optional lpo clock enable support

From: Arend Van Spriel
Date: Sun Sep 15 2024 - 02:51:02 EST


On September 10, 2024 5:05:48 AM Jacobe Zang <jacobe.zang@xxxxxxxxxx> wrote:

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. Change function prototypes from void
to int and add appropriate errno's for return values that will be
send to bus when error occurred.

Co-developed-by: Ondrej Jirman <megi@xxxxxx>
Signed-off-by: Ondrej Jirman <megi@xxxxxx>
Co-developed-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
Signed-off-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
Reviewed-by: Sai Krishna <saikrishnag@xxxxxxxxxxx>
Acked-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
Signed-off-by: Jacobe Zang <jacobe.zang@xxxxxxxxxx>
---
.../wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c | 4 ++--
.../wireless/broadcom/brcm80211/brcmfmac/common.c | 3 ++-
.../net/wireless/broadcom/brcm80211/brcmfmac/of.c | 25 ++++++++++++++++------
.../net/wireless/broadcom/brcm80211/brcmfmac/of.h | 9 ++++----
.../wireless/broadcom/brcm80211/brcmfmac/pcie.c | 3 +++
.../wireless/broadcom/brcm80211/brcmfmac/sdio.c | 22 ++++++++++++-------
.../net/wireless/broadcom/brcm80211/brcmfmac/usb.c | 3 +++
7 files changed, 47 insertions(+), 22 deletions(-)