arm64: dts: qcom: qcs8300-ride: Enable Bluetooth support
v2 cover arm64: dts: qcom: qcs8300-ride: Enable Bluetooth support
Changes for v2
- Update commit message, add firmware name detail
- Reorganize patchset
- V1 link
https://lore.kernel.org/all/[email protected]/
Wei Deng (1):
arm64: dts: qcom: qcs8300-ride: Enable Bluetooth support
arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+)
base-commit: e7c375b181600caf135cfd03eadbc45eb530f2cb
prerequisite-patch-id: babbcf9dd8722e19d91b01eb45756f58e58ba6ac
prerequisite-patch-id: e641f09d4139ac77c34757bd08af2db746de3963
prerequisite-patch-id: f5dd3ee9979e2a049badfb51cfab184da4501870
prerequisite-patch-id: 40187dae2c9518a10866104b9fcd5a481ac67d51
prerequisite-patch-id: b9a2e071f5ddcc70dbd6addcbf738afdc9283cdc
Signature · 1 line
2.25.1
PATCH v2 1/1 arm64: dts: qcom: qcs8300-ride: Enable Bluetooth support
Enable BT on qcs8300-ride by adding a BT device tree node.
Since the platform uses the QCA6698 Bluetooth chip. While the QCA6698 shares the same IP core as the WCN6855, it has different RF components and RAM sizes, requiring new firmware files. Use the firmware-name property to specify the NVM and rampatch firmware to load.
--- arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+)
arch/arm64/boot/dts/qcom/qcs8300-ride.dts +28 -0
@@ -18,6 +18,7 @@ / { aliases { serial0 = &uart7; mmc0 = &sdhc_1; + serial1 = &uart2; }; chosen {
@@ -71,6 +72,7 @@ wcn6855-pmu { vddpcie1p3-supply = <&vreg_conn_pa>; vddpcie1p9-supply = <&vreg_conn_1p8>; + bt-enable-gpios = <&tlmm 55 GPIO_ACTIVE_HIGH>; wlan-enable-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>; regulators {
@@ -501,6 +503,13 @@ &sdhc_1 { }; &tlmm { + bt_en_state: bt-en-state { + pins = "gpio55"; + function = "gpio"; + bias-pull-down; + output-low; + }; + ethernet0_default: ethernet0-default-state { ethernet0_mdc: ethernet0-mdc-pins { pins = "gpio5";
@@ -571,6 +580,25 @@ wlan_en_state: wlan-en-state { }; }; +&uart2 { + status = "okay"; + + bluetooth: bluetooth { + compatible = "qcom,wcn6855-bt"; + firmware-name = "QCA6698/hpnv21", "QCA6698/hpbtfw21.tlv"; + max-speed = <3200000>; + + vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; + vddaon-supply = <&vreg_pmu_aon_0p59>; + vddwlcx-supply = <&vreg_pmu_wlcx_0p8>; + vddwlmx-supply = <&vreg_pmu_wlmx_0p85>; + vddbtcmx-supply = <&vreg_pmu_btcmx_0p85>; + vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; + vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; + vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>; + }; +}; + &uart7 { status = "okay"; };
Signature · 1 line
2.25.1
This is an automated email and please do not reply to this email.
Dear Submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
While preparing the CI tests, the patches you submitted couldn't be applied to the current HEAD of the repository.
----- Output -----
error: patch failed: arch/arm64/boot/dts/qcom/qcs8300-ride.dts:71
error: arch/arm64/boot/dts/qcom/qcs8300-ride.dts: patch does not apply
hint: Use 'git am --show-current-patch' to see the failed patch
Please resolve the issue and submit the patches again.
---
Regards,
Linux Bluetooth
Quoted 8 lines · Wei Deng
Enable BT on qcs8300-ride by adding a BT device tree node.
Since the platform uses the QCA6698 Bluetooth chip. While the QCA6698 shares the same IP core as the WCN6855, it has different RF components and RAM sizes, requiring new firmware files. Use the firmware-name property to specify the NVM and rampatch firmware to load.
Quoted 4 lines
Signed-off-by Wei Deng <[email protected]>--- arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+)
Signature · 2 lines
With best wishes Dmitry
Quoted 13 lines · Wei Deng
Changes for v2
- Update commit message, add firmware name detail
- Reorganize patchset
- V1 link
https://lore.kernel.org/all/[email protected]/Wei Deng (1):
arm64: dts: qcom: qcs8300-ride: Enable Bluetooth supportarch/arm64/boot/dts/qcom/qcs8300-ride.dts | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+)
Quoted 6 lines
base-commit:
e7c375b181600caf135cfd03eadbc45eb530f2cb
prerequisite-patch-id:babbcf9dd8722e19d91b01eb45756f58e58ba6ac
prerequisite-patch-id:e641f09d4139ac77c34757bd08af2db746de3963
prerequisite-patch-id:f5dd3ee9979e2a049badfb51cfab184da4501870
prerequisite-patch-id:40187dae2c9518a10866104b9fcd5a481ac67d51
prerequisite-patch-id:b9a2e071f5ddcc70dbd6addcbf738afdc9283cdc
Sorry, this screams "unmergeable". If you have more than one or two predictably-soon-to-be-merged dependencies, you should instead wait for those to be resolved. You can help in that by testing and helping to review them.
prerequisite-patch-id also doesn't even tell us what these patches really are.. prerequisite-message-id is probably better
Konrad
Quoted 8 lines · Wei Deng
Changes for v2
- Update commit message, add firmware name detail
- Reorganize patchset
- V1 link
https://lore.kernel.org/all/[email protected]/Wei Deng (1):
arm64: dts: qcom: qcs8300-ride: Enable Bluetooth support
Nothing improved. Please look at your git history BEFORE you start sending code.
Best regards,
Krzysztof