[PATCH v8 1/2] pwm: add support for atmel-hlcdc-pwm device

2014-10-06 Thread Boris Brezillon
The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provide a PWM device. This driver add support for a PWM chip exposing a single PWM device (which will most likely be used to drive a backlight device). Signed-off-by: Boris Brezillon

Re: [PATCH v7 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-10-06 Thread Boris Brezillon
On Mon, 6 Oct 2014 16:26:10 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Mon, Oct 06, 2014 at 03:53:58PM +0200, Boris Brezillon wrote: On Mon, 6 Oct 2014 14:35:06 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Mon, Oct 06, 2014 at 02:14:40PM +0200, Boris Brezillon

Re: [PATCH v8 2/2] pwm: add DT bindings documentation for atmel-hlcdc-pwm driver

2014-10-07 Thread Boris Brezillon
On Tue, 7 Oct 2014 10:47:05 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Mon, Oct 06, 2014 at 04:07:03PM +0200, Boris Brezillon wrote: The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provide a PWM device. The DT

Re: [PATCH v8 1/2] pwm: add support for atmel-hlcdc-pwm device

2014-10-07 Thread Boris Brezillon
On Tue, 7 Oct 2014 10:45:16 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Mon, Oct 06, 2014 at 04:07:02PM +0200, Boris Brezillon wrote: The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provide a PWM device

[PATCH v6 2/2] mtd: nand: add sunxi NFC dt bindings doc

2014-10-20 Thread Boris Brezillon
Add the sunxi NAND Flash Controller dt bindings documentation. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- .../devicetree/bindings/mtd/sunxi-nand.txt | 45 ++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v6 1/2] mtd: nand: add sunxi NAND flash controller support

2014-10-20 Thread Boris Brezillon
Add support for the sunxi NAND Flash Controller (NFC). Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/mtd/nand/Kconfig |6 + drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/sunxi_nand.c | 1400 + 3 files

[PATCH v6 0/2] mtd: nand: add sunxi NAND flash controller support

2014-10-20 Thread Boris Brezillon
- rework NAND timings retrieval (use ONFI timing mode instead of raw timings) - add nand-ecc-level property to specify NAND ECC requirements from DT Boris Brezillon (2): mtd: nand: add sunxi NAND flash controller support mtd: nand: add sunxi NFC dt bindings doc .../devicetree/bindings/mtd

Re: [PATCH v9 00/10] rtc: at91sam9: add DT support

2014-10-20 Thread Boris Brezillon
Hi Alessandro, On Tue, 23 Sep 2014 16:48:35 +0200 Boris BREZILLON boris.brezil...@free-electrons.com wrote: Hello, This patch series adds DT support to the atmel at91sam9 RTC driver. It also removes any machine specific inclusions to prepare the migration to multi platform kernel support

Re: [PATCH v6 1/2] mtd: nand: add sunxi NAND flash controller support

2014-10-20 Thread Boris Brezillon
Hi Varka, On Mon, 20 Oct 2014 17:31:51 +0530 Varka Bhadram varkabhad...@gmail.com wrote: On 10/20/2014 05:15 PM, Boris Brezillon wrote: Add support for the sunxi NAND Flash Controller (NFC). (...) + +static int sunxi_nfc_dev_ready(struct mtd_info *mtd) +{ + struct nand_chip

Re: [PATCH v6 2/2] mtd: nand: add sunxi NFC dt bindings doc

2014-10-21 Thread Boris Brezillon
Hi Brian, On Mon, 20 Oct 2014 19:41:34 -0700 Brian Norris computersforpe...@gmail.com wrote: Hi Boris, On Mon, Oct 20, 2014 at 01:45:20PM +0200, Boris Brezillon wrote: Add the sunxi NAND Flash Controller dt bindings documentation. Signed-off-by: Boris Brezillon boris.brezil...@free

[PATCH v7 0/2] mtd: nand: add sunxi NAND flash controller support

2014-10-21 Thread Boris Brezillon
timing mode instead of raw timings) - add nand-ecc-level property to specify NAND ECC requirements from DT Boris Brezillon (2): mtd: nand: add sunxi NAND flash controller support mtd: nand: add sunxi NFC dt bindings doc .../devicetree/bindings/mtd/sunxi-nand.txt | 45 + drivers/mtd

[PATCH v7 2/2] mtd: nand: add sunxi NFC dt bindings doc

2014-10-21 Thread Boris Brezillon
Add the sunxi NAND Flash Controller dt bindings documentation. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- .../devicetree/bindings/mtd/sunxi-nand.txt | 45 ++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v7 1/2] mtd: nand: add sunxi NAND flash controller support

2014-10-21 Thread Boris Brezillon
Add support for the sunxi NAND Flash Controller (NFC). Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/mtd/nand/Kconfig |6 + drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/sunxi_nand.c | 1426 + 3 files

