Re: [PATCH 1/1] dt-bindings: adc-keys.txt: clarify description

From: Dmitry Torokhov
Date: Tue Jan 05 2021 - 17:22:07 EST


On Tue, Dec 22, 2020 at 12:08:15PM +0100, Heinrich Schuchardt wrote:
> The current description of ADC keys is not precise enough.
>
> "when this key is pressed" leaves it open if a key is considered pressed
> below or above the threshold. This has led to confusion:
> drivers/input/keyboard/adc-keys.c ignores the meaning of thresholds and
> sets the key that is closest to press-threshold-microvolt.
>
> This patch nails down the definitions and provides an interpretation of the
> supplied example.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@xxxxxx>

Applied, thank you.

--
Dmitry