Re: [PATCH 4/4] ARM: dt: mvebu: ix4-300d: Add ECC properties to NAND flash

2015-11-29 Thread Thomas Petazzoni
rtised by the flash in its ONFI information (either stronger or weaker). But in this case, your commit log is confusing, because it says that the "NAND device ... uses 4-bit BCH ECC protection". If it really does, then the patch is not needed :-) Best regards, Thomas -- Thomas Peta

Re: [PATCH v7 04/14] crypto: add a new driver for Marvell's CESA

2015-06-19 Thread Thomas Petazzoni
(). For the vast majority of platforms, this is OK. It's only if you have 4 GB of RAM or more that it causes problem. And then we switch to mv_mbus_dram_info_nooverlap() as part of the -rc cycle. (2) is probably easier. Herbert, what do you think? Thomas -- Thomas Petazzoni, CTO, Free

Re: [PATCH v4] ARM: l2c: add options to overwrite prefetching behavior

2015-06-11 Thread Thomas Petazzoni
is written to AUX_CTRL), bit 28 is correctly set to 1. However, after AUX_CTRL is written, it's restored to 0. How does your patch handles the fact that the prefetch data and prefetch instr are cloned between PREFETCH_CTRL and AUX_CTRL ? Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded

Re: [PATCH v4] ARM: l2c: add options to overwrite prefetching behavior

2015-06-11 Thread Thomas Petazzoni
, and it's now done: with ARM: l2c: write auxiliary control register first + Hauke's patch, it works fine for me. Thanks! Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line

Re: [PATCH v4] ARM: l2c: add options to overwrite prefetching behavior

2015-06-11 Thread Thomas Petazzoni
?id=8391/1 Great, thanks! Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH v4] ARM: l2c: add options to overwrite prefetching behavior

2015-06-10 Thread Thomas Petazzoni
. Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH 1/2] pinctrl: mvebu: Fix mapping of pin 63 (gpo - gpio)

2015-05-29 Thread Thomas Petazzoni
, but this is weird: I just checked the datasheet again, and it really says this pin is a gpo. I'll try to get some more information. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send

Re: [PATCH 1/2] pinctrl: mvebu: Fix mapping of pin 63 (gpo - gpio)

2015-05-29 Thread Thomas Petazzoni
, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH v3 14/16] ARM: marvell/dt: enable crypto on armada-xp-gp

2015-05-27 Thread Thomas Petazzoni
. Of course, we need at least one tested board for each SoC, however. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message

Re: [PATCH v3 14/16] ARM: marvell/dt: enable crypto on armada-xp-gp

2015-05-27 Thread Thomas Petazzoni
+= board level ranges in .dts, we simply decided to always put: ranges = SoC level and board level ranges in the .dts. It does create some duplication, but that's the best we could do with the existing DT infrastructure. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons

Re: [PATCH v3 15/16] ARM: marvell/dt: add crypto node to armada 370 dtsi

2015-05-26 Thread Thomas Petazzoni
will disable it at the end of the boot. Check if crypto still works or not, and you'll get your answer :-) Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree

Re: irqchip heirarchy DT break series awareness?

2015-04-07 Thread Thomas Petazzoni
-specific hardware blocks that are definitely a lot less used than the GIC ? Best regards, Thomas Petazzoni -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree

Re: irqchip heirarchy DT break series awareness?

2015-04-07 Thread Thomas Petazzoni
to slave the upgrade of the dtb to the upgrade of the kernel. There is no 'apt-get armv7-dtbs' that has no dependency structure on a kernel package. So we agree, (2) was never guaranteed, and isn't probable either. And so is (1), then :-) Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded

Re: [PATCH 6/9] ARM: dt: dove: add Dove PMU DT entry to dove.dtsi

2015-03-13 Thread Thomas Petazzoni
of the RTC are at 0xd8500, which is also covered by this new pmu node. It does work because you're using of_iomap(), but it isn't really ideal. Maybe some sort of syscon/regmap thing should be used? Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android

Re: [PATCH v2] ARM64: Add new Xilinx ZynqMP SoC

2015-03-05 Thread Thomas Petazzoni
, GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH, GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH; And ditto for all other interrupts properties? Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe

Re: [PATCH v3 00/20] ARM: mvebu: Armada 39x basic support, and preparatory cleanups

