[linux-sunxi] Re: [PATCH v4 5/9] sunxi: add support for Cubietruck booting in FEL mode

2014-05-02 Thread Marek Vasut
On Thursday, May 01, 2014 at 08:40:48 PM, Ian Campbell wrote: Signed-off-by: Oliver Schinagl oli...@schinagl.nl Signed-off-by: Jens Kuske jensku...@gmail.com Signed-off-by: Ian Campbell i...@hellion.org.uk Reviewed-by: Tom Rini tr...@ti.com Reviewed-by: Marek Vasut ma...@denx.de --- v4:

[linux-sunxi] Re: [PATCH v4 8/9] sunxi: non-FEL SPL boot support for sun7i

2014-05-02 Thread Marek Vasut
On Thursday, May 01, 2014 at 08:40:51 PM, Ian Campbell wrote: Add support for booting from an MMC card. Signed-off-by: Stefan Roese s...@denx.de Signed-off-by: Henrik Nordström hen...@henriknordstrom.net Signed-off-by: Ian Campbell i...@hellion.org.uk Cc: Tom Cubie mr.hip...@gmail.com

[linux-sunxi] Re: [PATCH v4 4/9] sunxi: add sun7i cpu, board and start of day support

2014-05-02 Thread Marek Vasut
On Thursday, May 01, 2014 at 08:40:47 PM, Ian Campbell wrote: This patch adds generic board, start of day and basic build system support for the Allwinner A20 (sun7i) processor. This code will not been compiled until the build is hooked up in a later patch. It has been split out to keep the

[linux-sunxi] Re: [PATCH v4 7/9] sunxi: mmc support

2014-05-02 Thread Marek Vasut
On Thursday, May 01, 2014 at 08:40:50 PM, Ian Campbell wrote: This adds support for the MMC controller on the Allwinner A20 (sun7i) processor. Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Luke Leighton l...@lkcl.net Signed-off-by: Oliver Schinagl

[linux-sunxi] Re: [PATCH v4 6/9] sunxi: add gmac Ethernet support

2014-05-02 Thread Marek Vasut
On Thursday, May 01, 2014 at 08:40:49 PM, Ian Campbell wrote: Add support for the GMAC Ethernet controller on Allwinner A20 (sun7i) processors. Enable for the Cubietruck. Signed-off-by: Chen-Yu Tsai w...@csie.org Signed-off-by: Jens Kuske jensku...@gmail.com Signed-off-by: Ian Campbell

[linux-sunxi] Re: [PATCH v5 2/8] dt-bindings: add vendor-prefix for X-Powers

2014-05-02 Thread Carlo Caione
On Fri, May 2, 2014 at 7:24 AM, Michal Simek mon...@monstr.eu wrote: On 05/01/2014 02:29 PM, Carlo Caione wrote: Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[linux-sunxi] Re: [PATCH v5 1/8] mfd: AXP20x: Add mfd driver for AXP20x PMIC

