Message ID | 20231127192455.2822374-1-gael.portay@rtone.fr |
---|---|
State | New |
Headers | show |
Series | [1/1] board/raspberrypi_{3_qt5we, cm4io*}: autoprobe of bluetooth driver | expand |
diff --git a/board/raspberrypi/config_3_qt5we.txt b/board/raspberrypi/config_3_qt5we.txt index 752310b179..f68a1f28f5 100644 --- a/board/raspberrypi/config_3_qt5we.txt +++ b/board/raspberrypi/config_3_qt5we.txt @@ -24,3 +24,6 @@ gpu_mem_1024=200 # fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console dtoverlay=miniuart-bt + +# enable autoprobing of Bluetooth driver without need of hciattach/btattach +dtparam=krnbt=on diff --git a/board/raspberrypi/config_cm4io.txt b/board/raspberrypi/config_cm4io.txt index cf7e6df1a1..d36795c4ff 100644 --- a/board/raspberrypi/config_cm4io.txt +++ b/board/raspberrypi/config_cm4io.txt @@ -25,6 +25,9 @@ gpu_mem_1024=100 # fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console dtoverlay=miniuart-bt +# enable autoprobing of Bluetooth driver without need of hciattach/btattach +dtparam=krnbt=on + # enable RTC dtparam=i2c_vc=on dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi diff --git a/board/raspberrypi/config_cm4io_64bit.txt b/board/raspberrypi/config_cm4io_64bit.txt index 813f6eba7b..b5d8406e69 100644 --- a/board/raspberrypi/config_cm4io_64bit.txt +++ b/board/raspberrypi/config_cm4io_64bit.txt @@ -25,6 +25,9 @@ gpu_mem_1024=100 # fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console dtoverlay=miniuart-bt +# enable autoprobing of Bluetooth driver without need of hciattach/btattach +dtparam=krnbt=on + # enable RTC dtparam=i2c_vc=on dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi
The config.txt of the Rasperry Pi's supporting Wi-Fi and Bluetooth (i.e. zero W, zero 2 W, 3, and 4) switch the Bluetooth function to use the mini-UART (ttyS0) and restore UART0 (ttyAMA0) over the GPIOs 14 and 15 (as per miniuart-bt-overlay.dts[1]). All of them turn on the parameter krnbt to autoprobe the bluetooth driver. However, the config.txt for Pi 3 (Qt5 WebEngine) and the Compute Module 4 IO (32-bit and 64-bit) add the miniuart-bt overlay as well but do not turn on the parameter krnbt. This adds the missing dtparam=krnbt=on for these config.txt for the beauty of consistency. [1]: https://github.com/raspberrypi/linux/blob/rpi-5.10.y/arch/arm/boot/dts/overlays/miniuart-bt-overlay.dts Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr> --- board/raspberrypi/config_3_qt5we.txt | 3 +++ board/raspberrypi/config_cm4io.txt | 3 +++ board/raspberrypi/config_cm4io_64bit.txt | 3 +++ 3 files changed, 9 insertions(+) -- 2.42.1