2015-03-04 Thread Thomas Petazzoni
him to merge PATCH v3 11/20. With this done, and PATCH v2 20/20 merged by the arm-soc maintainers, I guess we should be all set with this patch series. Thanks again! Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free

Re: [PATCH 07/10] pinctrl: mvebu: add pinctrl driver for Marvell Armada 39x

2015-03-04 Thread Thomas Petazzoni
Dear Linus Walleij, On Wed, 4 Mar 2015 13:54:42 +0100, Linus Walleij wrote: On Fri, Feb 6, 2015 at 4:57 PM, Thomas Petazzoni thomas.petazz...@free-electrons.com wrote: This commit adds a new pinctrl driver for the Marvell Armada 39x family of processors, which hooks into the existing

Re: [PATCHv2 05/15] ARM: mvebu: add stdout-path to all armada-*.dts

2015-03-03 Thread Thomas Petazzoni
started working all right. Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info

[PATCH v3 08/20] ARM: mvebu: fix unit address of MPIC nodes

2015-03-03 Thread Thomas Petazzoni
The Device Tree nodes describing the MPIC nodes on Armada 370, 375, 38x and XP had a unit address that did not match the first reg property, as suggested by the ePAPR. This commit fixes that. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/arm/boot/dts/armada-370

[PATCH v3 07/20] ARM: mvebu: use stdout-path in all armada-*.dts

2015-03-03 Thread Thomas Petazzoni
. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/arm/boot/dts/armada-370-db.dts | 2 +- arch/arm/boot/dts/armada-370-mirabox.dts | 2 +- arch/arm/boot/dts/armada-370-netgear-rn102.dts | 2 +- arch/arm/boot/dts/armada-370-netgear-rn104.dts | 2

[PATCH v3 17/20] ARM: mvebu: add Device Tree files for Armada 39x SoC and board

2015-03-03 Thread Thomas Petazzoni
-muxing, clocks, system controller, MBus controller, MPIC interrupt controller, timer, CPU reset for SMP, PMSU. * I2C * SPI * SDHCI * XOR * NAND * UART * PCIe Additional features will be supported in the future. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com

[PATCH v3 11/20] devicetree: bindings: add Device Tree bindings for Armada 39x pin-muxing controller

2015-03-03 Thread Thomas Petazzoni
This commit adds the Device Tree binding documentation to describe the pin-muxing controller of the Marvell Armada 39x processors. Two variants are supported for the moment: the 88F6920 (Armada 390) and 88F6928 (Armada 398). Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com

[PATCH v3 15/20] pinctrl: mvebu: add pinctrl driver for Marvell Armada 39x

2015-03-03 Thread Thomas Petazzoni
differences in the available functions for certain pins. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- drivers/pinctrl/mvebu/Kconfig | 4 + drivers/pinctrl/mvebu/Makefile | 1 + drivers/pinctrl/mvebu/pinctrl-armada-39x.c | 432

[PATCH v3 00/20] ARM: mvebu: Armada 39x basic support, and preparatory cleanups

2015-03-03 Thread Thomas Petazzoni
- Use GIC and IRQ macros in SDHCI definition of Armada 38x - Add missing UART alias on Armada 38x Thanks! Thomas Thomas Petazzoni (20): ARM: mvebu: add __initconst specifiers on DT_MACHINE_START dt_compat tables ARM: mvebu: fix usb@ unit address on Armada 38x to match register

[PATCH v3 03/20] ARM: mvebu: add missing UART labels on Armada 38x

2015-03-03 Thread Thomas Petazzoni
The Armada 38x had a label for UART0, but not UART1. This commit fixes that. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Acked-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/boot/dts/armada-38x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v3 01/20] ARM: mvebu: add __initconst specifiers on DT_MACHINE_START dt_compat tables

2015-03-03 Thread Thomas Petazzoni
As suggested by Stephen Boyd, this commit adds the __initconst specifier to the dt_compat table declarations used by the DT_MACHINE_START structures in mach-mvebu land. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Acked-by: Gregory CLEMENT gregory.clem...@free-electrons.com

[PATCH v3 13/20] clk: mvebu: extend common code to allow an optional refclk

