[linux-sunxi] Re: [PATCH 5/6] ARM: dts: sun6i: Add support for Sinlinx A31s SDK board

2015-09-16 Thread Maxime Ripard
On Mon, Sep 14, 2015 at 03:24:47PM +0800, Chen-Yu Tsai wrote: > On Fri, Aug 28, 2015 at 8:34 PM, Maxime Ripard > wrote: > > On Fri, Aug 28, 2015 at 05:54:38PM +0800, Chen-Yu Tsai wrote: > >> The Sinlinx A31s SDK is a A31s based module/baseboard development kit. >

[linux-sunxi] [PATCH 0/2] mtd: nand: sunxi: cleanup

2015-09-16 Thread Boris Brezillon
Hello, Those two patches aim at cleaning up the sunxi_nand driver by first adding some consistency in the macro definitions, and then factorizing the code duplicated code found in hw_ecc and hw_syndrome_ecc implementations. Best Regards, Boris Boris Brezillon (2): mtd: nand: sunxi: rework

[linux-sunxi] [PATCH 2/2] mtd: sunxi: nand: refactor ->read_page()/->write_page() code

2015-09-16 Thread Boris Brezillon
Most of the logic to read/write pages with the HW ECC engine enabled is common to the HW_ECC and NAND_ECC_HW_SYNDROME scheme. Refactor the code to avoid code duplication. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/sunxi_nand.c | 404

[linux-sunxi] [PATCH 1/2] mtd: nand: sunxi: rework macros

2015-09-16 Thread Boris Brezillon
Suffix mask macros with _MSK and add new helper macros to avoid manually shifting values. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/sunxi_nand.c | 123 ++ 1 file changed, 64 insertions(+), 59 deletions(-)

[linux-sunxi] [PATCH] ARM: sunxi_defconfig: Enable LRADC keys (KEYBOARD_SUN4I_LRADC)

2015-09-16 Thread Priit Laes
Signed-off-by: Priit Laes --- arch/arm/configs/sunxi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 51eea22..94c6bd0 100644 --- a/arch/arm/configs/sunxi_defconfig +++

Re: [linux-sunxi] [PATCH 3/4] ARM: dts: sun4i: gemei-g9: Enable NAND Flash controller on Gemei G9

2015-09-16 Thread Priit Laes
On Wed, 2015-09-16 at 10:59 +0300, Priit Laes wrote: > Signed-off-by: Priit Laes Please ignore this patch for now, apparently this device has 2 NAND chips, and I'm including only one of them. > --- >  arch/arm/boot/dts/sun4i-a10-gemei-g9.dts | 62 >

[linux-sunxi] [PATCH 2/4] ARM: dts: sun4i: gemei-g9: Convert to use axp209 regulator nodes

2015-09-16 Thread Priit Laes
Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun4i-a10-gemei-g9.dts | 35 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts b/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts index

[linux-sunxi] [PATCH 3/4] ARM: dts: sun4i: gemei-g9: Enable NAND Flash controller on Gemei G9

2015-09-16 Thread Priit Laes
Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun4i-a10-gemei-g9.dts | 62 +++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts b/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts index aafe771..0959c45

[linux-sunxi] [PATCH 1/4] ARM: dts: sun4i: gemei-g9: Add accelerometer (bma250) IRQ

2015-09-16 Thread Priit Laes
Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun4i-a10-gemei-g9.dts | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts b/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts index ad4b65c..c0006b8 100644 ---

[linux-sunxi] [PATCH 4/4] ARM: dts: sun4i: gemei-g9: Use reg_ldo2 instead of reg_vcc3v0

2015-09-16 Thread Priit Laes
Apparently reg_ldo2 seems to be supplying the correct reference voltage to ADC. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun4i-a10-gemei-g9.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts

[linux-sunxi] Re: [PATCH 2/4] ARM: dts: sun4i: gemei-g9: Convert to use axp209 regulator nodes

2015-09-16 Thread Maxime Ripard
Hi Priit, On Wed, Sep 16, 2015 at 10:59:38AM +0300, Priit Laes wrote: > Signed-off-by: Priit Laes And a commit log here would be nice too :) Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- You

