devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/4] ARM: dts: qcom: apq8074-dragonboard: enable resin device
@ 2023-06-09  2:25 Dmitry Baryshkov
  2023-06-09  2:25 ` [PATCH v4 1/4] dt-bindings: power: reset: qcom-pon: define pm8941-pon Dmitry Baryshkov
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Dmitry Baryshkov @ 2023-06-09  2:25 UTC (permalink / raw)
  To: Sebastian Reichel, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Andy Gross, Bjorn Andersson, Konrad Dybcio, Vinod Koul
  Cc: linux-pm, devicetree, linux-arm-msm

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(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-07-14  5:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-09  2:25 [PATCH v4 0/4] ARM: dts: qcom: apq8074-dragonboard: enable resin device Dmitry Baryshkov
2023-06-09  2:25 ` [PATCH v4 1/4] dt-bindings: power: reset: qcom-pon: define pm8941-pon Dmitry Baryshkov
2023-06-09 16:52   ` Rob Herring
2023-06-09 19:23     ` Sebastian Reichel
2023-06-09  2:25 ` [PATCH v4 2/4] power: reset: qcom-pon: add support for pm8941-pon Dmitry Baryshkov
2023-06-09 19:23   ` Sebastian Reichel
2023-06-09  2:25 ` [PATCH v4 3/4] ARM: dts: qcom-pm8941: add resin support Dmitry Baryshkov
2023-06-09  2:25 ` [PATCH v4 4/4] ARM: dts: qcom: apq8074-dragonboard: add resin Dmitry Baryshkov
2023-07-14  5:33 ` (subset) [PATCH v4 0/4] ARM: dts: qcom: apq8074-dragonboard: enable resin device Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).