[PATCH v2 4/6] dt-bindings: List devicetree binding for the CCU of Allwinner A20

2017-03-26 Thread Priit Laes
Allwinner A20 is now driven by sunxi-ng CCU driver. Add devicetree binding for it. Acked-by: Rob Herring Signed-off-by: Priit Laes --- Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/sunxi

[PATCH v2 6/6] clk: sunxi-ng: Display index when clock registration fails

2017-03-26 Thread Priit Laes
Add clock index to clock registration failure message. Signed-off-by: Priit Laes --- drivers/clk/sunxi-ng/ccu_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/sunxi-ng/ccu_common.c b/drivers/clk/sunxi-ng/ccu_common.c index 8a47baf..188fa50 100644

[PATCH v2 1/6] clk: sunxi-ng: Add sun4i/sun7i CCU driver

2017-03-26 Thread Priit Laes
Introduce a clock controller driver for sun4i A10 and sun7i A20 series SoCs. Signed-off-by: Priit Laes --- drivers/clk/sunxi-ng/Kconfig | 13 +- drivers/clk/sunxi-ng/Makefile |1 +- drivers/clk/sunxi-ng/ccu-sunxi-a10-a20.c | 1532

[PATCH v2 5/6] dt-bindings: List devicetree binding for the CCU of Allwinner A10

2017-03-26 Thread Priit Laes
Allwinner A10 is now driven by sunxi-ng CCU driver. Add devicetree binding for it. Signed-off-by: Priit Laes --- Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/sunxi-ccu.txt b/Documentation

Re: [linux-sunxi] Re: [PATCH v2 1/6] clk: sunxi-ng: Add sun4i/sun7i CCU driver