Re: [PATCH v6 2/2] mtd: nand: add sunxi NFC dt bindings doc

2014-10-21 Thread Boris Brezillon
On Tue, 21 Oct 2014 06:13:16 -0700 (PDT) Ezaul Zillmer ezaulzill...@gmail.com wrote: Hello everyone Boris Brezillon downloaded sunxi-nand-v6 now compiled for Cubieboard2 https://github.com/bbrezillon/linux-sunxi.git sunxi b-nand-v6 u-boot git clone https://github.com/jwrdegoede/u

Re: [PATCH v6 2/2] mtd: nand: add sunxi NFC dt bindings doc

2014-10-21 Thread Boris Brezillon
On Tue, 21 Oct 2014 06:13:16 -0700 (PDT) Ezaul Zillmer ezaulzill...@gmail.com wrote: Hello everyone Boris Brezillon downloaded sunxi-nand-v6 now compiled for Cubieboard2 https://github.com/bbrezillon/linux-sunxi.git sunxi b-nand-v6 u-boot git clone https://github.com/jwrdegoede/u

Re: [PATCH v6 2/2] mtd: nand: add sunxi NFC dt bindings doc

2014-10-21 Thread Boris Brezillon
markers). Please follow these steps: 1) apply this patch [1] 2) boot on your new kernel and launch $ flash_erase /dev/mtd0 0 0 3) revert the patch 4) Boot on your new kernel Most of your bad blocks should be gone after that... [1]http://code.bulix.org/k2v1hx-87237 -- Boris Brezillon, Free

Re: [PATCH v7 1/2] mtd: nand: add sunxi NAND flash controller support

