diff options
| author | Caleb Connolly <[email protected]> | 2023-12-05 13:46:47 +0000 |
|---|---|---|
| committer | Caleb Connolly <[email protected]> | 2024-01-16 12:26:53 +0000 |
| commit | 4e8aa0065d4bb15d039bb629dc8659bf97ef7cf0 (patch) | |
| tree | bf5346f7379c13d6490f3fc8f6424acd19af788d /drivers/button/Kconfig | |
| parent | 033f09b4b460a676b6ce869d2ade97a3098fd312 (diff) | |
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 <[email protected]>
Reviewed-by: Sumit Garg <[email protected]>
Tested-by: Sumit Garg <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Caleb Connolly <[email protected]>
Diffstat (limited to 'drivers/button/Kconfig')
| -rw-r--r-- | drivers/button/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/button/Kconfig b/drivers/button/Kconfig index 8ce2de37d62..097b05f822e 100644 --- a/drivers/button/Kconfig +++ b/drivers/button/Kconfig @@ -27,4 +27,13 @@ config BUTTON_GPIO The GPIO driver must used driver model. Buttons are configured using the device tree. +config BUTTON_QCOM_PMIC + bool "Qualcomm power button" + depends on BUTTON + depends on PMIC_QCOM + help + Enable support for the power and "resin" (usually volume down) buttons + on Qualcomm SoCs. These will be configured as the Enter and Down keys + respectively, allowing navigation of bootmenu with buttons on device. + endmenu |
