Skip to contentSkip to conversation

arm64: dts: qcom: x1e80100: fix nvme regulator boot glitch

PATCH Applied Johan Hovold 5 participants 11 messages Oct 16, 2024 – Oct 24, 2024

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

cover arm64: dts: qcom: x1e80100: fix nvme regulator boot glitch

The NVMe regulator has been left enabled by the boot firmware. Mark it as such to avoid disabling the regulator temporarily during boot.

Johan

Johan Hovold (6):
arm64: dts: qcom: x1e78100-t14s: fix nvme regulator boot glitch
arm64: dts: qcom: x1e80100-crd: fix nvme regulator boot glitch
arm64: dts: qcom: x1e80100-vivobook-s15: fix nvme regulator boot
glitch
arm64: dts: qcom: x1e80100-yoga-slim7x: fix nvme regulator boot glitch
arm64: dts: qcom: x1e80100-microsoft-romulus: fix nvme regulator boot
glitch
arm64: dts: qcom: x1e80100-qcp: fix nvme regulator boot glitch

 arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts | 2 ++
 arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts    | 2 ++
 arch/arm64/boot/dts/qcom/x1e80100-crd.dts                  | 2 ++
 arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts   | 2 ++
 arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus.dtsi   | 2 ++
 arch/arm64/boot/dts/qcom/x1e80100-qcp.dts                  | 2 ++
 6 files changed, 12 insertions(+)
Signature · 1 line
2.45.2
#1 lore raw

PATCH 1/6 arm64: dts: qcom: x1e78100-t14s: fix nvme regulator boot glitch

The NVMe regulator has been left enabled by the boot firmware. Mark it as such to avoid disabling the regulator temporarily during boot.

Fixes 7d1cbe2f4985 ("arm64: dts: qcom: Add X1E78100 ThinkPad T14s Gen 6")
Cc Konrad Dybcio <[email protected]>
---
 arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts +2 -0
index 941dfddd6713..fdde988ae01e 100644
@@ -139,6 +139,8 @@ vreg_nvme: regulator-nvme {
 
 		pinctrl-0 = <&nvme_reg_en>;
 		pinctrl-names = "default";
+
+		regulator-boot-on;
 	};
 
 	vph_pwr: regulator-vph-pwr {
Signature · 1 line
2.45.2
#2 lore raw

PATCH 2/6 arm64: dts: qcom: x1e80100-crd: fix nvme regulator boot glitch

In reply to Johan Hovold

The NVMe regulator has been left enabled by the boot firmware. Mark it as such to avoid disabling the regulator temporarily during boot.

Fixes eb57cbe730d1 ("arm64: dts: qcom: x1e80100: Describe the PCIe 6a resources")
Cc Abel Vesa <[email protected]>
---
 arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/x1e80100-crd.dts +2 -0
index 10b28d870f08..5d2eec8590ce 100644
@@ -300,6 +300,8 @@ vreg_nvme: regulator-nvme {
 
 		pinctrl-names = "default";
 		pinctrl-0 = <&nvme_reg_en>;
+
+		regulator-boot-on;
 	};
 
 	vreg_wwan: regulator-wwan {
Signature · 1 line
2.45.2
#3 lore raw

PATCH 3/6 arm64: dts: qcom: x1e80100-vivobook-s15: fix nvme regulator boot glitch

In reply to Johan Hovold

The NVMe regulator has been left enabled by the boot firmware. Mark it as such to avoid disabling the regulator temporarily during boot.

Fixes d0e2f8f62dff ("arm64: dts: qcom: Add device tree for ASUS Vivobook S 15")
Cc Xilin Wu <[email protected]>
---
 arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts +2 -0
index 20616bd4aa6c..fb4a48a1e2a8 100644
@@ -134,6 +134,8 @@ vreg_nvme: regulator-nvme {
 
 		pinctrl-0 = <&nvme_reg_en>;
 		pinctrl-names = "default";
+
+		regulator-boot-on;
 	};
 };
 
Signature · 1 line
2.45.2
#4 lore raw

PATCH 4/6 arm64: dts: qcom: x1e80100-yoga-slim7x: fix nvme regulator boot glitch

In reply to Johan Hovold

The NVMe regulator has been left enabled by the boot firmware. Mark it as such to avoid disabling the regulator temporarily during boot.

Fixes 45247fe17db2 ("arm64: dts: qcom: x1e80100: add Lenovo Thinkpad Yoga slim 7x devicetree")
Cc Srinivas Kandagatla <[email protected]>
---
 arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts +2 -0
index 3c13331a9ef4..0cdaff9c8cf0 100644
@@ -205,6 +205,8 @@ vreg_nvme: regulator-nvme {
 
 		pinctrl-0 = <&nvme_reg_en>;
 		pinctrl-names = "default";
+
+		regulator-boot-on;
 	};
 };
 