2014-10-28 Thread Boris Brezillon
Hi Brian, On Tue, 28 Oct 2014 11:13:11 -0700 Brian Norris computersforpe...@gmail.com wrote: Hi Boris, On Tue, Oct 21, 2014 at 03:08:41PM +0200, Boris Brezillon wrote: +static int sunxi_nand_hw_ecc_ctrl_init(struct mtd_info *mtd, + struct nand_ecc_ctrl

Re: [PATCH v7 1/2] mtd: nand: add sunxi NAND flash controller support

2014-10-29 Thread Boris Brezillon
Hi Brian, On Tue, 28 Oct 2014 11:13:11 -0700 Brian Norris computersforpe...@gmail.com wrote: Hi Boris, On Tue, Oct 21, 2014 at 03:08:41PM +0200, Boris Brezillon wrote: +static int sunxi_nand_hw_ecc_ctrl_init(struct mtd_info *mtd, + struct nand_ecc_ctrl

[PATCH v2 03/11] mfd: syscon: Add atmel-smc registers definition

2014-11-05 Thread Boris Brezillon
Atmel AT91 SoCs have a memory range reserved for SMC (Static Memory Controller) configuration. Expose those registers so that drivers can make use of the smc syscon declared in at91 DTs. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- include/linux/mfd/syscon/atmel-smc.h

[PATCH v2 08/11] ARM: at91/dt: add HSMC (Static Memory Controller) node in sama5d3 dtsi

2014-11-05 Thread Boris Brezillon
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index 5f4144d..9f1eed5 100644 --- a/arch/arm/boot/dts/sama5d3.dtsi +++ b

[PATCH v2 11/11] ARM: at91/dt: add NOR definition in sama5d3xcm dtsi

2014-11-05 Thread Boris Brezillon
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3xcm.dtsi | 34 ++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3xcm.dtsi b/arch/arm/boot/dts/sama5d3xcm.dtsi index 962dc28..857ef05 100644

[PATCH v2 10/11] ARM: at91/dt: add EBI (External Bus Interface) node in sama5d3 dtsi

2014-11-05 Thread Boris Brezillon
Add EBI node and EBI pin muxing. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3.dtsi | 83 ++ 1 file changed, 83 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi

[PATCH v2 09/11] ARM: at91/dt: add matrix node in sama5d3 dtsi

2014-11-05 Thread Boris Brezillon
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index 9f1eed5..d49dab7 100644 --- a/arch/arm/boot/dts/sama5d3.dtsi +++ b

[PATCH v2 01/11] mfd: syscon: Add atmel-matrix registers definition

2014-11-05 Thread Boris Brezillon
AT91 SoCs have a memory range reserved for internal bus configuration. Expose those registers so that drivers can make use of the matrix syscon declared in at91 DTs. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- include/linux/mfd/syscon/atmel-matrix.h | 114

[PATCH v2 07/11] ARM: at91: select ATMEL_EBI when compiling a kernel for at91sam9 or sama5d3

2014-11-05 Thread Boris Brezillon
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/mach-at91/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index 0e6d548..a72402a 100644 --- a/arch/arm/mach-at91/Kconfig +++ b/arch/arm/mach-at91

[PATCH v2 06/11] memory: atmel-ebi: add DT bindings documentation

2014-11-05 Thread Boris Brezillon
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- .../bindings/memory-controllers/atmel-ebi.txt | 153 + 1 file changed, 153 insertions(+) create mode 100644 Documentation/devicetree/bindings/memory-controllers/atmel-ebi.txt diff --git

[PATCH v2 05/11] memory: add Atmel EBI (External Bus Interface) driver

2014-11-05 Thread Boris Brezillon
-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/memory/Kconfig | 11 + drivers/memory/Makefile| 1 + drivers/memory/atmel-ebi.c | 615 + 3 files changed, 627 insertions(+) create mode 100644 drivers/memory/atmel-ebi.c diff

[PATCH v2 00/11] memory: add Atmel EBI (External Bus Interface) driver

2014-11-05 Thread Boris Brezillon
version of this driver (IIRC, you focused on the DT binding part), could you give your feedback on this version (I based the new DT binding on TI's aemif driver). Changes since v1: - almost everything :-) Boris Brezillon (11): mfd: syscon: Add atmel-matrix registers definition mfd: syscon: Add

[PATCH v2 04/11] mfd: syscon: Add Atmel SMC binding doc

2014-11-05 Thread Boris Brezillon
) according to their need. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- Documentation/devicetree/bindings/mfd/atmel-smc.txt | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/atmel-smc.txt diff --git

[PATCH v2 02/11] mfd: syscon: Add Atmel Matrix bus DT binding documentation

2014-11-05 Thread Boris Brezillon
The Matrix registers are provided to configure internal bus behavior on at91 SoCs. Some registers might be access by several drivers (e.g. to configure external memory bus timings), hence we declare this register set as a syscon device. Signed-off-by: Boris Brezillon boris.brezil...@free

Re: [PATCH v2 06/11] memory: atmel-ebi: add DT bindings documentation

2014-11-05 Thread Boris Brezillon
On Wed, 5 Nov 2014 17:22:57 +0100 Jean-Jacques Hiblot jjhib...@traphandler.com wrote: Hi Boris, 2014-11-05 17:01 GMT+01:00 Boris Brezillon boris.brezil...@free-electrons.com: Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- .../bindings/memory-controllers/atmel

Re: [PATCH v2 05/11] memory: add Atmel EBI (External Bus Interface) driver

2014-11-05 Thread Boris Brezillon
On Wed, 5 Nov 2014 17:53:42 +0100 Jean-Jacques Hiblot jjhib...@traphandler.com wrote: 2014-11-05 17:01 GMT+01:00 Boris Brezillon boris.brezil...@free-electrons.com: The EBI (External Bus Interface) is used to access external peripherals (NOR, SRAM, NAND, and other specific devices like

Re: [PATCH v2 01/11] mfd: syscon: Add atmel-matrix registers definition

2014-11-07 Thread Boris Brezillon
Hi Alexandre, On Fri, 7 Nov 2014 14:45:10 +0100 Alexandre Belloni alexandre.bell...@free-electrons.com wrote: On 05/11/2014 at 17:01:17 +0100, Boris Brezillon wrote : AT91 SoCs have a memory range reserved for internal bus configuration. Expose those registers so that drivers can make use

Re: [PATCH v2 00/11] memory: add Atmel EBI (External Bus Interface) driver

2014-11-07 Thread Boris Brezillon
On Fri, 7 Nov 2014 14:41:12 +0100 Alexandre Belloni alexandre.bell...@free-electrons.com wrote: On 05/11/2014 at 17:01:16 +0100, Boris Brezillon wrote : Arnd, you've commented the first version of this driver (IIRC, you focused on the DT binding part), could you give your feedback

Re: [PATCH v2 06/11] memory: atmel-ebi: add DT bindings documentation

2014-11-07 Thread Boris Brezillon
On Fri, 7 Nov 2014 09:21:39 -0600 Rob Herring robherri...@gmail.com wrote: On Wed, Nov 5, 2014 at 10:01 AM, Boris Brezillon boris.brezil...@free-electrons.com wrote: Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Perhaps some commit msg? Yes, I was just lazy and though

Re: [PATCH V4 04/14] genirq: Generic chip: Add big endian I/O accessors

2014-11-11 Thread Boris Brezillon
:-(. Regards, Boris -- Boris Brezillon, Free Electrons Embedded Linux and Kernel 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/majordomo

[PATCH] irqchip: atmel-aic: fix irqdomain initialization

2014-11-11 Thread Boris Brezillon
. And eventually initialize default irq flags to the pseudo standard: IRQ_REQUEST | IRQ_PROBE | IRQ_AUTOEN. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- Hello Kevin, This patch has not been tested yet but it should solve the issue you've experienced with the IRQ_GC_BE_IO

Re: [PATCH] irqchip: atmel-aic: fix irqdomain initialization

2014-11-12 Thread Boris Brezillon
Hi Jason, On Tue, 11 Nov 2014 17:58:00 -0500 Jason Cooper ja...@lakedaemon.net wrote: On Tue, Nov 11, 2014 at 02:33:36PM +0100, Boris Brezillon wrote: First of all IRQCHIP_SKIP_SET_WAKE is not a valid irq_gc_flags and thus should not be passed as the last argument

Re: [PATCH 1/3] ARM: at91: Add Special Function Registers binding documentation

2014-11-13 Thread Boris Brezillon
...@free-electrons.com Once you've fixed your dtsi you can add my Acked-by: Boris Brezillon boris.brezil...@free-electrons.com on the whole series. --- Documentation/devicetree/bindings/arm/atmel-at91.txt | 17 + 1 file changed, 17 insertions(+) diff --git a/Documentation

Re: [PATCH v12 1/3] drm: rockchip: Add basic drm driver

2014-11-18 Thread Boris Brezillon
-87436 -- Boris Brezillon, Free Electrons Embedded Linux and Kernel 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/majordomo-info.html

Re: [PATCH v12 1/3] drm: rockchip: Add basic drm driver

2014-11-19 Thread Boris Brezillon
On Wed, 19 Nov 2014 10:02:53 +0800 Mark yao mark@rock-chips.com wrote: On 2014年11月19日 09:09, Mark yao wrote: On 2014年11月18日 22:24, Daniel Vetter wrote: On Tue, Nov 18, 2014 at 02:21:30PM +0100, Boris Brezillon wrote: Hi Daniel, On Tue, 18 Nov 2014 09:32:34 +0100 Daniel Vetter dan

[PATCH v8 2/2] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-11-19 Thread Boris Brezillon
-by: Boris Brezillon boris.brezil...@free-electrons.com --- .../devicetree/bindings/drm/atmel/hlcdc-dc.txt | 53 ++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/drm/atmel/hlcdc-dc.txt diff --git a/Documentation/devicetree/bindings/drm

[PATCH v8 0/2] drm: add support for Atmel HLCDC Display Controller

2014-11-19 Thread Boris Brezillon
Changes since v1: - replace the backlight driver by a PWM driver - make use of drm_panel infrastructure - split driver code in several subsystem: MFD, PWM and DRM - add support for overlays - add support for hardware cursor Boris Brezillon (2): drm: add Atmel HLCDC Display Controller support

[PATCH v8 1/2] drm: add Atmel HLCDC Display Controller support

2014-11-19 Thread Boris Brezillon
version. At the moment, this driver only implements an RGB connector to interface with LCD panels, but support for other kind of external devices might be added later. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Reviewed-by: Rob Clark robdcl...@gmail.com Tested-by: Anthony

[PATCH RESEND 3/4] hwrng: atmel: Add TRNG DT binding doc

2014-11-19 Thread Boris Brezillon
Document DT bindings of Atmel's TRNG (True Random Number Generator) IP. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- Documentation/devicetree/bindings/hwrng/atmel-trng.txt | 16 1 file changed, 16

[PATCH RESEND 1/4] hwrng: atmel: use clk_prepapre_enable/_disable_unprepare

2014-11-19 Thread Boris Brezillon
Use clk_prepare_enable/_disable_unprepare instead of clk_enable/disable to work properly with the CCF. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Peter Korsgaard pe...@korsgaard.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/char/hw_random/atmel

[PATCH RESEND 4/4] ARM: at91/dt: add trng node

2014-11-19 Thread Boris Brezillon
Add a DT node for the TRNG (True Random Number Generator) block. Keep this block enabled as it does not depend on any external connection, and thus should be available on all boards. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com

[PATCH RESEND 2/4] hwrng: atmel: add DT support

2014-11-19 Thread Boris Brezillon
Add DT support. Make the driver depend on CONFIG_OF as at91sam9g45 was the only SoC making use of the TRNG block and this SoC is now fully migrated to DT. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/char/hw_random

[PATCH RESEND 0/4] ARM: at91: remove at91sam9g45/9m10 legacy board support

2014-11-19 Thread Boris Brezillon
Hello, This series adds DT support for the TRNG (True Random Generator) block and adds missing trng nodes to dtsi files. Best Regards, Boris Boris Brezillon (4): hwrng: atmel: use clk_prepapre_enable/_disable_unprepare hwrng: atmel: add DT support hwrng: atmel: Add TRNG DT binding doc

Re: [PATCH RESEND 0/4] hrng: atmel: add DT support

2014-11-19 Thread Boris Brezillon
On Wed, 19 Nov 2014 17:15:47 +0100 Nicolas Ferre nicolas.fe...@atmel.com wrote: On 19/11/2014 17:07, Boris Brezillon : Hello, This series adds DT support for the TRNG (True Random Generator) block and adds missing trng nodes to dtsi files. Nitpicking: subject of this cover letter

Re: [PATCH RESEND 0/4] hrng: atmel: add DT support

2014-11-19 Thread Boris Brezillon
On Wed, 19 Nov 2014 18:35:56 +0100 Nicolas Ferre nicolas.fe...@atmel.com wrote: On 19/11/2014 17:18, Boris Brezillon : On Wed, 19 Nov 2014 17:15:47 +0100 Nicolas Ferre nicolas.fe...@atmel.com wrote: On 19/11/2014 17:07, Boris Brezillon : Hello, This series adds DT support

Re: [PATCH 3/9] clk: sunxi: Add prcm mod0 clock driver

2014-11-27 Thread Boris Brezillon
to solve ? IMHO, if you really want to split those functionalities over the DT (some nodes under clks and other under reset controller), then I suggest to use.. (Maxime, please stop smiling :P) .. SYSCON Best Regards, Boris -- Boris Brezillon, Free Electrons Embedded

Re: [PATCH v2 03/11] mfd: syscon: Add atmel-smc registers definition

2014-12-01 Thread Boris Brezillon
Hi Lee, Sorry for the late reply. On Mon, 10 Nov 2014 09:57:28 + Lee Jones lee.jo...@linaro.org wrote: On Wed, 05 Nov 2014, Boris Brezillon wrote: Atmel AT91 SoCs have a memory range reserved for SMC (Static Memory Controller) configuration. Expose those registers so that drivers

[PATCH v3 00/11] memory: add Atmel EBI (External Bus Interface) driver

2014-12-01 Thread Boris Brezillon
: - almost everything :-) Boris Brezillon (11): mfd: syscon: Add atmel-matrix registers definition mfd: syscon: Add Atmel Matrix bus DT binding documentation mfd: syscon: Add atmel-smc registers definition mfd: syscon: Add Atmel SMC binding doc memory: add Atmel EBI (External Bus Interface

[PATCH v3 10/11] ARM: at91/dt: add EBI (External Bus Interface) node in sama5d3 dtsi

2014-12-01 Thread Boris Brezillon
Add EBI node and EBI pin muxing. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3.dtsi | 83 ++ 1 file changed, 83 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi

[PATCH v3 06/11] memory: atmel-ebi: add DT bindings documentation

2014-12-01 Thread Boris Brezillon
a generic DT binding to configure a device according to its requirements. For specific device controllers (like the NAND one) the SMC timings should be configured by the controller driver through the matrix and smc syscon regmaps. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com

[PATCH v3 11/11] ARM: at91/dt: add NOR definition in sama5d3xcm dtsi

2014-12-01 Thread Boris Brezillon
The sama5d3 evaluation kit embeds a NOR chip which is connected through the EBI. Define this NOR chip in the CPU module dtsi. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3xcm.dtsi | 34 ++ 1 file changed, 34

[PATCH v3 09/11] ARM: at91/dt: add matrix node in sama5d3 dtsi

2014-12-01 Thread Boris Brezillon
Add matrix node in sama5d3 dtsi so that it can be referenced by other devices. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3

[PATCH v3 04/11] mfd: syscon: Add Atmel SMC binding doc

2014-12-01 Thread Boris Brezillon
) according to their need. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Lee Jones lee.jo...@linaro.org --- Documentation/devicetree/bindings/mfd/atmel-smc.txt | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v3 05/11] memory: add Atmel EBI (External Bus Interface) driver

2014-12-01 Thread Boris Brezillon
-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/memory/Kconfig | 11 + drivers/memory/Makefile| 1 + drivers/memory/atmel-ebi.c | 627 + 3 files changed, 639 insertions(+) create mode 100644 drivers/memory/atmel-ebi.c diff

[PATCH v3 08/11] ARM: at91/dt: add HSMC (Static Memory Controller) node in sama5d3 dtsi

2014-12-01 Thread Boris Brezillon
Add the SMC node in sama5d3 dtsi. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index 5f4144d..9f1eed5 100644 --- a/arch

[PATCH v3 07/11] ARM: at91: select ATMEL_EBI when compiling a kernel for at91sam9 or sama5d3

2014-12-01 Thread Boris Brezillon
at91sam9* and sama5d* SoCs have an EBI (External Bus Interface). Select the ATMEL_EBI driver when support for these SoCs is selected. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/mach-at91/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm

[PATCH v3 03/11] mfd: syscon: Add atmel-smc registers definition

2014-12-01 Thread Boris Brezillon
Atmel AT91 SoCs have a memory range reserved for SMC (Static Memory Controller) configuration. Expose those registers so that drivers can make use of the smc syscon declared in at91 DTs. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Lee Jones lee.jo...@linaro.org

[PATCH v3 02/11] mfd: syscon: Add Atmel Matrix bus DT binding documentation

2014-12-01 Thread Boris Brezillon
The Matrix registers are provided to configure internal bus behavior on at91 SoCs. Some registers might be access by several drivers (e.g. to configure external memory bus timings), hence we declare this register set as a syscon device. Signed-off-by: Boris Brezillon boris.brezil...@free

[PATCH v3 01/11] mfd: syscon: Add atmel-matrix registers definition

2014-12-01 Thread Boris Brezillon
AT91 SoCs have a memory range reserved for internal bus configuration. Expose those registers so that drivers can make use of the matrix syscon declared in at91 DTs. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Lee Jones lee.jo...@linaro.org --- include/linux/mfd

Re: [PATCH v3 05/11] memory: add Atmel EBI (External Bus Interface) driver

2014-12-01 Thread Boris Brezillon
Hi Alexander, On Mon, 01 Dec 2014 11:40:03 +0100 Alexander Stein alexander.st...@systec-electronic.com wrote: Hi Boris, On Monday 01 December 2014 11:27:21, Boris Brezillon wrote: The EBI (External Bus Interface) is used to access external peripherals (NOR, SRAM, NAND, and other specific

Re: [PATCH v3 05/11] memory: add Atmel EBI (External Bus Interface) driver

2014-12-01 Thread Boris Brezillon
Hi Arnd, On Mon, 01 Dec 2014 17:26:27 +0100 Arnd Bergmann a...@arndb.de wrote: On Monday 01 December 2014 11:27:21 Boris Brezillon wrote: The EBI (External Bus Interface) is used to access external peripherals (NOR, SRAM, NAND, and other specific devices like ethernet controllers). Each

Re: [PATCH v3 05/11] memory: add Atmel EBI (External Bus Interface) driver

2014-12-01 Thread Boris Brezillon
On Mon, 01 Dec 2014 20:43:31 +0100 Arnd Bergmann a...@arndb.de wrote: On Monday 01 December 2014 19:29:23 Boris Brezillon wrote: Hi Arnd, On Mon, 01 Dec 2014 17:26:27 +0100 Arnd Bergmann a...@arndb.de wrote: On Monday 01 December 2014 11:27:21 Boris Brezillon wrote: The EBI

[PATCH v4 05/11] memory: add Atmel EBI (External Bus Interface) driver

2014-12-02 Thread Boris Brezillon
-by: Boris Brezillon boris.brezil...@free-electrons.com --- Changes since v3: - use syscon_regmap_lookup_by_phandle instead of of_parse_phandle + syscon_node_to_regmap - drop AT91_EBICSA_REGFIELD and AT91_MULTI_EBICSA_REGFIELD macros drivers/memory/Kconfig | 11 + drivers/memory

[PATCH v4 01/11] mfd: syscon: Add atmel-matrix registers definition

2014-12-03 Thread Boris Brezillon
AT91 SoCs have a memory range reserved for internal bus configuration. Expose those registers so that drivers can make use of the matrix syscon declared in at91 DTs. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Lee Jones lee.jo...@linaro.org --- Changes since v3

[PATCH 10/11] ARM: at91/dt: declare matrix node as a syscon device

2014-12-03 Thread Boris Brezillon
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/at91sam9261.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9261.dtsi b/arch/arm/boot/dts/at91sam9261.dtsi index 7119f1f..e52ae97 100644 --- a/arch/arm/boot

[PATCH 11/11] ARM: at91/dt: fix at91 udc compatible strings

2014-12-03 Thread Boris Brezillon
The at91rm9200, at91sam9260, at91sam9261 and at91sam9263 SoCs have slightly different UDC IPs. Those differences were previously handled with cpu_is_at91xx macro which are about to be dropped for multi-platform support, thus we need to change compatible strings. Signed-off-by: Boris Brezillon

[PATCH 09/11] usb: gadget: at91_udc: Allocate udc instance

2014-12-03 Thread Boris Brezillon
Allocate udc structure instead of relying on the statically declared object. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/usb/gadget/udc/at91_udc.c | 101 ++ 1 file changed, 27 insertions(+), 74 deletions(-) diff --git

[PATCH 07/11] usb: gadget: at91_udc: Rework for multi-platform kernel support

2014-12-03 Thread Boris Brezillon
cpu_is_at91xxx are a set of macros defined in mach/cpu.h and are here used to detect the SoC we are booting on. Use compatible string + a caps structure to replace those cpu_is_xxx tests. Remove all mach and asm headers (which are now unused). Signed-off-by: Boris Brezillon boris.brezil...@free

[PATCH 08/11] usb: gadget: at91_udc: Update DT binding documentation

2014-12-03 Thread Boris Brezillon
Three compatible strings have been added to the at91_udc driver. Update the documentation accordingly. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- Documentation/devicetree/bindings/usb/atmel-usb.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH 05/11] usb: gadget: at91_udc: Remove non-DT handling code

2014-12-03 Thread Boris Brezillon
Since non-DT board support has been removed from the at91 architecture we can safely remove non-DT handling code. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/usb/gadget/udc/Kconfig| 1 + drivers/usb/gadget/udc/at91_udc.c | 16 ++-- 2 files

[PATCH 04/11] ARM: at91/dt: at91sam9261: fix clocks and clock-names in udc definition

2014-12-03 Thread Boris Brezillon
Peripheral clock is named pclk and system clock is named hclk (those are the names expected by the at91_udc driver). Drop the deprecated usb_clk (formerly used to configure the usb clock rate which is now directly configurable through hclk). Signed-off-by: Boris Brezillon boris.brezil...@free

[PATCH 06/11] usb: gadget: at91_udc: Simplify probe and remove functions

2014-12-03 Thread Boris Brezillon
Make use of devm_ functions to simplify probe and remove code. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/usb/gadget/udc/at91_udc.c | 116 +- 1 file changed, 39 insertions(+), 77 deletions(-) diff --git a/drivers/usb/gadget

[PATCH 00/11] usb: gadget: at91_udc: Rework for multi-platform support

2014-12-03 Thread Boris Brezillon
/lkml/2014/12/3/230 Boris Brezillon (11): usb: gadget: at91_udc: Fix clock names usb: gadget: at91_udc: Drop uclk clock usb: gadget: at91_udc: Document DT clocks and clock-names property ARM: at91/dt: at91sam9261: fix clocks and clock-names in udc definition usb: gadget: at91_udc

[PATCH 01/11] usb: gadget: at91_udc: Fix clock names

2014-12-03 Thread Boris Brezillon
The driver is requesting clock by their global name (those declared in the clk_lookup list), but this only works with !CCF kernels. Now that all SoCs have moved to CCF, fix the driver to use local names (hclk and pclk). Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com

[PATCH 02/11] usb: gadget: at91_udc: Drop uclk clock

2014-12-03 Thread Boris Brezillon
Now that at91 system clocks forward set_rate request to their parent we can remove the uclk clock and directly call clk_set_rate on fclk. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/usb/gadget/udc/at91_udc.c | 27 +++ drivers/usb/gadget

[PATCH 03/11] usb: gadget: at91_udc: Document DT clocks and clock-names property

2014-12-03 Thread Boris Brezillon
The at91_udc driver request 2 clocks, and thus need them to be defined in the device tree. Document the clocks and clock-names properties so that everybody use the correct names. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- Documentation/devicetree/bindings/usb/atmel

Re: [PATCH v3 02/11] mfd: syscon: Add Atmel Matrix bus DT binding documentation

2014-12-03 Thread Boris Brezillon
Hi Nicolas, On Wed, 3 Dec 2014 15:32:49 +0100 Nicolas Ferre nicolas.fe...@atmel.com wrote: Le 01/12/2014 11:27, Boris Brezillon a écrit : The Matrix registers are provided to configure internal bus behavior on at91 SoCs. Some registers might be access by several drivers (e.g. to configure

Re: [PATCH v3 06/11] memory: atmel-ebi: add DT bindings documentation

2014-12-03 Thread Boris Brezillon
On Wed, 3 Dec 2014 16:15:36 +0100 Nicolas Ferre nicolas.fe...@atmel.com wrote: Le 03/12/2014 15:56, Nicolas Ferre a écrit : Le 01/12/2014 11:27, Boris Brezillon a écrit : The EBI (External Bus Interface) is used to access external peripherals (NOR, SRAM, NAND, and other specific devices

Re: [PATCH v3 06/11] memory: atmel-ebi: add DT bindings documentation

2014-12-03 Thread Boris Brezillon
Sorry for the noise, I sent the email before finishing my answer. On Wed, 3 Dec 2014 16:34:49 +0100 Boris Brezillon boris.brezil...@free-electrons.com wrote: On Wed, 3 Dec 2014 16:15:36 +0100 Nicolas Ferre nicolas.fe...@atmel.com wrote: Le 03/12/2014 15:56, Nicolas Ferre a écrit : Le 01

Re: [PATCH v3 06/11] memory: atmel-ebi: add DT bindings documentation

2014-12-03 Thread Boris Brezillon
On Wed, 3 Dec 2014 15:56:54 +0100 Nicolas Ferre nicolas.fe...@atmel.com wrote: Le 01/12/2014 11:27, Boris Brezillon a écrit : The EBI (External Bus Interface) is used to access external peripherals (NOR, SRAM, NAND, and other specific devices like ethernet controllers). Each device

[PATCH v5 00/11] memory: add Atmel EBI (External Bus Interface) driver

2014-12-03 Thread Boris Brezillon
+ syscon_node_to_regmap - drop AT91_EBICSA_REGFIELD and AT91_MULTI_EBICSA_REGFIELD macros Changes since v2: - minor fixes int DT bindings doc - fix SMC macros - make use of SMC macros defined in include/linux/mfd/syscon/atmel-smc.h Changes since v1: - almost everything :-) Boris Brezillon (11): mfd: syscon: Add

[PATCH v5 06/11] memory: atmel-ebi: add DT bindings documentation

2014-12-03 Thread Boris Brezillon
a generic DT binding to configure a device according to its requirements. For specific device controllers (like the NAND one) the SMC timings should be configured by the controller driver through the matrix and smc syscon regmaps. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com

[PATCH v5 11/11] ARM: at91/dt: add NOR definition in sama5d3xcm dtsi

2014-12-03 Thread Boris Brezillon
The sama5d3 evaluation kit embeds a NOR chip which is connected through the EBI. Define this NOR chip in the CPU module dtsi. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3xcm.dtsi | 33 + 1 file changed, 33

[PATCH v5 10/11] ARM: at91/dt: add EBI (External Bus Interface) node in sama5d3 dtsi

2014-12-03 Thread Boris Brezillon
Add EBI node and EBI pin muxing. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3.dtsi | 83 ++ 1 file changed, 83 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi

[PATCH v5 05/11] memory: add Atmel EBI (External Bus Interface) driver

2014-12-03 Thread Boris Brezillon
-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/memory/Kconfig | 11 + drivers/memory/Makefile| 1 + drivers/memory/atmel-ebi.c | 579 + 3 files changed, 591 insertions(+) create mode 100644 drivers/memory/atmel-ebi.c diff

[PATCH v5 07/11] ARM: at91: select ATMEL_EBI when compiling a kernel for at91sam9 or sama5d3

2014-12-03 Thread Boris Brezillon
at91sam9* and sama5d* SoCs have an EBI (External Bus Interface). Select the ATMEL_EBI driver when support for these SoCs is selected. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- .../bindings/memory-controllers/atmel-ebi.txt | 18 +- arch/arm

[PATCH v5 08/11] ARM: at91/dt: add HSMC (Static Memory Controller) node in sama5d3 dtsi

2014-12-03 Thread Boris Brezillon
Add the SMC node in sama5d3 dtsi. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index 5f4144d..9f1eed5 100644 --- a/arch

[PATCH v5 09/11] ARM: at91/dt: add matrix node in sama5d3 dtsi

2014-12-03 Thread Boris Brezillon
Add matrix node in sama5d3 dtsi so that it can be referenced by other devices. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3

[PATCH v5 02/11] mfd: syscon: Add Atmel Matrix bus DT binding documentation

2014-12-03 Thread Boris Brezillon
The Matrix registers are provided to configure internal bus behavior on at91 SoCs. Some registers might be accessed by several drivers (e.g. to configure external memory bus timings), hence we declare this register set as a syscon device. Signed-off-by: Boris Brezillon boris.brezil...@free

[PATCH v5 04/11] mfd: syscon: Add Atmel SMC binding doc

2014-12-03 Thread Boris Brezillon
) according to their need. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Lee Jones lee.jo...@linaro.org --- Documentation/devicetree/bindings/mfd/atmel-smc.txt | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v5 03/11] mfd: syscon: Add atmel-smc registers definition

2014-12-03 Thread Boris Brezillon
Atmel AT91 SoCs have a memory range reserved for SMC (Static Memory Controller) configuration. Expose those registers so that drivers can make use of the smc syscon declared in at91 DTs. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Lee Jones lee.jo...@linaro.org

[PATCH v5 01/11] mfd: syscon: Add atmel-matrix registers definition

2014-12-03 Thread Boris Brezillon
AT91 SoCs have a memory range reserved for internal bus configuration. Expose those registers so that drivers can make use of the matrix syscon declared in at91 DTs. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Lee Jones lee.jo...@linaro.org --- include/linux/mfd

Re: [PATCH v5 06/11] memory: atmel-ebi: add DT bindings documentation

2014-12-04 Thread Boris Brezillon
On Thu, 4 Dec 2014 11:30:39 +0100 Nicolas Ferre nicolas.fe...@atmel.com wrote: Le 03/12/2014 21:44, Boris Brezillon a écrit : The EBI (External Bus Interface) is used to access external peripherals (NOR, SRAM, NAND, and other specific devices like ethernet controllers). Each device

Re: [PATCH v2] pwm: atmel-hlcdc: add at91sam9x5 and sama5d3 errata handling

2014-12-04 Thread Boris Brezillon
Hi Thierry On Thu, 4 Dec 2014 14:12:31 +0100 Thierry Reding thierry.red...@gmail.com wrote: On Wed, Nov 19, 2014 at 03:33:09PM +0100, Boris Brezillon wrote: at91sam9x5 has an errata forbidding the use of slow clk as a clk source and sama5d3 SoCs has another errata forbidding the use of div1

<    3   4   5   6   7   8   9   10   11   >