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,

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: Zipin

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. >&

[PATCH v3 3/3] ARM: dts: sunxi: Add R_LRADC support for A83T

2017-06-23 Thread Ziping Chen
From: Ziping Chen Allwinner A83T SoC has a low res adc like the one in Allwinner A10 SoC. Now the driver has been modified to support it. Add support for it. Signed-off-by: Ziping Chen --- arch/arm/boot/dts/sun8i-a83t.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm

[PATCH v3 1/3] input: sun4i-a10-lradc-keys: Add support for A83T

2017-06-23 Thread Ziping Chen
From: Ziping Chen 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 vario

[PATCH v3 0/3] Allwinner A83T R_LRADC support

2017-06-23 Thread Ziping Chen
From: Ziping Chen Hi, This is the remaining parts of my A83T R_LRADC support series Allwinner A83T SoC has a low res adc like the one in Allwinner A10 SoC. Add support for it. Changes for v3: - Fix some issuses raised by Maxime. - Added Rob's ACK. Changes for v2: - Add an A83T spe

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

2017-06-23 Thread Ziping Chen
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/sun4i-lradc-keys.txt | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

Re: [PATCH v2 2/3] dt-bindings: input: Add DT bindings documentation for Allwinner A83T R_LRADC

2017-06-23 Thread Ziping Chen
Hi 2017-06-24 5:51 GMT+08:00 Rob Herring : > On Tue, Jun 20, 2017 at 09:44:44PM +0800, Ziping Chen wrote: >> From: Ziping Chen > > Your subject could be more concise. "DT bindings documentation" is > redundant. > >> >> Allwinner A83T SoC has a low r

Re: [PATCH v2 1/3] input: sun4i-a10-lradc-keys: Add support for A83T

2017-06-23 Thread Ziping Chen
2017-06-23 22:46 GMT+08:00 Maxime Ripard : > On Thu, Jun 22, 2017 at 12:50:47PM +0800, Ziping Chen wrote: >> 2017-06-22 4:35 GMT+08:00 Maxime Ripard : >> >> > On Tue, Jun 20, 2017 at 09:44:43PM +0800, Ziping Chen wrote: >> > > From: Ziping Chen >> >

Re: [PATCH v2 1/3] input: sun4i-a10-lradc-keys: Add support for A83T

2017-06-21 Thread Ziping Chen
2017-06-22 4:35 GMT+08:00 Maxime Ripard : > On Tue, Jun 20, 2017 at 09:44:43PM +0800, Ziping Chen wrote: >> From: Ziping Chen >> >> Allwinner A83T SoC has a low res adc like the one >> in Allwinner A10 SoC, however, the A10 SoC's vref >> of lradc internally i

[PATCH v2 3/3] ARM: dts: sunxi: add R_LRADC support for A83T

2017-06-20 Thread Ziping Chen
From: Ziping Chen Allwinner A83T SoC has a low res adc like the one in Allwinner A10 SoC. Now the driver has been modified to support it. Add support for it. Signed-off-by: Ziping Chen --- arch/arm/boot/dts/sun8i-a83t.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm

[PATCH v2 0/3] Allwinner A83T R_LRADC support

2017-06-20 Thread Ziping Chen
From: Ziping Chen Hi, This is the remaining parts of my A83T R_LRADC support series Allwinner A83T SoC has a low res adc like the one in Allwinner A10 SoC. Add support for it. Changes for v2: - Add an A83T specific compatible. Ziping Chen (3): input: sun4i-a10-lradc-keys: Add support for

[PATCH v2 2/3] dt-bindings: input: Add DT bindings documentation for Allwinner A83T R_LRADC

2017-06-20 Thread Ziping Chen
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 --- Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation

[PATCH v2 1/3] input: sun4i-a10-lradc-keys: Add support for A83T

2017-06-20 Thread Ziping Chen
From: Ziping Chen 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 isn't, thus add a hardware variant for it to be compatible with various devices. Signed-off-

[PATCH 2/3] ARM: dts: sunxi: add MMC support for A83T

2017-06-18 Thread Ziping Chen
From: Ziping Chen The Allwinner A83T's MMC can work with compatible "allwinner,sun7i-a20-mmc". Add support for it. Signed-off-by: Ziping Chen --- arch/arm/boot/dts/sun8i-a83t.dtsi | 69 +++ 1 file changed, 69 insertions(+) diff --git a/ar

[PATCH 3/3] ARM: dts: sunxi: Add support for Sinlinx SinA83T board

2017-06-18 Thread Ziping Chen
From: Ziping Chen The Sinlinx SinA83T is an A83T core/daughter borad combo from Sinlinx. The board's wiki page: http://linux-sunxi.org/Sinlinx_SinA83T Add support for it. Signed-off-by: Ziping Chen --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/sun8i

[PATCH 1/3] ARM: dts: sunxi: add R_LRADC support for A83T

2017-06-18 Thread Ziping Chen
From: Ziping Chen The Allwinner A83T's R_LRADC is similiar with the Allwinner A10's LRADC, they can use the same driver. Add support for it. Signed-off-by: Ziping Chen --- arch/arm/boot/dts/sun8i-a83t.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot