Re: [PATCH v5] input: add ADC resistor ladder driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 1, 2016 at 12:51 PM, Dmitry Torokhov
<dmitry.torokhov@xxxxxxxxx> wrote:
> On Fri, Jul 29, 2016 at 12:44:33AM +0200, Alexandre Belloni wrote:
>> From: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
>>
>> 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@xxxxxxxxxx>
>> Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx>
>> ---
>>
>> Changes in v5:
>>  - Dmitry's changes
>>  - s/mvolt/millivolt/
>
> Rob, is "millivolt" OK with you?

No, because -microvolt is what is documented in
Documentation/devicetree/bindings/property-units.txt. We could add
millivolt, but I don't really see any reason to as microvolt provides
enough range. I don't want just any units because then it's just at
the whim of the binding author.

Rob
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux