Skip to content

arm64: qcom: fix the reboot reason handling on sa8775p

Bartosz Golaszewski linux-arm-kernel linux-arm-msm linux-devicetree linux-pm lkml 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesApplied
  2. v14 patches 10 repliesApplied

Changes in v2 from the cover letter

- dropped the defconfig patch as it went upstream already
- in patch 1: explained better why we need to drop the reboot-modes from the PON node
- fixed formatting and order of properties in dt-bindings
- fixed naming of nodes in device tree

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3arm64: dts: qcom: sa8775p: pmic: remove the PON modesarch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi+0 -20 replies
2/3dt-bindings: power: reset: convert nvmem-reboot-mode bindings to YAMLDocumentation/devicetree/bindings/power/reset/nvmem-reboot-mode.txt Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.yaml+52 -261 reply
3/3arm64: dts: qcom: sa8775p: pmic: add the sdam_0 nodearch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi+21 -02 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchKrzysztof KozlowskiKonrad DybcioEric Chanudet
1/3
2/3R-b
3/3R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/3] arm64: qcom: fix the reboot reason handling on sa8775p

From: Bartosz Golaszewski <[email protected]>

SA8775P uses nvmem to pass the reboot reason magic value to the bootloader. Remove the reboot modes from the PON node and introduce an SDAM node passed to the nvmem-reboot-mode driver. While at it: convert the bindings for nvmem-reboot-mode to YAML and enable it for arm64 in defconfig.

v1 -> v2:
- dropped the defconfig patch as it went upstream already
- in patch 1: explained better why we need to drop the reboot-modes from the PON node
- fixed formatting and order of properties in dt-bindings
- fixed naming of nodes in device tree

Bartosz Golaszewski (1):
dt-bindings: power: reset: convert nvmem-reboot-mode bindings to YAML

Parikshit Pareek (2):
arm64: dts: qcom: sa8775p: pmic: remove the PON modes
arm64: dts: qcom: sa8775p: pmic: add the sdam_0 node

 .../power/reset/nvmem-reboot-mode.txt         | 26 ----------
 .../power/reset/nvmem-reboot-mode.yaml        | 52 +++++++++++++++++++
 arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi   | 23 +++++++-
 3 files changed, 73 insertions(+), 28 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.txt
 create mode 100644 Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.yaml
Signature · 1 line
2.37.2