input: pm8941-pwrkey: Add support for reboot reason
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 5 repliesIn review
- v25 patches 3 repliesSuperseded
- v15 patches 9 repliesSuperseded
Changes in v3 from the cover letter
- Add Bjorn's ack
- Make variable for event code u32
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | dt-bindings: power: reset: Add qcom pon bindingDocumentation/ | +45 | 4 replies | |
| 2/5 | power: reset: qcom-pon: Add Qcom PON driverdrivers/ drivers/ drivers/ | +100 | 0 replies | |
| 3/5 | dt-bindings: Input: Add additional property to qcom pwrkeyDocumentation/ | +9 | 1 reply | |
| 4/5 | input: pm8941-pwrkey: Abstract register offsets and event codedrivers/ | +48 | 0 replies | |
| 5/5 | input: pm8941-pwrkey: Add resin entrydrivers/ | +8 | 0 replies |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Bjorn Andersson | Rob Herring |
|---|---|---|
| 1/5 | R-b | |
| 2/5 | ||
| 3/5 | R-b | R-b |
| 4/5 | R-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/5] input: pm8941-pwrkey: Add support for reboot reason
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 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 (5):
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
input: pm8941-pwrkey: Add resin entry
.../bindings/input/qcom,pm8941-pwrkey.txt | 9 +++ .../devicetree/bindings/power/reset/qcom,pon.txt | 45 +++++++++++ drivers/input/misc/pm8941-pwrkey.c | 69 ++++++++++++---- drivers/power/reset/Kconfig | 8 ++ drivers/power/reset/Makefile | 1 + drivers/power/reset/qcom-pon.c | 91 ++++++++++++++++++++++ 6 files changed, 210 insertions(+), 13 deletions(-) create mode 100644 Documentation/devicetree/bindings/power/reset/qcom,pon.txt create mode 100644 drivers/power/reset/qcom-pon.c
Signature · 1 line
2.14.4