On 2026-10-13T16:13:23, Petr Hodina via B4 Relay
<[email protected]> wrote:
> button: adc: implement get_code()
>
> Implement .get_code in button_adc_ops and add linux_code
> to button_adc_priv.
>
> The consumer in this case is the PinePhone Pro platform with the
> volume up and down keys for selection in bootmenu.
>
> Signed-off-by: Petr Hodina <[email protected]>
>
>  drivers/button/button-adc.c | 14 ++++++++++++++
>  test/dm/button.c            |  3 +++
>  2 files changed, 17 insertions(+)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to