[linux-sunxi] Re: [PATCH v3 00/52] mtd: rework ECC layout definition

2016-02-25 Thread Boris Brezillon
On Thu, 25 Feb 2016 17:27:23 -0800 Stefan Agner wrote: > Hi Boris, > > On 2016-02-25 16:57, Boris Brezillon wrote: > > Hello, > > > > This patchset aims at getting rid of the nand_ecclayout limitations. > > struct nand_ecclayout is defining fixed eccpos and oobfree arrays

[linux-sunxi] Re: [PATCH v3 00/52] mtd: rework ECC layout definition

2016-02-25 Thread Stefan Agner
Hi Boris, On 2016-02-25 16:57, Boris Brezillon wrote: > Hello, > > This patchset aims at getting rid of the nand_ecclayout limitations. > struct nand_ecclayout is defining fixed eccpos and oobfree arrays which > can only be increased by modifying the MTD_MAX_ECCPOS_ENTRIES_LARGE and >

[linux-sunxi] [PATCH v3 51/52] mtd: nand: kill the ecc->layout field

2016-02-25 Thread Boris Brezillon
Now that all NAND drivers have switch to mtd_ooblayout_ops, we can kill the ecc->layout field. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 7 --- drivers/mtd/nand/nand_bch.c | 9 - include/linux/mtd/nand.h | 2 -- 3

[linux-sunxi] [PATCH v3 52/52] mtd: kill the nand_ecclayout struct

2016-02-25 Thread Boris Brezillon
Now that all MTD drivers have moved to the mtd_ooblayout_ops model we can safely remove the struct nand_ecclayout definition, and all the remaining places where it was still used. Signed-off-by: Boris Brezillon --- drivers/mtd/mtdchar.c | 12 ++---

[linux-sunxi] [PATCH v3 50/52] staging: mt29f_spinand: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Replace the nand_ecclayout definition by the equivalent mtd_ooblayout_ops definition. Signed-off-by: Boris Brezillon --- drivers/staging/mt29f_spinand/mt29f_spinand.c | 48 +-- 1 file changed, 30 insertions(+), 18 deletions(-) diff

[linux-sunxi] [PATCH v3 48/52] mtd: nand: vf610: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/vf610_nfc.c | 34 -- 1 file changed, 4 insertions(+), 30 deletions(-)

[linux-sunxi] [PATCH v3 49/52] mtd: onenand: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Modify the onenand drivers to switch to this approach. Signed-off-by: Boris Brezillon --- drivers/mtd/onenand/onenand_base.c | 162

[linux-sunxi] [PATCH v3 46/52] mtd: nand: sm_common: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/sm_common.c | 93 1 file changed, 77 insertions(+), 16

[linux-sunxi] [PATCH v3 47/52] mtd: nand: sunxi: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/sunxi_nand.c | 114 +++--- 1 file changed, 52 insertions(+), 62

[linux-sunxi] [PATCH v3 44/52] mtd: nand: s3c2410: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/s3c2410.c | 32 +++- 1 file changed, 27 insertions(+), 5 deletions(-) diff

[linux-sunxi] [PATCH v3 45/52] mtd: nand: sh_flctl: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/sh_flctl.c | 87 ++--- 1 file changed, 67 insertions(+), 20

[linux-sunxi] [PATCH v3 41/52] mtd: nand: mxc: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/mxc_nand.c | 212 ++-- 1 file changed, 105 insertions(+), 107

[linux-sunxi] [PATCH v3 42/52] mtd: nand: omap2: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/omap2.c | 194 +++ 1 file changed, 113 insertions(+), 81

[linux-sunxi] [PATCH v3 43/52] mtd: nand: pxa3xx: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/pxa3xx_nand.c | 104 + 1 file changed, 64 insertions(+), 40

[linux-sunxi] [PATCH v3 37/52] mtd: nand: gpmi: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 52 ++ 1 file changed, 40 insertions(+), 12

[linux-sunxi] [PATCH v3 34/52] mtd: nand: fsl_ifc: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/fsl_ifc_nand.c | 231 1 file changed, 67 insertions(+), 164

[linux-sunxi] [PATCH v3 38/52] mtd: nand: hisi504: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/hisi504_nand.c | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff

[linux-sunxi] [PATCH v3 35/52] mtd: nand: fsmc: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/fsmc_nand.c | 298 --- 1 file changed, 82 insertions(+), 216

[linux-sunxi] [PATCH v3 33/52] mtd: nand: fsl_elbc: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/fsl_elbc_nand.c | 83 +++- 1 file changed, 47 insertions(+), 36

[linux-sunxi] [PATCH v3 32/52] mtd: nand: docg4: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/docg4.c | 33 - 1 file changed, 28 insertions(+), 5 deletions(-) diff

[linux-sunxi] [PATCH v3 31/52] mtd: nand: diskonchip: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/diskonchip.c | 60 --- 1 file changed, 45 insertions(+), 15

[linux-sunxi] [PATCH v3 30/52] mtd: nand: denali: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/denali.c | 51 +-- 1 file changed, 36 insertions(+), 15

[linux-sunxi] [PATCH v3 27/52] mtd: nand: brcm: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/brcmnand/brcmnand.c | 258 +-- 1 file changed, 157 insertions(+), 101

[linux-sunxi] [PATCH v3 25/52] mtd: nand: atmel: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/atmel_nand.c | 84 --- 1 file changed, 38 insertions(+), 46

[linux-sunxi] [PATCH v3 24/52] mtd: nand: jz4740: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- arch/mips/include/asm/mach-jz4740/jz4740_nand.h | 2 +- arch/mips/jz4740/board-qi_lb60.c| 87

[linux-sunxi] [PATCH v3 23/52] mtd: nand: sharpsl: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- arch/arm/mach-pxa/spitz.c | 55 - drivers/mtd/nand/sharpsl.c | 2 +-

[linux-sunxi] [PATCH v3 22/52] mtd: nand: bch: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Replace the nand_ecclayout definition by the equivalent mtd_ooblayout_ops definition. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_bch.c | 33 +++-- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git

[linux-sunxi] [PATCH v3 21/52] mtd: nand: implement the default mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Replace the default nand_ecclayout definitions for large and small page devices with the equivalent mtd_ooblayout_ops. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 148 --- include/linux/mtd/nand.h

[linux-sunxi] [PATCH v3 20/52] mtd: docg3: switch to mtd_ooblayout_ops

2016-02-25 Thread Boris Brezillon
Replace the nand_ecclayout definition by the equivalent mtd_ooblayout_ops definition. Signed-off-by: Boris Brezillon Acked-by: Robert Jarzmik --- drivers/mtd/devices/docg3.c | 46 ++--- 1 file

[linux-sunxi] [PATCH v3 19/52] mtd: create an mtd_ooblayout_ops struct to ease ECC layout definition

2016-02-25 Thread Boris Brezillon
ECC layout definitions are currently exposed using the nand_ecclayout struct which embeds oobfree and eccpos arrays with predefined size. This approach was acceptable when NAND chips were providing relatively small OOB regions, but MLC and TLC now provide OOB regions of several hundreds of bytes,

[linux-sunxi] [PATCH v3 17/52] mtd: onenand: use mtd_set_ecclayout() where appropriate

2016-02-25 Thread Boris Brezillon
Use the mtd_set_ecclayout() helper instead of directly assigning the mtd->ecclayout field. Signed-off-by: Boris Brezillon --- drivers/mtd/onenand/onenand_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[linux-sunxi] [PATCH v3 16/52] mtd: nand: use mtd_set_ecclayout() where appropriate

2016-02-25 Thread Boris Brezillon
Use the mtd_set_ecclayout() helper instead of directly assigning the mtd->ecclayout field. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/nand_base.c

[linux-sunxi] [PATCH v3 15/52] mtd: use mtd_set_ecclayout() where appropriate

