[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <C8D5B9EB-916C-4D4E-872D-726E48DAD5B5@holtmann.org>
Date: Tue, 26 Feb 2019 10:09:59 +0100
From: Marcel Holtmann <marcel@...tmann.org>
To: Matthias Kaehlcke <mka@...omium.org>
Cc: Johan Hedberg <johan.hedberg@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Loic Poulain <loic.poulain@...aro.org>,
linux-bluetooth@...r.kernel.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org,
Balakrishna Godavarthi <bgodavar@...eaurora.org>
Subject: Re: [PATCH v4 0/3] Add quirk for reading BD_ADDR from fwnode property
Hi Matthias,
> On some systems the Bluetooth Device Address (BD_ADDR) isn't stored
> on the Bluetooth chip itself. One way to configure the address is
> through the device tree (patched in by the bootloader). The btqcomsmd
> driver is an example, it can read the address from the DT property
> 'local-bd-address'.
>
> To avoid redundant open-coded reading of 'local-bd-address' and error
> handling this series adds the quirk HCI_QUIRK_USE_BDADDR_PROPERTY to
> retrieve the BD address of a device from the DT and adapts the
> btqcomsmd and hci_qca drivers to use this quirk.
>
> Matthias Kaehlcke (3):
> Bluetooth: Add quirk for reading BD_ADDR from fwnode property
> Bluetooth: btqcomsmd: use HCI_QUIRK_USE_BDADDR_PROPERTY
> Bluetooth: hci_qca: Set HCI_QUIRK_USE_BDADDR_PROPERTY for wcn3990
>
> drivers/bluetooth/btqcomsmd.c | 31 +++----------------------
> drivers/bluetooth/hci_qca.c | 1 +
> include/net/bluetooth/hci.h | 12 ++++++++++
> net/bluetooth/hci_core.c | 43 +++++++++++++++++++++++++++++++++++
> net/bluetooth/mgmt.c | 6 +++--
> 5 files changed, 63 insertions(+), 30 deletions(-)
all 3 patches have been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists