All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: "Gaël PORTAY" <gael.portay@rtone.fr>
To: buildroot@buildroot.org
Cc: "Gaël PORTAY" <gael.portay@rtone.fr>,
	"Martin Bark" <martin@barkynet.com>,
	"Julien Grossholtz" <julien.grossholtz@openest.io>
Subject: [Buildroot] [RESEND PATCH 1/1] board/raspberrypi_{3_qt5we, cm4io*}: autoprobe of bluetooth driver
Date: Sat, 27 Apr 2024 03:55:17 +0200	[thread overview]
Message-ID: <20240427015517.413015-1-gael.portay@rtone.fr> (raw)

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(+)

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
--
2.44.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2024-04-27  1:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-27  1:55 Gaël PORTAY [this message]
2024-04-27 19:19 ` [Buildroot] [RESEND PATCH 1/1] board/raspberrypi_{3_qt5we, cm4io*}: autoprobe of bluetooth driver Peter Seiderer via buildroot
2024-05-01 21:32   ` Gaël PORTAY

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240427015517.413015-1-gael.portay@rtone.fr \
    --to=gael.portay@rtone.fr \
    --cc=buildroot@buildroot.org \
    --cc=julien.grossholtz@openest.io \
    --cc=martin@barkynet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.