2017-04-20 Thread Priit Laes
On Fri, Apr 07, 2017 at 03:38:05PM +0200, Maxime Ripard wrote: > Hi Priit, > > On Tue, Apr 04, 2017 at 08:09:19PM +0000, Priit Laes wrote: > > > > +/* Not documented on A10 */ > > > > +static SUNXI_CCU_GATE(pll_periph_sata_clk, "

[PATCH v4 0/6] ARM: sunxi: Convert sun4i/sun7i series SoCs to sunxi-ng CCU

2017-06-25 Thread Priit Laes
previously unimplemented clocks. - Document the audio pll hardcoded post-divider - Add Acked-by: Rob Herring on patch 4 Priit Laes (6): clk: sunxi-ng: div: Add support for fixed post-divider clk: sunxi-ng: Add sun4i/sun7i CCU driver dt-bindings: List devicetree binding for the CCU of Allwinner

[PATCH v4 4/6] dt-bindings: List devicetree binding for the CCU of Allwinner A10

2017-06-25 Thread Priit Laes
Allwinner A10 is now driven by sunxi-ng CCU driver. Add devicetree binding for it. Acked-by: Rob Herring Signed-off-by: Priit Laes --- Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/sunxi

[PATCH v4 1/6] clk: sunxi-ng: div: Add support for fixed post-divider

2017-06-25 Thread Priit Laes
SATA clock on sun4i/sun7i is of type (parent) / M / 6 where 6 is fixed post-divider. Signed-off-by: Priit Laes --- drivers/clk/sunxi-ng/ccu_div.c | 12 ++-- drivers/clk/sunxi-ng/ccu_div.h | 3 ++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/clk/sunxi-ng

[PATCH v4 6/6] ARM: sun4i: Convert to CCU

2017-06-25 Thread Priit Laes
Convert sun4i-a10.dtsi to new CCU driver. Tested on Gemei G9 tablet. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun4i-a10.dtsi | 643 +++- 1 file changed, 72 insertions(+), 571 deletions(-) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts

[PATCH v4 3/6] dt-bindings: List devicetree binding for the CCU of Allwinner A20

2017-06-25 Thread Priit Laes
Allwinner A20 is now driven by sunxi-ng CCU driver. Add devicetree binding for it. Acked-by: Rob Herring Signed-off-by: Priit Laes --- Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/sunxi

[PATCH v4 2/6] clk: sunxi-ng: Add sun4i/sun7i CCU driver

2017-06-25 Thread Priit Laes
Introduce a clock controller driver for sun4i A10 and sun7i A20 series SoCs. Signed-off-by: Priit Laes --- drivers/clk/sunxi-ng/Kconfig | 14 +- drivers/clk/sunxi-ng/Makefile |1 +- drivers/clk/sunxi-ng/ccu-sun4i-a10.c | 1446 ++- drivers

[PATCH v4 5/6] ARM: sun7i: Convert to CCU

2017-06-25 Thread Priit Laes
Convert sun7i-a20.dtsi to new CCU driver. Tested on Cubietruck. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun7i-a20.dtsi | 719 +++- 1 file changed, 84 insertions(+), 635 deletions(-) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20

Re: [linux-sunxi] [PATCH v4 1/6] clk: sunxi-ng: div: Add support for fixed post-divider

2017-06-25 Thread Priit Laes
1 0 0 ahb-sata 11 3 0 0 > > On 26 June 2017 at 06:45, Priit Laes wrote: > > SATA clock on sun4i/sun7i is of type (parent) / M / 6 where > > 6 is fixed post-divider. > > > > Signed-off-by: Priit

Re: [linux-sunxi] [PATCH 3/4] ARM: sun7i: Convert to CCU

2017-03-01 Thread Priit Laes
On Tue, 2017-02-28 at 14:01 -0300, Emilio López wrote: > Hi, > > I spotted a couple of things here on a quick look, see below > > El 27/02/17 a las 18:09, Priit Laes escribió: > > Convert sun7i-a20.dtsi to new CCU driver. > > > > > > Signed-off-by: Pri

Re: [linux-sunxi] Re: [PATCH 2/4] clk: sunxi-ng: Add sun7i-a20 CCU driver

2017-03-01 Thread Priit Laes
On Tue, 2017-02-28 at 09:21 +0100, Maxime Ripard wrote: > Hi, > > On Mon, Feb 27, 2017 at 11:09:12PM +0200, Priit Laes wrote: > > Introduce a clock controller driver for sun7i A20 SoC. > > > > > > Signed-off-by: Priit Laes > > --- > >  drivers/clk/s

[PATCH] clk: sunxi-ng: sun5i: Fix mux width for csi clock

2017-03-02 Thread Priit Laes
Mux for CSI clock is 3 bits, not 2. Signed-off-by: Priit Laes --- drivers/clk/sunxi-ng/ccu-sun5i.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi-ng/ccu-sun5i.c b/drivers/clk/sunxi-ng/ccu-sun5i.c index 06edaa5..5c476f9 100644 --- a/drivers/clk/sunxi-ng/ccu

[PATCH 1/8] ARM: sunxi_defconfig: Enable simple panel

2017-02-11 Thread Priit Laes
From: Jonathan Liu Signed-off-by: Jonathan Liu --- arch/arm/configs/sunxi_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index da92c25..7abe6a4 100644 --- a/arch/arm/configs/sunxi_defconfig +++

[PATCH 5/8] drm/sun4i: Add encoder type argument to sun4i_tcon0_mode_set

2017-02-11 Thread Priit Laes
Depending on the output type, we have to enable/disable some bits conditionally. Signed-off-by: Priit Laes --- drivers/gpu/drm/sun4i/sun4i_rgb.c | 2 +- drivers/gpu/drm/sun4i/sun4i_tcon.c | 3 ++- drivers/gpu/drm/sun4i/sun4i_tcon.h | 3 ++- 3 files changed, 5 insertions(+), 3 deletions

[PATCH 3/8] drm/panel: simple: Add support for LG LP097x02-slq2 panel

2017-02-11 Thread Priit Laes
Add simple-panel support for the LG LP097x02-slq2, which is 10" 1024x768 LVDS panel. Signed-off-by: Priit Laes --- drivers/gpu/drm/panel/panel-simple.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/

[PATCH 0/8] drm/sun4i: Add basic LVDS support for A10

2017-02-11 Thread Priit Laes
to properly set up LVDS reset controller. --- Jonathan Liu (1): ARM: sunxi_defconfig: Enable simple panel Priit Laes (7): ARM: sun4i: Add display blocks for the sun4i dtsi. drm/panel: simple: Add support for LG LP097x02-slq2 panel drm/sun4i: Add optional 'mode' property to TCON drm/sun4i: Add

[PATCH 8/8] ARM: dts: sun4i: gemei-g9: Add LVDS display support

2017-02-11 Thread Priit Laes
Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun4i-a10-gemei-g9.dts | 95 +--- 1 file changed, 86 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts b/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts index 9616cde..c19f906 100644

[PATCH 7/8] drm/sun4i: Add various bits and pieces to enable LVDS support on sun4i

2017-02-11 Thread Priit Laes
TODO: We still rely on u-boot for lvds reset bit setup :( Signed-off-by: Priit Laes --- drivers/gpu/drm/sun4i/sun4i_lvds.c | 29 drivers/gpu/drm/sun4i/sun4i_tcon.c | 54 -- drivers/gpu/drm/sun4i/sun4i_tcon.h | 15 +++ 3 files

[PATCH 6/8] drm/sun4i: Add initial LVDS stub

2017-02-11 Thread Priit Laes
Signed-off-by: Priit Laes --- drivers/gpu/drm/sun4i/Makefile | 1 + drivers/gpu/drm/sun4i/sun4i_lvds.c | 247 + drivers/gpu/drm/sun4i/sun4i_lvds.h | 15 +++ 3 files changed, 263 insertions(+) create mode 100644 drivers/gpu/drm/sun4i/sun4i_lvds.c

[PATCH 4/8] drm/sun4i: Add optional 'mode' property to TCON

2017-02-11 Thread Priit Laes
Add variable to enable either 'rgb' or 'lvds' output. Signed-off-by: Priit Laes --- Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt b/Documentation/devicetree

[PATCH 2/8] ARM: sun4i: Add display blocks for the sun4i dtsi.

2017-02-11 Thread Priit Laes
Added basic display pipeline consisting of tcon, display backend and frontend blocks. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun4i-a10.dtsi | 104 +++ 1 file changed, 104 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot

Re: [linux-sunxi] Re: [PATCH 2/8] ARM: sun4i: Add display blocks for the sun4i dtsi.

2017-02-13 Thread Priit Laes
On Mon, 2017-02-13 at 17:20 +0800, Chen-Yu Tsai wrote: > On Mon, Feb 13, 2017 at 5:16 PM, Maxime Ripard > wrote: > > Hi, > > > > On Sat, Feb 11, 2017 at 07:43:59PM +0200, Priit Laes wrote: > > > Added basic display pipeline consisting of tcon, display backen

[PATCH 0/4] ARM: dts: Add Parvus Duracor C310 board support

2017-02-19 Thread Priit Laes
Add basic devicetree files for Parvus Duracor C310 which is a custom carrier with MXM3 connector for SMARC module. SMARC module used in C310 is manufactured by Kontron AG. Priit Laes (4): arm: defconfig: imx6: Added CONFIG_FHANDLE devicetree: Add vendor prefix for Kontron AG arm: dts: imx

[PATCH 2/4] devicetree: Add vendor prefix for Kontron AG

2017-02-19 Thread Priit Laes
Kontron AG is a German-based company designing and manufacturing embedded modules, computers and systems. Signed-off-by: Priit Laes --- Documentation/devicetree/bindings/vendor-prefixes.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings

[PATCH 1/4] arm: defconfig: imx6: Added CONFIG_FHANDLE

2017-02-19 Thread Priit Laes
CONFIG_FHANDLE is a must-have for newer distributions with systemd support (including Debian stable). Signed-off-by: Priit Laes --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs

[PATCH 4/4] arm: dts: imx: Basic board definition for Parvus Duracor C310

2017-02-19 Thread Priit Laes
The DuraCOR 310 is a tactical mission computer based on a low-power four-core NXP i.MX6 Quad Arm processor equipped with a rugged Flash disk and PCIe-Mini Card I/O expansion slots. Add initial board support with CAN, eMMC, I2C, PCI, SATA, UART and USB enabled. Signed-off-by: Priit Laes

[PATCH 3/4] arm: dts: imx: Add iMX6Q-based Kontron SMARC-sAMX6i module

2017-02-19 Thread Priit Laes
SMARC-sAMX6i is a SMARC (Smart Mobility Architecture) compliant module. Signed-off-by: Priit Laes --- arch/arm/boot/dts/imx6q-smarc-sam6xi.dtsi | 434 ++ 1 file changed, 434 insertions(+) create mode 100644 arch/arm/boot/dts/imx6q-smarc-sam6xi.dtsi diff --git

[PATCH 4/4] dt-bindings: List devicetree binding for the CCU of Allwinner A20

2017-02-27 Thread Priit Laes
Allwinner A20 is now driven by sunxi-ng CCU driver. Add devicetree binding for it. Signed-off-by: Priit Laes --- Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/sunxi-ccu.txt b/Documentation

[PATCH 0/4] ARM: sun7i: Convert sun7i SoC to sunxi-ng

2017-02-27 Thread Priit Laes
Hi, This is serie brings another SoC into the sunxi-ng world. As mentioned in sun5i conversion, this is pretty much standard stuff as all the required clocks were already implemented in the sunxi-ng framework. Priit Laes (4): clk: sunxi-ng: Add clocks and reset indices for sun7i-a20 SoC

[PATCH 2/4] clk: sunxi-ng: Add sun7i-a20 CCU driver

2017-02-27 Thread Priit Laes
Introduce a clock controller driver for sun7i A20 SoC. Signed-off-by: Priit Laes --- drivers/clk/sunxi-ng/Kconfig | 11 + drivers/clk/sunxi-ng/Makefile|1 + drivers/clk/sunxi-ng/ccu-sun7i-a20.c | 1068 ++ drivers/clk/sunxi-ng/ccu-sun7i-a20.h

[PATCH 3/4] ARM: sun7i: Convert to CCU

2017-02-27 Thread Priit Laes
Convert sun7i-a20.dtsi to new CCU driver. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun7i-a20.dtsi | 719 +-- 1 file changed, 86 insertions(+), 633 deletions(-) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index

[PATCH 1/4] clk: sunxi-ng: Add clocks and reset indices for sun7i-a20 SoC

2017-02-27 Thread Priit Laes
Add preliminary list of exported clocks and reset indices for sun7i-a20 SoC, based on existing sun7i-a20 devicetree implementation. Signed-off-by: Priit Laes --- include/dt-bindings/clock/sun7i-ccu.h | 127 ++ include/dt-bindings/reset/sun7i-ccu.h | 40

Re: [linux-sunxi] [PATCH 0/9] mfd: axp20x: Add support for AXP809 PMIC

2016-08-21 Thread Priit Laes
On Sun, 2016-08-21 at 10:11 +0800, Chen-Yu Tsai wrote: > Hi everyone, > > This series adds support for X-Powers' AXP806 PMIC. This is the > secondary > PMIC accompanying Allwinner's A80 SoC. For now, only the regulators > are > supported. While the AXP806 supports standalone operation, no >

[PATCH 0/5] ARM: sunxi: Convert sun4i/sun7i series SoCs to sunxi-ng CCU

2017-04-26 Thread Priit Laes
hardcoded post-divider - Add Acked-by: Rob Herring on patch 4 Priit Laes (5): clk: sunxi-ng: Add sun4i/sun7i CCU driver dt-bindings: List devicetree binding for the CCU of Allwinner A20 dt-bindings: List devicetree binding for the CCU of Allwinner A10 ARM: sun7i: Convert to CCU ARM

[PATCH v3 0/5] ARM: sunxi: Convert sun4i/sun7i series SoCs to sunxi-ng CCU

2017-04-26 Thread Priit Laes
hardcoded post-divider - Add Acked-by: Rob Herring on patch 4 Priit Laes (5): clk: sunxi-ng: Add sun4i/sun7i CCU driver dt-bindings: List devicetree binding for the CCU of Allwinner A20 dt-bindings: List devicetree binding for the CCU of Allwinner A10 ARM: sun7i: Convert to CCU ARM

[PATCH v3 3/5] dt-bindings: List devicetree binding for the CCU of Allwinner A10

2017-04-26 Thread Priit Laes
Allwinner A10 is now driven by sunxi-ng CCU driver. Add devicetree binding for it. Acked-by: Rob Herring Signed-off-by: Priit Laes --- Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/sunxi

[PATCH v3 4/5] ARM: sun7i: Convert to CCU

2017-04-26 Thread Priit Laes
Convert sun7i-a20.dtsi to new CCU driver. Tested on Cubietruck. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun7i-a20.dtsi | 720 +++- 1 file changed, 86 insertions(+), 634 deletions(-) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20

[PATCH v3 1/5] clk: sunxi-ng: Add sun4i/sun7i CCU driver

2017-04-26 Thread Priit Laes
Introduce a clock controller driver for sun4i A10 and sun7i A20 series SoCs. Signed-off-by: Priit Laes -- Changes since v2: - Rename driver to sun4i-a10 --- drivers/clk/sunxi-ng/Kconfig | 14 +- drivers/clk/sunxi-ng/Makefile |1 +- drivers/clk/sunxi-ng/ccu-sun4i

[PATCH v3 2/5] dt-bindings: List devicetree binding for the CCU of Allwinner A20

2017-04-26 Thread Priit Laes
Allwinner A20 is now driven by sunxi-ng CCU driver. Add devicetree binding for it. Acked-by: Rob Herring Signed-off-by: Priit Laes --- Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/sunxi

[PATCH v3 5/5] ARM: sun4i: Convert to CCU

2017-04-26 Thread Priit Laes
Convert sun4i-a10.dtsi to new CCU driver. Tested on Gemei G9 tablet. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun4i-a10.dtsi | 645 +++- 1 file changed, 74 insertions(+), 571 deletions(-) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts

Re: [linux-sunxi] Re: [PATCH v2 1/6] clk: sunxi-ng: Add sun4i/sun7i CCU driver

2017-04-04 Thread Priit Laes
On Mon, Mar 27, 2017 at 09:54:38AM +0200, Maxime Ripard wrote: > Hi, > > Thanks a lot for working on this. > > On Sun, Mar 26, 2017 at 08:20:16PM +0300, Priit Laes wrote: > > Introduce a clock controller driver for sun4i A10 and sun7i A20 > > series SoCs. > &g

[PATCH] clk: sunxi-ng: Display index when clock registration fails

2017-04-05 Thread Priit Laes
Add clock index to clock registration failure message. Clock name is sometimes not available, when things go really wrong. Signed-off-by: Priit Laes --- drivers/clk/sunxi-ng/ccu_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/sunxi-ng/ccu_common.c b

Re: [linux-sunxi] [PATCH v2 04/14] ASoC: sun4i-codec: Increase DMA max burst to 8

2016-11-03 Thread Priit Laes
On Thu, 2016-11-03 at 15:55 +0800, Chen-Yu Tsai wrote: > According to the DMA engine API documentation, maxburst denotes the > largest possible size of a single transfer, so as not to overflow > destination FIFOs as explained in this excerpt from dmaengine.h > >  * @src_maxburst: the maximum

Re: [linux-sunxi] [PATCH 00/11] clk: sunxi-ng: Add support for A80 CCUs

2017-01-23 Thread Priit Laes
On Tue, 2017-01-24 at 10:32 +0800, Chen-Yu Tsai wrote: > Hi everyone, Hi! Thanks for working on that! You might want to bump the copyright year starting from patch 5. [...] Päikest, Priit Laes

Re: [linux-sunxi] Re: [PATCH v4 01/11] clk: sunxi: Add display and TCON0 clocks driver

2016-05-11 Thread Priit Laes
On Wed, 2016-05-11 at 15:15 -0700, Stephen Boyd wrote: > On 05/10, Priit Laes wrote: > > > > On Mon, 2016-05-09 at 15:39 -0700, Stephen Boyd wrote: > > > > > > On 05/09, Stephen Boyd wrote: > > > > > > > > > > > > >

Re: [linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-03 Thread Priit Laes
On Tue, 2016-05-03 at 17:52 +0200, Olliver Schinagl wrote: > Hey all, > > On 03-05-16 17:02, christo.ra...@gmail.com wrote: > > On Tuesday, May 3, 2016 at 4:14:41 PM UTC+3, Maxime Ripard wrote: > > > Hi, > > > > > > On Tue, May 03, 2016 at 4:12:06 PM UTC+3, Christo Radev wrote: > > > > Hi to

[PATCH v2] ARM: sun7i: dt: Add pll3 and pll7 clocks

2016-05-05 Thread Priit Laes
Enable pll3 and pll7 clocks that are needed by display clocks. Signed-off-by: Priit Laes --- v2: - Fix typos in clocks property (spotted by Alexander Syring) - Fix indentation (spotted by Maxime Ripard) arch/arm/boot/dts/sun7i-a20.dtsi | 41 1 file

Re: [linux-sunxi] Re: [PATCH v4 01/11] clk: sunxi: Add display and TCON0 clocks driver

2016-05-10 Thread Priit Laes
On Mon, 2016-05-09 at 15:39 -0700, Stephen Boyd wrote: > On 05/09, Stephen Boyd wrote: > > > > > > Ok I applied this one to clk-next. > > > And I squashed this in to silence the following checker warning. > > drivers/clk/sunxi/clk-sun4i-display.c:110:33: warning: Variable > length array is

[PATCH 1/2] ARM: sun4i: A10: Add display and TCON clocks

2016-05-10 Thread Priit Laes
Enable the display and TCON clocks that are needed to drive the display engine, tcon and TV encoders. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun4i-a10.dtsi | 91 1 file changed, 84 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH 2/2] ARM: sun7i: A20: Add display and TCON clocks

2016-05-10 Thread Priit Laes
Enable the display and TCON clocks that are needed to drive the display engine, tcon and TV encoders. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun7i-a20.dtsi | 85 +--- 1 file changed, 80 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH 0/2] ARM: dts: sunxi: Add display clocks to sun[47]i.dtsi

2016-05-10 Thread Priit Laes
). Priit Laes (2): ARM: sun4i: A10: Add display and TCON clocks ARM: sun7i: A20: Add display and TCON clocks arch/arm/boot/dts/sun4i-a10.dtsi | 91 arch/arm/boot/dts/sun7i-a20.dtsi | 85 ++--- 2 files changed, 164

