board/raspberrypi: fix autoprobing of bluetooth driver

The commit 689b9ac439 (package/rpi-firmware: rework boot/config file
handling) has split in two the property:

	dtoverlay=miniuart-bt,krnbt=on

Into:

	dtoverlay=miniuart-bt
	dtoverlay=krnbt=on

The initial property contained the dtbo file miniuart-bt[1] and its
parameter krnbt=on[2][3].

The first syntax is correct while the second is not. The krnbt=on is not
a dtoverlay[4] but a dtparam[5]. Therefore the property dtparam must be
used instead.

This fixes:

	# cat /sys/firmware/devicetree/base/chosen/user-warnings
	Failed to load overlay 'krnbt=on'

[1]: https://github.com/raspberrypi/linux/blob/rpi-5.10.y/arch/arm/boot/dts/overlays/miniuart-bt-overlay.dts
[2]: https://github.com/raspberrypi/linux/blob/rpi-5.10.y/arch/arm/boot/dts/overlays/miniuart-bt-overlay.dts#L91
[3]: https://github.com/raspberrypi/linux/blob/rpi-5.10.y/arch/arm/boot/dts/overlays/README#L213-L215
[4]: https://www.raspberrypi.com/documentation/computers/config_txt.html#dtoverlay
[5]: https://www.raspberrypi.com/documentation/computers/config_txt.html#dtparam

Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Gaël PORTAY 2023-11-20 22:41:50 +01:00 committed by Yann E. MORIN
parent 3da62675d7
commit 5be42d8da3
6 changed files with 6 additions and 6 deletions

View File

@ -26,4 +26,4 @@ gpu_mem_1024=100
dtoverlay=miniuart-bt dtoverlay=miniuart-bt
# enable autoprobing of Bluetooth driver without need of hciattach/btattach # enable autoprobing of Bluetooth driver without need of hciattach/btattach
dtoverlay=krnbt=on dtparam=krnbt=on

View File

@ -26,4 +26,4 @@ gpu_mem_1024=100
dtoverlay=miniuart-bt dtoverlay=miniuart-bt
# enable autoprobing of Bluetooth driver without need of hciattach/btattach # enable autoprobing of Bluetooth driver without need of hciattach/btattach
dtoverlay=krnbt=on dtparam=krnbt=on

View File

@ -26,7 +26,7 @@ gpu_mem_1024=100
dtoverlay=miniuart-bt dtoverlay=miniuart-bt
# enable autoprobing of Bluetooth driver without need of hciattach/btattach # enable autoprobing of Bluetooth driver without need of hciattach/btattach
dtoverlay=krnbt=on dtparam=krnbt=on
# enable 64bits support # enable 64bits support
arm_64bit=1 arm_64bit=1

View File

@ -26,4 +26,4 @@ gpu_mem_1024=100
dtoverlay=miniuart-bt dtoverlay=miniuart-bt
# enable autoprobing of Bluetooth driver without need of hciattach/btattach # enable autoprobing of Bluetooth driver without need of hciattach/btattach
dtoverlay=krnbt=on dtparam=krnbt=on

View File

@ -26,7 +26,7 @@ gpu_mem_1024=100
dtoverlay=miniuart-bt dtoverlay=miniuart-bt
# enable autoprobing of Bluetooth driver without need of hciattach/btattach # enable autoprobing of Bluetooth driver without need of hciattach/btattach
dtoverlay=krnbt=on dtparam=krnbt=on
dtoverlay=vc4-kms-v3d-pi4 dtoverlay=vc4-kms-v3d-pi4
dtoverlay=imx219 dtoverlay=imx219

View File

@ -26,4 +26,4 @@ gpu_mem_1024=100
dtoverlay=miniuart-bt dtoverlay=miniuart-bt
# enable autoprobing of Bluetooth driver without need of hciattach/btattach # enable autoprobing of Bluetooth driver without need of hciattach/btattach
dtoverlay=krnbt=on dtparam=krnbt=on