* RE: Enable bluetooth on BeagleV-Ahead
2026-10-11 13:37 [PATCH 2/2] Bluetooth: btbcm: disable read tx power for BeagleV-Ahead Thomas Gerner
@ 2026-10-11 19:08 ` bluez.test.bot
0 siblings, 0 replies; 6+ messages in thread
From: bluez.test.bot @ 2026-10-11 19:08 UTC (permalink / raw)
To: linux-bluetooth, thomas.gerner
[-- Attachment #1: Type: text/plain, Size: 2791 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/series/1183346/
---Test result---
Test Summary:
CheckPatch FAIL 2.56 seconds
VerifyFixes PASS 0.25 seconds
VerifySignedoff PASS 0.26 seconds
GitLint FAIL 1.27 seconds
SubjectPrefix FAIL 0.13 seconds
BuildKernel PASS 29.13 seconds
CheckAllWarning PASS 33.25 seconds
CheckSparse PASS 35.80 seconds
BuildKernel32 PASS 29.21 seconds
CheckKernelLLVM PASS 32.92 seconds
TestRunnerSetup PASS 791.52 seconds
TestRunner_l2cap-tester PASS 12.72 seconds
TestRunner_iso-tester PASS 10.80 seconds
TestRunner_bnep-tester PASS 3.07 seconds
TestRunner_mgmt-tester PASS 61.09 seconds
TestRunner_rfcomm-tester PASS 4.50 seconds
TestRunner_sco-tester PASS 5.63 seconds
TestRunner_ioctl-tester PASS 4.63 seconds
TestRunner_mesh-tester PASS 5.46 seconds
TestRunner_smp-tester PASS 4.34 seconds
TestRunner_userchan-tester PASS 3.16 seconds
TestRunner_6lowpan-tester PASS 4.36 seconds
IncrementalBuild PASS 31.03 seconds
Details
##############################
Test: CheckPatch - FAIL
Desc: Run checkpatch.pl script
Output:
[1/2] riscv: dts: thead: Enable bluetooth on BeagleV-Ahead
WARNING: please, no space before tabs
#226: FILE: arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts:401:
+^I^Ishutdown-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>; ^I/* BT-REG-ON */$
total: 0 errors, 1 warnings, 110 lines checked
NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.
/home/runner/work/bluetooth-next/bluetooth-next/src/patch/14880416.patch has style problems, please review.
NOTE: Ignored message types: UNKNOWN_COMMIT_ID
NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
##############################
Test: GitLint - FAIL
Desc: Run gitlint
Output:
[1/2] riscv: dts: thead: Enable bluetooth on BeagleV-Ahead
6: B2 Line has trailing whitespace: "used as there is no driver. "
##############################
Test: SubjectPrefix - FAIL
Desc: Check subject contains "Bluetooth" prefix
Output:
"Bluetooth: " prefix is not specified in the subject
https://github.com/bluez/bluetooth-next/pull/896
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Enable bluetooth on BeagleV-Ahead
2026-10-20 13:26 [PATCH v2 1/2] Bluetooth: btbcm: disable read tx power for BeagleV-Ahead Thomas Gerner
@ 2026-10-20 17:46 ` bluez.test.bot
0 siblings, 0 replies; 6+ messages in thread
From: bluez.test.bot @ 2026-10-20 17:46 UTC (permalink / raw)
To: linux-bluetooth, thomas.gerner
[-- Attachment #1: Type: text/plain, Size: 2935 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/series/1189748/
---Test result---
Test Summary:
CheckPatch FAIL 1.16 seconds
VerifyFixes PASS 3.32 seconds
VerifySignedoff PASS 0.23 seconds
GitLint FAIL 0.54 seconds
SubjectPrefix FAIL 0.14 seconds
BuildKernel PASS 29.63 seconds
CheckAllWarning PASS 33.37 seconds
CheckSparse PASS 35.85 seconds
BuildKernel32 PASS 29.33 seconds
CheckKernelLLVM PASS 33.33 seconds
TestRunnerSetup PASS 696.58 seconds
TestRunner_l2cap-tester PASS 12.78 seconds
TestRunner_iso-tester PASS 10.60 seconds
TestRunner_bnep-tester PASS 3.05 seconds
TestRunner_mgmt-tester PASS 87.27 seconds
TestRunner_rfcomm-tester PASS 4.40 seconds
TestRunner_sco-tester PASS 5.60 seconds
TestRunner_ioctl-tester PASS 4.60 seconds
TestRunner_mesh-tester PASS 5.41 seconds
TestRunner_smp-tester PASS 4.29 seconds
TestRunner_userchan-tester PASS 3.14 seconds
TestRunner_6lowpan-tester PASS 4.34 seconds
IncrementalBuild PASS 28.77 seconds
Details
##############################
Test: CheckPatch - FAIL
Desc: Run checkpatch.pl script
Output:
[v2,2/2] riscv: dts: thead: Enable bluetooth on BeagleV-Ahead
WARNING: please, no space before tabs
#239: FILE: arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts:397:
+^I^Ishutdown-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>; ^I/* BT-REG-ON */$
total: 0 errors, 1 warnings, 106 lines checked
NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.
/home/runner/work/bluetooth-next/bluetooth-next/src/patch/14902974.patch has style problems, please review.
NOTE: Ignored message types: UNKNOWN_COMMIT_ID
NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
##############################
Test: GitLint - FAIL
Desc: Run gitlint
Output:
[v2,2/2] riscv: dts: thead: Enable bluetooth on BeagleV-Ahead
11: B3 Line contains hard tab characters (\t): " - use default pinctrl definition for bluetooth in and out pins"
12: B2 Line has trailing whitespace: " "
12: B3 Line contains hard tab characters (\t): " "
##############################
Test: SubjectPrefix - FAIL
Desc: Check subject contains "Bluetooth" prefix
Output:
"Bluetooth: " prefix is not specified in the subject
https://github.com/bluez/bluetooth-next/pull/968
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v3 0/2] Enable bluetooth on BeagleV-Ahead
@ 2026-11-30 15:20 Thomas Gerner
2026-11-30 15:20 ` [PATCH v3 1/2] Bluetooth: btbcm: disable read tx power for BeagleV-Ahead Thomas Gerner
2026-11-30 15:20 ` [PATCH v3 2/2] riscv: dts: thead: Bluetooth: Enable bt " Thomas Gerner
0 siblings, 2 replies; 6+ messages in thread
From: Thomas Gerner @ 2026-11-30 15:20 UTC (permalink / raw)
To: Marcel Holtmann, Luiz Augusto von Dentz, Drew Fustini, Guo Ren,
Fu Wei, Rob Herring, Krzysztof Kozlowski
Cc: Thomas Gerner, Conor Dooley, Paul Walmsley, Palmer Dabbelt,
Albert Ou, Alexandre Ghiti, linux-bluetooth, linux-kernel,
linux-riscv, devicetree
The single board system BeagleV-Ahead uses a Ampak AP6203BM chip for wifi
and bluetooth. Wifi is already enabled for this board. The bluetooth
module of the chip connects by UART and PCM to the TH1520 SOC. The PCM
interface is currently not used because of missing I2S drivers for the
SOC and may be added with a later patch.
This patch set enables bluetooth.
The patch to the bluetooth driver btbcm.c prevents the error message
Bluetooth: hci0: unexpected cc 0x204b length: 1 < 3
Bluetooth: hci0: Opcode 0x204b failed: -38
printed by the hci driver which prevents bluetooth from successful
initializing.
The patch to th1520-beaglev-ahead.dts adds the bluetooth module to the
BeagleV-Ahead device tree.
Thomas Gerner (2):
Bluetooth: btbcm: disable read tx power for BeagleV-Ahead
riscv: dts: thead: Bluetooth: Enable bt on BeagleV-Ahead
.../boot/dts/thead/th1520-beaglev-ahead.dts | 84 +++++++++++++++++++
drivers/bluetooth/btbcm.c | 9 ++
2 files changed, 93 insertions(+)
--
2.53.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v3 1/2] Bluetooth: btbcm: disable read tx power for BeagleV-Ahead
2026-11-30 15:20 [PATCH v3 0/2] Enable bluetooth on BeagleV-Ahead Thomas Gerner
@ 2026-11-30 15:20 ` Thomas Gerner
2026-11-30 16:31 ` Enable bluetooth on BeagleV-Ahead bluez.test.bot
2026-11-30 15:20 ` [PATCH v3 2/2] riscv: dts: thead: Bluetooth: Enable bt " Thomas Gerner
1 sibling, 1 reply; 6+ messages in thread
From: Thomas Gerner @ 2026-11-30 15:20 UTC (permalink / raw)
To: Marcel Holtmann, Luiz Augusto von Dentz, Drew Fustini, Guo Ren,
Fu Wei, Rob Herring, Krzysztof Kozlowski
Cc: Thomas Gerner, Conor Dooley, Paul Walmsley, Palmer Dabbelt,
Albert Ou, Alexandre Ghiti, linux-bluetooth, linux-kernel,
linux-riscv, devicetree
The bluetooth module of the Ampak AP6203BM is identified by the btbcm
driver as BCM4362A2.
Without this patch the hci driver prints this message:
Bluetooth: hci0: unexpected cc 0x204b length: 1 < 3
Bluetooth: hci0: Opcode 0x204b failed: -38
To getbluetooth working it is necessary to disable reading of LE tx
power on the BeagleV-Ahead board similar as for several other devices.
Signed-off-by: Thomas Gerner <thomas.gerner@muenchen-mail.de>
---
Changes in v3:
- As suggested by Drew Fustini use of_machine_compatible_match() for testing
No changes in v2
drivers/bluetooth/btbcm.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/bluetooth/btbcm.c b/drivers/bluetooth/btbcm.c
index 065536d4ec76..e58a14184038 100644
--- a/drivers/bluetooth/btbcm.c
+++ b/drivers/bluetooth/btbcm.c
@@ -438,6 +438,11 @@ static const struct dmi_system_id disable_broken_read_transmit_power[] = {
{ }
};
+static const char *const board_broken_read_transmit_power[] = {
+ "beagle,beaglev-ahead",
+ NULL
+};
+
static int btbcm_read_info(struct hci_dev *hdev)
{
struct sk_buff *skb;
@@ -469,6 +474,10 @@ static int btbcm_print_controller_features(struct hci_dev *hdev)
if (dmi_first_match(disable_broken_read_transmit_power))
hci_set_quirk(hdev, HCI_QUIRK_BROKEN_READ_TRANSMIT_POWER);
+ /* and for boards with broken Read LE Min/Max TX Power */
+ if (of_machine_compatible_match(board_broken_read_transmit_power))
+ hci_set_quirk(hdev, HCI_QUIRK_BROKEN_READ_TRANSMIT_POWER);
+
return 0;
}
--
2.53.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v3 2/2] riscv: dts: thead: Bluetooth: Enable bt on BeagleV-Ahead
2026-11-30 15:20 [PATCH v3 0/2] Enable bluetooth on BeagleV-Ahead Thomas Gerner
2026-11-30 15:20 ` [PATCH v3 1/2] Bluetooth: btbcm: disable read tx power for BeagleV-Ahead Thomas Gerner
@ 2026-11-30 15:20 ` Thomas Gerner
1 sibling, 0 replies; 6+ messages in thread
From: Thomas Gerner @ 2026-11-30 15:20 UTC (permalink / raw)
To: Marcel Holtmann, Luiz Augusto von Dentz, Drew Fustini, Guo Ren,
Fu Wei, Rob Herring, Krzysztof Kozlowski
Cc: Thomas Gerner, Conor Dooley, Paul Walmsley, Palmer Dabbelt,
Albert Ou, Alexandre Ghiti, linux-bluetooth, linux-kernel,
linux-riscv, devicetree
On the BeagleV-Ahead the bluetooth module of the Ampak AP6203BM is
identified by the btbcm driver as BCM4362A2. The module is connected by
UART4, several gpio pins and an I2S interface. The I2S is not yet
used as there is no driver. It may be added in a later patch.
Signed-off-by: Thomas Gerner <thomas.gerner@muenchen-mail.de>
---
Changes in v3:
- fix some spaces and tabs found by checkpatch
- As suggested by Drew Fustini use regulator names from the board schema
- Use regulator properties which fits to the board schema
Changes in v2:
- use default pinctrl definition for bluetooth in and out pins
.../boot/dts/thead/th1520-beaglev-ahead.dts | 84 +++++++++++++++++++
1 file changed, 84 insertions(+)
diff --git a/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts b/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts
index e16484a47653..0c2581897a0b 100644
--- a/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts
+++ b/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts
@@ -76,6 +76,22 @@ led-5 {
};
};
+ reg_dvdd18_ap: regulator-dvdd18-ap {
+ compatible = "regulator-fixed";
+ regulator-always-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-name = "dvdd18_ap";
+ };
+
+ reg_vdd_3v3: regulator-vdd-3v3 {
+ compatible = "regulator-fixed";
+ regulator-always-on;
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-name = "vdd_3v3";
+ };
+
hdmi-connector {
compatible = "hdmi-connector";
type = "d";
@@ -152,6 +168,28 @@ led-pins {
};
&padctrl0_apsys {
+ bluetooth_pins: bluetooth-0 {
+ in-pins {
+ bias-disable;
+ drive-strength = <1>;
+ function = "gpio";
+ input-enable;
+ input-schmitt-enable;
+ pins = "GPIO2_30";
+ slew-rate = <0>;
+ };
+
+ out-pins {
+ bias-disable;
+ drive-strength = <3>;
+ input-disable;
+ input-schmitt-disable;
+ pins = "SDIO1_DETN", /* GPIO2_29 */
+ "SDIO1_WPRTN"; /* GPIO2_28 */
+ slew-rate = <0>;
+ };
+ };
+
gmac0_pins: gmac0-0 {
tx-pins {
pins = "GMAC0_TX_CLK",
@@ -268,6 +306,30 @@ reg-on-pins {
};
};
+&padctrl1_apsys {
+ uart4_pins: uart4-0 {
+ rx-pins {
+ bias-disable;
+ drive-strength = <1>;
+ function = "uart";
+ input-enable;
+ pins = "UART4_RXD", "UART4_CTSN";
+ input-schmitt-enable;
+ slew-rate = <0>;
+ };
+
+ tx-pins {
+ bias-disable;
+ drive-strength = <3>;
+ function = "uart";
+ input-disable;
+ pins = "UART4_TXD", "UART4_RTSN";
+ input-schmitt-disable;
+ slew-rate = <0>;
+ };
+ };
+};
+
&sdio0 {
bus-width = <4>;
max-frequency = <198000000>;
@@ -314,3 +376,25 @@ &uart0 {
pinctrl-0 = <&uart0_pins>;
status = "okay";
};
+
+&uart4 {
+ pinctrl-0 = <&uart4_pins>;
+ pinctrl-names = "default";
+ uart-has-rtscts;
+
+ status = "okay";
+
+ bluetooth {
+ compatible = "brcm,bcm4329-bt";
+ device-wakeup-gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>;
+ interrupt-parent = <&gpio2>;
+ interrupts = <30 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "host-wakeup";
+ max-speed = <921600>;
+ pinctrl-0 = <&bluetooth_pins>;
+ pinctrl-names = "default";
+ shutdown-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>; /* BT-REG-ON */
+ vbat-supply = <®_vdd_3v3>;
+ vddio-supply = <®_dvdd18_ap>;
+ };
+};
--
2.53.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* RE: Enable bluetooth on BeagleV-Ahead
2026-11-30 15:20 ` [PATCH v3 1/2] Bluetooth: btbcm: disable read tx power for BeagleV-Ahead Thomas Gerner
@ 2026-11-30 16:31 ` bluez.test.bot
0 siblings, 0 replies; 6+ messages in thread
From: bluez.test.bot @ 2026-11-30 16:31 UTC (permalink / raw)
To: linux-bluetooth, thomas.gerner
[-- Attachment #1: Type: text/plain, Size: 1606 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/series/1227049/
---Test result---
Test Summary:
CheckPatch PASS 0.73 seconds
VerifyFixes PASS 0.04 seconds
VerifySignedoff PASS 0.04 seconds
GitLint PASS 0.30 seconds
SubjectPrefix PASS 0.09 seconds
BuildKernel PASS 20.20 seconds
CheckAllWarning PASS 22.79 seconds
CheckSparse PASS 24.26 seconds
BuildKernel32 PASS 20.24 seconds
CheckKernelLLVM PASS 21.87 seconds
TestRunnerSetup PASS 479.58 seconds
TestRunner_l2cap-tester PASS 13.56 seconds
TestRunner_iso-tester PASS 11.69 seconds
TestRunner_bnep-tester PASS 3.13 seconds
TestRunner_mgmt-tester PASS 84.84 seconds
TestRunner_rfcomm-tester PASS 4.36 seconds
TestRunner_sco-tester PASS 5.39 seconds
TestRunner_ioctl-tester PASS 4.46 seconds
TestRunner_mesh-tester PASS 4.42 seconds
TestRunner_smp-tester PASS 4.28 seconds
TestRunner_userchan-tester PASS 3.16 seconds
TestRunner_6lowpan-tester PASS 4.36 seconds
IncrementalBuild PASS 19.24 seconds
https://github.com/bluez/bluetooth-next/pull/1258
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-11-30 16:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 15:20 [PATCH v3 0/2] Enable bluetooth on BeagleV-Ahead Thomas Gerner
2026-11-30 15:20 ` [PATCH v3 1/2] Bluetooth: btbcm: disable read tx power for BeagleV-Ahead Thomas Gerner
2026-11-30 16:31 ` Enable bluetooth on BeagleV-Ahead bluez.test.bot
2026-11-30 15:20 ` [PATCH v3 2/2] riscv: dts: thead: Bluetooth: Enable bt " Thomas Gerner
-- strict thread matches above, loose matches on Subject: below --
2026-10-20 13:26 [PATCH v2 1/2] Bluetooth: btbcm: disable read tx power for BeagleV-Ahead Thomas Gerner
2026-10-20 17:46 ` Enable bluetooth on BeagleV-Ahead bluez.test.bot
2026-10-11 13:37 [PATCH 2/2] Bluetooth: btbcm: disable read tx power for BeagleV-Ahead Thomas Gerner
2026-10-11 19:08 ` Enable bluetooth on BeagleV-Ahead bluez.test.bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox