[linux-sunxi] Re: [PATCH 3/5] Input: add driver for Ilitek ili2139 touch IC

2016-10-11 Thread Dmitry Torokhov
On Wed, Oct 12, 2016 at 02:34:01AM +0800, Icenowy Zheng wrote: > > > 12.10.2016, 01:40, "Dmitry Torokhov" : > > Hi Icenowy, > > > > On Tue, Oct 11, 2016 at 08:33:57AM +0800, Icenowy Zheng wrote: > >>  This driver adds support for Ilitek ili2139 touch IC, which is used

[linux-sunxi] Re: [PATCH 3/5] Input: add driver for Ilitek ili2139 touch IC

2016-10-11 Thread Dmitry Torokhov
Hi Icenowy, On Tue, Oct 11, 2016 at 08:33:57AM +0800, Icenowy Zheng wrote: > This driver adds support for Ilitek ili2139 touch IC, which is used in > several Colorfly tablets (for example, Colorfly E708 Q1, which is an > Allwinner A31s tablet with mainline kernel support). > > Theortically it

[linux-sunxi] Re: [PATCH v3] mmc: sunxi: Handle the 'New Timing' mode

2016-10-11 Thread Maxime Ripard
On Tue, Aug 30, 2016 at 07:32:02PM +0200, Jean-Francois Moine wrote: > On Tue, 30 Aug 2016 18:26:13 +0200 > Maxime Ripard wrote: > > > > There are 2 flags saying that the new timing is used: > > > - the bit 'mode select' in the clock register, and > > > - the

[linux-sunxi] [PATCH v4 4/9] clk: sunxi-ng: Add minimums for all the relevant structures and clocks

2016-10-11 Thread Maxime Ripard
Modify the current clocks we have to be able to specify the minimum for each clocks we support, just like we support the max. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/ccu_mult.c | 7 ++- drivers/clk/sunxi-ng/ccu_nk.c | 12

[linux-sunxi] [PATCH v4 1/9] clk: sunxi-ng: Rename the internal structures

2016-10-11 Thread Maxime Ripard
Rename the structures meant to be embedded in other structures to make it consistent with the mux structure name Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/ccu_div.h | 6 +++--- drivers/clk/sunxi-ng/ccu_frac.c | 12 ++--

[linux-sunxi] [PATCH v4 3/9] clk: sunxi-ng: Finish to convert to structures for arguments

2016-10-11 Thread Maxime Ripard
Some clocks still use an explicit list of arguments, which make it a bit more tedious to add new parameters. Convert those over to a structure pointer argument to add as many arguments as possible without having to many noise in our patches, or a very long list of arguments. Signed-off-by:

[linux-sunxi] [PATCH v4 8/9] Documentation: devicetree: add vendor prefix for Pine64

2016-10-11 Thread Maxime Ripard
From: Andre Przywara Signed-off-by: Andre Przywara Acked-by: Rob Herring Acked-by: Chen-Yu Tsai [Maxime: Change title prefix to match the usual style] Signed-off-by: Maxime Ripard

[linux-sunxi] [PATCH v4 2/9] clk: sunxi-ng: Remove the use of rational computations

2016-10-11 Thread Maxime Ripard
While the rational library works great, it doesn't really allow us to add more constraints, like the minimum. Remove that in order to be able to deal with the constraints we'll need. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig| 3 +--

[linux-sunxi] [PATCH v4 9/9] arm64: dts: add Pine64 support

2016-10-11 Thread Maxime Ripard
From: Andre Przywara The Pine64 is a cost-efficient development board based on the Allwinner A64 SoC. There are three models: the basic version with Fast Ethernet and 512 MB of DRAM (Pine64) and two Pine64+ versions, which both feature Gigabit Ethernet and additional

[linux-sunxi] [PATCH v4 5/9] clk: sunxi-ng: Implement minimum for multipliers

2016-10-11 Thread Maxime Ripard
Allow the CCU drivers to specify a multiplier for their clocks. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/ccu_mult.c | 2 +- drivers/clk/sunxi-ng/ccu_mult.h | 13 + drivers/clk/sunxi-ng/ccu_nk.c | 8

[linux-sunxi] [PATCH v4 7/9] arm64: dts: add Allwinner A64 SoC .dtsi

2016-10-11 Thread Maxime Ripard
From: Andre Przywara The Allwinner A64 SoC is a low-cost chip with 4 ARM Cortex-A53 cores and the typical tablet / TV box peripherals. The SoC is based on the (32-bit) Allwinner H3 chip, sharing most of the peripherals and the memory map. Although the cores are proper

[linux-sunxi] Re: [PATCH v3 9/9] arm64: dts: add Pine64 support

2016-10-11 Thread Maxime Ripard
On Mon, Oct 03, 2016 at 11:24:24AM +0100, Andre Przywara wrote: > Hi Maxime, > > thanks for the respin! > > On 03/10/16 09:09, Maxime Ripard wrote: > > From: Andre Przywara > > > > The Pine64 is a cost-efficient development board based on the > > Allwinner A64 SoC. > >

Re: [linux-sunxi] [PATCH 3/5] Input: add driver for Ilitek ili2139 touch IC

2016-10-11 Thread Hans de Goede
Hi, On 10/11/2016 02:33 AM, Icenowy Zheng wrote: This driver adds support for Ilitek ili2139 touch IC, which is used in several Colorfly tablets (for example, Colorfly E708 Q1, which is an Allwinner A31s tablet with mainline kernel support). Theortically it may support more Ilitek touch ICs,

[linux-sunxi] Re: [PATCH 2/9] drm/sun4i: tcon: Move SoC specific quirks to a DT matched data structure

2016-10-11 Thread Maxime Ripard
On Tue, Oct 11, 2016 at 05:16:21PM +0800, Chen-Yu Tsai wrote: > On Fri, Oct 7, 2016 at 4:38 PM, Maxime Ripard > wrote: > > Hi, > > > > On Fri, Oct 07, 2016 at 12:06:22AM +0800, Chen-Yu Tsai wrote: > >> +struct sun4i_tcon_quirks { > >> + boolis_sun5i;

[linux-sunxi] Re: [PATCH 2/9] drm/sun4i: tcon: Move SoC specific quirks to a DT matched data structure

2016-10-11 Thread Chen-Yu Tsai
On Fri, Oct 7, 2016 at 4:38 PM, Maxime Ripard wrote: > Hi, > > On Fri, Oct 07, 2016 at 12:06:22AM +0800, Chen-Yu Tsai wrote: >> +struct sun4i_tcon_quirks { >> + boolis_sun5i; /* sun5i has undocumented mux */ >> + boolhas_channel_1; /* a33

Re: [linux-sunxi] [PATCH 2/5] pwm: Add Allwinner A31 SoC support

2016-10-11 Thread LABBE Corentin
Hello I have a minor comment below On Tue, Oct 11, 2016 at 02:34:46PM +0800, Icenowy Zheng wrote: > This adds a generic PWM framework driver for the PWM controller found > on Allwinner A31 and A31s SoCs. > > The PWM controller is different with other Allwinner SoCs, with a > control register