[linux-sunxi] [PATCH v5 0/8] mfd: AXP20x: Add support for AXP202 and AXP209

2014-05-01 Thread Carlo Caione
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. AXP20x comprises an adaptive USB-Compatible PWM charger, 2 BUCK DC-DC converters, 5 LDOs, multiple 12-bit ADCs of voltage, current and temperature as well

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

2014-05-01 Thread Carlo Caione
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 Enable

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

2014-05-01 Thread Carlo Caione
Bindings documentation for the AXP20x driver. In this file also sub-nodes are documented. Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/devicetree/bindings/mfd/axp20x.txt | 93 1 file changed, 93 insertions(+) create mode 100644

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

2014-05-01 Thread Carlo Caione
Signed-off-by: Carlo Caione ca...@caione.org --- 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-prefixes.txt index abc3080..792cf56 100644

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

2014-05-01 Thread Carlo Caione
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 Caione ca...@caione.org --- drivers/input/misc/Kconfig | 11 ++

[linux-sunxi] [PATCH v5 6/8] ARM: sunxi: Add AXP20x support in defconfig

2014-05-01 Thread Carlo Caione
Signed-off-by: Carlo Caione ca...@caione.org --- 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 b5df4a5..6e305da 100644 --- a/arch/arm/configs/sunxi_defconfig +++

[linux-sunxi] [PATCH v5 7/8] ARM: sunxi: Add AXP20x support multi_v7_defconfig

2014-05-01 Thread Carlo Caione
Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/configs/multi_v7_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index d4e8a47..5aeea19 100644 --- a/arch/arm/configs/multi_v7_defconfig +++

[linux-sunxi] [PATCH v5 5/8] input: misc: Add ABI docs for AXP20x PEK

2014-05-01 Thread Carlo Caione
Add ABI entries for the PEK found on PMU X-Powers AXP202 and AXP209. Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/ABI/testing/sysfs-driver-input-axp-pek | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-input-axp-pek

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

2014-05-01 Thread Carlo Caione
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 | 58 ++ arch/arm/boot/dts/sun4i-a10-hackberry.dts

[linux-sunxi] Re: SD Linux support for Allwinner A10s 【Success】!

2014-05-01 Thread nghia
Le vendredi 7 juin 2013 12:26:52 UTC+2, Kevin Tang a écrit : what you can do:( you had better do not download the 4g sdcard img) /// u-boot:https://github.com/jwrdegoede/u-boot-sunxi make mk802_a10s_config make

[linux-sunxi] Re: [PATCH v3 1/9] mtd: nand: define struct nand_timings

