Re: [RFC PATCH 1/2] Input: rotary-encoder- Add support for absolute encoder

2016-06-16 Thread Vignesh R
Hi Dmitry, On Wednesday 25 May 2016 02:14 PM, Vignesh R wrote: > Hi Dmitry, > > On 05/23/2016 02:48 PM, R, Vignesh wrote: >> >> >> On 5/20/2016 10:04 PM, Dmitry Torokhov wrote: >>> On Thu, May 19, 2016 at 02:34:00PM +0530, Vignesh R wrote: There are rotary-encoders where GPIO lines reflect

Re: [RFC PATCH 1/2] Input: rotary-encoder- Add support for absolute encoder

2016-05-25 Thread Vignesh R
Hi Dmitry, On 05/23/2016 02:48 PM, R, Vignesh wrote: > > > On 5/20/2016 10:04 PM, Dmitry Torokhov wrote: >> On Thu, May 19, 2016 at 02:34:00PM +0530, Vignesh R wrote: >>> There are rotary-encoders where GPIO lines reflect the actual position >>> of the rotary encoder dial. For example, if dial

Re: [RFC PATCH 1/2] Input: rotary-encoder- Add support for absolute encoder

2016-05-24 Thread Uwe Kleine-König
Hello, On Tue, May 24, 2016 at 10:39:26AM +0530, Vignesh R wrote: > On 05/23/2016 06:48 PM, Uwe Kleine-König wrote: > > On Mon, May 23, 2016 at 04:48:40PM +0530, R, Vignesh wrote: > >> On 5/22/2016 3:56 PM, Uwe Kleine-König wrote: > >>> On Thu, May 19, 2016 at 02:34:00PM +0530, Vignesh R wrote: >

Re: [RFC PATCH 1/2] Input: rotary-encoder- Add support for absolute encoder

2016-05-23 Thread Vignesh R
Hi, On 05/23/2016 06:48 PM, Uwe Kleine-König wrote: > Hello, > > On Mon, May 23, 2016 at 04:48:40PM +0530, R, Vignesh wrote: >> On 5/22/2016 3:56 PM, Uwe Kleine-König wrote: >>> Hello, >>> >>> On Thu, May 19, 2016 at 02:34:00PM +0530, Vignesh R wrote: There are rotary-encoders where GPIO

Re: [RFC PATCH 1/2] Input: rotary-encoder- Add support for absolute encoder

2016-05-23 Thread Uwe Kleine-König
Hello, On Mon, May 23, 2016 at 04:48:40PM +0530, R, Vignesh wrote: > On 5/22/2016 3:56 PM, Uwe Kleine-König wrote: > > Hello, > > > > On Thu, May 19, 2016 at 02:34:00PM +0530, Vignesh R wrote: > >> There are rotary-encoders where GPIO lines reflect the actual position > >> of the rotary encoder

Re: [RFC PATCH 1/2] Input: rotary-encoder- Add support for absolute encoder

2016-05-23 Thread R, Vignesh
On 5/20/2016 10:04 PM, Dmitry Torokhov wrote: > On Thu, May 19, 2016 at 02:34:00PM +0530, Vignesh R wrote: >> There are rotary-encoders where GPIO lines reflect the actual position >> of the rotary encoder dial. For example, if dial points to 9, then four >> GPIO lines connected to the rotary

Re: [RFC PATCH 1/2] Input: rotary-encoder- Add support for absolute encoder

2016-05-22 Thread Uwe Kleine-König
Hello, On Thu, May 19, 2016 at 02:34:00PM +0530, Vignesh R wrote: > There are rotary-encoders where GPIO lines reflect the actual position > of the rotary encoder dial. For example, if dial points to 9, then four > GPIO lines connected to the rotary encoder will read HLLH(1001b = 9). > Add

Re: [RFC PATCH 1/2] Input: rotary-encoder- Add support for absolute encoder

2016-05-20 Thread Rob Herring
On Thu, May 19, 2016 at 02:34:00PM +0530, Vignesh R wrote: > There are rotary-encoders where GPIO lines reflect the actual position > of the rotary encoder dial. For example, if dial points to 9, then four > GPIO lines connected to the rotary encoder will read HLLH(1001b = 9). > Add support for

Re: [RFC PATCH 1/2] Input: rotary-encoder- Add support for absolute encoder

2016-05-19 Thread Vignesh R
Hi, On 05/19/2016 04:55 PM, Krzysztof Kozlowski wrote: [...] > On 05/19/2016 11:04 AM, Vignesh R wrote: >> diff --git a/drivers/input/misc/rotary_encoder.c >> b/drivers/input/misc/rotary_encoder.c >> index c7fc8d4fb080..8f60289fb6cd 100644 >> --- a/drivers/input/misc/rotary_encoder.c >> +++

Re: [RFC PATCH 1/2] Input: rotary-encoder- Add support for absolute encoder

2016-05-19 Thread Krzysztof Kozlowski
On 05/19/2016 11:04 AM, Vignesh R wrote: > There are rotary-encoders where GPIO lines reflect the actual position > of the rotary encoder dial. For example, if dial points to 9, then four > GPIO lines connected to the rotary encoder will read HLLH(1001b = 9). > Add support for such rotary-encoder.

[RFC PATCH 1/2] Input: rotary-encoder- Add support for absolute encoder

2016-05-19 Thread Vignesh R
There are rotary-encoders where GPIO lines reflect the actual position of the rotary encoder dial. For example, if dial points to 9, then four GPIO lines connected to the rotary encoder will read HLLH(1001b = 9). Add support for such rotary-encoder. The driver relies on