ARM: dts: qcom: msm8974pro-samsung-klte: Add pstore node
PATCH 1/1 ARM: dts: qcom: msm8974pro-samsung-klte: Add pstore node
From: Bingwu Zhang <[email protected]>
Add pstore node to allow for retrieving crash logs.
--- .../qcom-msm8974pro-samsung-klte-common.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi +17 -0
@@ -126,6 +126,23 @@ led@3 { }; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + ramoops@3e8e0000 { + compatible = "ramoops"; + reg = <0x3e8e0000 0x200000>; + + console-size = <0x100000>; + record-size = <0x10000>; + ftrace-size = <0x10000>; + pmsg-size = <0x80000>; + ecc-size = <8>; + }; + }; + vreg_wlan: wlan-regulator { compatible = "regulator-fixed";
base-commit: 6fd4da15c334831a865d4700ceb3ff5a917163e3
Signature · 1 line
2.45.2
Quoted 5 lines · Bingwu Zhang
From: Bingwu Zhang <[email protected]>
Add pstore node to allow for retrieving crash logs.
Tested-by tags are provided by others, not by yourself. It's expected that you test youro own patches. Drop the tag.
Quoted 10 lines
Signed-off-by Bingwu Zhang <[email protected]>--- .../qcom-msm8974pro-samsung-klte-common.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi +0
-0
arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi led@3 { · line 132
Quoted 7 lines
arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi +4
-0@@ -126,6 +126,23 @@ led@3 { }; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges;
Don't duplicate the nodes, but rather extend via phandle/label. Or at least drop duplicated properties.
arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi led@3 { · line 137
Quoted 5 lines
arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi +5
-0+ + ramoops@3e8e0000 { + compatible = "ramoops"; + reg = <0x3e8e0000 0x200000>; +
Best regards,
Krzysztof
Quoted 2 lines · On Monday, July 15, 2024 4:57:54 PM GMT+8 Krzysztof Kozlowski wrote:
Don't duplicate the nodes, but rather extend via phandle/label. Or at least drop duplicated properties.
I was referencing other qualcomm devices with ramoops enabled, such as qcom-msm8974-sony-xperia-rhine.dtsi & qcom-apq8064-asus-nexus7-flo.dts. They seem to have the same issue. Should I make another patch to change those?
Best regards,
Signature · 1 line
xtex / Bingwu Zhang @ Mon Jul 15 09:19:42 AM UTC 2024
Quoted 2 lines · On Monday, July 15, 2024 4:57:54 PM GMT+8 Krzysztof Kozlowski wrote:
Don't duplicate the nodes, but rather extend via phandle/label. Or at least drop duplicated properties.
I was referencing other qualcomm devices with ramoops enabled, such as qcom-msm8974-sony-xperia-rhine.dtsi & qcom-apq8064-asus-nexus7-flo.dts. They seem to have the same issue. Should I make another patch to change those?
Best regards,
Signature · 1 line
xtex / Bingwu Zhang @ Mon Jul 15 09:19:42 AM UTC 2024