mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-01 00:23:29 +08:00
4e8aa0065d
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>
8 lines
285 B
Makefile
8 lines
285 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (C) 2020 Philippe Reynes <philippe.reynes@softathome.com>
|
|
|
|
obj-$(CONFIG_BUTTON) += button-uclass.o
|
|
obj-$(CONFIG_BUTTON_ADC) += button-adc.o
|
|
obj-$(CONFIG_BUTTON_GPIO) += button-gpio.o
|
|
obj-$(CONFIG_BUTTON_QCOM_PMIC) += button-qcom-pmic.o
|