[linux-sunxi] Re: [PATCH v7 0/6] mfd: AXP20x: Add support for AXP202 and AXP209

2014-10-22 Thread Maxime Ripard
On Wed, Oct 22, 2014 at 08:28:42AM +0200, Bruno Prémont wrote: On Sun, 29 Jun 2014 20:23:51 +0200 Carlo Caione wrote: During the merging of v6 several patches were left out. This v7 comprises all the patches that are still pending. Any progress on this or reason why these are stuck? No

[linux-sunxi] Re: [PATCH v2 4/4] ARM: dts: sun7i: Add lradc node

2014-10-22 Thread Maxime Ripard
Hi Hans, On Tue, Oct 21, 2014 at 10:24:50AM +0200, Hans de Goede wrote: Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 48 + arch/arm/boot/dts/sun7i-a20.dtsi| 7 2 files changed, 55

Re: [linux-sunxi] Re: [PATCH v2 4/4] ARM: dts: sun7i: Add lradc node

2014-10-22 Thread Hans de Goede
Hi, On 10/22/2014 10:38 AM, Maxime Ripard wrote: Hi Hans, On Tue, Oct 21, 2014 at 10:24:50AM +0200, Hans de Goede wrote: Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 48 + arch/arm/boot/dts/sun7i-a20.dtsi

[linux-sunxi] [PATCH v2 7/8] ARM: sunxi: Add support for using R_UART as console

2014-10-22 Thread Chen-Yu Tsai
The A23 only has UART0 muxed with MMC0. Some of the boards we encountered expose R_UART as a set of pads. Add support for R_UART so we can have a console while using mmc. Signed-off-by: Chen-Yu Tsai w...@csie.org Acked-by: Ian Campbell i...@hellion.org.uk --- arch/arm/cpu/armv7/sunxi/board.c

[linux-sunxi] [PATCH v2 5/8] ARM: sunxi: Add support for R_PIO gpio banks

2014-10-22 Thread Chen-Yu Tsai
From: Hans de Goede hdego...@redhat.com The A31, A23 and later SoCs have an extra pin controller, called CPUs_PIO or R_PIO, which handles pin banks L and beyond. Also add a clear description about SUNXI_GPIO_BANKS, stating it only counts the number of pin banks in the _main_ pin controller.

[linux-sunxi] [PATCH v2 8/8] ARM: sunxi: Add Ippo-q8h-v5 A23 tablet board defconfig

2014-10-22 Thread Chen-Yu Tsai
Ippo q8h is a series of A23 tablet boards. This defconfig is for v5 of these boards, though for u-boot purposes they are mostly the same. See: http://linux-sunxi.org/Ippo_q8h Signed-off-by: Chen-Yu Tsai w...@csie.org Acked-by: Ian Campbell i...@hellion.org.uk --- board/sunxi/MAINTAINERS| 5

[linux-sunxi] [PATCH v2 3/8] mmc: sunxi: Add support for sun8i (A23)

2014-10-22 Thread Chen-Yu Tsai
The Allwinner A23 SoC has reset controls like the A31 (sun6i). The FIFO address is also the same as sun6i. Re-use code added for sun6i. Signed-off-by: Chen-Yu Tsai w...@csie.org Acked-by: Ian Campbell i...@hellion.org.uk --- arch/arm/include/asm/arch-sunxi/mmc.h | 2 +- drivers/mmc/sunxi_mmc.c

[linux-sunxi] [PATCH v2 6/8] ARM: sunxi: Allow specifying module in prcm apb0 init function

2014-10-22 Thread Chen-Yu Tsai
The prcm apb0 controls multiple modules. Allow specifying which modules to enable clocks and de-assert resets so the function can be reused. Signed-off-by: Chen-Yu Tsai w...@csie.org Acked-by: Ian Campbell i...@hellion.org.uk --- arch/arm/cpu/armv7/sunxi/prcm.c| 12 +++-

[linux-sunxi] [PATCH v2 0/8] ARM: sunxi: Add Allwinner A23 (sun8i) support

2014-10-22 Thread Chen-Yu Tsai
Hi everyone, This series adds support for Allwinner's A23 SoC. All the patches are either direct cherry-picks or changes manually merged from u-boot-sunxi. Patch 1 adds uart0 pinmux values for A23. Patch 2 adds support for using uart0 on port F, either using a breakout board or soldering wires

[linux-sunxi] [PATCH v2 2/8] ARM: sunxi: Add support for uart0 on port F (mmc0)

2014-10-22 Thread Chen-Yu Tsai
Allwinner SoCs provide uart0 muxed with mmc0, which can then be used with a micro SD breakout board. On the A23, this is the only way to use uart0. Signed-off-by: Chen-Yu Tsai w...@csie.org Acked-by: Ian Campbell i...@hellion.org.uk --- arch/arm/cpu/armv7/sunxi/board.c | 11 ++-

[linux-sunxi] [PATCH v2 1/8] ARM: sunxi: Add sun8i (A23) UART0 pin mux support

2014-10-22 Thread Chen-Yu Tsai
UART0 pin muxes on the A23 have a different function value. Signed-off-by: Chen-Yu Tsai w...@csie.org Acked-by: Ian Campbell i...@hellion.org.uk --- arch/arm/include/asm/arch-sunxi/gpio.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/include/asm/arch-sunxi/gpio.h

