Regulator adjustments for OnePlus 6 and 6T
v2 cover Regulator adjustments for OnePlus 6 and 6T
Small regulators adjustments, tested on sdm845-mainline and sdm845-next tree with recently fixed (6) and upstreamed (6T) drivers.
---
Changes in v2:
- Corrected description of
"arm64: dts: qcom: sdm845-oneplus: Don't mark ts supply boot-on".
(Konrad)
- Added Fixes tag to the commits. (Konrad)
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Casey Connolly (3):
arm64: dts: qcom: sdm845-oneplus: Don't mark ts supply boot-on
arm64: dts: qcom: sdm845-oneplus: Don't keep panel regulator always on
arm64: dts: qcom: sdm845-oneplus: Mark l14a regulator as boot-on
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
---
base-commit: 187dac290bfd0741b9d7d5490af825c33fd9baa4
change-id: 20251118-dts-oneplus-regulators-08aaa85fca38
Best regards,
Signature · 1 line
David Heidelberg <[email protected]>
PATCH v2 1/3 arm64: dts: qcom: sdm845-oneplus: Don't mark ts supply boot-on
From: Casey Connolly <[email protected]>
The touchscreen isn't enabled by bootloader and doesn't need to be enabled at boot, only when the driver probes, thus remove the regulator-boot-on property.
--- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 1 - 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +0 -1
@@ -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 {
Signature · 1 line
2.51.0
Re: [PATCH v2 1/3] arm64: dts: qcom: sdm845-oneplus: Don't mark ts supply boot-on
Quoted 10 lines · On 11/18/25 3:52 PM, David Heidelberg via B4 Relay wrote:
From: Casey Connolly <[email protected]>
The touchscreen isn't enabled by bootloader and doesn't need to be enabled at boot, only when the driver probes, thus remove the regulator-boot-on property.
Fixes 288ef8a42612 ("arm64: dts: sdm845: add oneplus6/6t devices")Signed-off-by Casey Connolly <[email protected]>Signed-off-by David Heidelberg <[email protected]>---
Konrad
PATCH v2 2/3 arm64: dts: qcom: sdm845-oneplus: Don't keep panel regulator always on
In reply to David HeidelbergFrom: Casey Connolly <[email protected]>
The panel regulator doesn't need to be always on, so remove this property.
--- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 1 - 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +0 -1
@@ -272,7 +272,6 @@ vreg_l14a_1p88: ldo14 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; - regulator-always-on; }; vreg_l17a_1p3: ldo17 {
Signature · 1 line
2.51.0
Re: [PATCH v2 2/3] arm64: dts: qcom: sdm845-oneplus: Don't keep panel regulator always on
Quoted 9 lines · On 11/18/25 3:52 PM, David Heidelberg via B4 Relay wrote:
From: Casey Connolly <[email protected]>
The panel regulator doesn't need to be always on, so remove this property.
Fixes 288ef8a42612 ("arm64: dts: sdm845: add oneplus6/6t devices")Signed-off-by Casey Connolly <[email protected]>Signed-off-by David Heidelberg <[email protected]>---
Konrad
PATCH v2 3/3 arm64: dts: qcom: sdm845-oneplus: Mark l14a regulator as boot-on
In reply to David HeidelbergFrom: Casey Connolly <[email protected]>
This regulator is used only for the display, which is enabled by the bootloader and left on for continuous splash. Mark it as such.
--- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +1 -0
@@ -272,6 +272,7 @@ vreg_l14a_1p88: ldo14 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + regulator-boot-on; }; vreg_l17a_1p3: ldo17 {
Signature · 1 line
2.51.0
Re: [PATCH v2 3/3] arm64: dts: qcom: sdm845-oneplus: Mark l14a regulator as boot-on
Quoted 9 lines · On 11/18/25 3:52 PM, David Heidelberg via B4 Relay wrote:
From: Casey Connolly <[email protected]>
This regulator is used only for the display, which is enabled by the bootloader and left on for continuous splash. Mark it as such.
Fixes 288ef8a42612 ("arm64: dts: sdm845: add oneplus6/6t devices")Signed-off-by Casey Connolly <[email protected]>Signed-off-by David Heidelberg <[email protected]>---
Konrad
Quoted 4 lines · David Heidelberg
Small regulators adjustments, tested on sdm845-mainline and sdm845-next tree with recently fixed (6) and upstreamed (6T) drivers.
Applied, thanks!
[1/3] arm64: dts: qcom: sdm845-oneplus: Don't mark ts supply boot-on
commit: c9b98b9dad9749bf2eb7336a6fca31a6af1039d7
[2/3] arm64: dts: qcom: sdm845-oneplus: Don't keep panel regulator always on
commit: 45d1f42d3e84b5880cf9fab1eb24a7818320eeb7
[3/3] arm64: dts: qcom: sdm845-oneplus: Mark l14a regulator as boot-on
commit: ad33ee060be46794a03d033894c9db3a9d6c1a0fBest regards,
Signature · 1 line
Bjorn Andersson <[email protected]>