2016-02-25 Thread Boris Brezillon
Use the mtd_set_ecclayout() helper instead of directly assigning the mtd->ecclayout field. Signed-off-by: Boris Brezillon --- drivers/mtd/mtdconcat.c | 2 +- drivers/mtd/mtdpart.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[linux-sunxi] [PATCH v3 14/52] mtd: add mtd_set_ecclayout() helper function

2016-02-25 Thread Boris Brezillon
Add an mtd_set_ecclayout() helper function to avoid direct accesses to the mtd->ecclayout field. This will ease future reworks of ECC layout definition. Signed-off-by: Boris Brezillon --- include/linux/mtd/mtd.h | 6 ++ 1 file changed, 6 insertions(+)

[linux-sunxi] [PATCH v3 11/52] mtd: nand: lpc32xx: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-25 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

[linux-sunxi] [PATCH v3 13/52] mtd: onenand: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-25 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

[linux-sunxi] [PATCH v3 12/52] mtd: nand: omap2: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-25 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

[linux-sunxi] [PATCH v3 09/52] mtd: nand: fsl_ifc: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-25 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

[linux-sunxi] [PATCH v3 10/52] mtd: nand: gpmi: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-25 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

[linux-sunxi] [PATCH v3 03/52] mtd: mtdswap: remove useless if (!mtd->ecclayout) test

2016-02-25 Thread Boris Brezillon
If the MTD device does not have OOB, the mtd->oobsize and mtd->oobavail fields are set to zero, and we are testing those values in the following test. Remove the useless if (!mtd->ecclayout) test. Signed-off-by: Boris Brezillon --- drivers/mtd/mtdswap.c | 8

[linux-sunxi] [PATCH v3 06/52] mtd: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-25 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

[linux-sunxi] [PATCH v3 04/52] mtd: nand: simplify nand_bch_init() usage

2016-02-25 Thread Boris Brezillon
nand_bch_init() requires several arguments which could directly be deduced from the mtd device. Get rid of those useless parameters. nand_bch_init() is also requiring the caller to provide a proper eccbytes value, while this value could be deduced from the ecc.size and ecc.strength value.

[linux-sunxi] [PATCH v3 07/52] mtd: nand: core: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-25 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

[linux-sunxi] [PATCH v3 01/52] mtd: kill the ecclayout->oobavail field

2016-02-25 Thread Boris Brezillon
ecclayout->oobavail is just redundant with the mtd->oobavail field. Moreover, it prevents static const definition of ecc layouts since the NAND framework is calculating this value based on the ecclayout->oobfree field. Signed-off-by: Boris Brezillon ---

[linux-sunxi] [PATCH v3 08/52] mtd: nand: atmel: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-25 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

[linux-sunxi] [PATCH v3 05/52] mtd: add mtd_ooblayout_xxx() helper functions

2016-02-25 Thread Boris Brezillon
In order to make the ecclayout definition completely dynamic we need to rework the way the OOB layout are defined and iterated. Create a few mtd_ooblayout_xxx() helpers to ease OOB bytes manipulation and hide ecclayout internals to their users. Signed-off-by: Boris Brezillon

[linux-sunxi] [PATCH v3 02/52] mtd: create an mtd_oobavail() helper and make use of it

2016-02-25 Thread Boris Brezillon
Currently, all MTD drivers/sublayers exposing an OOB area are doing the same kind of test to extract the available OOB size based on the mtd_info and mtd_oob_ops structures. Move this common logic into an inline function and make use of it. Signed-off-by: Boris Brezillon

[linux-sunxi] [PATCH v3 00/52] mtd: rework ECC layout definition

2016-02-25 Thread Boris Brezillon
Hello, This patchset aims at getting rid of the nand_ecclayout limitations. struct nand_ecclayout is defining fixed eccpos and oobfree arrays which can only be increased by modifying the MTD_MAX_ECCPOS_ENTRIES_LARGE and MTD_MAX_OOBFREE_ENTRIES_LARGE macros. This approach forces us to modify the

[linux-sunxi] Re: [PATCH v3 00/12] pwm: add support for atomic update

2016-02-25 Thread 'Doug Anderson' via linux-sunxi
Thierry, On Tue, Feb 23, 2016 at 10:42 AM, Doug Anderson wrote: > Thierry, > > On Tue, Feb 23, 2016 at 10:14 AM, Thierry Reding > wrote: >>> pwm_get_period(): get the period of the PWM; if the PWM has not yet >>> been configured by software this

[linux-sunxi] Re: [PATCH v2] ARM: dts: sun8i: Add leds and switch on Orangepi Plus boards

2016-02-25 Thread kbuild test robot
Hi Krzysztof, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.5-rc5 next-20160225] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Krzysztof-Adamski/ARM-dts-sun8i-Add

[linux-sunxi] Re: [PATCH] clk: sunxi: allow PLL6 clock to be reused

2016-02-25 Thread André Przywara
On 25/02/16 18:11, Maxime Ripard wrote: > On Mon, Feb 22, 2016 at 09:38:53AM +, Andre Przywara wrote: diff --git a/drivers/clk/sunxi/clk-factors.h b/drivers/clk/sunxi/clk-factors.h index 1e63c5b..3a7da86 100644 --- a/drivers/clk/sunxi/clk-factors.h +++

[linux-sunxi] [PATCH v2] ARM: dts: sun8i: Add leds and switch on Orangepi Plus boards

2016-02-25 Thread Krzysztof Adamski
OrangePi Plus board has dwo leds - green ("pwr") and red ("status") and a switch ("sw4"). This patch describes them in a devicetree. Signed-off-by: Krzysztof Adamski --- Changes compared to v1: - Fixed leds labels - Merged two led sections into one

[linux-sunxi] Re: [PATCH 1/2] ARM: dts: sun8i: Add ir receiver nodes to H3 dtsi

2016-02-25 Thread Maxime Ripard
On Wed, Feb 24, 2016 at 12:03:16AM +0100, Hans de Goede wrote: > The H3 ir receiver is completely compatible with the one found in the A31. > > Signed-off-by: Hans de Goede Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android

[linux-sunxi] Re: [PATCH v5 4/4] ARM: dts: sun8i: Add leds and switch on Orangepi Plus boards

2016-02-25 Thread Maxime Ripard
Hi, On Mon, Feb 22, 2016 at 02:03:28PM +0100, Krzysztof Adamski wrote: > OrangePi Plus board has two leds - green ("pwr") and red ("status") > and a switch ("sw4"). This patch describes them in a devicetree. > > Signed-off-by: Krzysztof Adamski > --- >

[linux-sunxi] Re: [PATCH v5 3/4] ARM: dts: sun8i-h3: Add R_PIO controller node to the dtsi

2016-02-25 Thread Maxime Ripard
On Mon, Feb 22, 2016 at 02:03:27PM +0100, Krzysztof Adamski wrote: > Add the corresponding device node for R_PIO on H3 to the dtsi. Support > for the controller was added in earlier commit. > > Signed-off-by: Krzysztof Adamski Applied with Linus Ack. Thanks! Maxime -- Maxime

[linux-sunxi] Re: [PATCH v5 2/4] dts: sun8i-h3: Add APB0 related clocks and resets

2016-02-25 Thread Maxime Ripard
On Mon, Feb 22, 2016 at 02:03:26PM +0100, Krzysztof Adamski wrote: > APB0 is bearly mentioned in H3 User Manual and it is only setup in the > Allwinners kernel dump for CIR. I have verified experimentally that the > gate for R_PIO exists and works, though. There are probably other gates > there

[linux-sunxi] Re: [PATCH v5 1/4] clk: sunxi: Add apb0 gates for H3

2016-02-25 Thread Maxime Ripard
Hi, On Mon, Feb 22, 2016 at 02:03:25PM +0100, Krzysztof Adamski wrote: > This patch adds support for APB0 in H3. It seems to be compatible with > earlier SOCs. apb0 gates controls R_ block peripherals (R_PIO, R_IR, > etc). > > Signed-off-by: Krzysztof Adamski > --- >