[PATCH 0/2] ARM: dts: sunxi: Add pll3 and pll7 clock to sun[47]i.dtsi

2016-05-03 Thread Priit Laes
Enable the pll3 and pll7 clocks in the DT that are used to drive the display-related clocks. Priit Laes (2): ARM: sun4i: dt: Add pll3 and pll7 clocks ARM: sun7i: dt: Add pll3 and pll7 clocks arch/arm/boot/dts/sun4i-a10.dtsi | 44 arch/arm/boot/dts

[PATCH 2/2] ARM: sun7i: dt: Add pll3 and pll7 clocks

2016-05-03 Thread Priit Laes
Enable pll3 and pll7 clocks that are needed by display clocks. --- arch/arm/boot/dts/sun7i-a20.dtsi | 41 1 file changed, 41 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index bf5d056..2688512 100644 ---

[PATCH 1/2] ARM: sun4i: dt: Add pll3 and pll7 clocks

2016-05-03 Thread Priit Laes
Enable pll3 and pll7 clocks that are needed to drive display clocks. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun4i-a10.dtsi | 44 1 file changed, 44 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi

Re: [linux-sunxi] [PATCH v2 2/5] clk: sunxi: Add driver for the H3 THS clock

2015-11-23 Thread Priit Laes
On Mon, 2015-11-23 at 09:02 +0100, Josef Gajdusek wrote: > This patch adds a driver for the THS clock which is present on the > Allwinner H3. > > Signed-off-by: Josef Gajdusek > --- >  Documentation/devicetree/bindings/clock/sunxi.txt |  1 + >  drivers/clk/sunxi/Makefile| 

