Bluetooth: hci_qca: Load customized NVM based on the device property
authorRocky Liao <rjliao@codeaurora.org>
Thu, 6 Jun 2019 09:40:30 +0000 (17:40 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 6 Jul 2019 10:55:39 +0000 (12:55 +0200)
commit99c905c6a165a590780a961988892bfec41566dd
treefc394ec73d03950a1c1eda0af71bdce2c86be700
parentbe70e5e774a616ad43e63c0b42c2f6e2709dbf3b
Bluetooth: hci_qca: Load customized NVM based on the device property

QCA BTSOC NVM is a customized firmware file and different vendors may
want to have different BTSOC configuration (e.g. Configure SCO over PCM
or I2S, Setting Tx power, etc.) via this file. This patch will allow
vendors to download different NVM firmware file by reading a device
property "firmware-name".

Signed-off-by: Rocky Liao <rjliao@codeaurora.org>
Tested-by: Harish Bandi <c-hbandi@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btqca.c
drivers/bluetooth/btqca.h
drivers/bluetooth/hci_qca.c