2015-03-03 Thread Thomas Petazzoni
is 25 or 40 Mhz. Therefore, this commit extends the common mvebu clock code to allow the SoC-specific code to say it wants to register a reference clock, by giving a non-NULL -get_refclk_freq() function pointer in its coreclk_soc_desc structure. Signed-off-by: Thomas Petazzoni thomas.petazz...@free

[PATCH v3 12/20] devicetree: bindings: add new SMP enable method for Marvell Armada 39x

2015-03-03 Thread Thomas Petazzoni
This commit updates the ARM CPUs Device Tree binding to document a new enable method of Marvell Armada 39x processors. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- Documentation/devicetree/bindings/arm/cpus.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 02/20] ARM: mvebu: fix usb@ unit address on Armada 38x to match register address

2015-03-03 Thread Thomas Petazzoni
On Marvell Armada 38x, the USB2 controller registers are at 0x58000, so the corresponding Device Tree node should have a unit address of 58000, and not 5. We were using 5 due to an incorrect copy/pastebin of Armada 370/XP code. Signed-off-by: Thomas Petazzoni thomas.petazz...@free

[PATCH v3 05/20] ARM: mvebu: remove aliases for Ethernet devices on Armada 370/375/38x/XP

2015-03-03 Thread Thomas Petazzoni
some aliases to it. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/arm/boot/dts/armada-370-xp.dtsi | 2 -- arch/arm/boot/dts/armada-375.dtsi| 2 -- arch/arm/boot/dts/armada-38x.dtsi| 3 --- arch/arm/boot/dts/armada-xp-mv78260.dtsi | 1 - arch/arm/boot

[PATCH v3 06/20] ARM: mvebu: add serial port aliases on Armada 370/375/38x/XP

2015-03-03 Thread Thomas Petazzoni
This commit adds 'serialX' aliases for the various serial ports on Armada 370, 375, 38x and XP platforms. It will allow the usage of the stdout-path property. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/arm/boot/dts/armada-370-xp.dtsi | 2 ++ arch/arm/boot/dts

[PATCH v3 09/20] devicetree: bindings: add DT binding for the Marvell Armada 39x SoC family

2015-03-03 Thread Thomas Petazzoni
The Marvell Armada 39x is a family of two SoCs: the Armada 390 and the Armada 398, with a slightly different number of interfaces. This commit introduces the Device Tree binding that documents the top-level compatible strings for Armada 39x based platforms. Signed-off-by: Thomas Petazzoni

[PATCH v3 14/20] clk: mvebu: add Marvell Armada 39x driver

2015-03-03 Thread Thomas Petazzoni
clock in frequency Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- drivers/clk/mvebu/Kconfig | 4 ++ drivers/clk/mvebu/Makefile | 1 + drivers/clk/mvebu/armada-39x.c | 156 + 3 files changed, 161 insertions(+) create mode

[PATCH v3 19/20] ARM: mvebu: enable Armada 39x in mvebu_v7_defconfig

2015-03-03 Thread Thomas Petazzoni
Following the introduction of the Marvell Armada 39x support, let's enabled it by default in mvebu_v7_defconfig. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/arm/configs/mvebu_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs

[PATCH v3 20/20] ARM: configs: enable Marvell Armada 39x in multi_v7_defconfig

2015-03-03 Thread Thomas Petazzoni
Following the introduction of the Marvell Armada 39x support, let's enable this support by default in multi_v7_defconfig. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Cc: a...@kernel.org --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v3 04/20] ARM: mvebu: add UART labels to Armada 375

2015-03-03 Thread Thomas Petazzoni
This commit adds the standard uart0 and uart1 DT labels to the Device Tree description of the Marvell Armada 375 SoC. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/arm/boot/dts/armada-375.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v3 16/20] ARM: mvebu: add core support for Armada 39x

2015-03-03 Thread Thomas Petazzoni
as doing the same thing as the marvell,armada-380-smp one. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/arm/mach-mvebu/Kconfig | 14 ++ arch/arm/mach-mvebu/board-v7.c | 14 ++ arch/arm/mach-mvebu/platsmp-a9.c | 2 ++ 3 files changed, 30

Re: [PATCHv2 05/15] ARM: mvebu: add stdout-path to all armada-*.dts

2015-02-28 Thread Thomas Petazzoni
. Mark forgot the ''. So does 'stdout-path = uart0:115200n8;' work? I don't have the board at hand right now, will try this on Tuesday when coming back to the office. Thanks for the suggestion! Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android

Re: [PATCHv2 05/15] ARM: mvebu: add stdout-path to all armada-*.dts

2015-02-27 Thread Thomas Petazzoni
was explicitly suggested by Mark in his e-mail. uart0 is an alias to the proper DT node, since stdout-path = uart0; works almost fine. This is all on v4.0-rc1. Seems like this stdout-path feature is not quite working in all situations yet. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons

Re: [PATCHv2 04/15] ARM: mvebu: use IRQ macros to define the SDHCI interrupt on Armada 38x

2015-02-27 Thread Thomas Petazzoni
Gregory, On Mon, 23 Feb 2015 16:27:02 +0100, Gregory CLEMENT wrote: I already submitted this fix as part of the fixes and improvements for SDHCI series. Ok, I will drop this patch from my series. Thanks! Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android

Re: [PATCHv2 05/15] ARM: mvebu: add stdout-path to all armada-*.dts

2015-02-23 Thread Thomas Petazzoni
, will be in v3, rebased on top of 4.0-rc1. I also noticed another issue in the patch series: missing Armada 375 UART aliases. I'll fix that up as well when sending v3. Thanks for the feedback! Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free

Re: [PATCH 03/10] devicetree: bindings: add Device Tree bindings for Armada 39x pin-muxing controller

2015-02-20 Thread Thomas Petazzoni
binding file ? Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH 08/10] ARM: mvebu: add core support for Armada 39x

2015-02-20 Thread Thomas Petazzoni
tables. Will be in v2. Thanks! Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH 09/10] ARM: mvebu: add Device Tree files for Armada 39x SoC and board

2015-02-20 Thread Thomas Petazzoni
that is best left at the board level. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org

Re: [PATCH 09/10] ARM: mvebu: add Device Tree files for Armada 39x SoC and board

2015-02-20 Thread Thomas Petazzoni
defaults. Fair enough :) Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info

[PATCHv2 11/15] clk: mvebu: add Marvell Armada 39x driver

2015-02-20 Thread Thomas Petazzoni
clock in frequency Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- drivers/clk/mvebu/Kconfig | 4 ++ drivers/clk/mvebu/Makefile | 1 + drivers/clk/mvebu/armada-39x.c | 156 + 3 files changed, 161 insertions(+) create mode

[PATCHv2 01/15] ARM: mvebu: add __initconst specifiers on DT_MACHINE_START dt_compat tables

2015-02-20 Thread Thomas Petazzoni
As suggested by Stephen Boyd, this commit adds the __initconst specifier to the dt_compat table declarations used by the DT_MACHINE_START structures in mach-mvebu land. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/arm/mach-mvebu/board-v7.c | 6 +++--- arch/arm

[PATCHv2 08/15] devicetree: bindings: add Device Tree bindings for Armada 39x pin-muxing controller

2015-02-20 Thread Thomas Petazzoni
This commit adds the Device Tree binding documentation to describe the pin-muxing controller of the Marvell Armada 39x processors. Two variants are supported for the moment: the 88F6920 (Armada 390) and 88F6928 (Armada 398). Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com

[PATCHv2 09/15] devicetree: bindings: add new SMP enable method for Marvell Armada 39x

2015-02-20 Thread Thomas Petazzoni
This commit updates the ARM CPUs Device Tree binding to document a new enable method of Marvell Armada 39x processors. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- Documentation/devicetree/bindings/arm/cpus.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCHv2 10/15] clk: mvebu: extend common code to allow an optional refclk

2015-02-20 Thread Thomas Petazzoni
is 25 or 40 Mhz. Therefore, this commit extends the common mvebu clock code to allow the SoC-specific code to say it wants to register a reference clock, by giving a non-NULL -get_refclk_freq() function pointer in its coreclk_soc_desc structure. Signed-off-by: Thomas Petazzoni thomas.petazz...@free

[PATCHv2 12/15] pinctrl: mvebu: add pinctrl driver for Marvell Armada 39x

2015-02-20 Thread Thomas Petazzoni
differences in the available functions for certain pins. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- drivers/pinctrl/mvebu/Kconfig | 4 + drivers/pinctrl/mvebu/Makefile | 1 + drivers/pinctrl/mvebu/pinctrl-armada-39x.c | 432