2014-05-01 Thread Boris BREZILLON
Hi Brian, On 30/04/2014 19:51, Brian Norris wrote: Hi Boris, On Wed, Mar 12, 2014 at 07:07:36PM +0100, Boris BREZILLON wrote: + +/** + * struct nand_sdr_timings - SDR NAND chip timings + * + * This struct defines the timing requirements of a SDR NAND chip. + * These informations can be

[linux-sunxi] [PATCH v4 0/9] sunxi: initial upstreamining effort

2014-05-01 Thread Ian Campbell
This is my fourth cut at an upstreamable series based upon the https://github.com/linux-sunxi/u-boot-sunxi.git#sunxi tree. The intention is to present a minimal starting point for upstreaming to which support for other processors, peripherals, boards etc can be added in the future. Therefore this

[linux-sunxi] [PATCH v4 1/9] sunxi: add sun7i clocks and timer support.

2014-05-01 Thread Ian Campbell
This patch adds the basic clocks and timer 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 manageable. Some of the code here is common to multiple sunxi subarchtectures,

[linux-sunxi] [PATCH v4 3/9] sunxi: add sun7i dram setup support

2014-05-01 Thread Ian Campbell
This patch adds DRAM initialisation 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 manageable. Signed-off-by: Alexandru Gagniuc mr.nuke...@gmail.com Signed-off-by: Emilio

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

2014-05-01 Thread Ian Campbell
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 manageable. Signed-off-by: Adam Sampson a...@offog.org

[linux-sunxi] [PATCH v4 9/9] net/designware: Reduce DMA burst length

2014-05-01 Thread Ian Campbell
From: Jens Kuske jensku...@gmail.com The GMAC module in Allwinner sunxi SoCs seems to have problems with burst lengths 8. Signed-off-by: Jens Kuske jensku...@gmail.com Signed-off-by: Ian Campbell i...@hellion.org.uk Cc: Chen-Yu Tsai w...@csie.org --- v4: Based on d9fe0a1e061e sunxi:

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

2014-05-01 Thread Ian Campbell
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: Based on d9fe0a1e061e sunxi: mksunxiboot: remove unnecessary casts. v3:

[linux-sunxi] Re: [PATCH v4 9/9] net/designware: Reduce DMA burst length

2014-05-01 Thread Ian Campbell
On Thu, 2014-05-01 at 19:40 +0100, Ian Campbell wrote: From: Jens Kuske jensku...@gmail.com The GMAC module in Allwinner sunxi SoCs seems to have problems with burst lengths 8. Please ignore this last patch, I plan to rework as Alexey suggests in

Re: [U-Boot] [linux-sunxi] Uboot error: address not aligned in v7_dcache_inval_range

2014-05-01 Thread Ian Campbell
On Mon, 2014-04-28 at 22:21 +0200, Marek Vasut wrote: On Monday, April 28, 2014 at 09:55:46 PM, Ian Campbell wrote: So having done all that it doesn't seem that reordering dw_eth_dev is necessary. Reordering dw_eth_dev is necessary. Look: It's certainly desirable, but it's not

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

2014-05-01 Thread Ian Campbell
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 i...@hellion.org.uk --- v4: Based on d9fe0a1e061e sunxi: mksunxiboot:

[linux-sunxi] [PATCH 3/2] net/designware: reorder struct dw_eth_dev to pack more efficiently.

2014-05-01 Thread Ian Campbell
The {tx,rx}_mac_descrtable fields are aligned to ARCH_DMA_MINALIGN, which could be 256 or even larger. That means there is a potentially huge hole in the struct before those fields, so move them to the front where they are better packed. Moving them to the front also helps ensure that so long as

[linux-sunxi] [PATCH v4.1 9/9] net/designware: Make DMA burst length configurable and reduce by default

2014-05-01 Thread Ian Campbell
The correct value for this setting can vary across SoCs and boards, so make it configurable. Also reduce the default value to 8, which is the same default as used in the Linux driver. Signed-off-by: Ian Campbell i...@hellion.org.uk Cc: Alexey Brodkin abrod...@synopsys.com --- v4.1: Replaces

[linux-sunxi] Re: [PATCH v4 0/9] sunxi: initial upstreamining effort

2014-05-01 Thread Marek Vasut
On Thursday, May 01, 2014 at 08:40:03 PM, Ian Campbell wrote: This is my fourth cut at an upstreamable series based upon the https://github.com/linux-sunxi/u-boot-sunxi.git#sunxi tree. The intention is to present a minimal starting point for upstreaming to which support for other processors,

[linux-sunxi] Re: [PATCH v4 0/9] sunxi: initial upstreamining effort

2014-05-01 Thread Ian Campbell
On Thu, 2014-05-01 at 21:24 +0200, Marek Vasut wrote: On Thursday, May 01, 2014 at 08:40:03 PM, Ian Campbell wrote: This is my fourth cut at an upstreamable series based upon the https://github.com/linux-sunxi/u-boot-sunxi.git#sunxi tree. The intention is to present a minimal starting point

[linux-sunxi] Re: [PATCH v4 1/9] sunxi: add sun7i clocks and timer support.

2014-05-01 Thread Ian Campbell
On Thu, 2014-05-01 at 21:28 +0200, Marek Vasut wrote: On Thursday, May 01, 2014 at 08:40:44 PM, Ian Campbell wrote: This patch adds the basic clocks and timer support for the Allwinner A20 (sun7i) processor. This code will not been compiled until the build is hooked up in a later patch. It

[linux-sunxi] Re: [PATCH v4 2/9] sunxi: add sun7i pinmux and gpio support

2014-05-01 Thread Ian Campbell
On Thu, 2014-05-01 at 19:40 +0100, Ian Campbell wrote: This patch adds the basic pinmux and gpio 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 manageable.

[linux-sunxi] Re: [PATCH v4 1/9] sunxi: add sun7i clocks and timer support.

2014-05-01 Thread Ian Campbell
On Thu, 2014-05-01 at 20:49 +0100, Ian Campbell wrote: On Thu, 2014-05-01 at 21:28 +0200, Marek Vasut wrote: On Thursday, May 01, 2014 at 08:40:44 PM, Ian Campbell wrote: This patch adds the basic clocks and timer support for the Allwinner A20 (sun7i) processor. This code will not been

[linux-sunxi] Re: [PATCH v4 2/9] sunxi: add sun7i pinmux and gpio support

2014-05-01 Thread Ian Campbell
On Thu, 2014-05-01 at 20:50 +0100, Ian Campbell wrote: On Thu, 2014-05-01 at 19:40 +0100, Ian Campbell wrote: This patch adds the basic pinmux and gpio support for the Allwinner A20 (sun7i) processor. This code will not been compiled until the build is hooked up in a later patch. It

[linux-sunxi] Re: [PATCH v4 2/9] sunxi: add sun7i pinmux and gpio support

2014-05-01 Thread Ian Campbell
On Thu, 2014-05-01 at 20:51 +0100, Ian Campbell wrote: On Thu, 2014-05-01 at 20:50 +0100, Ian Campbell wrote: On Thu, 2014-05-01 at 19:40 +0100, Ian Campbell wrote: This patch adds the basic pinmux and gpio support for the Allwinner A20 (sun7i) processor. This code will not been

[linux-sunxi] Re: [PATCH v4 3/9] sunxi: add sun7i dram setup support

2014-05-01 Thread Ian Campbell
On Thu, 2014-05-01 at 19:40 +0100, Ian Campbell wrote: This patch adds DRAM initialisation 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 manageable. Signed-off-by:

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

2014-05-01 Thread Ian Campbell
On Thu, 2014-05-01 at 19:40 +0100, 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 oli...@schinagl.nl

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

2014-05-01 Thread Ian Campbell
On Thu, 2014-05-01 at 19:40 +0100, 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 --- v4:

[linux-sunxi] Re: [PATCH v4 1/9] sunxi: add sun7i clocks and timer support.

2014-05-01 Thread Ian Campbell
On Thu, 2014-05-01 at 20:49 +0100, Ian Campbell wrote: I'm going to go through the rest now and reply with a proper v3..v4 changelog. If I don't reply to a particular patch it means nothing much changed. FYI there were changes to patches marked here with a * * sunxi: add sun7i clocks and