[linux-sunxi] Re: [PATCH v2 2/3] sunxi-tools: factor out persistent version and sram_info information

2015-09-16 Thread Bernhard Nortmann
Am 16.09.2015 um 03:15 schrieb Siarhei Siamashka: Yes, caching the pointer inside of aw_fel_get_sram_info() function and avoiding repeated usb requests is a good idea. Just make it a static variable instead of global. Retrieving the version information (struct aw_fel_version) involves a USB

[linux-sunxi] Re: [PATCH 1/3] mfd: axp20x: Rename supply names for AXP221 DC1SW and DC5LDO regulators

2015-09-16 Thread Maxime Ripard
On Wed, Sep 16, 2015 at 11:05:30AM +0800, Chen-Yu Tsai wrote: > The DC1SW and DC5LDO regulators in the AXP221 are internally chained > to DCDC1 and DCDC5, hence the names. The original bindings used the > parent regulator names for the supply regulator property. This causes > some confusion when

[linux-sunxi] Re: [PATCH 2/3] regulators: axp20x: Rename supply names for AXP221 DC1SW and DC5LDO

2015-09-16 Thread Maxime Ripard
On Wed, Sep 16, 2015 at 11:05:31AM +0800, Chen-Yu Tsai wrote: > The DC1SW and DC5LDO regulators in the AXP221 are internally chained > to DCDC1 and DCDC5, hence the names. The original bindings used the > parent regulator names for the supply regulator property. This causes > some confusion when

[linux-sunxi] Re: [PATCH 1/4] ARM: dts: sun4i: gemei-g9: Add accelerometer (bma250) IRQ

2015-09-16 Thread Maxime Ripard
Hi, On Wed, Sep 16, 2015 at 10:59:37AM +0300, Priit Laes wrote: > Signed-off-by: Priit Laes A commit log would be nice here. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- You received this

[linux-sunxi] Re: [PATCH 3/4] ARM: dts: sun4i: gemei-g9: Enable NAND Flash controller on Gemei G9

2015-09-16 Thread Maxime Ripard
Hi, On Wed, Sep 16, 2015 at 10:59:39AM +0300, Priit Laes wrote: > Signed-off-by: Priit Laes > --- > arch/arm/boot/dts/sun4i-a10-gemei-g9.dts | 62 > +++- > 1 file changed, 61 insertions(+), 1 deletion(-) > > diff --git

[linux-sunxi] Re: [PATCH] ARM: sunxi_defconfig: Enable LRADC keys (KEYBOARD_SUN4I_LRADC)

2015-09-16 Thread Maxime Ripard
Hi, On Wed, Sep 16, 2015 at 10:55:42AM +0300, Priit Laes wrote: > Signed-off-by: Priit Laes Having a commit log would be nice here. Since the patch is rather trivial, I applied it anyway, but please try to always have one in the future. Thanks! Maxime -- Maxime Ripard, Free

[linux-sunxi] Re: [PATCH 2/2] ASoC: sunxi: add support for the on-chip codec on early Allwinner SoCs

2015-09-16 Thread Mark Brown
On Sat, Sep 12, 2015 at 03:26:24PM +0200, Maxime Ripard wrote: This looks pretty good, there's a few minor things below but I'll apply anyway - please send followup patches fixing these. > + if (clk_set_rate(scodec->clk_module, clk_freq)) > + return -EINVAL; Better to pass back

Re: [linux-sunxi] Re: U-boot fails to read my SD cards

2015-09-16 Thread Stefan Monnier
=> load mmc 0 0x4400 uImage ** ext4fs_devread read error - block >>> Bummer, so can you read uImage from this card using the Linux kernel >>> once booted ? >> Yes, > Can you try my sunxi-wip branch? This one has some fixes which > might fix this. Indeed, I just tried it and it was

[linux-sunxi] Re: [PATCH 1/2] Documentation: bindings: Add the Allwinner A10 codec bindings

2015-09-16 Thread Mark Brown
On Sat, Sep 12, 2015 at 03:26:23PM +0200, Maxime Ripard wrote: > The Allwinner SoCs have an in-SoC audio controller taking the role of a DAI > and a codec. Please use subject lines matching the style for the relevant subsystem, this makes it much easier to spot relevant patches. -- You received