* [PATCH v2] arm64: dts: qcom: qrb5165-rb5: add the Bluetooth node
@ 2023-12-07 9:07 Bartosz Golaszewski
2023-12-07 9:17 ` Krzysztof Kozlowski
2023-12-17 17:20 ` Bjorn Andersson
0 siblings, 2 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2023-12-07 9:07 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski,
Alex Elder, Srini Kandagatla
Cc: linux-arm-msm, linux-kernel, devicetree, Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Add the Bluetooth node for RB5 as well as its dependencies in the form
of the uart6 -> serial1 alias and the pin function for the Bluetooth
enable GPIO.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
v1 -> v2:
- squash the three device-tree patches into one
- as we're only using a single pin for the BT enable GPIOs, there's no
need for a separate named node
- change the naming convention for regulators to follow the bindings
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 29 ++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
index c8cd40a462a3..dfda57568dc5 100644
--- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
+++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
@@ -23,6 +23,7 @@ / {
aliases {
serial0 = &uart12;
+ serial1 = &uart6;
sdhc2 = &sdhc_2;
};
@@ -1263,6 +1264,14 @@ &tlmm {
"HST_WLAN_UART_TX",
"HST_WLAN_UART_RX";
+ bt_en_state: bt-default-state {
+ pins = "gpio21";
+ function = "gpio";
+ drive-strength = <16>;
+ output-low;
+ bias-pull-up;
+ };
+
lt9611_irq_pin: lt9611-irq-state {
pins = "gpio63";
function = "gpio";
@@ -1296,6 +1305,26 @@ sdc2_card_det_n: sd-card-det-n-state {
};
};
+&uart6 {
+ status = "okay";
+
+ bluetooth {
+ compatible = "qcom,qca6390-bt";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&bt_en_state>;
+
+ enable-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>;
+
+ vddio-supply = <&vreg_s4a_1p8>;
+ vddpmu-supply = <&vreg_s2f_0p95>;
+ vddaon-supply = <&vreg_s6a_0p95>;
+ vddrfa0p9-supply = <&vreg_s2f_0p95>;
+ vddrfa1p3-supply = <&vreg_s8c_1p3>;
+ vddrfa1p9-supply = <&vreg_s5a_1p9>;
+ };
+};
+
&uart12 {
status = "okay";
};
--
2.40.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] arm64: dts: qcom: qrb5165-rb5: add the Bluetooth node
2023-12-07 9:07 [PATCH v2] arm64: dts: qcom: qrb5165-rb5: add the Bluetooth node Bartosz Golaszewski
@ 2023-12-07 9:17 ` Krzysztof Kozlowski
2023-12-17 17:20 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-12-07 9:17 UTC (permalink / raw)
To: Bartosz Golaszewski, Andy Gross, Bjorn Andersson, Konrad Dybcio,
Alex Elder, Srini Kandagatla
Cc: linux-arm-msm, linux-kernel, devicetree, Bartosz Golaszewski
On 07/12/2023 10:07, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
> Add the Bluetooth node for RB5 as well as its dependencies in the form
> of the uart6 -> serial1 alias and the pin function for the Bluetooth
> enable GPIO.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> ---
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] arm64: dts: qcom: qrb5165-rb5: add the Bluetooth node
2023-12-07 9:07 [PATCH v2] arm64: dts: qcom: qrb5165-rb5: add the Bluetooth node Bartosz Golaszewski
2023-12-07 9:17 ` Krzysztof Kozlowski
@ 2023-12-17 17:20 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2023-12-17 17:20 UTC (permalink / raw)
To: Andy Gross, Konrad Dybcio, Krzysztof Kozlowski, Alex Elder,
Srini Kandagatla, Bartosz Golaszewski
Cc: linux-arm-msm, linux-kernel, devicetree, Bartosz Golaszewski
On Thu, 07 Dec 2023 10:07:06 +0100, Bartosz Golaszewski wrote:
> Add the Bluetooth node for RB5 as well as its dependencies in the form
> of the uart6 -> serial1 alias and the pin function for the Bluetooth
> enable GPIO.
>
>
Applied, thanks!
[1/1] arm64: dts: qcom: qrb5165-rb5: add the Bluetooth node
commit: 71a73864e144aadaa582fe8296ef73fcf3ea7377
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-12-17 17:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-07 9:07 [PATCH v2] arm64: dts: qcom: qrb5165-rb5: add the Bluetooth node Bartosz Golaszewski
2023-12-07 9:17 ` Krzysztof Kozlowski
2023-12-17 17:20 ` Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).