[PATCH 0/2] input: Driver for Goodix GT801 2+1 touchscreen

2015-12-06 Thread Priit Laes
. Patch 1 (Gemei G9 devicetree bits) should go via linux-sunxi tree. Patch 2 (GT801 2+1 driver implementation) via linux-input Priit Laes (2): ARM: dts: sun4i: gemei-g9: Add touchscreen (Goodix gt801x2) support input: gt801_2plus1 - Add initial support for Goodix GT801 2+1 .../bindings/input

[PATCH 2/2] input: gt801_2plus1 - Add initial support for Goodix GT801 2+1

2015-12-06 Thread Priit Laes
This patch adds Goodix GT801 2+1 touchscreen controller support. GT801 2+1 is a 10-finger touch controller consisting of ARM controller interfacing two GT801 5-finger controllers. Signed-off-by: Priit Laes --- .../bindings/input/touchscreen/gt801_2plus1.txt| 23 ++ MAINTAINERS

[PATCH 1/2] ARM: dts: sun4i: gemei-g9: Add touchscreen (Goodix gt801x2) support

2015-12-06 Thread Priit Laes
Goodix GT801 2+1 is a touchscreen controller supporting up to 10 touches. Enable pin and wakeup pin support is currently not implemented: - enable pin (PI16, specified in FEX) seems to be wrong - wakeup pin needs some additional reverse engineering work Signed-off-by: Priit Laes --- arch/arm

