[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 > Signed-off-by: Carlo Caione > --- > arch/arm/boot/dts/sun4i-a10-a1000.dts | 58 ++ > arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 58 ++ > ar

[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 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 > --- > arch/arm/boot/dts/Makefile |3 +- > arch/arm/boot/dts/sun7i-a20-pc

[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 Acked-by: Maxime Ripard Thanks for your efforts, Maxime -- Maxime Ripard, Free Electrons Embedded L

[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 --- 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 b/arch/arm/cpu/armv7

[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 --- arch/arm/cpu/armv7/sunxi/clock_sun4i.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) d

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

2014-05-02 Thread Ian Campbell
From: Marc Zyngier 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 Signed-off-by: Ian Campbell --- Reposting since this patch from Marc since it is wanted for the upstream version. I've confirmed the addre

[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;

[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 --- arch/arm/boot/dts/sun7i-a20.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/

[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 Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun7i-a20.dtsi | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/

[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 ? : "c

[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 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 commands in hardware which m

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

2014-05-02 Thread Hans de Goede
From: Emilio López This commit implements .determine_rate, so that our factor clocks can be reparented when needed. Signed-off-by: Emilio López Signed-off-by: Hans de Goede Acked-by: Maxime Ripard --- drivers/clk/sunxi/clk-factors.c | 36 1 file changed,

[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 --- arch/arm/boot/dts/sun4i-a10-a1000.dts | 9 + arch/arm/boot/dts/sun4i-a10-cubieboard.dts |

[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 --- arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 9 + arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 9 + arch/ar

[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 --- 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 100644 --- a/arch/a

[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 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 not supported in

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

2014-05-02 Thread Hans de Goede
From: David Lanzendörfer 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 Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun5i-a10s.dtsi | 27 +++ arch/arm/boot/dts/sun5i-a13.d

[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 --- arch/arm/boot/dts/sun4i-a10.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10

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

2014-05-02 Thread Hans de Goede
From: Emilio López HdG: add header exporting clk_sunxi_mmc_phase_control Signed-off-by: Emilio López Signed-off-by: Hans de Goede --- drivers/clk/sunxi/clk-sunxi.c | 36 include/linux/clk/sunxi.h | 22 ++ 2 files changed, 58 inserti

[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 --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/sun6i-a31-m9.dts | 48 +++

[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 --- arch/arm/boot/dts/sun6i-a31.dtsi | 44 1 file changed, 44 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/b

[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 --- arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 32 arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts | 16 +

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

2014-05-02 Thread Hans de Goede
From: David Lanzendörfer 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 Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10.dtsi | 36 1 file changed, 36 insertions(+)

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

2014-05-02 Thread Hans de Goede
UGH, patch 1 of this set does not properly terminate the i2c node. Looks like this was not event test-build, BAD! Regards. Hans -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, s

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

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"; /home/hans/projects/sunxi/linux/.git/rebase-apply/

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 soon-to-

[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 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

[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 SRA

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

[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 Zoltan HERPAI (3): ARM: sun7i: dt: Add basic bo

[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 --- arch/arm/boot/dts/Makefile |3 +- arch/arm/boot/dts/sun7i-a20-pcduino3.dts | 70 ++ 2 files changed, 72 insertions(+

[linux-sunxi] [PATCH 2/3] ARM: sun7i: dt: Add USB host nodes to pcDuino3 DTS

2014-05-02 Thread Zoltan HERPAI
Add nodes for the usb-phy and ehci- and ohci-usb-host controllers. Signed-off-by: Zoltan HERPAI --- arch/arm/boot/dts/sun7i-a20-pcduino3.dts | 29 + 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts b/arch/arm/boot/dts/sun7i-a2

[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 --- 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 b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts index 100717f

Re: [linux-sunxi] Re: [BSP] Various bugs in "make livesuit"

2014-05-02 Thread Puneet B
sunxi-bsp is not working for cubietruck board. because i dont have any A20 folder in allwinner-tools. Kindly tell me. why it is missing. Regards Punith -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop rec

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

2014-05-02 Thread Michal Simek
On 05/01/2014 02:29 PM, Carlo Caione wrote: > Signed-off-by: Carlo Caione > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt > b/Documentation/devicetree/bindings/vendor-pre

[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 manageabl

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 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 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 (P

[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 wrote: > On 05/01/2014 02:29 PM, Carlo Caione wrote: > > Signed-off-by: Carlo Caione > > --- > > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/Documentation/devicetree/bindings/ve