commit | 680772647d96ed853d20f837a2726151f24d8b20 | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Mon Aug 29 19:57:06 2016 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Aug 29 20:00:58 2016 -0700 |
tree | 79e7d495a74ca81775e13c6b5b1b4756baff67b6 | |
parent | f959cd8c0eafe2bdaa9d0ec3e3da3b9451ad38aa [diff] |
Input: add ADC resistor ladder driver A common way of multiplexing buttons on a single input in cheap devices is to use a resistor ladder on an ADC. This driver supports that configuration by polling an ADC channel provided by IIO. Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>