Re: [PATCH 2/2] input: gt801_2plus1 - Add initial support for Goodix GT801 2+1

2015-12-07 Thread Priit Laes
gt; > > > [auto build test WARNING on mripard/sunxi/for-next] > > [also build test WARNING on next-20151203] > > [cannot apply to input/next v4.4-rc4] > > > > url:    https://github.com/0day-ci/linux/commits/Priit-Laes/input-D > river-for-Goodix-GT801-2-1-touchsc

Re: [linux-sunxi] [PATCH 01/23] mtd: kill the ecclayout->oobavail field

2015-12-07 Thread Priit Laes
oobsize = mtd->oobsize; >   > @@ -2063,7 +2063,7 @@ static int onenand_write_oob_nolock(struct > mtd_info *mtd, loff_t to, >   ops->oobretlen = 0; >   >   if (mode == MTD_OPS_AUTO_OOB) > - oobsize = this->ecclayout->oobavail; > + oobsize = mtd->oobavail; >   else >   oobsize = mtd->oobsize; This identical construction seems to occur multiple times in multiple files. Would it make sense to create a macro for it? Päikest, Priit Laes :) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [linux-sunxi] [PATCH resend v2 4/9] regulator: axp20x: support AXP809 variant

2016-03-29 Thread Priit Laes
On Tue, 2016-03-29 at 17:22 +0800, Chen-Yu Tsai wrote: > The X-Powers AXP809 PMIC has a similar set of regulators as the > AXP221, > though a few LDOs were removed, and a new switch output added. Like > the > AXP221, AXP809 also has DC1SW and DC5LDO, which are internally > chained > to DCDC1 and