[PATCHv2 04/15] ARM: mvebu: use IRQ macros to define the SDHCI interrupt on Armada 38x

2015-02-20 Thread Thomas Petazzoni
. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/arm/boot/dts/armada-38x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi index 8c76a8d..0f0cc41 100644 --- a/arch/arm/boot/dts

[PATCHv2 03/15] ARM: mvebu: add missing UART alias on Armada 38x

2015-02-20 Thread Thomas Petazzoni
The Armada 38x had an alias for UART0, but not UART1. This commit fixes that. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/arm/boot/dts/armada-38x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch

[PATCHv2 02/15] ARM: mvebu: fix usb@ unit address on Armada 38x to match register address

2015-02-20 Thread Thomas Petazzoni
On Marvell Armada 38x, the USB2 controller registers are at 0x58000, so the corresponding Device Tree node should have a unit address of 58000, and not 5. We were using 5 due to an incorrect copy/pastebin of Armada 370/XP code. Signed-off-by: Thomas Petazzoni thomas.petazz...@free

[PATCHv2 07/15] devicetree: bindings: update DT bindings for Marvell EBU clock support

2015-02-20 Thread Thomas Petazzoni
With the introduction of the Marvell Armada 39x SoC, the DT bindings for Marvell EBU clocks need to be extended. This commit include the corresponding update to the Device Tree bindings documentation. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- .../devicetree/bindings

[PATCHv2 14/15] ARM: mvebu: add Device Tree files for Armada 39x SoC and board

2015-02-20 Thread Thomas Petazzoni
, clocks, system controller, MBus controller, MPIC interrupt controller, timer, CPU reset for SMP, PMSU. * I2C * UART * PCIe Additional features will be supported in the future. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/arm/boot/dts/Makefile | 2

[PATCHv2 05/15] ARM: mvebu: add stdout-path to all armada-*.dts

2015-02-20 Thread Thomas Petazzoni
This commit adds the stdout-path property in /chosen for all Armada boards that were not yet carrying this property. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/arm/boot/dts/armada-370-db.dts | 1 + arch/arm/boot/dts/armada-370-mirabox.dts

[PATCHv2 13/15] ARM: mvebu: add core support for Armada 39x

2015-02-20 Thread Thomas Petazzoni
as doing the same thing as the marvell,armada-380-smp one. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/arm/mach-mvebu/Kconfig | 14 ++ arch/arm/mach-mvebu/board-v7.c | 14 ++ arch/arm/mach-mvebu/platsmp-a9.c | 2 ++ 3 files changed, 30

[PATCHv2 06/15] devicetree: bindings: add DT binding for the Marvell Armada 39x SoC family

2015-02-20 Thread Thomas Petazzoni
The Marvell Armada 39x is a family of two SoCs: the Armada 390 and the Armada 398, with a slightly different number of interfaces. This commit introduces the Device Tree binding that documents the top-level compatible strings for Armada 39x based platforms. Signed-off-by: Thomas Petazzoni

[PATCHv2 00/15] ARM: mvebu: Armada 39x basic support, and preparatory cleanups

2015-02-20 Thread Thomas Petazzoni
regards, Thomas Thomas Petazzoni (15): ARM: mvebu: add __initconst specifiers on DT_MACHINE_START dt_compat tables ARM: mvebu: fix usb@ unit address on Armada 38x to match register address ARM: mvebu: add missing UART alias on Armada 38x ARM: mvebu: use IRQ macros to define the SDHCI

[PATCHv2 15/15] Documentation: arm: update supported Marvell EBU processors

2015-02-20 Thread Thomas Petazzoni
Now that we support Armada 39x, let's add this family of SoC to the Marvell documentation, and a reference to a link with more details about those processors. Unfortunately, no datasheet is publicly available at this time. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com

[PATCH 05/10] clk: mvebu: extend common code to allow an optional refclk

2015-02-06 Thread Thomas Petazzoni
is 25 or 40 Mhz. Therefore, this commit extends the common mvebu clock code to allow the SoC-specific code to say it wants to register a reference clock, by giving a non-NULL -get_refclk_freq() function pointer in its coreclk_soc_desc structure. Signed-off-by: Thomas Petazzoni thomas.petazz...@free

[PATCH 00/10] ARM: mvebu: add basic support for Armada 39x

