All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/6] input: pm8941-pwrkey: Add support for reboot reason
@ 2018-06-28 15:08 Vinod Koul
  2018-06-28 15:08 ` [PATCH v5 1/6] dt-bindings: power: reset: Add qcom pon binding Vinod Koul
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Vinod Koul @ 2018-06-28 15:08 UTC (permalink / raw)
  To: linux-input, linux-pm
  Cc: Bjorn Andersson, Dmitry Torokhov, Rob Herring, Sebastian Reichel,
	devicetree, linux-arm-msm, Vinod Koul

To add support for reboot reason there have been some attempts [1], [2]
in past. Based on these discussions we added a new pon driver and made
pwrkey and resin as child nodes to pon.

Since the pwrkey and resin are similar, abstract pwrkey driver
and then add support for resin in the same driver.

Since the patches touch reset and input subsystems, it would be nice if
folks can ACK and we carry thru one subsystem, I would prefer that to be
input, other way would work fine too.

[1]: https://patchwork.kernel.org/patch/9751627/
[2]: https://patchwork.kernel.org/patch/10381801/

Changes in v5:
 - Make pon driver tristate

Changes in v4:
 - Add Rob's ack
 - Fix typo and description in pon binding
 - Separate out resin binding to an independent patch

Changes in v3:
 - Add Bjorn's ack
 - Make variable for event code u32

Changes in v2:
 - Add Bjorn's ack
 - Fix power binding by removing reg property
 - Use single block for parent check in pm8941-pwrkey as suggested by
   Dimitry

Vinod Koul (6):
  dt-bindings: power: reset: Add qcom pon binding
  power: reset: qcom-pon: Add Qcom PON driver
  dt-bindings: Input: Add additional property to qcom pwrkey
  input: pm8941-pwrkey: Abstract register offsets and event code
  dt-bindings: power: reset: qcom: Add resin binding
  input: pm8941-pwrkey: Add resin entry

 .../bindings/input/qcom,pm8941-pwrkey.txt          | 10 +++
 .../devicetree/bindings/power/reset/qcom,pon.txt   | 45 +++++++++++
 drivers/input/misc/pm8941-pwrkey.c                 | 69 ++++++++++++----
 drivers/power/reset/Kconfig                        | 11 +++
 drivers/power/reset/Makefile                       |  1 +
 drivers/power/reset/qcom-pon.c                     | 91 ++++++++++++++++++++++
 6 files changed, 214 insertions(+), 13 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/power/reset/qcom,pon.txt
 create mode 100644 drivers/power/reset/qcom-pon.c

-- 
2.14.4

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

end of thread, other threads:[~2018-07-30 13:55 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-28 15:08 [PATCH v5 0/6] input: pm8941-pwrkey: Add support for reboot reason Vinod Koul
2018-06-28 15:08 ` [PATCH v5 1/6] dt-bindings: power: reset: Add qcom pon binding Vinod Koul
2018-07-03 17:19   ` Rob Herring
2018-07-06 13:57   ` Sebastian Reichel
2018-06-28 15:08 ` [PATCH v5 2/6] power: reset: qcom-pon: Add Qcom PON driver Vinod Koul
2018-07-06  6:33   ` Vinod
2018-07-06 13:58   ` Sebastian Reichel
2018-06-28 15:08 ` [PATCH v5 3/6] dt-bindings: Input: Add additional property to qcom pwrkey Vinod Koul
2018-07-07  5:15   ` Vinod
2018-07-30 13:55     ` Vinod
2018-06-28 15:08 ` [PATCH v5 4/6] input: pm8941-pwrkey: Abstract register offsets and event code Vinod Koul
2018-06-28 15:08 ` [PATCH v5 5/6] dt-bindings: power: reset: qcom: Add resin binding Vinod Koul
2018-07-03 17:19   ` Rob Herring
2018-07-07  5:14   ` Vinod
2018-07-07 20:24     ` Sebastian Reichel
2018-06-28 15:08 ` [PATCH v5 6/6] input: pm8941-pwrkey: Add resin entry Vinod Koul

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.