Signature · 1 line
2.45.2
#5 lore raw

PATCH 5/6 arm64: dts: qcom: x1e80100-microsoft-romulus: fix nvme regulator boot glitch

In reply to Johan Hovold

The NVMe regulator has been left enabled by the boot firmware. Mark it as such to avoid disabling the regulator temporarily during boot.

Fixes 09d77be56093 ("arm64: dts: qcom: Add support for X1-based Surface Laptop 7 devices")
Cc Konrad Dybcio <[email protected]>
---
 arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus.dtsi +2 -0
index 42e02ad6a9c3..cdb401767c42 100644
@@ -164,6 +164,8 @@ vreg_nvme: regulator-nvme {
 
 		pinctrl-0 = <&nvme_reg_en>;
 		pinctrl-names = "default";
+
+		regulator-boot-on;
 	};
 };
 
Signature · 1 line
2.45.2
#6 lore raw

PATCH 6/6 arm64: dts: qcom: x1e80100-qcp: fix nvme regulator boot glitch

In reply to Johan Hovold

The NVMe regulator has been left enabled by the boot firmware. Mark it as such to avoid disabling the regulator temporarily during boot.

Fixes eb57cbe730d1 ("arm64: dts: qcom: x1e80100: Describe the PCIe 6a resources")
Cc Abel Vesa <[email protected]>
---
 arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/x1e80100-qcp.dts +2 -0
index 1c3a6a7b3ed6..5ef030c60abe 100644
@@ -253,6 +253,8 @@ vreg_nvme: regulator-nvme {
 
 		pinctrl-names = "default";
 		pinctrl-0 = <&nvme_reg_en>;
+
+		regulator-boot-on;
 	};
 };
 
Signature · 1 line
2.45.2
Reviewed-by on the v1 series
#7 lore raw
In reply to Johan Hovold
Quoted 4 lines · Johan Hovold

The NVMe regulator has been left enabled by the boot firmware. Mark it as such to avoid disabling the regulator temporarily during boot.

Johan

These look good to me, thanks!

Can you or Aleksandrs send another one for the x1e80100-dell-xps13-9345 that was applied by Bjorn yesterday?

FWIW, for these patches:

Quoted 23 lines

Johan Hovold (6):
arm64: dts: qcom: x1e78100-t14s: fix nvme regulator boot glitch
arm64: dts: qcom: x1e80100-crd: fix nvme regulator boot glitch
arm64: dts: qcom: x1e80100-vivobook-s15: fix nvme regulator boot
glitch
arm64: dts: qcom: x1e80100-yoga-slim7x: fix nvme regulator boot glitch
arm64: dts: qcom: x1e80100-microsoft-romulus: fix nvme regulator boot
glitch
arm64: dts: qcom: x1e80100-qcp: fix nvme regulator boot glitch

 arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts | 2 ++
 arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts    | 2 ++
 arch/arm64/boot/dts/qcom/x1e80100-crd.dts                  | 2 ++
 arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts   | 2 ++
 arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus.dtsi   | 2 ++
 arch/arm64/boot/dts/qcom/x1e80100-qcp.dts                  | 2 ++
 6 files changed, 12 insertions(+)
