mbox series

[v4,0/4] ARM: dts: qcom: apq8074-dragonboard: enable resin device

Message ID 20230609022553.1775844-1-dmitry.baryshkov@linaro.org
Headers show
Series ARM: dts: qcom: apq8074-dragonboard: enable resin device | expand

Message

Dmitry Baryshkov June 9, 2023, 2:25 a.m. UTC
Add support for reset / volume-down button found on the APQ8074
dragonboard device.

For PM8941 we don't have a defined field to store the reset reason.
Support wrapping pwrkey and resin, but without writing the reset
reason.

Changes since v3:
 - Rebased on linux-next to solve the conflict

Changes since v2:
 - Split non-pon patches to separate patchset
 - Changed schema to disallow reboot modes for pm8941-pon (Konrad)

Changes since v1 (noted by Konrad):
 - Changed to use freshly defined qcom,pm8941-pon compat
 - Fixed indentiation for LEDs definition
 - Reverted the order of pinctrl fields
 - Moved status field to the last position
 - Removed unnecessary pinconf indirection

Dmitry Baryshkov (4):
  dt-bindings: power: reset: qcom-pon: define pm8941-pon
  power: reset: qcom-pon: add support for pm8941-pon
  ARM: dts: qcom-pm8941: add resin support
  ARM: dts: qcom: apq8074-dragonboard: add resin

 .../bindings/power/reset/qcom,pon.yaml        | 12 ++++++++++
 .../arm/boot/dts/qcom-apq8074-dragonboard.dts |  5 +++++
 arch/arm/boot/dts/qcom-pm8941.dtsi            | 22 ++++++++++++++-----
 drivers/power/reset/qcom-pon.c                | 22 +++++++++++++------
 4 files changed, 49 insertions(+), 12 deletions(-)

Comments

Bjorn Andersson July 14, 2023, 5:33 a.m. UTC | #1
On Fri, 09 Jun 2023 05:25:49 +0300, Dmitry Baryshkov wrote:
> Add support for reset / volume-down button found on the APQ8074
> dragonboard device.
> 
> For PM8941 we don't have a defined field to store the reset reason.
> Support wrapping pwrkey and resin, but without writing the reset
> reason.
> 
> [...]

Applied, thanks!

[3/4] ARM: dts: qcom-pm8941: add resin support
      commit: de57328b1c9da0f30ccca4925ed6d5615b1a72b3
[4/4] ARM: dts: qcom: apq8074-dragonboard: add resin
      commit: a9037f330e9d6faeba6f5663ca05f525aa1954f4

Best regards,