u-boot/drivers/button
Caleb Connolly 9c607005c5
button: make button_get_by_label() case insensitive
This function is already doing a fuzzy match, since there are no
guarantees that a given label is unique.

Ignoring case makes it much easier to catch "Volume down" or "Volume
Down" in board-agnostic code.

Tested-by: Danila Tikhonov <danila@jiaxyga.com> # google-sunfish
Tested-by: Jens Reidel <adrian@mainlining.org> # xiaomi-davinci
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20250331-qcom-phones-v4-6-f52e57d3b8c6@linaro.org
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
2025-04-11 15:28:14 +02:00
..
button-adc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
button-gpio.c button: gpio: handle broken controller 2024-12-04 14:06:23 -06:00
button-qcom-pmic.c button: qcom-pmic: prettify and standardise button labels 2025-04-11 15:28:14 +02:00
button-uclass.c button: make button_get_by_label() case insensitive 2025-04-11 15:28:14 +02:00
Kconfig dm: button: support remapping phone keys 2024-11-16 19:49:05 -06:00
Makefile button: qcom-pmic: introduce Qualcomm PMIC button driver 2024-01-16 12:26:53 +00:00