Re: [PATCH v3] arm64: dts: qcom: qcs615: add WiFi/BT nodes

From: Yu Zhang (Yuriy)
Date: Mon Dec 09 2024 - 21:38:22 EST




On 12/6/2024 8:16 PM, Konrad Dybcio wrote:
On 6.12.2024 4:22 AM, Yu Zhang (Yuriy) wrote:


On 12/6/2024 1:14 AM, Konrad Dybcio wrote:
On 3.12.2024 7:03 AM, Yu Zhang(Yuriy) wrote:
Add a node for the PMU module of the WCN6855 present on the qcs615
board. Assign its LDO power outputs to the existing WiFi/BT module.


subject:

arm64: dts: qcom: qcs615-ride: ....

[...]

+
+    vreg_conn_1p8: vreg_conn_1p8 {
+        compatible = "regulator-fixed";
+        regulator-name = "vreg_conn_1p8";
+        startup-delay-us = <4000>;
+        enable-active-high;
+        gpio = <&pm8150_gpios 1 GPIO_ACTIVE_HIGH>;
+    };
+
+    vreg_conn_pa: vreg_conn_pa {
+        compatible = "regulator-fixed";
+        regulator-name = "vreg_conn_pa";
+        startup-delay-us = <4000>;
+        enable-active-high;
+        gpio = <&pm8150_gpios 6 GPIO_ACTIVE_HIGH>;
+    };

Are any of these boot-on?

Yes, these are used wcn6855-pmu:
     vddio-supply = <&vreg_conn_pa>;
     vddpmu-supply = <&vreg_conn_1p8>;

What i meant is, whether these regulators are enabled at boot
time (i.e. without software intervention). If that's the case,
`regulator-boot-on;` should be added

No need regulator-boot-on, it was triggered by the software(pci_pwrctl_pwrseq_driver).
Konrad
Yu