[PATCH 2/2] ARM: sun7i: dt: Enable dram gate 5 (tve0 clock) for simplefb TV output

2016-03-24 Thread Priit Laes
From: Priit Laes Seems like dram_gate 5 was forgotten when DRAM gating driver was added. Enable it. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun7i-a20.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts

[PATCH 0/2] ARM: sunxi: dt: Add missing DRAM gate clock for simplefb TV output

2016-03-24 Thread Priit Laes
From: Priit Laes DRAM gating driver commit for sun[47]i seems to be missing DRAM gate bit 5 for simplefb TV output node. Add it. Priit Laes (2): ARM: sun4i: dt: Enable dram gate 5 (tve0 clock) for simplefb TV output ARM: sun7i: dt: Enable dram gate 5 (tve0 clock) for simplefb TV output

[PATCH 1/2] ARM: sun4i: dt: Enable dram gate 5 (tve0 clock) for simplefb TV output

2016-03-24 Thread Priit Laes
From: Priit Laes Seems like dram_gate 5 was forgotten when DRAM gate driver was added. Enable it. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun4i-a10.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10

[PATCH v2 1/2] ARM: sun4i: dt: Enable dram gate 5 (tve0 clock) for simplefb TV output

2016-03-24 Thread Priit Laes
Seems like dram_gate 5 was forgotten when DRAM gate driver was added. Enable it. Cc: sta...@vger.kernel.org Fixes: 82f8582feef4 (ARM: dts: sun4i: Add DRAM gates) Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun4i-a10.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 2/2] ARM: sun7i: dt: Enable dram gate 5 (tve0 clock) for simplefb TV output

2016-03-24 Thread Priit Laes
Seems like dram_gate 5 was forgotten when DRAM gating driver was added. Add it. Cc: sta...@vger.kernel.org Fixes: 0b4bf5a5200b (ARM: dts: sun7i: Add DRAM gates) Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun7i-a20.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH v2 0/2] ARM: sunxi: dt: Add missing DRAM gate clock for simplefb TV output

