Re: [linux-sunxi] Re: [PATCH v3 2/3] dt-bindings: input: Add R_LRADC support for A83T

2017-06-29 Thread Ziping Chen
2017-06-29 15:53 GMT+08:00 Maxime Ripard : > On Thu, Jun 29, 2017 at 12:45:51PM +0800, Ziping Chen wrote: >> 2017-06-28 1:36 GMT+08:00 Maxime Ripard : >> > Hi, >> > >> > On Tue, Jun 27, 2017 at 11:29:10PM +0800, icen...@aosc.io wrote: >> >> Maxime, here's another problem: if we have already a GP LR

Re: [PATCH v3 2/3] dt-bindings: input: Add R_LRADC support for A83T

2017-06-29 Thread Maxime Ripard
Hi, On Thu, Jun 29, 2017 at 12:35:30PM +0800, Ziping Chen wrote: > 2017-06-28 1:31 GMT+08:00 Maxime Ripard : > > On Tue, Jun 27, 2017 at 11:18:17PM +0800, Ziping Chen wrote: > >> 2017-06-27 1:15 GMT+08:00 Maxime Ripard : > >> > Hi, > >> > > >> > On Sat, Jun 24, 2017 at 10:45:14AM +0800, Ziping Che

Re: [linux-sunxi] Re: [PATCH v3 2/3] dt-bindings: input: Add R_LRADC support for A83T

2017-06-29 Thread Maxime Ripard
On Thu, Jun 29, 2017 at 12:45:51PM +0800, Ziping Chen wrote: > 2017-06-28 1:36 GMT+08:00 Maxime Ripard : > > Hi, > > > > On Tue, Jun 27, 2017 at 11:29:10PM +0800, icen...@aosc.io wrote: > >> Maxime, here's another problem: if we have already a GP LRADC driver, > >> how can we tell the kernel to use

Re: [linux-sunxi] Re: [PATCH v3 2/3] dt-bindings: input: Add R_LRADC support for A83T

2017-06-28 Thread Ziping Chen
2017-06-28 1:36 GMT+08:00 Maxime Ripard : > Hi, > > On Tue, Jun 27, 2017 at 11:29:10PM +0800, icen...@aosc.io wrote: >> Maxime, here's another problem: if we have already a GP LRADC driver, >> how can we tell the kernel to use it as IIO ADC rather than keys? > > The GPADC IIO driver is not for the

Re: [PATCH v3 2/3] dt-bindings: input: Add R_LRADC support for A83T

2017-06-28 Thread Ziping Chen
2017-06-28 1:31 GMT+08:00 Maxime Ripard : > On Tue, Jun 27, 2017 at 11:18:17PM +0800, Ziping Chen wrote: >> 2017-06-27 1:15 GMT+08:00 Maxime Ripard : >> > Hi, >> > >> > On Sat, Jun 24, 2017 at 10:45:14AM +0800, Ziping Chen wrote: >> >> From: Ziping Chen >> >> >> >> Allwinner A83T SoC has a low res

Re: [linux-sunxi] Re: [PATCH v3 2/3] dt-bindings: input: Add R_LRADC support for A83T

2017-06-27 Thread Alexandre Belloni
On 27/06/2017 at 19:36:31 +0200, Maxime Ripard wrote: > Hi, > > On Tue, Jun 27, 2017 at 11:29:10PM +0800, icen...@aosc.io wrote: > > Maxime, here's another problem: if we have already a GP LRADC driver, > > how can we tell the kernel to use it as IIO ADC rather than keys? > > The GPADC IIO driver

Re: [linux-sunxi] Re: [PATCH v3 2/3] dt-bindings: input: Add R_LRADC support for A83T

2017-06-27 Thread Maxime Ripard
Hi, On Tue, Jun 27, 2017 at 11:29:10PM +0800, icen...@aosc.io wrote: > Maxime, here's another problem: if we have already a GP LRADC driver, > how can we tell the kernel to use it as IIO ADC rather than keys? The GPADC IIO driver is not for the LRADC driver, but the GPADC / temperature sensor. W

Re: [PATCH v3 2/3] dt-bindings: input: Add R_LRADC support for A83T

2017-06-27 Thread Maxime Ripard
On Tue, Jun 27, 2017 at 11:18:17PM +0800, Ziping Chen wrote: > 2017-06-27 1:15 GMT+08:00 Maxime Ripard : > > Hi, > > > > On Sat, Jun 24, 2017 at 10:45:14AM +0800, Ziping Chen wrote: > >> From: Ziping Chen > >> > >> Allwinner A83T SoC has a low res adc like the one > >> in Allwinner A10 SoC. > >> >

Re: [linux-sunxi] Re: [PATCH v3 2/3] dt-bindings: input: Add R_LRADC support for A83T

2017-06-27 Thread icenowy
在 2017-06-27 23:18,Ziping Chen 写道: 2017-06-27 1:15 GMT+08:00 Maxime Ripard : Hi, On Sat, Jun 24, 2017 at 10:45:14AM +0800, Ziping Chen wrote: From: Ziping Chen Allwinner A83T SoC has a low res adc like the one in Allwinner A10 SoC. Add binding for it. Signed-off-by: Ziping Chen Acked-by:

Re: [PATCH v3 2/3] dt-bindings: input: Add R_LRADC support for A83T

2017-06-27 Thread Ziping Chen
2017-06-27 1:15 GMT+08:00 Maxime Ripard : > Hi, > > On Sat, Jun 24, 2017 at 10:45:14AM +0800, Ziping Chen wrote: >> From: Ziping Chen >> >> Allwinner A83T SoC has a low res adc like the one >> in Allwinner A10 SoC. >> >> Add binding for it. >> >> Signed-off-by: Ziping Chen >> Acked-by: Rob Herrin

Re: [PATCH v3 2/3] dt-bindings: input: Add R_LRADC support for A83T

2017-06-26 Thread Maxime Ripard
Hi, On Sat, Jun 24, 2017 at 10:45:14AM +0800, Ziping Chen wrote: > From: Ziping Chen > > Allwinner A83T SoC has a low res adc like the one > in Allwinner A10 SoC. > > Add binding for it. > > Signed-off-by: Ziping Chen > Acked-by: Rob Herring > --- > Documentation/devicetree/bindings/input/s