2015-02-06 Thread Thomas Petazzoni
. Such an early posting is done to gather early review and feedback. I'll repost an updated series that takes into account the initial feedback once 3.20-rc1 lands. Thanks, Thomas Petazzoni Thomas Petazzoni (10): devicetree: bindings: add DT binding for the Marvell Armada 39x SoC family

[PATCH 04/10] devicetree: bindings: add new SMP enable method for Marvell Armada 39x

2015-02-06 Thread Thomas Petazzoni
This commit updates the ARM CPUs Device Tree binding to document a new enable method of Marvell Armada 39x processors. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- Documentation/devicetree/bindings/arm/cpus.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 02/10] devicetree: bindings: update DT bindings for Marvell EBU clock support

2015-02-06 Thread Thomas Petazzoni
With the introduction of the Marvell Armada 39x SoC, the DT bindings for Marvell EBU clocks need to be extended. This commit include the corresponding update to the Device Tree bindings documentation. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- .../devicetree/bindings

[PATCH 08/10] ARM: mvebu: add core support for Armada 39x

2015-02-06 Thread Thomas Petazzoni
the same thing as the marvell,armada-380-smp one. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/arm/mach-mvebu/Kconfig | 14 ++ arch/arm/mach-mvebu/board-v7.c | 14 ++ arch/arm/mach-mvebu/platsmp-a9.c | 2 ++ 3 files changed, 30

[PATCH 09/10] ARM: mvebu: add Device Tree files for Armada 39x SoC and board

2015-02-06 Thread Thomas Petazzoni
, clocks, system controller, MBus controller, MPIC interrupt controller, timer, CPU reset for SMP, PMSU. * I2C * UART * PCIe Additional features will be supported in the future. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/arm/boot/dts/Makefile | 2

[PATCH 07/10] pinctrl: mvebu: add pinctrl driver for Marvell Armada 39x

2015-02-06 Thread Thomas Petazzoni
differences in the available functions for certain pins. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- drivers/pinctrl/mvebu/Kconfig | 4 + drivers/pinctrl/mvebu/Makefile | 1 + drivers/pinctrl/mvebu/pinctrl-armada-39x.c | 432

[PATCH 06/10] clk: mvebu: add Marvell Armada 39x driver

2015-02-06 Thread Thomas Petazzoni
clock in frequency Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- drivers/clk/mvebu/Kconfig | 4 ++ drivers/clk/mvebu/Makefile | 1 + drivers/clk/mvebu/armada-39x.c | 156 + 3 files changed, 161 insertions(+) create mode

[PATCH 10/10] Documentation: arm: update supported Marvell EBU processors

2015-02-06 Thread Thomas Petazzoni
Now that we support Armada 39x, let's add this family of SoC to the Marvell documentation, and a reference to a link with more details about those processors. Unfortunately, no datasheet is publicly available at this time. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com

[PATCH 01/10] devicetree: bindings: add DT binding for the Marvell Armada 39x SoC family

2015-02-06 Thread Thomas Petazzoni
The Marvell Armada 39x is a family of two SoCs: the Armada 390 and the Armada 398, with a slightly different number of interfaces. This commit introduces the Device Tree binding that documents the top-level compatible strings for Armada 39x based platforms. Signed-off-by: Thomas Petazzoni

[PATCH 03/10] devicetree: bindings: add Device Tree bindings for Armada 39x pin-muxing controller

2015-02-06 Thread Thomas Petazzoni
This commit adds the Device Tree binding documentation to describe the pin-muxing controller of the Marvell Armada 39x processors. Two variants are supported for the moment: the 88F6920 (Armada 390) and 88F6928 (Armada 398). Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com

Re: [PATCH] i2c: mv64xxx: enable acquisition of timeout value from Device Tree

2015-01-15 Thread Thomas Petazzoni
the default + timeout is 1000ms I think this description lacks one information: the timeout of *what* ? Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send

Re: [PATCH v2 1/5] rtc: armada38x: Add the device tree binding documentation

2015-01-15 Thread Thomas Petazzoni
? Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH v2 1/5] rtc: armada38x: Add the device tree binding documentation

2015-01-14 Thread Thomas Petazzoni
-rtc; + reg = 0xa3800 0x20, 0x184a0 0x0c; Any reason to use 0x184A0 0xC instead of 0x184A8 0x4 ? According to the datasheet, there is only this 184A8 register for RTC stuff. Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free

