linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] brcmfmac: support parse country code map from DT
@ 2021-04-15 10:47 Shawn Guo
  2021-04-15 10:47 ` [PATCH v2 1/2] dt-bindings: bcm4329-fmac: add optional brcm,ccode-map Shawn Guo
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Shawn Guo @ 2021-04-15 10:47 UTC (permalink / raw)
  To: Kalle Valo
  Cc: Rob Herring, Rafał Miłecki, Arend van Spriel,
	Franky Lin, Hante Meuleman, Chi-hsien Lin, Wright Feng,
	Chung-hsien Hsu, linux-wireless, netdev, devicetree,
	linux-kernel, brcm80211-dev-list.pdl, SHA-cyfmac-dev-list,
	Shawn Guo

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-04-17  7:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-15 10:47 [PATCH v2 0/2] brcmfmac: support parse country code map from DT Shawn Guo
2021-04-15 10:47 ` [PATCH v2 1/2] dt-bindings: bcm4329-fmac: add optional brcm,ccode-map Shawn Guo
2021-04-15 21:34   ` Rob Herring
2021-04-15 10:47 ` [PATCH v2 2/2] brcmfmac: support parse country code map from DT Shawn Guo
2021-04-16  6:00   ` Arend Van Spriel
2021-04-17  7:50     ` Shawn Guo
2021-04-15 21:34 ` [PATCH v2 0/2] " Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).