[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210415104728.8471-1-shawn.guo@linaro.org>
Date: Thu, 15 Apr 2021 18:47:26 +0800
From: Shawn Guo <shawn.guo@...aro.org>
To: Kalle Valo <kvalo@...eaurora.org>
Cc: Rob Herring <robh+dt@...nel.org>,
Rafał Miłecki <rafal@...ecki.pl>,
Arend van Spriel <aspriel@...il.com>,
Franky Lin <franky.lin@...adcom.com>,
Hante Meuleman <hante.meuleman@...adcom.com>,
Chi-hsien Lin <chi-hsien.lin@...ineon.com>,
Wright Feng <wright.feng@...ineon.com>,
Chung-hsien Hsu <chung-hsien.hsu@...ineon.com>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
brcm80211-dev-list.pdl@...adcom.com,
SHA-cyfmac-dev-list@...ineon.com, Shawn Guo <shawn.guo@...aro.org>
Subject: [PATCH v2 0/2] brcmfmac: support parse country code map from DT
This is a couple of patches adding optional brcm,ccode-map bindings for
brcmfmac driver to parse country code map from DT.
Changes for v2:
- Rebase bindings patch on top of yaml conversion patch [1].
- Improve commit log with Arend's explanation on why this data could
be put in device tree.
- Use pattern to define mapping string as suggested by Rob.
- Use brcmf_err() instead of dev_warn() and print error code.
- Use sscanf() to validate mapping string.
- Use brcmf_dbg(INFO, ...) to print country code entry.
- Separate BRCMF_BUSTYPE_SDIO bus_type check from general DT validation.
[1] https://patchwork.kernel.org/project/linux-wireless/patch/20210315105911.138553-1-linus.walleij@linaro.org/
Shawn Guo (2):
dt-bindings: bcm4329-fmac: add optional brcm,ccode-map
brcmfmac: support parse country code map from DT
.../net/wireless/brcm,bcm4329-fmac.yaml | 8 +++
.../wireless/broadcom/brcm80211/brcmfmac/of.c | 57 ++++++++++++++++++-
2 files changed, 63 insertions(+), 2 deletions(-)
--
2.17.1
Powered by blists - more mailing lists