Re: [PATCH v4 07/12] ARM: mvebu: Add Armada 385 Access Point Development Board support

2015-01-08 Thread Thomas Petazzoni
Dear Gregory CLEMENT, On Thu, 8 Jan 2015 18:38:09 +0100, Gregory CLEMENT wrote: +#include armada-385.dtsi Is it an Armada 385 or an Armada 388 ? Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com

Re: [PATCH v2 7/8] ARM: mvebu: Add Device Tree description of the Armada 388 SoC

2015-01-08 Thread Thomas Petazzoni
, it remains to be confirmed, but in general most Marvell development platforms use the superset SoC, which has all the functionalities. Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send

Re: [PATCH v2 6/8] ARM: mvebu: Document the Device Tree binding for the Armada 388 SoC

2015-01-08 Thread Thomas Petazzoni
: compatible = board, marvell,armada388, marvell,armada385, marvell,armada380; ? That's not what you do in the new armada-385-gp.dts. The 388 is a superset of the 385, which itself is a superset of the 380. Should this be reflected in this list of compatible strings? Thanks, Thomas -- Thomas

Re: [PATCH v4 07/12] ARM: mvebu: Add Armada 385 Access Point Development Board support

2015-01-08 Thread Thomas Petazzoni
regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH] spi: orion: Add multiple chip select support for Armada 370 and 375

2015-01-06 Thread Thomas Petazzoni
definitely be welcome. Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH 0/3] Add Armada 385 General Purpose Development Board support

2014-12-31 Thread Thomas Petazzoni
with an A0 revision, not a B0. But it's indeed different from the Z1 revision we have been using until now. At least, my Armada XP GP says: Board: DB-88F6820-GP SoC: MV88F6828 Rev A0 Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free

Re: [PATCH 3/3] ARM: mvebu: Add Armada 385 General Purpose Development Board support

2014-12-31 Thread Thomas Petazzoni
-inverted; Why do you have a wp-inverted property, with no wp-gpios property? If I understand the DT binding correctly, wp-inverted only makes sense when wp-gpios is used. Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com

Re: [PATCH 1/2] ARM: dts: kirkwood: enable phy driver for SATA controller on 88f6192

2014-12-16 Thread Thomas Petazzoni
for indentation in Device Tree files. Thanks! Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More

Re: [RFC V1 0/8] CPUFreq: create platform-dev for DT based cpufreq drivers

2014-12-02 Thread Thomas Petazzoni
driver part has been taken, and I forgot to resubmit the mach-mvebu part of the solution. I'll do so today. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCHv2 05/16] gpio: mvebu: add suspend/resume support

2014-11-27 Thread Thomas Petazzoni
Dear Linus Walleij, On Thu, 27 Nov 2014 14:29:47 +0100, Linus Walleij wrote: On Fri, Nov 14, 2014 at 4:21 PM, Thomas Petazzoni thomas.petazz...@free-electrons.com wrote: This commit adds the implementation of -suspend() and -resume() platform_driver hooks in order to save and restore

Re: [PATCHv3 02/16] ARM: mvebu: enable strex backoff delay

2014-11-25 Thread Thomas Petazzoni
/viewpatch.php?id=8222/1. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCHv3 08/16] clk: mvebu: add suspend/resume for gatable clocks

2014-11-24 Thread Thomas Petazzoni
Mike, On Mon, 24 Nov 2014 22:07:00 -0800, Mike Turquette wrote: Quoting Thomas Petazzoni (2014-11-21 08:00:05) This commit adds suspend/resume support for the gatable clock driver used on Marvell EBU platforms. When getting out of suspend, the Marvell EBU platforms go through

Re: [PATCHv3 09/16] ARM: mvebu: implement suspend/resume support for Armada XP

2014-11-24 Thread Thomas Petazzoni
rails. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCHv3 09/16] ARM: mvebu: implement suspend/resume support for Armada XP

2014-11-22 Thread Thomas Petazzoni
to use a different protocol, we would basically have a suspend/resume in the kernel that would not work with any Marvell platform that uses the default bootloader. I hope that this clarifies how things are working. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux

Re: [PATCHv2 08/16] clk: mvebu: add suspend/resume for gatable clocks