Re: [linux-sunxi] Re: [PATCH v7 0/6] mfd: AXP20x: Add support for AXP202 and AXP209

2014-10-22 Thread Carlo Caione
On Wed, Oct 22, 2014 at 09:59:29AM +0200, Maxime Ripard wrote: On Wed, Oct 22, 2014 at 08:28:42AM +0200, Bruno Prémont wrote: On Sun, 29 Jun 2014 20:23:51 +0200 Carlo Caione wrote: During the merging of v6 several patches were left out. This v7 comprises all the patches that are still

[linux-sunxi] Re: [PATCH v2 1/4] input: Add new sun4i-lradc-keys driver

2014-10-22 Thread Hans de Goede
Hi, On 10/21/2014 07:04 PM, Maxime Ripard wrote: Hi Hans, Thanks, a lot for respinning this. On Tue, Oct 21, 2014 at 10:24:47AM +0200, Hans de Goede wrote: Allwinnner sunxi SoCs have a low resolution adc (called lradc) which is specifically designed to have various (tablet) keys (ie

[linux-sunxi] [PATCH v3 0/4] input: Add new sun4i-lradc-keys driver

2014-10-22 Thread Hans de Goede
Hi All, Here is v3 of my patchset for the lradc attached tablet keys found one some Allwinner boards. Changes since v2: -s/KEY_HOME/KEY_HOMEPAGE/ -s/sun4i-lradc-keys/sun4i-a10-lradc-keys/ -Use mV as address for the key subnodes in devicetree -dts formatting fixes according to Maxime's review -Do

[linux-sunxi] [PATCH v3 4/4] ARM: dts: sun7i: Add lradc node

2014-10-22 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 59 - arch/arm/boot/dts/sun7i-a20.dtsi| 7 +++ 2 files changed, 64 insertions(+), 2 deletions(-) diff --git

[linux-sunxi] Re: [U-Boot] [PATCH v3 6/6] sunxi: Kconfig: Unify sunxi Kconfig code

2014-10-22 Thread Hans de Goede
Hi, On 10/21/2014 09:03 PM, Ian Campbell wrote: On Sun, 2014-10-12 at 22:17 +0100, Ian Campbell wrote: -if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN6I || TARGET_SUN7I + default sun4i if TARGET_SUN4I + default sun5i if TARGET_SUN5I + default sun6i if TARGET_SUN5I There is a typo

[linux-sunxi] [PATCH 1/3] sunxi: Add clock_get_pll5p() function

2014-10-22 Thread Hans de Goede
This is a preparation patch for making the pll5 p divisor configurable through Kconfig. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/clock_sun4i.c| 11 +++ arch/arm/include/asm/arch-sunxi/clock.h | 1 +

[linux-sunxi] [PATCH 3/3] sunxi: Add CONFIG_OLD_KERNEL_COMPAT Kconfig option

2014-10-22 Thread Hans de Goede
Add a Kconfig option which users can select when they want to boot older kernels, e.g. the linux-sunxi 3.4 kernels. For now this just forces the pll5 p value to 1 (divide by 2) as that is what those kernels are hardcoded too, in the future this may enable further workarounds. Signed-off-by: Hans

[linux-sunxi] Re: [PATCH v3 1/4] input: Add new sun4i-lradc-keys driver

2014-10-22 Thread Maxime Ripard
Hi Hans, On Wed, Oct 22, 2014 at 01:11:02PM +0200, Hans de Goede wrote: Allwinnner sunxi SoCs have a low resolution adc (called lradc) which is specifically designed to have various (tablet) keys (ie home, back, search, etc). attached to it using a resistor network. This adds a driver for

[linux-sunxi] [PATCH v4 4/5] simplefb: add goto error path to probe

2014-10-22 Thread Hans de Goede
From: Luc Verhaegen l...@skynet.be While at it update ioremap_wc error return from ENODEV to ENOMEM. Signed-off-by: Luc Verhaegen l...@skynet.be Acked-by: Stephen Warren swar...@nvidia.com Reviewed-by: Hans de Goede hdego...@redhat.com Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by:

[linux-sunxi] [PATCH v4 2/5] dt-bindings: Add a clocks property to the simple-framebuffer binding

2014-10-22 Thread Hans de Goede
A simple-framebuffer node represents a framebuffer setup by the firmware / bootloader. Such a framebuffer may have a number of clocks in use, add a property to communicate this to the OS. Signed-off-by: Hans de Goede hdego...@redhat.com Reviewed-by: Mike Turquette mturque...@linaro.org Acked-by:

[linux-sunxi] [PATCH v4 1/5] simplefb: Add simplefb MAINTAINERS entry

2014-10-22 Thread Hans de Goede
During the discussion about adding clock handling code to simplefb, it became clear that simplefb currently does not have an active maintainer. I've discussed this with Stephen Warren swar...@wwwdotorg.org, the original author of simplefb, and with his permisson I'm picking up maintainership of

[linux-sunxi] Re: [PATCH 2/3] sunxi: dram: Use clock_get_pll5p to calculate mbus, rather then hardcoding

2014-10-22 Thread Ian Campbell
On Wed, 2014-10-22 at 15:44 +0200, Hans de Goede wrote: This is a preparation patch for making the pll5 p divisor configurable through Kconfig. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk -- You received this message because you are