2016-03-24 Thread Priit Laes
DRAM gating driver commit for sun[47]i seems to be missing DRAM gate bit 5 for simplefb TV output node. Add it. v2 changes: - Added Cc:stable and Fixes tags Priit Laes (2): ARM: sun4i: dt: Enable dram gate 5 (tve0 clock) for simplefb TV output ARM: sun7i: dt: Enable dram gate 5 (tve0 clock

Re: [linux-sunxi] [PATCH v4 13/13] ARM: sunxi: Add Kconfig for sunxi clocks

2016-03-19 Thread Priit Laes
On Thu, 2016-03-17 at 00:04 +0800, Vishnu Patekar wrote: > This patch adds Kconfig for sunxi clocks. > Currently, only sun8i-apb0 and sun9i-cpus clocks are added. > It'll help to use common clocks across different SOCs. > We can switch to kconfig for other clocks in future. > > Signed-off-by:

Re: [linux-sunxi] [PATCH] dma: sun4i: expose block size and wait cycle configuration to DMA users

2016-03-07 Thread Priit Laes
On Mon, 2016-03-07 at 10:59 +0100, Boris Brezillon wrote: > Some drivers might need to tweak the block size and wait cycles > values > to get better performances. > Create and export the sun4i_dma_set_chan_config() to do that. > > Signed-off-by: Boris Brezillon > --- > drivers/dma/sun4i-dma.c

Re: [linux-sunxi] Re: [PATCH] dma: sun4i: expose block size and wait cycle configuration to DMA users

2016-03-08 Thread Priit Laes
On Tue, 2016-03-08 at 09:46 +0100, Boris Brezillon wrote: > On Tue, 8 Mar 2016 08:51:31 +0100 > Maxime Ripard wrote: > > > On Tue, Mar 08, 2016 at 08:25:47AM +0530, Vinod Koul wrote: > > > On Mon, Mar 07, 2016 at 09:30:24PM +0100, Maxime Ripard wrote: > > > > On Mon, Mar 07, 2016 at 04:08:57PM

[PATCH RESEND 0/2] spi: sun4i: add DMA support

2016-02-25 Thread Priit Laes
While trying to get SPI TFT screen working with Cubietruck, I noticed that at current state driver didn't actually support SPI data bursts bigger than n bytes (n is probably ~64 bytes). Patches below were sent to mailinglists a while ago (May 2015) but apparently were not addressed to correct

[PATCH 1/2] spi: sun4i: add DMA support

2016-02-25 Thread Priit Laes
From: Emilio López This patch adds support for 64 byte or bigger transfers on the sun4i SPI controller. Said transfers will be performed via DMA. Signed-off-by: Emilio López Tested-by: Michal Suchanek Tested-by: Priit Laes --- drivers/spi/spi-sun4i.c | 140

[PATCH 2/2] ARM: sunxi: spi: add notice about SPI FIFO limit.

2016-02-25 Thread Priit Laes
From: Michal Suchanek When testing SPI without DMA I noticed that filling the FIFO on the spi controller causes timeout. This should never happen with DMA support so just adding a comment. Signed-off-by: Michal Suchanek --- drivers/spi/spi-sun4i.c | 4 +++- 1 file changed, 3 insertions(+), 1

Re: [linux-sunxi] Re: [PATCH 5/5] RFC spi: sun4i: add DMA support

2016-06-01 Thread Priit Laes
On Wed, 2016-06-01 at 20:00 +0200, Maxime Ripard wrote: > Hi, > > On Mon, May 30, 2016 at 04:50:16PM +0100, Mark Brown wrote: > > > > On Mon, May 30, 2016 at 05:28:10PM +0200, Michal Suchanek wrote: > > > > > > On 30 May 2016 at 17:03, Mark Brown wrote: > > > > > > > > > > > I really don't

Re: [linux-sunxi] [PATCH 0/2] ASoC: Add support for the Allwinner A10 codec

2015-09-22 Thread Priit Laes
On Sat, 2015-09-12 at 15:26 +0200, Maxime Ripard wrote: > Hi everyone, > > This patch set adds the support for what Allwinner calls the codec on > their SoCs. > > This codec is actually a combination of a codec and DAI, tied > together > in a single memory-mapped IP. It is completely standalone,

Re: [linux-sunxi] [PATCH v2 00/26] drm: Add Allwinner A10 display engine support

2016-02-20 Thread Priit Laes
On Thu, 2016-01-14 at 16:24 +0100, Maxime Ripard wrote: > Hi everyone, > > The Allwinner SoCs (except for the very latest ones) all share the > same set of controllers, loosely coupled together to form the display > pipeline. > > Depending on the SoC, the number of instances of the controller

[PATCH 00/13] staging: fbtft - Use standard MIPI DCS defines

2015-12-20 Thread Priit Laes
Hello all! This patchset converts most of the magic constants and driver-specific defines to treewide MIPI DCS defines where applicable. Please note that this patchset is mostly compile-tested, as I do not have access to most of the hardware. Priit Laes (13): staging: fbtft: Use standard MIPI

[PATCH 06/13] staging: fbtft: Use standard MIPI DCS command defines for ili9341

2015-12-20 Thread Priit Laes
This patch makes use of the standard MIPI Display Command Set to remove some of the magic constants found in source code. Signed-off-by: Priit Laes --- drivers/staging/fbtft/fb_ili9341.c | 50 +++--- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git

[PATCH 02/13] staging: fbtft: Use standard MIPI DCS command defines for hx8353d

2015-12-20 Thread Priit Laes
This patch makes use of the standard MIPI Display Command Set to remove some of the magic constants found in source code. Signed-off-by: Priit Laes --- drivers/staging/fbtft/fb_hx8353d.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/drivers/staging

[PATCH 11/13] staging: fbtft: Use standard MIPI DCS command defines for fbtft driver

2015-12-20 Thread Priit Laes
This patch makes use of the standard MIPI Display Command Set to remove some of the magic constants found in source code. Signed-off-by: Priit Laes --- drivers/staging/fbtft/fbtft-core.c | 14 +++ drivers/staging/fbtft/fbtft_device.c | 71 2 files

[PATCH 04/13] staging: fbtft: Use standard MIPI DCS command defines for ili9163

2015-12-20 Thread Priit Laes
This patch makes use of the standard MIPI Display Command Set to remove some of the magic constants found in source code. Signed-off-by: Priit Laes --- drivers/staging/fbtft/fb_ili9163.c | 86 ++ 1 file changed, 32 insertions(+), 54 deletions(-) diff --git

[PATCH 10/13] staging: fbtft: Use standard MIPI DCS command defines for st7735r

2015-12-20 Thread Priit Laes
This patch makes use of the standard MIPI Display Command Set to remove some of the magic constants found in source code. Signed-off-by: Priit Laes --- drivers/staging/fbtft/fb_st7735r.c | 42 ++ 1 file changed, 20 insertions(+), 22 deletions(-) diff --git

[PATCH 08/13] staging: fbtft: Use standard MIPI DCS command defines for ili9486

2015-12-20 Thread Priit Laes
This patch makes use of the standard MIPI Display Command Set to remove some of the magic constants found in source code. Signed-off-by: Priit Laes --- drivers/staging/fbtft/fb_ili9486.c | 35 ++- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git

[PATCH 12/13] staging: fbtft: Use standard MIPI DCS command defines for tinylcd

2015-12-20 Thread Priit Laes
This patch makes use of the standard MIPI Display Command Set to remove some of the magic constants found in source code. Signed-off-by: Priit Laes --- drivers/staging/fbtft/fb_tinylcd.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers

[PATCH 13/13] staging: fbtft: Remove unused and duplicated defines

2015-12-20 Thread Priit Laes
This patch makes use of the standard MIPI Display Command Set to remove some of duplicate defines from the headers. Signed-off-by: Priit Laes --- drivers/staging/fbtft/fb_hx8357d.h | 32 drivers/staging/fbtft/fbtft.h | 8 2 files changed, 40

[PATCH 09/13] staging: fbtft: Use standard MIPI DCS command defines for s6d02a1

2015-12-20 Thread Priit Laes
This patch makes use of the standard MIPI Display Command Set to remove some of the magic constants found in source code. Signed-off-by: Priit Laes --- drivers/staging/fbtft/fb_s6d02a1.c | 42 +- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git

[PATCH 03/13] staging: fbtft: Use standard MIPI DCS command defines for hx8357d

2015-12-20 Thread Priit Laes
This patch makes use of the standard MIPI Display Command Set to remove some of the magic constants found in source code. Signed-off-by: Priit Laes --- drivers/staging/fbtft/fb_hx8357d.c | 38 ++ 1 file changed, 18 insertions(+), 20 deletions(-) diff --git

[PATCH 05/13] staging: fbtft: Use standard MIPI DCS command defines for ili9340

2015-12-20 Thread Priit Laes
This patch makes use of the standard MIPI Display Command Set to remove some of the magic constants found in source code. Signed-off-by: Priit Laes --- drivers/staging/fbtft/fb_ili9340.c | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/drivers

[PATCH 07/13] staging: fbtft: Use standard MIPI DCS command defines for ili9481

2015-12-20 Thread Priit Laes
This patch makes use of the standard MIPI Display Command Set to remove some of the magic constants found in source code. Signed-off-by: Priit Laes --- drivers/staging/fbtft/fb_ili9481.c | 30 +- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/drivers

[PATCH 01/13] staging: fbtft: Use standard MIPI DCS command defines for hx8340bn

2015-12-20 Thread Priit Laes
This patch makes use of the standard MIPI Display Command Set to remove some of the magic constants found in source code. Signed-off-by: Priit Laes --- drivers/staging/fbtft/fb_hx8340bn.c | 25 +++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/drivers

Re: [linux-sunxi] [PATCH v2] spi: dts: sun4i: Add support for inter-word wait cycles using the SPI Wait Clock Register

2015-12-12 Thread Priit Laes
On Fri, 2015-12-11 at 23:45 +0100, Marcus Weseloh wrote: [...] > > diff --git a/Documentation/devicetree/bindings/spi/spi-sun4i.txt > b/Documentation/devicetree/bindings/spi/spi-sun4i.txt > index de827f5..d6c55fc 100644 > --- a/Documentation/devicetree/bindings/spi/spi-sun4i.txt > +++

Re: [linux-sunxi] [PATCH v5 0/3] ARM: sunxi: Add support for consumer infrared devices

2014-05-01 Thread Priit Laes
Ühel kenal päeval, K, 30.04.2014 kell 21:16, kirjutas Alexander Bersenev: > This patch introduces Consumer IR(CIR) support for sunxi boards. > > This is based on Alexsey Shestacov's work based on the original driver > supplied by Allwinner. > > Signed-off-by: Alexander Bersenev >

<    1   2   3   4   5