button: qcom-pmic: introduce Qualcomm PMIC button driver
authorCaleb Connolly <caleb.connolly@linaro.org>
Tue, 5 Dec 2023 13:46:47 +0000 (13:46 +0000)
committerCaleb Connolly <caleb.connolly@linaro.org>
Tue, 16 Jan 2024 12:26:53 +0000 (12:26 +0000)
commit4e8aa0065d4bb15d039bb629dc8659bf97ef7cf0
treebf5346f7379c13d6490f3fc8f6424acd19af788d
parent033f09b4b460a676b6ce869d2ade97a3098fd312
button: qcom-pmic: introduce Qualcomm PMIC button driver

Qualcomm PMICs include a "pon" function which handles two buttons, the
power button and "resin" button (usually volume down). Introduce a new
driver following upstream Linux DT to enable these and map them to Enter
and Down respectively to enable use in boot menus.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Tested-by: Sumit Garg <sumit.garg@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
MAINTAINERS
drivers/button/Kconfig
drivers/button/Makefile
drivers/button/button-qcom-pmic.c [new file with mode: 0644]