[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220718184355.GA3325548-robh@kernel.org>
Date: Mon, 18 Jul 2022 12:43:55 -0600
From: Rob Herring <robh@...nel.org>
To: Alvin Šipraga <alvin@...s.dk>
Cc: brcm80211-dev-list.pdl@...adcom.com,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Hante Meuleman <hante.meuleman@...adcom.com>,
Eric Dumazet <edumazet@...gle.com>,
"David S. Miller" <davem@...emloft.net>,
SHA-cyfmac-dev-list@...ineon.com, linux-kernel@...r.kernel.org,
Jakub Kicinski <kuba@...nel.org>,
linux-wireless@...r.kernel.org, van Spriel <arend@...adcom.com>,
Paolo Abeni <pabeni@...hat.com>, Kalle Valo <kvalo@...nel.org>,
Alvin Šipraga <alsi@...g-olufsen.dk>,
Franky Lin <franky.lin@...adcom.com>, netdev@...r.kernel.org,
Rob Herring <robh+dt@...nel.org>,
Ahmad Fatoum <a.fatoum@...gutronix.de>,
Arend van Spriel <aspriel@...il.com>,
devicetree@...r.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: bcm4329-fmac: add optional
brcm,ccode-map-trivial
On Mon, 11 Jul 2022 14:30:03 +0200, Alvin Šipraga wrote:
> From: Alvin Šipraga <alsi@...g-olufsen.dk>
>
> The bindings already offer a brcm,ccode-map property to describe the
> mapping between the kernel's ISO3166 alpha 2 country code string and the
> firmware's country code string and revision number. This is a
> board-specific property and determined by the CLM blob firmware provided
> by the hardware vendor.
>
> However, in some cases the firmware will also use ISO3166 country codes
> internally, and the revision will always be zero. This implies a trivial
> mapping: cc -> { cc, 0 }.
>
> For such cases, add an optional property brcm,ccode-map-trivial which
> obviates the need to describe every trivial country code mapping in the
> device tree with the existing brcm,ccode-map property. The new property
> is subordinate to the more explicit brcm,ccode-map property.
>
> Signed-off-by: Alvin Šipraga <alsi@...g-olufsen.dk>
> ---
> .../bindings/net/wireless/brcm,bcm4329-fmac.yaml | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
Acked-by: Rob Herring <robh@...nel.org>
Powered by blists - more mailing lists