Hi Loic,
Retrieve BD address from the local-bd-address property.
This address must be unique and is usually added in the DT
by the bootloader which has access to the provisioned data.
Signed-off-by: Loic Poulain <redacted>
---
v2: Set device as unconfigured if default address detected
Add warning if BD addr retrieved from DT
v3: if no addr retrieved from DT, unconditionally set
the invalid BD addr flag.
swap and set bdaddr in the platform probe
v4: Add dt-bindings documentation
split patch in two parts (setup, dt prop)
use local-bd-address name instead of local-mac-address
v5: remove 2/3 merged in bluetooth-next tree
Add bluetooth.txt for common BT bindings
expect local-bd-address in little-endian format
v6: use of_property_read_u8_array instead of of_get_property
v7: use dev_info instead of BT_INFO to have dev context
drivers/bluetooth/btqcomsmd.c | 11 +++++++++++
1 file changed, 11 insertions(+)
all 3 patches have been applied to bluetooth-next tree.
Regards
Marcel