Signature · 1 line
2.45.2
#8 lore raw
Quoted 11 lines · Stephan Gerhold
Quoted 4 lines · Johan Hovold

The NVMe regulator has been left enabled by the boot firmware. Mark it as such to avoid disabling the regulator temporarily during boot.

Johan

These look good to me, thanks!

Can you or Aleksandrs send another one for the x1e80100-dell-xps13-9345 that was applied by Bjorn yesterday?

Hi,

Sure, will give it a quick test and mail it later tonight (along with a few other fixes).

Alex

Quoted 28 lines

FWIW, for these patches:

Quoted 23 lines

Johan Hovold (6):
arm64: dts: qcom: x1e78100-t14s: fix nvme regulator boot glitch
arm64: dts: qcom: x1e80100-crd: fix nvme regulator boot glitch
arm64: dts: qcom: x1e80100-vivobook-s15: fix nvme regulator boot
glitch
arm64: dts: qcom: x1e80100-yoga-slim7x: fix nvme regulator boot glitch
arm64: dts: qcom: x1e80100-microsoft-romulus: fix nvme regulator boot
glitch
arm64: dts: qcom: x1e80100-qcp: fix nvme regulator boot glitch

 arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts | 2 ++
 arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts    | 2 ++
 arch/arm64/boot/dts/qcom/x1e80100-crd.dts                  | 2 ++
 arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts   | 2 ++
 arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus.dtsi   | 2 ++
 arch/arm64/boot/dts/qcom/x1e80100-qcp.dts                  | 2 ++
 6 files changed, 12 insertions(+)

--
2.45.2

maintainer Applied
#10 lore raw
In reply to Johan Hovold
Quoted 16 lines · Johan Hovold

The NVMe regulator has been left enabled by the boot firmware. Mark it as such to avoid disabling the regulator temporarily during boot.

Johan

Johan Hovold (6):
arm64: dts: qcom: x1e78100-t14s: fix nvme regulator boot glitch
arm64: dts: qcom: x1e80100-crd: fix nvme regulator boot glitch
arm64: dts: qcom: x1e80100-vivobook-s15: fix nvme regulator boot
glitch
arm64: dts: qcom: x1e80100-yoga-slim7x: fix nvme regulator boot glitch
arm64: dts: qcom: x1e80100-microsoft-romulus: fix nvme regulator boot
glitch
arm64: dts: qcom: x1e80100-qcp: fix nvme regulator boot glitch

Quoted 1 line

[...]

Applied, thanks!

[1/6] arm64: dts: qcom: x1e78100-t14s: fix nvme regulator boot glitch

      commit: dec19f1406fc5d73512cacdcf612e7bb161c2101
[2/6] arm64: dts: qcom: x1e80100-crd: fix nvme regulator boot glitch
      commit: 37f9477ce9d07ed87f6efe9b99de580bc9d27df5
[3/6] arm64: dts: qcom: x1e80100-vivobook-s15: fix nvme regulator boot glitch
      commit: c6d151f61b6703124e14bc0eae98d05206e36e02
[4/6] arm64: dts: qcom: x1e80100-yoga-slim7x: fix nvme regulator boot glitch
      commit: 1badd07e4c0e1ecfb187dcba05357c0f3e70e797
[5/6] arm64: dts: qcom: x1e80100-microsoft-romulus: fix nvme regulator boot glitch
      commit: 5462190b11aa62a945dc2fd74e1531b9c1bc9952
[6/6] arm64: dts: qcom: x1e80100-qcp: fix nvme regulator boot glitch
      commit: 717f0637ffc6a6a59f838df94a7d61e643c98d62

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>