[linux-sunxi] Re: [PATCH v3 00/10] arm64: Introduce Allwinner A64 and Pine64 support

2016-02-25 Thread Maxime Ripard
Hi, On Thu, Feb 25, 2016 at 10:04:59AM +, Andre Przywara wrote: > Hi Maxime, > > can you give me a quick assessment on how we can progress from here? > > Is it already too late for at least some of the patches to go into 4.6? I think we still have a major disagreement on the clocks part,

[linux-sunxi] Re: [PATCH v3 10/10] arm64: add defconfig options for Allwinner SoCs

2016-02-25 Thread Maxime Ripard
On Mon, Feb 22, 2016 at 06:20:55PM +, Andre Przywara wrote: > With the Allwinner platform now supported, enable it in the defconfig > and add some options to give some decent out-of-the-box experience on > those SoCs. > > Signed-off-by: Andre Przywara Applied,

[linux-sunxi] Re: [PATCH v3 04/10] drivers: pinctrl: add driver for Allwinner A64 SoC

2016-02-25 Thread Maxime Ripard
Hi, On Mon, Feb 22, 2016 at 06:20:49PM +, Andre Przywara wrote: > Based on the Allwinner A64 user manual and on the previous sunxi > pinctrl drivers this introduces the pin multiplex assignments for > the ARMv8 Allwinner A64 SoC. > Port A is apparently used for the fixed function DRAM

[linux-sunxi] Re: [PATCH] Add triggers for cubietruck leds

2016-02-25 Thread Maxime Ripard
Hi, On Wed, Feb 24, 2016 at 09:57:25AM +0100, Henry Paulissen wrote: > This (small) patch gives the same led trigger functionality > as the 3.4 sunxi kernel and although mainline doesn't has > to be the same, it helps in identifying and builds upon the > user expectations about what those leds

[linux-sunxi] Re: [PATCH v3] ARM: dts: sun7i: Add dts file for the lamobo-r1 board

2016-02-25 Thread Maxime Ripard
Hi, On Tue, Feb 23, 2016 at 11:12:43PM +0100, Hans de Goede wrote: > From: Jelle de Jong > > The lamobo-r1 board, sometimes called the BPI-R1 but not labelled as such > on the PCB, is meant as a A20 based router board. As such the board comes > with a built-in switch

[linux-sunxi] Re: [PATCH] clk: sunxi: allow PLL6 clock to be reused

2016-02-25 Thread Maxime Ripard
On Mon, Feb 22, 2016 at 09:38:53AM +, Andre Przywara wrote: > >> diff --git a/drivers/clk/sunxi/clk-factors.h > >> b/drivers/clk/sunxi/clk-factors.h > >> index 1e63c5b..3a7da86 100644 > >> --- a/drivers/clk/sunxi/clk-factors.h > >> +++ b/drivers/clk/sunxi/clk-factors.h > >> @@ -36,6 +36,7 @@

Re: [linux-sunxi] Re: [PATCH v3] Fix sun7i pin assignment for IRQ's

2016-02-25 Thread Maxime Ripard
Hi, On Sun, Feb 21, 2016 at 11:27:46AM -0800, Henry Paulissen wrote: > > Op zondag 21 februari 2016 18:18:37 UTC+1 schreef Maxime Ripard: > > > > > Your commit log is going to need some work. Which bugs? What tests did > > you make? Why are you making these changes while the datasheet says >

[linux-sunxi] Re: [PATCH v6] Fix sun7i pin assignment for IRQ's

2016-02-25 Thread Maxime Ripard
Hi, On Thu, Feb 25, 2016 at 06:26:22AM -0800, Henry Paulissen wrote: > > > Op donderdag 25 februari 2016 15:16:49 UTC+1 schreef Linus Walleij: > > > > > I'm taking this patch out of my tree now following Maxime's comments. > > > > I'm a bit annoyed that it is iterating too quickly as well, I

Re: [linux-sunxi] [PATCH RFC 2/3] ARM: dts: sun8i: add sun8i-emac ethernet driver

