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

2019-03-26 Thread 'Ondřej Jirman' via linux-sunxi
Hello, On Mon, Jun 26, 2017 at 07:13:42PM +0200, Maxime Ripard wrote: > On Sat, Jun 24, 2017 at 10:45:13AM +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 is

[linux-sunxi] [PATCH 0/7] Add bluetooth, gps and accelerometer to TBS A711

2019-03-26 Thread megous via linux-sunxi
From: Ondrej Jirman This series enables some peripherals on TBS A711 tablet that already have mainline drivers: - GPS u-blox neo-6m (via gnss u-blox driver) - Bluetooth (via recently added OF support in the Broadcom bluetooth driver) - Accelermomter BMA-250 (hooked to the I2C bus) It also

[linux-sunxi] [PATCH 4/7] ARM: dts: sun8i: a83t: Add UART2 PB pins

2019-03-26 Thread megous via linux-sunxi
From: Ondrej Jirman Add pin definitions for UART2 PB pins. These are used on TBS-A711 tablet. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-a83t.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi

[linux-sunxi] [PATCH 1/7] ARM: dts: sun8i: tbs-a711: Enable bluetooth

2019-03-26 Thread megous via linux-sunxi
From: Ondrej Jirman TBS A711 tablet has a bcm20702a1 bluetooth chip (part of AP6210 WiFi/BT module) connected to UART1. Add node for the blutooth chip. The driver needs brcm/BCM20702A1.hcd firmware file to run. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 13

[linux-sunxi] [PATCH 3/7] ARM: dts: sun8i: a83t: Add nodes for UART2-UART4

2019-03-26 Thread megous via linux-sunxi
From: Ondrej Jirman A83T has 5 UART interfaces, but only the first two have their nodes defined in sun8i-a83t.dtsi. Add nodes for the missing interfaces. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-a83t.dtsi | 33 +++ 1 file changed, 33 insertions(+)

[linux-sunxi] [PATCH 7/7] ARM: dts: sun8i: tbs-a711: Enable UART2 (for NEO-6M GPS module)

2019-03-26 Thread megous via linux-sunxi
From: Ondrej Jirman TBS A711 tablet contains u-blox NEO-6M module connected to UART2. Enable UART2 to gain access to the module from userspace. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 21 + 1 file changed, 21 insertions(+) diff --git

[linux-sunxi] [PATCH 5/7] gnss: Add u-blox,neo-6m compatible

2019-03-26 Thread megous via linux-sunxi
From: Ondrej Jirman Add compatible for u-blox NEO-6M GPS module. Signed-off-by: Ondrej Jirman --- drivers/gnss/ubx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gnss/ubx.c b/drivers/gnss/ubx.c index 12568aebb7f6..1ada2fad1d4e 100644 --- a/drivers/gnss/ubx.c +++

[linux-sunxi] [PATCH 2/7] ARM: dts: sun8i: tbs-a711: Add node for BMA250 accelerometer

2019-03-26 Thread megous via linux-sunxi
From: Ondrej Jirman A711 tablet has BMA250 accelerometer connected to I2C1 bus. Enable both the I2C1 bus and add the accelerometer device to it. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git

[linux-sunxi] [PATCH 6/7] dt-bindings: gnss: Add u-blox,neo-6m compatible

2019-03-26 Thread megous via linux-sunxi
From: Ondrej Jirman Add compatible for u-blox NEO-6M GPS module. Signed-off-by: Ondrej Jirman --- Documentation/devicetree/bindings/gnss/u-blox.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/gnss/u-blox.txt

[linux-sunxi] [PATCH v4 4/4] ARM: dts: sun8i: tbs-a711: Add support for volume keys input

2019-03-26 Thread megous via linux-sunxi
From: Ondrej Jirman TBS A711 tablet has volume up/down keys connected to r_lradc. Add support for these keys. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 20 1 file changed, 20 insertions(+) diff --git

[linux-sunxi] [PATCH v4 2/4] dt-bindings: input: Add R_LRADC support for A83T

2019-03-26 Thread megous via linux-sunxi
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 --- .../devicetree/bindings/input/sun4i-lradc-keys.txt | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

[linux-sunxi] [PATCH v4 0/4] Add support for lradc on A83T

2019-03-26 Thread megous via linux-sunxi
From: Ondrej Jirman This series implements r_lradc (low res ADC) support for A83T. This is a continuation of v3 patch series from 2017 by Ziping Chen. I've rebased it on top of linux-next and changed the compatibe string as requested back then.[1] There was some talk of iio based lradc driver

[linux-sunxi] [PATCH v4 3/4] ARM: dts: sunxi: Add R_LRADC support for A83T

2019-03-26 Thread megous via linux-sunxi
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

[linux-sunxi] [PATCH] ARM: dts: sun8i: a83t: Add missing cooling device properties for CPUs

2019-03-26 Thread megous via linux-sunxi
From: Ondrej Jirman This is inspired by the similar patch for H3. Original description applies, and is copied below: The cooling device properties, like "#cooling-cells" and "dynamic-power-coefficient", should either be present for all the CPUs of a cluster or none. If these are present only

[linux-sunxi] Re: [PATCH v4 0/4] Add support for lradc on A83T

2019-03-26 Thread Chen-Yu Tsai
On Wed, Mar 27, 2019 at 8:25 AM wrote: > > From: Ondrej Jirman > > This series implements r_lradc (low res ADC) support for A83T. > > This is a continuation of v3 patch series from 2017 by Ziping Chen. I've > rebased it on top of linux-next and changed the compatibe string as > requested back

[linux-sunxi] [PATCH RESEND v4 0/4] Add support for lradc on A83T

2019-03-26 Thread megous via linux-sunxi
From: Ondrej Jirman (This is a re-send, with input subsystem maintainer added. Sorry, for the extra noise, I did only send the v4 to the previous recipients of v3, and didn't notice input subsystem was missing back then too. Thank you wens for pointing it out.) This series implements r_lradc

[linux-sunxi] [PATCH RESEND v4 4/4] ARM: dts: sun8i: tbs-a711: Add support for volume keys input

2019-03-26 Thread megous via linux-sunxi
From: Ondrej Jirman TBS A711 tablet has volume up/down keys connected to r_lradc. Add support for these keys. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 20 1 file changed, 20 insertions(+) diff --git

[linux-sunxi] [PATCH RESEND v4 1/4] input: sun4i-a10-lradc-keys: Add support for A83T

2019-03-26 Thread megous via linux-sunxi
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 various devices.

[linux-sunxi] [PATCH RESEND v4 2/4] dt-bindings: input: Add R_LRADC support for A83T

2019-03-26 Thread megous via linux-sunxi
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 --- .../devicetree/bindings/input/sun4i-lradc-keys.txt | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

[linux-sunxi] [PATCH RESEND v4 3/4] ARM: dts: sunxi: Add R_LRADC support for A83T

2019-03-26 Thread megous via linux-sunxi
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