Re: [PATCH v2 35/35] brcmfmac: common: Add support for external calibration blobs

From: Arend van Spriel
Date: Fri Jan 21 2022 - 02:35:11 EST


On 1/4/2022 8:26 AM, Hector Martin wrote:
The calibration blob for a chip is normally stored in SROM and loaded
internally by the firmware. However, Apple ARM64 platforms instead store
it as part of platform configuration data, and provide it via the Apple
Device Tree. We forward this into the Linux DT in the bootloader.

Add support for taking this blob from the DT and loading it into the
dongle. The loading mechanism is the same as used for the CLM and TxCap
blobs.

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Reviewed-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
Signed-off-by: Hector Martin <marcan@xxxxxxxxx>
---
.../broadcom/brcm80211/brcmfmac/common.c | 24 +++++++++++++++++++
.../broadcom/brcm80211/brcmfmac/common.h | 2 ++
.../wireless/broadcom/brcm80211/brcmfmac/of.c | 8 +++++++
3 files changed, 34 insertions(+)

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature