diff mbox series

[v2] ARM: dts: qcom: msm8974pro-samsung-klte: Add pstore node

Message ID 20240715122201.345426-2-xtex@envs.net (mailing list archive)
State Mainlined
Commit 56080a49773935fb899c6559c390a5f8439b5632
Headers show
Series [v2] ARM: dts: qcom: msm8974pro-samsung-klte: Add pstore node | expand

Commit Message

Bingwu Zhang July 15, 2024, 12:22 p.m. UTC
From: Bingwu Zhang <xtexchooser@duck.com>

Add pstore node to allow for retrieving crash logs.

Signed-off-by: Bingwu Zhang <xtexchooser@duck.com>

---
Changes in v2:
  Add a label to reserved-memory and extend it to avoid duplicating nodes.

---
 arch/arm/boot/dts/qcom/qcom-msm8974.dtsi            |  2 +-
 .../qcom/qcom-msm8974pro-samsung-klte-common.dtsi   | 13 +++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)


base-commit: 6fd4da15c334831a865d4700ceb3ff5a917163e3

Comments

Bjorn Andersson July 29, 2024, 3:58 a.m. UTC | #1
On Mon, 15 Jul 2024 20:22:01 +0800, Bingwu Zhang wrote:
> Add pstore node to allow for retrieving crash logs.
> 
> 

Applied, thanks!

[1/1] ARM: dts: qcom: msm8974pro-samsung-klte: Add pstore node
      commit: 56080a49773935fb899c6559c390a5f8439b5632

Best regards,
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi
index 15568579459a..19c12686831b 100644
--- a/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi
+++ b/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi
@@ -149,7 +149,7 @@  rpmcc: clock-controller {
 		};
 	};
 
-	reserved-memory {
+	reserved_memory: reserved-memory {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		ranges;
diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi
index b5443fd5b425..d3959741d2ea 100644
--- a/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi
+++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi
@@ -438,6 +438,19 @@  fuelgauge_pin: fuelgauge-int-state {
 	};
 };
 
+&reserved_memory {
+	ramoops@3e8e0000 {
+		compatible = "ramoops";
+		reg = <0x3e8e0000 0x200000>;
+
+		console-size = <0x100000>;
+		record-size = <0x10000>;
+		ftrace-size = <0x10000>;
+		pmsg-size = <0x80000>;
+		ecc-size = <8>;
+	};
+};
+
 &remoteproc_adsp {
 	status = "okay";
 	cx-supply = <&pma8084_s2>;