[PATCH 1/3] arm64: dts: qcom: sdm845-oneplus: Don't mark ts supply boot-on

David Heidelberg via B4 Relay posted 3 patches 1 week, 6 days ago
There is a newer version of this series
[PATCH 1/3] arm64: dts: qcom: sdm845-oneplus: Don't mark ts supply boot-on
Posted by David Heidelberg via B4 Relay 1 week, 6 days ago
From: Casey Connolly <casey.connolly@linaro.org>

The touchscreen 1.8v supply doesn't need to be enabled at boot, only
when the driver probes. Remove the regulator-boot-on property.

Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
Signed-off-by: David Heidelberg <david@ixit.cz>
---
 arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
index db6dd04c51bb5..ee62adfa6af0b 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
@@ -148,7 +148,6 @@ ts_1p8_supply: ts-1p8-regulator {
 
 		gpio = <&tlmm 88 0>;
 		enable-active-high;
-		regulator-boot-on;
 	};
 
 	panel_vci_3v3: panel-vci-3v3-regulator {

-- 
2.51.0
Re: [PATCH 1/3] arm64: dts: qcom: sdm845-oneplus: Don't mark ts supply boot-on
Posted by Konrad Dybcio 1 week, 6 days ago
On 11/18/25 3:11 PM, David Heidelberg via B4 Relay wrote:
> From: Casey Connolly <casey.connolly@linaro.org>
> 
> The touchscreen 1.8v supply doesn't need to be enabled at boot, only
> when the driver probes. Remove the regulator-boot-on property.

This is not exactly what this property signifies (although it does
indeed turn the regulator on if it's not)

regulator-boot-on:
  description: bootloader/firmware enabled regulator.
    It's expected that this regulator was left on by the bootloader.
    If the bootloader didn't leave it on then OS should turn it on
    at boot but shouldn't prevent it from being turned off later.
    This property is intended to only be used for regulators where
    software cannot read the state of the regulator.

Konrad