diff options
| author | Andre Heider <[email protected]> | 2021-10-01 19:29:00 +0100 |
|---|---|---|
| committer | Andre Przywara <[email protected]> | 2021-01-11 23:19:34 +0000 |
| commit | 9267ff89ee27a624ddb5d8eb7d90830ee0ff6f77 (patch) | |
| tree | f078d5c8a683b806508b606bcbe08603f1a97d8e /arch | |
| parent | 928f4f48682a5277ca4efd0f3c4e79671dcc8e29 (diff) | |
sunxi: board: add a config option to fixup a Bluetooth address
Some Bluetooth controllers, like the BCM4345C5 of the Orange Pi 3,
ship with the controller default address.
Add a config option to fix it up so it can function properly.
Signed-off-by: Andre Heider <[email protected]>
Tested-by: Ondrej Jirman <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
[rebased]
Signed-off-by: Jernej Skrabec <[email protected]>
Reviewed-by: Andre Przywara <[email protected]>
Signed-off-by: Andre Przywara <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/mach-sunxi/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index 49ef217f08c..11e64451927 100644 --- a/arch/arm/mach-sunxi/Kconfig +++ b/arch/arm/mach-sunxi/Kconfig @@ -1016,4 +1016,15 @@ config PINEPHONE_DT_SELECTION Enable this option to automatically select the device tree for the correct PinePhone hardware revision during boot. +config BLUETOOTH_DT_DEVICE_FIXUP + string "Fixup the Bluetooth controller address" + default "" + help + This option specifies the DT compatible name of the Bluetooth + controller for which to set the "local-bd-address" property. + Set this option if your device ships with the Bluetooth controller + default address. + The used address is "bdaddr" if set, and "ethaddr" with the LSB + flipped elsewise. + endif |
