Input: sun4i-a10-lradc-keys - add support for A83T
authorZiping Chen <techping.chan@gmail.com>
Thu, 4 Apr 2019 18:47:14 +0000 (11:47 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 4 Apr 2019 18:51:29 +0000 (11:51 -0700)
commit4c4591173f687a8e891b913b4e510807e821da5c
tree7589758f67cb3c4455b726b410d9f87c0b40ab7b
parentfb3c09ba20fff0fb7c5a6bcb2091dc62b6cce5e0
Input: sun4i-a10-lradc-keys - add support for A83T

Allwinner A83T SoC has a low res adc like the one in Allwinner A10 SoC,
however, the A10 SoC's vref of lradc internally is divided by 2/3 and
the A83T SoC's vref of lradc internally is divided by 3/4, thus add
a hardware variant for it to be compatible with various devices.

Signed-off-by: Ziping Chen <techping.chan@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt
drivers/input/keyboard/sun4i-lradc-keys.c