2016-02-25 Thread Andre Przywara
Hi, On 22/02/16 15:45, LABBE Corentin wrote: > The sun8i-emac is an ethernet MAC hardware that support 10/100/1000 > speed. TODO > > This patch enable the sun8i-emac on the Allwinner A20 SoC Device-tree. > > Signed-off-by: LABBE Corentin > --- >

Re: [linux-sunxi] [PATCH RFC 1/3] ethernet: add sun8i-emac driver

2016-02-25 Thread Andre Przywara
Hi, just some comments I have on the usage of the internal PHY. On 22/02/16 15:45, LABBE Corentin wrote: > This patch add support for sun8i-emac ethernet MAC hardware. > It could be found in Allwinner H3/A83T/A64 SoCs. > > Signed-off-by: LABBE Corentin > --- >

[linux-sunxi] Re: [PATCH 01/14] pinctrl: sunxi: Add A83T R_PIO controller support

2016-02-25 Thread Linus Walleij
On Thu, Feb 25, 2016 at 1:56 AM, Maxime Ripard wrote: > Hi Linus, > On Tue, Feb 16, 2016 at 12:23:37AM +0100, Linus Walleij wrote: >> On Thu, Feb 11, 2016 at 4:12 PM, Maxime Ripard >> wrote: >> > On Thu, Feb 11, 2016 at

[linux-sunxi] Re: [PATCH v6] Fix sun7i pin assignment for IRQ's

2016-02-25 Thread Henry Paulissen
Op donderdag 25 februari 2016 15:16:49 UTC+1 schreef Linus Walleij: > > I'm taking this patch out of my tree now following Maxime's comments. > > I'm a bit annoyed that it is iterating too quickly as well, I will > wait and see for a while. > > All of Maxime his questions where already

Re: [linux-sunxi] [PATCH RFC 0/3] sun8i-emac driver (H3/A83T/A64)

2016-02-25 Thread LABBE Corentin
On Thu, Feb 25, 2016 at 02:43:22PM +0100, Krzysztof Adamski wrote: > On Thu, Feb 25, 2016 at 01:59:43PM +0100, LABBE Corentin wrote: > >On Thu, Feb 25, 2016 at 08:52:47AM +0100, Krzysztof Adamski wrote: > >> On Mon, Feb 22, 2016 at 04:45:09PM +0100, LABBE Corentin wrote: > >> >Hello > >> > > >>

[linux-sunxi] Re: [PATCH v6] Fix sun7i pin assignment for IRQ's

2016-02-25 Thread Linus Walleij
On Thu, Feb 25, 2016 at 1:54 AM, Maxime Ripard wrote: > > Usually, the patch title should be prefixed by the subsystem it > applies to so that maintainer and reviewers can spot it more > easily. In this case, it would be something like > > pinctrl: sunxi: Fix

Re: [linux-sunxi] [PATCH RFC 0/3] sun8i-emac driver (H3/A83T/A64)

2016-02-25 Thread Krzysztof Adamski
On Thu, Feb 25, 2016 at 01:59:43PM +0100, LABBE Corentin wrote: On Thu, Feb 25, 2016 at 08:52:47AM +0100, Krzysztof Adamski wrote: On Mon, Feb 22, 2016 at 04:45:09PM +0100, LABBE Corentin wrote: >Hello > >This is a RFC patch series for supporting ethernet of H3/A83T/A64 SoCs. >For the moment,

Re: [linux-sunxi] Re: random decryption errors with sun4i-ss on dm-crypt

2016-02-25 Thread LABBE Corentin
On Thu, Feb 25, 2016 at 04:20:23AM -0800, txsan...@gmail.com wrote: > 2016. február 17., szerda 18:16:09 UTC+1 időpontban txsa...@gmail.com a > következőt írta: > > Hi > > > > I have a Cubieboard2 device, is Allwinner A20 SOC, running and Armbian 5.00 > > with kernel 4.4.1. > > > > As in the

Re: [linux-sunxi] [PATCH RFC 0/3] sun8i-emac driver (H3/A83T/A64)

