* [PATCH] Revert "arm64: dts: qcom: qrb5165-rb5: add the Bluetooth node"
@ 2024-01-30 13:09 Bartosz Golaszewski
2024-01-30 14:27 ` Krzysztof Kozlowski
0 siblings, 1 reply; 3+ messages in thread
From: Bartosz Golaszewski @ 2024-01-30 13:09 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This reverts commit 71a73864e144aadaa582fe8296ef73fcf3ea7377.
The bluetooth module of the QCA6391 should be represented as consuming
the power outputs of the PMU and not the regulators that are PMU's
inputs. We will be able to model it this way (together with the WLAN
module) once the pwrseq subsystem gets upstream with a dedicated driver
for the PMU.
Thankfully this change has no corresponding DT bindings yet so we can
safely revert adding the bluetooth node.
Fixes: 71a73864e144 ("arm64: dts: qcom: qrb5165-rb5: add the Bluetooth node")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 29 ------------------------
1 file changed, 29 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
index cd0db4f31d4a..4501c00d124b 100644
--- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
+++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
@@ -23,7 +23,6 @@ / {
aliases {
serial0 = &uart12;
- serial1 = &uart6;
sdhc2 = &sdhc_2;
};
@@ -1264,14 +1263,6 @@ &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";
@@ -1305,26 +1296,6 @@ 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] Revert "arm64: dts: qcom: qrb5165-rb5: add the Bluetooth node"
2024-01-30 13:09 [PATCH] Revert "arm64: dts: qcom: qrb5165-rb5: add the Bluetooth node" Bartosz Golaszewski
@ 2024-01-30 14:27 ` Krzysztof Kozlowski
2024-01-30 15:12 ` Bartosz Golaszewski
0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-01-30 14:27 UTC (permalink / raw)
To: Bartosz Golaszewski, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Bartosz Golaszewski
On 30/01/2024 14:09, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
> This reverts commit 71a73864e144aadaa582fe8296ef73fcf3ea7377.
>
> The bluetooth module of the QCA6391 should be represented as consuming
> the power outputs of the PMU and not the regulators that are PMU's
> inputs. We will be able to model it this way (together with the WLAN
> module) once the pwrseq subsystem gets upstream with a dedicated driver
> for the PMU.
>
> Thankfully this change has no corresponding DT bindings yet so we can
> safely revert adding the bluetooth node.
>
> Fixes: 71a73864e144 ("arm64: dts: qcom: qrb5165-rb5: add the Bluetooth node")
I don't think that dropping more-or-less correct DTS nodes is a fix. A
fix could be changing the less-correct DTS into fully-correct DTS.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Revert "arm64: dts: qcom: qrb5165-rb5: add the Bluetooth node"
2024-01-30 14:27 ` Krzysztof Kozlowski
@ 2024-01-30 15:12 ` Bartosz Golaszewski
0 siblings, 0 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2024-01-30 15:12 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-msm, devicetree, linux-kernel,
Bartosz Golaszewski
On Tue, Jan 30, 2024 at 3:27 PM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
>
> On 30/01/2024 14:09, Bartosz Golaszewski wrote:
> > From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> >
> > This reverts commit 71a73864e144aadaa582fe8296ef73fcf3ea7377.
> >
> > The bluetooth module of the QCA6391 should be represented as consuming
> > the power outputs of the PMU and not the regulators that are PMU's
> > inputs. We will be able to model it this way (together with the WLAN
> > module) once the pwrseq subsystem gets upstream with a dedicated driver
> > for the PMU.
> >
> > Thankfully this change has no corresponding DT bindings yet so we can
> > safely revert adding the bluetooth node.
> >
> > Fixes: 71a73864e144 ("arm64: dts: qcom: qrb5165-rb5: add the Bluetooth node")
>
> I don't think that dropping more-or-less correct DTS nodes is a fix. A
> fix could be changing the less-correct DTS into fully-correct DTS.
>
This node was added this merge window, the bindings didn't make it.
It's not used anywhere AFAIK and a better version is coming.
I'm not going to insist but I think it's useless right now.
Bart
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-01-30 15:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-30 13:09 [PATCH] Revert "arm64: dts: qcom: qrb5165-rb5: add the Bluetooth node" Bartosz Golaszewski
2024-01-30 14:27 ` Krzysztof Kozlowski
2024-01-30 15:12 ` Bartosz Golaszewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox