summaryrefslogtreecommitdiffstats
path: root/drivers/net/mdio.c
diff options
context:
space:
mode:
authorAlvin Šipraga <alsi@bang-olufsen.dk>2022-07-11 14:30:03 +0200
committerKalle Valo <kvalo@kernel.org>2022-07-28 12:58:42 +0300
commit8406993a891f39a0c7062bf071f7591bacb800bc (patch)
treeb3b118311f96dbb1774b4667350846844c217740 /drivers/net/mdio.c
parent4af4c0b93c15ece3732dee5e5dbcf0a01904413a (diff)
downloadlinux-8406993a891f39a0c7062bf071f7591bacb800bc.tar.bz2
dt-bindings: bcm4329-fmac: add optional brcm,ccode-map-trivial
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@bang-olufsen.dk> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220711123005.3055300-2-alvin@pqrs.dk
Diffstat (limited to 'drivers/net/mdio.c')
0 files changed, 0 insertions, 0 deletions