2014-05-02 Thread Lee Jones
This patch introduces the preliminary support for PMICs X-Powers AXP202 and AXP209. The AXP209 and AXP202 are the PMUs (Power Management Unit) used by A10, A13 and A20 SoCs and developed by X-Powers, a sister company of Allwinner. The core enables support for two subsystems: - PEK (Power

Re: [linux-sunxi] Re: [PATCH v5 1/8] mfd: AXP20x: Add mfd driver for AXP20x PMIC

2014-05-02 Thread Carlo Caione
On Fri, May 2, 2014 at 10:15 AM, Lee Jones lee.jo...@linaro.org wrote: This patch introduces the preliminary support for PMICs X-Powers AXP202 and AXP209. The AXP209 and AXP202 are the PMUs (Power Management Unit) used by A10, A13 and A20 SoCs and developed by X-Powers, a sister company of

[linux-sunxi] Re: [U-Boot] [PATCH v4 4/9] sunxi: add sun7i cpu, board and start of day support

2014-05-02 Thread Marc Zyngier
Hi Ian, On 2014-05-01 19:40, Ian Campbell wrote: This patch adds generic board, start of day and basic build system support for the Allwinner A20 (sun7i) processor. This code will not been compiled until the build is hooked up in a later patch. It has been split out to keep the patches

[linux-sunxi] [PATCH 3/3] ARM: sun7i: dt: Add ahci/sata support to pcDuino3 DTS

2014-05-02 Thread Zoltan HERPAI
This patch adds sunxi SATA support to the pcDuino V3 board. Signed-off-by: Zoltan HERPAI wigy...@uid0.hu --- arch/arm/boot/dts/sun7i-a20-pcduino3.dts |9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts

[linux-sunxi] [PATCH 0/3] Add board support for LinkSprite pcDuino V3

2014-05-02 Thread Zoltan HERPAI
The LinkSprite pcDuino V3 is an A20-based revision of the earlier pcDuinos. This series will add support for the board, along with some of its devices where the driver is accepted or soon-to-be-accepted into mainline. Signed-off-by: Zoltan HERPAI wigy...@uid0.hu Zoltan HERPAI (3): ARM: sun7i:

[linux-sunxi] [PATCH 1/3] ARM: sun7i: dt: Add basic board support for LinkSprite pcDuino V3

2014-05-02 Thread Zoltan HERPAI
This patch will add a basic board support DT for the LinkSprite pcDuino V3, which is based on A20. Signed-off-by: Zoltan HERPAI wigy...@uid0.hu --- arch/arm/boot/dts/Makefile |3 +- arch/arm/boot/dts/sun7i-a20-pcduino3.dts | 70 ++ 2 files changed,

Re: [linux-sunxi] [PATCH 0/3] Add board support for LinkSprite pcDuino V3

2014-05-02 Thread Luc Verhaegen
On Fri, May 02, 2014 at 01:45:03PM +0200, Zoltan HERPAI wrote: The LinkSprite pcDuino V3 is an A20-based revision of the earlier pcDuinos. This series will add support for the board, along with some of its devices where the driver is accepted or soon-to-be-accepted into mainline.

[linux-sunxi] Re: [U-Boot] [PATCH v4 4/9] sunxi: add sun7i cpu, board and start of day support

2014-05-02 Thread Ian Campbell
On Fri, 2014-05-02 at 10:45 +0100, Marc Zyngier wrote: #define SUNXI_SRAM_D_BASE 0x01c0 +#define SUNXI_SRAM_B_BASE 0x01c0 /* 64 kiB (secure) */ Can we please fix these last two values which are obviously wrong (at least on sun7i, they point to the SRAM

[linux-sunxi] Re: [PATCH 3/3] ARM: sun7i: dt: Add ahci/sata support to pcDuino3 DTS

2014-05-02 Thread Hans de Goede
Hi, On 05/02/2014 01:45 PM, Zoltan HERPAI wrote: This patch adds sunxi SATA support to the pcDuino V3 board. Signed-off-by: Zoltan HERPAI wigy...@uid0.hu While git am-ing this for the sunxi-devel branch I got the following: /home/hans/projects/sunxi/linux/.git/rebase-apply/patch:15: space

Re: [linux-sunxi] [PATCH 0/3] Add board support for LinkSprite pcDuino V3

2014-05-02 Thread Zoltan HERPAI
On Fri, 2 May 2014, Luc Verhaegen wrote: On Fri, May 02, 2014 at 01:45:03PM +0200, Zoltan HERPAI wrote: The LinkSprite pcDuino V3 is an A20-based revision of the earlier pcDuinos. This series will add support for the board, along with some of its devices where the driver is accepted or

Re: [linux-sunxi] Re: [PATCH 3/3] ARM: sun7i: dt: Add ahci/sata support to pcDuino3 DTS

2014-05-02 Thread Zoltan HERPAI
Hi, On Fri, 2 May 2014, Hans de Goede wrote: While git am-ing this for the sunxi-devel branch I got the following: /home/hans/projects/sunxi/linux/.git/rebase-apply/patch:15: space before tab in indent. status = okay;

Re: [linux-sunxi] Re: [U-Boot] [PATCH v4 4/9] sunxi: add sun7i cpu, board and start of day support

2014-05-02 Thread Marc Zyngier
On 2014-05-02 13:31, Ian Campbell wrote: On Fri, 2014-05-02 at 10:45 +0100, Marc Zyngier wrote: #define SUNXI_SRAM_D_BASE 0x01c0 +#define SUNXI_SRAM_B_BASE 0x01c0 /* 64 kiB (secure) */ Can we please fix these last two values which are obviously wrong (at least

[linux-sunxi] [PATCH v10 04/15] ARM: dts: sun4i: Add mmc controller nodes

2014-05-02 Thread Hans de Goede
From: David Lanzendörfer david.lanzendoer...@o2s.ch Add nodes for the 4 mmc controllers found on A10 SoCs to arch/arm/boot/dts/sun4i-a10.dtsi. Signed-off-by: David Lanzendörfer david.lanzendoer...@o2s.ch Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun4i-a10.dtsi | 36

[linux-sunxi] [PATCH v10 08/15] ARM: dts: sun5i: Enable mmc controller on various A10s and A13 boards

2014-05-02 Thread Hans de Goede
The cd pin settings have been taken from the original firmware fex files, and have been confirmed to work on the actual boards. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 32

[linux-sunxi] [PATCH v10 11/15] ARM: dts: sun6i: Add new sun6i-a31-m9 dts file for Mele M9

2014-05-02 Thread Hans de Goede
Add a new sun6i-a31-m9 dts file for the Mele M9 / Mele A1000G Quad. These HTPCs use the same board in a different case, for more details see: http://linux-sunxi.org/Mele_M9 Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/Makefile | 1 +

[linux-sunxi] [PATCH v10 10/15] ARM: dts: sun6i: Add mmc controller nodes

2014-05-02 Thread Hans de Goede
Add nodes for the 4 mmc controllers found on A31 SoCs to arch/arm/boot/dts/sun6i-a31.dtsi. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 44 1 file changed, 44 insertions(+) diff --git

[linux-sunxi] [PATCH v10 02/15] clk: sunxi: Implement MMC phase control

2014-05-02 Thread Hans de Goede
From: Emilio López emi...@elopez.com.ar HdG: add header exporting clk_sunxi_mmc_phase_control Signed-off-by: Emilio López emi...@elopez.com.ar Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/clk/sunxi/clk-sunxi.c | 36 include/linux/clk/sunxi.h

[linux-sunxi] [PATCH v10 05/15] ARM: dts: sun4i: Add pin-muxing info for the mmc0 controller

2014-05-02 Thread Hans de Goede
mmc0 is the only controller actually being used on boards, so limit the pin-muxing options to that. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun4i-a10.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi

[linux-sunxi] [PATCH v10 15/15] ARM: dts: sun7i: Add basic support for the Cubietruck WiFi module

2014-05-02 Thread Hans de Goede
From: Chen-Yu Tsai w...@csie.org The CubieTruck has an AMPAK AP6210 WiFi+Bluetooth module. The WiFi part is a BCM43362 IC connected to MMC3 in the A20 SoC via SDIO. The IC also takes a power enable signal via GPIO. The WiFi module supports out-of-band interrupt signaling via GPIO, but this is

[linux-sunxi] [PATCH v10 14/15] ARM: dts: sun7i: Enable mmc controller on various A20 boards

2014-05-02 Thread Hans de Goede
The cd pin settings have been taken from the original firmware fex files, and have been confirmed to work on the actual boards. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 9 + arch/arm/boot/dts/sun7i-a20-cubietruck.dts |

[linux-sunxi] [PATCH v10 09/15] ARM: dts: sun6i: Add mmc clocks

2014-05-02 Thread Hans de Goede
Add clk-nodes for the mmc clocks. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index 1cfaf52..f2bb07c

[linux-sunxi] [PATCH v10 01/15] clk: sunxi: factors: automatic reparenting support

2014-05-02 Thread Hans de Goede
From: Emilio López emi...@elopez.com.ar This commit implements .determine_rate, so that our factor clocks can be reparented when needed. Signed-off-by: Emilio López emi...@elopez.com.ar Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Maxime Ripard maxime.rip...@free-electrons.com ---

[linux-sunxi] [PATCH v10 06/15] ARM: dts: sun4i: Enable mmc controller on various A10 boards

2014-05-02 Thread Hans de Goede
Tested on a subset of these boards, for the others boards the settings match the ones of the tested boards according to the original firmware fex files. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun4i-a10-a1000.dts | 9 +

[linux-sunxi] [PATCH v10 07/15] ARM: dts: sun5i: Add mmc controller nodes

2014-05-02 Thread Hans de Goede
From: David Lanzendörfer david.lanzendoer...@o2s.ch Add nodes for the 3 mmc controllers found on A10s SoCs and for the 2 mmc controllers found on A13 SoCs. Signed-off-by: David Lanzendörfer david.lanzendoer...@o2s.ch Signed-off-by: Hans de Goede hdego...@redhat.com ---

[linux-sunxi] [PATCH v10 03/15] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-05-02 Thread Hans de Goede
From: David Lanzendörfer david.lanzendoer...@o2s.ch The Allwinner sunxi mmc host uses dma in bus-master mode using a built-in designware idmac controller, which is identical to the one found in the mmc-dw hosts. However the rest of the host is not identical to mmc-dw, it deals with sending stop

[linux-sunxi] [PATCH v10 00/15] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-05-02 Thread Hans de Goede
Hi All, Here is v10 of the sunxi-mmc patch-set David Lanzendörfer and I have been working on, this has some minor changes since v9, the plan for upstreaming is still the same: The first 2 patches are depenencies which should go in through the clk tree, Mike can you pick these 2 up please ? :

[linux-sunxi] [PATCH v10 12/15] ARM: dts: sun7i: Add mmc controller nodes

2014-05-02 Thread Hans de Goede
Add nodes for the 4 mmc controllers found on A20 SoCs to arch/arm/boot/dts/sun7i-a20.dtsi. Signed-off-by: David Lanzendörfer david.lanzendoer...@o2s.ch Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun7i-a20.dtsi | 36 1 file changed,

[linux-sunxi] [PATCH v10 13/15] ARM: dts: sun7i: Add pin-muxing info for the mmc controllers

2014-05-02 Thread Hans de Goede
This adds pin-muxing info for the mmc controller / port combinations which are known to be used on actual boards. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun7i-a20.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git

[linux-sunxi] Re: [PATCH v7] DMA: sun6i: Add driver for the Allwinner A31 DMA controller

2014-05-02 Thread Vinod Koul
On Wed, Apr 30, 2014 at 02:53:22PM -0700, Maxime Ripard wrote: Hi Vinod, On Wed, Apr 30, 2014 at 12:34:08PM +0530, Vinod Koul wrote: On Thu, Apr 24, 2014 at 04:22:44PM +0200, Maxime Ripard wrote: +static inline void sun6i_dma_free(struct sun6i_dma_dev *sdc) +{ + int i; + + for

[linux-sunxi] [PATCH] sunxi: fix SRAM_B/SRAM_D memory map

2014-05-02 Thread Ian Campbell
From: Marc Zyngier marc.zyng...@arm.com Move the B and D SRAM bank to their actual location (or at least where the documentation pretends they are). Signed-off-by: Marc Zyngier marc.zyng...@arm.com Signed-off-by: Ian Campbell i...@hellion.org.uk --- Reposting since this patch from Marc since it

[linux-sunxi] [PATCH u-boot-sunxi 2/2] sunxi: add comments to pll1_para array.

2014-05-02 Thread Ian Campbell
The entries must be ordered by frequency and the final entry is a catchall which configures the maximum supported frequency. Make pll1_para static at the same time. Signed-off-by: Ian Campbell i...@hellion.org.uk --- arch/arm/cpu/armv7/sunxi/clock_sun4i.c | 4 +++- 1 file changed, 3

[linux-sunxi] [PATCH u-boot-sunxi 1/2] sunxi: hz parameter to clock_set_pll1 should be an unsigned int.

2014-05-02 Thread Ian Campbell
Requested by Marek during upstream review. Signed-off-by: Ian Campbell i...@hellion.org.uk --- arch/arm/cpu/armv7/sunxi/clock_sun4i.c | 4 ++-- arch/arm/include/asm/arch-sunxi/clock.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/cpu/armv7/sunxi/clock_sun4i.c

[linux-sunxi] Re: [PATCH v5 3/8] mfd: AXP20x: Add bindings documentation

2014-05-02 Thread Maxime Ripard
Hi, On Thu, May 01, 2014 at 02:29:29PM +0200, Carlo Caione wrote: Bindings documentation for the AXP20x driver. In this file also sub-nodes are documented. Signed-off-by: Carlo Caione ca...@caione.org Acked-by: Maxime Ripard maxime.rip...@free-electrons.com Thanks for your efforts, Maxime

[linux-sunxi] Re: [PATCH v5 1/8] mfd: AXP20x: Add mfd driver for AXP20x PMIC

2014-05-02 Thread Maxime Ripard
On Thu, May 01, 2014 at 02:29:27PM +0200, Carlo Caione wrote: This patch introduces the preliminary support for PMICs X-Powers AXP202 and AXP209. The AXP209 and AXP202 are the PMUs (Power Management Unit) used by A10, A13 and A20 SoCs and developed by X-Powers, a sister company of Allwinner.

[linux-sunxi] Re: [PATCH 1/3] ARM: sun7i: dt: Add basic board support for LinkSprite pcDuino V3

2014-05-02 Thread Maxime Ripard
Hi, On Fri, May 02, 2014 at 01:45:04PM +0200, Zoltan HERPAI wrote: This patch will add a basic board support DT for the LinkSprite pcDuino V3, which is based on A20. Signed-off-by: Zoltan HERPAI wigy...@uid0.hu --- arch/arm/boot/dts/Makefile |3 +-

[linux-sunxi] Re: [PATCH v5 4/8] input: misc: Add driver for AXP20x Power Enable Key

2014-05-02 Thread Maxime Ripard
On Thu, May 01, 2014 at 02:29:30PM +0200, Carlo Caione wrote: This patch add support for the Power Enable Key found on MFD AXP202 and AXP209. Besides the basic support for the button, the driver adds two entries in sysfs to configure the time delay for power on/off. Signed-off-by: Carlo

[linux-sunxi] Re: [PATCH v5 8/8] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-05-02 Thread Maxime Ripard
Hi, On Thu, May 01, 2014 at 02:29:34PM +0200, Carlo Caione wrote: Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/boot/dts/sun4i-a10-a1000.dts | 58 ++ arch/arm/boot/dts/sun4i-a10-cubieboard.dts |