2014-11-21 Thread Thomas Petazzoni
Dear Mike Turquette, On Mon, 17 Nov 2014 14:46:04 -0800, Mike Turquette wrote: Quoting Thomas Petazzoni (2014-11-14 07:21:28) This commit adds suspend/resume support for the gatable clock driver used on Marvell EBU platforms. When getting out of suspend, the Marvell EBU platforms go

[PATCHv3 03/16] irqchip: irq-armada-370-xp: suspend/resume support

2014-11-21 Thread Thomas Petazzoni
to the boot CPU. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Cc: Thomas Gleixner t...@linutronix.de Cc: Jason Cooper ja...@lakedaemon.net Cc: linux-ker...@vger.kernel.org --- drivers/irqchip/irq-armada-370-xp.c | 52 + 1 file changed, 52

[PATCHv3 01/16] Documentation: dt-bindings: minimal documentation for MVEBU SDRAM controller

2014-11-21 Thread Thomas Petazzoni
The suspend/resume code for Armada XP has to modify certain registers of the SDRAM controller. Therefore, we need to define a Device Tree binding for this hardware block. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Cc: devicetree@vger.kernel.org Cc: Kumar Gala ga

[PATCHv3 02/16] ARM: mvebu: enable strex backoff delay

2014-11-21 Thread Thomas Petazzoni
reword the commit log, add stable markers.] Cc: Russell King li...@arm.linux.org.uk Cc: sta...@vger.kernel.org # v3.8+ Fixes: de4901933f6d (arm: mm: Add support for PJ4B cpu and init routines) Signed-off-by: Nadav Haklai nad...@marvell.com Signed-off-by: Thomas Petazzoni thomas.petazz...@free

[PATCHv3 07/16] bus: mvebu-mbus: provide a mechanism to save SDRAM window configuration

2014-11-21 Thread Thomas Petazzoni
be understood by the bootloader boot info mechanism. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Reviewed-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- drivers/bus/mvebu-mbus.c | 56 include/linux/mbus.h | 1 + 2 files

[PATCHv3 00/16] Suspend to RAM support for Armada XP

2014-11-21 Thread Thomas Petazzoni
strex backoff delay Thomas Petazzoni (15): Documentation: dt-bindings: minimal documentation for MVEBU SDRAM controller irqchip: irq-armada-370-xp: suspend/resume support clocksource: time-armada-370-xp: add suspend/resume support gpio: mvebu: add suspend/resume support bus: mvebu-mbus

[PATCHv3 11/16] ARM: mvebu: Armada XP GP specific suspend/resume code

2014-11-21 Thread Thomas Petazzoni
Tree to find out which GPIOs are used to connect to the PIC micro-controller, and then registers its mvebu_armada_xp_gp_pm_enter() callback to the SoC-level PM code. The SoC PM code will call back into this registered function at the very end of the suspend procedure. Signed-off-by: Thomas Petazzoni

[PATCHv3 12/16] ARM: mvebu: make sure MMU is disabled in armada_370_xp_cpu_resume

2014-11-21 Thread Thomas Petazzoni
is enabled or not to find out whether we should talk to the coherency fabric using a physical address or a virtual address. To fix that, we simply disable the MMU when entering this function, so that the kernel is in an expected situation. Signed-off-by: Thomas Petazzoni thomas.petazz...@free

[PATCHv3 15/16] ARM: mvebu: adjust mbus controller description on Armada 370/XP

2014-11-21 Thread Thomas Petazzoni
In order to support suspend/resume on Armada XP, an additional set of registers need to be described at the MBus controller level. This commit therefore adjusts the Device Tree of the Armada 370/XP SoC to include those registers in the MBus controller description; Signed-off-by: Thomas Petazzoni

[PATCHv3 13/16] ARM: mvebu: synchronize secondary CPU clocks on resume

2014-11-21 Thread Thomas Petazzoni
the guarantee that the code starting the secondary CPUs is going to run on the boot CPU and will not be migrated. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Acked-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/mach-mvebu/platsmp.c | 31

[PATCHv3 10/16] ARM: mvebu: reserve the first 10 KB of each memory bank for suspend/resume

2014-11-21 Thread Thomas Petazzoni
of each DRAM chip-select using the memblock API. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Acked-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/mach-mvebu/board-v7.c | 51 ++ 1 file changed, 51 insertions(+) diff

  1   2   3   4   >