2016-02-25 Thread LABBE Corentin
On Thu, Feb 25, 2016 at 08:52:47AM +0100, Krzysztof Adamski wrote: > On Mon, Feb 22, 2016 at 04:45:09PM +0100, LABBE Corentin wrote: > >Hello > > > >This is a RFC patch series for supporting ethernet of H3/A83T/A64 SoCs. > >For the moment, it is a bundle driver which handle: > >- The MAC driver >

[linux-sunxi] Re: random decryption errors with sun4i-ss on dm-crypt

2016-02-25 Thread txsanyix
2016. február 17., szerda 18:16:09 UTC+1 időpontban txsa...@gmail.com a következőt írta: > Hi > > I have a Cubieboard2 device, is Allwinner A20 SOC, running and Armbian 5.00 > with kernel 4.4.1. > > As in the latest version the sun4i-ss module is added, i tried the hardware > crypto

[linux-sunxi] Re: random decryption errors with sun4i-ss on dm-crypt

2016-02-25 Thread txsanyix
2016. február 17., szerda 18:16:09 UTC+1 időpontban txsa...@gmail.com a következőt írta: > Hi > > I have a Cubieboard2 device, is Allwinner A20 SOC, running and Armbian 5.00 > with kernel 4.4.1. > > As in the latest version the sun4i-ss module is added, i tried the hardware > crypto

[linux-sunxi] Re: [PATCH v3 00/10] arm64: Introduce Allwinner A64 and Pine64 support

2016-02-25 Thread Andre Przywara
Hi Maxime, can you give me a quick assessment on how we can progress from here? Is it already too late for at least some of the patches to go into 4.6? If not, can you at least merge the Kconfig patch (3/10) and the pinctrl driver (if that goes via your tree at all)? Do you need more reviews or

[linux-sunxi] Re: [PATCH v5] Fix sun7i pin assignment for IRQ's

2016-02-25 Thread Henry Paulissen
Op donderdag 25 februari 2016 10:36:38 UTC+1 schreef Linus Walleij: > Aha there is a v5. I took out the v4 and applied this > instead. > > > There is also a v6. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group

[linux-sunxi] Re: [PATCH v5] Fix sun7i pin assignment for IRQ's

2016-02-25 Thread Linus Walleij
On Mon, Feb 22, 2016 at 9:20 AM, Henry Paulissen wrote: > After testing IRQ pins we found some bugs in the pinctrl declaration. > Both PI* and PC* pins didn't work. PI* pins seemed to be connected > to the wrong mux and PC* pins waren't working at all. > > Please note that

[linux-sunxi] Re: [PATCH v5 3/4] ARM: dts: sun8i-h3: Add R_PIO controller node to the dtsi

2016-02-25 Thread Linus Walleij
On Mon, Feb 22, 2016 at 2:03 PM, Krzysztof Adamski wrote: > Add the corresponding device node for R_PIO on H3 to the dtsi. Support > for the controller was added in earlier commit. > > Signed-off-by: Krzysztof Adamski Acked-by: Linus Walleij

[linux-sunxi] Re: [PATCH] pinctrl: sunxi: Add missing H3 R_PIO binding documentation

2016-02-25 Thread Linus Walleij
On Thu, Feb 18, 2016 at 8:49 PM, Krzysztof Adamski wrote: > allwinner,sun8i-h3-r-pinctrl was added by > commit ba83a11104ae ("pinctrl: sunxi: Add H3 R_PIO controller support") > but the patch was missing proper binding documentation. This patch fixes > this issue. > >

[linux-sunxi] Re: [PATCH v4] Fix sun7i pin assignment for IRQ's

2016-02-25 Thread Linus Walleij
On Mon, Feb 22, 2016 at 12:17 AM, Henry Paulissen wrote: > After testing IRQ pins we found some bugs in the pinctrl declaration. > > Signed-off-by: Henry Paulissen This v4 patch applied with Chen-Yu's ACK. Yours, Linus Walleij -- You received