[PATCH] ARM: at91/dt: sam9x5: fix ADC compatible string

2014-07-22 Thread Alexandre Belloni
Use the correct compatible string for the ADC of the at91sam9x5 family of SoCs. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9x5.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b

Re: [PATCH v2 07/12] usb: chipidea: add a generic driver

2014-07-01 Thread Alexandre Belloni
for compatible string is: manufacturer,model, I agree with chipidea,ci13xxx, thanks. I think we should probably avoid using wildcards in the compatible string. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from

[PATCH 05/33] ARM: at91/dt: rm9200: define clocks

2014-07-01 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91rm9200.dtsi | 304 ++ 1 file changed, 304 insertions(+) diff --git a/arch/arm/boot/dts/at91rm9200.dtsi b/arch/arm/boot/dts/at91rm9200.dtsi index c61b16fba79b

[PATCH 03/33] clk: at91: main: warn when the main crystal frequency is not set

2014-07-01 Thread Alexandre Belloni
When the main crystal frequency is not set, the main clock is approximated using the MAINF value in the CKGR_MCFR register. Warn the user in that case. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/clk/at91/clk-main.c | 1 + 1 file changed, 1 insertion

[PATCH 07/33] ARM: at91/dt: at91rm9200ek: define crystals frequencies

2014-07-01 Thread Alexandre Belloni
Define at91rm9200ek main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91rm9200ek.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/at91rm9200ek.dts b/arch/arm/boot/dts

[PATCH 00/33] ARM: at91: Switch remaining SoCs and boards to CCF

2014-07-01 Thread Alexandre Belloni
...@linux.it Alexandre Belloni (33): Documentation: dt: document all the atmel pmc compatibles ARM: at91/dt: ariag25: define crystals frequencies clk: at91: main: warn when the main crystal frequency is not set ARM: at91: prepare common clk transition for rm9200 ARM: at91/dt: rm9200: define

[PATCH 13/33] ARM: at91/dt: foxg20: define crystals frequencies

2014-07-01 Thread Alexandre Belloni
Define Acme Systems srl Fox G20 main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Douglas Gilbert dgilb...@interlog.com --- arch/arm/boot/dts/at91-foxg20.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH 21/33] ARM: at91/dt: kizbox: define main crystal frequency

2014-07-01 Thread Alexandre Belloni
Define kizbox board's main crystal frequency. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Gael Portay g.por...@overkiz.com --- arch/arm/boot/dts/kizbox.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/kizbox.dts b/arch/arm/boot/dts

[PATCH 12/33] ARM: at91/dt: at91sam9g20ek: define crystals frequencies

2014-07-01 Thread Alexandre Belloni
Define at91sam9g20ek main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi b/arch/arm/boot

[PATCH 23/33] ARM: at91/dt: sam9g45: define clocks

2014-07-01 Thread Alexandre Belloni
Define the at91sam9g45 clocks in the SoC dtsi file. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9g45.dtsi | 340 - 1 file changed, 339 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts

[PATCH 31/33] ARM: at91/dt: sam9263ek: define crystals frequencies

2014-07-01 Thread Alexandre Belloni
Define at91sam9263ek main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9263ek.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9263ek.dts b/arch/arm/boot/dts

[PATCH 26/33] ARM: at91/dt: pm9g45: crystals frequencies

2014-07-01 Thread Alexandre Belloni
Define Ronetix pm9g45 main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/pm9g45.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/pm9g45.dts b/arch/arm/boot/dts/pm9g45.dts index

[PATCH 33/33] ARM: at91/dt: usb_a9263: define crystals frequencies

2014-07-01 Thread Alexandre Belloni
Define Calao USB-A9263 main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Gregory Hermant gregory.herm...@calao-systems.com --- arch/arm/boot/dts/usb_a9263.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH 32/33] ARM: at91/dt: tny_a9263: define crystals frequencies

2014-07-01 Thread Alexandre Belloni
Define Calao TNY-A9263 main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Gregory Hermant gregory.herm...@calao-systems.com --- arch/arm/boot/dts/tny_a9263.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH 30/33] ARM: at91: move at91sam9263 SoC to the CCF

2014-07-01 Thread Alexandre Belloni
This patch removes the selection of AT91_USE_OLD_CLK when selecting at91sam9263 SoC support. This will automatically enable COMMON_CLK_AT91 option and add support for at91 common clock implementation. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91

[PATCH 29/33] ARM: at91/dt: sam9263: define clocks

2014-07-01 Thread Alexandre Belloni
Define the at91sam9263 clocks in the SoC dtsi file. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9263.dtsi | 311 + 1 file changed, 311 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9263.dtsi b/arch

[PATCH 25/33] ARM: at91/dt: sam9m10g45ek: define crystals frequencies

2014-07-01 Thread Alexandre Belloni
Define at91sam9m10g45ek main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9m10g45ek.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts b/arch/arm/boot/dts

[PATCH 27/33] ARM: at91/dt: cosino define crystals frequencies

2014-07-01 Thread Alexandre Belloni
Define Cosino boards main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Rodolfo Giometti giome...@linux.it --- arch/arm/boot/dts/at91-cosino.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/at91

[PATCH 28/33] ARM: at91: prepare common clk transition for sam9263

2014-07-01 Thread Alexandre Belloni
Enclose the sam9263 old clk registration in #if defined(CONFIG_OLD_CLK_AT91) #endif Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/at91sam9263.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/at91sam9263

[PATCH 22/33] ARM: at91: prepare common clk transition for sam9g45

2014-07-01 Thread Alexandre Belloni
Enclose the sam9g45 old clk registration in #if defined(CONFIG_OLD_CLK_AT91) #endif Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/at91sam9g45.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/at91sam9g45

[PATCH 24/33] ARM: at91: move at91sam9g45 SoC to the CCF

2014-07-01 Thread Alexandre Belloni
This patch removes the selection of AT91_USE_OLD_CLK when selecting at91sam9g45 SoC support. This will automatically enable COMMON_CLK_AT91 option and add support for at91 common clock implementation. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91

[PATCH 20/33] ARM: at91/dt: animeo_ip: define crystals frequencies

2014-07-01 Thread Alexandre Belloni
Define Somfy Animeo IP main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/animeo_ip.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/animeo_ip.dts b/arch/arm/boot/dts/animeo_ip.dts index

[PATCH 18/33] ARM: at91/dt: ge863-pro3: define crystals frequencies

2014-07-01 Thread Alexandre Belloni
Define Telit GE863-PRO3, AK signal CDU and Telit EVK-PRO3 main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Fabio Porcedda fabio.porce...@gmail.com Cc: Jiri Prchal jiri.prc...@aksignal.cz --- arch/arm/boot/dts/ge863-pro3.dtsi | 8

[PATCH 15/33] ARM: at91/dt: tny_a9260: define crystals frequencies

2014-07-01 Thread Alexandre Belloni
Define Calao TNY-A9260 and TNY-A9G20 main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Gregory Hermant gregory.herm...@calao-systems.com --- arch/arm/boot/dts/tny_a9260_common.dtsi | 8 1 file changed, 8 insertions(+) diff

[PATCH 19/33] ARM: at91/dt: ethernut5: define crystals frequencies

2014-07-01 Thread Alexandre Belloni
Define egnite Ethernut 5 main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Tim Schendekehl tim.schendek...@egnite.de --- arch/arm/boot/dts/ethernut5.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH 17/33] ARM: at91/dt: mpa1600: define crytals frequencies

2014-07-01 Thread Alexandre Belloni
Define Phontech MPA 1600 main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Joachim Eastwood manab...@gmail.com --- arch/arm/boot/dts/mpa1600.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/mpa1600.dts b

[PATCH 14/33] ARM: at91/dt: usb_a9260: define crystals frequencies

2014-07-01 Thread Alexandre Belloni
Define Calao USB-A9260, USB-A9G20 and USB-A9G20-LPW main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Gregory Hermant gregory.herm...@calao-systems.com --- arch/arm/boot/dts/usb_a9260_common.dtsi | 8 1 file changed, 8

[PATCH 11/33] ARM: at91: move at91sam9260 SoCs to the CCF

2014-07-01 Thread Alexandre Belloni
This patch removes the selection of AT91_USE_OLD_CLK when selecting at91sam9260 SoCs support. This will automatically enable COMMON_CLK_AT91 option and add support for at91 common clk implementation. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91

[PATCH 16/33] ARM: at91/dt: qil_a9260: define crystals frequencies

2014-07-01 Thread Alexandre Belloni
Define Calao QIL-A9260 main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Gregory Hermant gregory.herm...@calao-systems.com --- arch/arm/boot/dts/at91-qil_a9260.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm

[PATCH 10/33] ARM: at91/dt: sam9g20: define clocks

2014-07-01 Thread Alexandre Belloni
Define the at91sam9g20 clocks that differ from at91sam9260 in the SoC dtsi file. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9g20.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH 04/33] ARM: at91: prepare common clk transition for rm9200

2014-07-01 Thread Alexandre Belloni
Enclose the rm9200 old clk registration in #if defined(CONFIG_OLD_CLK_AT91) #endif Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/at91rm9200.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/at91rm9200.c b

[PATCH 08/33] ARM: at91: prepare common clk transition for sam9260

2014-07-01 Thread Alexandre Belloni
Enclose the sam9260 old clk registration in #if defined(CONFIG_OLD_CLK_AT91) #endif Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/at91sam9260.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/at91sam9260

[PATCH 02/33] ARM: at91/dt: ariag25: define crystals frequencies

2014-07-01 Thread Alexandre Belloni
Define Acme Systems Aria G25 board main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91-ariag25.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/at91-ariag25.dts b/arch/arm/boot/dts

[PATCH 01/33] Documentation: dt: document all the atmel pmc compatibles

2014-07-01 Thread Alexandre Belloni
Documentation for atmel-pmc only list one compatible, add the remaining compatible strings. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Documentation/devicetree/bindings/arm/atmel-pmc.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH 09/33] ARM: at91/dt: sam9260: define clocks

2014-07-01 Thread Alexandre Belloni
Define the at91sam9260 clocks in the SoC dtsi file. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9260.dtsi | 314 - 1 file changed, 313 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts

[PATCH 06/33] ARM: at91: move at91rm9200 SoC to the CCF

2014-07-01 Thread Alexandre Belloni
This patch removes the selection of AT91_USE_OLD_CLK when selecting at91rm9200 SoC support. This will automatically enable COMMON_CLK_AT91 option and add support for at91 common clk implementation. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91

Re: [PATCH v2 03/18] AT91: G45: DT: Declare a second ram controller

2014-07-07 Thread Alexandre Belloni
; }; pmc: pmc@fc00 { -- 2.0.1 -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH v2 04/18] AT91: Rework ramc mapping code

2014-07-07 Thread Alexandre Belloni
); + at91_pm_set_standby(of_id-data); } static struct of_device_id shdwc_ids[] = { -- 2.0.1 -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH v2 00/18] AT91: cleanup of the reset and poweroff code

2014-07-07 Thread Alexandre Belloni
/at91sam9g45_reset.S create mode 100644 drivers/power/reset/at91-poweroff.c create mode 100644 drivers/power/reset/at91-reset.c -- 2.0.1 -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line

[PATCH 2/5] ARM: at91: select ATMEL_RAMC when using OF

2014-07-07 Thread Alexandre Belloni
When using device tree, select the Atmel RAM controller driver to handle its clocks. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91

[PATCH 5/5] clk: at91: remove the useless CLK_IGNORE_UNUSED flag

2014-07-07 Thread Alexandre Belloni
The CLK_IGNORE_UNUSED flag was added on all the system clocks because of the ddrck. Now that it is handled by the ram controller driver, we can drop it. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/clk/at91/clk-system.c | 8 +--- 1 file changed, 1

[PATCH 1/5] memory: add a driver for atmel ram controllers

2014-07-07 Thread Alexandre Belloni
Atmel SoCs have one or multiple RAM controllers that need one or multiple clocks to run. This driver handle those clocks. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- .../devicetree/bindings/arm/atmel-at91.txt | 1 + drivers/memory/Kconfig

[PATCH 3/5] ARM: at91/dt: sama5d3: define mpddr clock and ramc clocks

2014-07-07 Thread Alexandre Belloni
Define the available clock for mprddr and take both mpddr_clk and ddrck in the ram controller driver. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/sama5d3.dtsi | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot

[PATCH 4/5] ARM: at91/dt: at91sam9: use ddrck in ramc

2014-07-07 Thread Alexandre Belloni
Make the ram controller driver take the ddrck clock for at91sam9n12 and at91sam9x5. For at91sam9g45, use mck instead. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9n12.dtsi | 2 ++ arch/arm/boot/dts/at91sam9x5.dtsi | 2 ++ 2 files changed, 4

[PATCH 0/5] Add a driver for the atmel ram controller

2014-07-07 Thread Alexandre Belloni
management driver. Alexandre Belloni (5): memory: add a driver for atmel ram controllers ARM: at91: select ATMEL_RAMC when using OF ARM: at91/dt: sama5d3: define mpddr clock and ramc clocks ARM: at91/dt: at91sam9: use ddrck in ramc clk: at91: remove the useless CLK_IGNORE_UNUSED flag

Re: [PATCH 1/5] memory: add a driver for atmel ram controllers

2014-07-07 Thread Alexandre Belloni
Hi, On 07/07/2014 at 17:46:42 +0200, Boris Brezillon wrote : On Mon, 7 Jul 2014 17:19:11 +0200 Alexandre Belloni alexandre.bell...@free-electrons.com wrote: Atmel SoCs have one or multiple RAM controllers that need one or multiple clocks to run. This driver handle those clocks

Re: [PATCH 1/5] memory: add a driver for atmel ram controllers

2014-07-07 Thread Alexandre Belloni
What would you prefer ? pr_err() and panic or BUG_ON ?. We can also probably simply put a single pr_err(), anyway, the platform will stop just before switching to userspace. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com

Re: [PATCH 3/5] ARM: at91/dt: sama5d3: define mpddr clock and ramc clocks

2014-07-07 Thread Alexandre Belloni
one the compatible is wrong Keeping atmel,at91sam9g45-ddramc allows to reuse the old code for the iomap needed for the PM code without adding a new compatible in the ramc_ids[] array. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com

[PATCHv2 19/32] ARM: at91/dt: animeo_ip: define crystals frequencies

2014-07-07 Thread Alexandre Belloni
Define Somfy Animeo IP main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/animeo_ip.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/animeo_ip.dts b/arch/arm/boot/dts/animeo_ip.dts index

[PATCHv2 21/32] ARM: at91: prepare common clk transition for sam9g45

2014-07-07 Thread Alexandre Belloni
Enclose the sam9g45 old clk registration in #if defined(CONFIG_OLD_CLK_AT91) #endif Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/at91sam9g45.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/at91sam9g45

[PATCHv2 26/32] ARM: at91/dt: cosino define crystals frequencies

2014-07-07 Thread Alexandre Belloni
Define Cosino boards main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Rodolfo Giometti giome...@linux.it --- arch/arm/boot/dts/at91-cosino.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/at91

[PATCHv2 30/32] ARM: at91/dt: sam9263ek: define crystals frequencies

2014-07-07 Thread Alexandre Belloni
Define at91sam9263ek main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9263ek.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9263ek.dts b/arch/arm/boot/dts

[PATCHv2 31/32] ARM: at91/dt: tny_a9263: define crystals frequencies

2014-07-07 Thread Alexandre Belloni
Define Calao TNY-A9263 main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Gregory Hermant gregory.herm...@calao-systems.com --- arch/arm/boot/dts/tny_a9263.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts

[PATCHv2 32/32] ARM: at91/dt: usb_a9263: define crystals frequencies

2014-07-07 Thread Alexandre Belloni
Define Calao USB-A9263 main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Gregory Hermant gregory.herm...@calao-systems.com --- arch/arm/boot/dts/usb_a9263.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts

[PATCHv2 29/32] ARM: at91: move at91sam9263 SoC to the CCF

2014-07-07 Thread Alexandre Belloni
This patch removes the selection of AT91_USE_OLD_CLK when selecting at91sam9263 SoC support. This will automatically enable COMMON_CLK_AT91 option and add support for at91 common clock implementation. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91

[PATCHv2 27/32] ARM: at91: prepare common clk transition for sam9263

2014-07-07 Thread Alexandre Belloni
Enclose the sam9263 old clk registration in #if defined(CONFIG_OLD_CLK_AT91) #endif Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/at91sam9263.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/at91sam9263

[PATCHv2 25/32] ARM: at91/dt: pm9g45: crystals frequencies

2014-07-07 Thread Alexandre Belloni
Define Ronetix pm9g45 main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/pm9g45.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/pm9g45.dts b/arch/arm/boot/dts/pm9g45.dts index

[PATCHv2 28/32] ARM: at91/dt: sam9263: define clocks

2014-07-07 Thread Alexandre Belloni
Define the at91sam9263 clocks in the SoC dtsi file. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9263.dtsi | 311 + 1 file changed, 311 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9263.dtsi b/arch

[PATCHv2 23/32] ARM: at91: move at91sam9g45 SoC to the CCF

2014-07-07 Thread Alexandre Belloni
This patch removes the selection of AT91_USE_OLD_CLK when selecting at91sam9g45 SoC support. This will automatically enable COMMON_CLK_AT91 option and add support for at91 common clock implementation. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91

[PATCHv2 24/32] ARM: at91/dt: sam9m10g45ek: define crystals frequencies

2014-07-07 Thread Alexandre Belloni
Define at91sam9m10g45ek main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9m10g45ek.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts b/arch/arm/boot/dts

[PATCHv2 15/32] ARM: at91/dt: qil_a9260: define crystals frequencies

2014-07-07 Thread Alexandre Belloni
Define Calao QIL-A9260 main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Gregory Hermant gregory.herm...@calao-systems.com --- arch/arm/boot/dts/at91-qil_a9260.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm

[PATCHv2 22/32] ARM: at91/dt: sam9g45: define clocks

2014-07-07 Thread Alexandre Belloni
Define the at91sam9g45 clocks in the SoC dtsi file. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9g45.dtsi | 340 - 1 file changed, 339 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts

[PATCHv2 20/32] ARM: at91/dt: kizbox: define main crystal frequency

2014-07-07 Thread Alexandre Belloni
Define kizbox board's main crystal frequency. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Gael Portay g.por...@overkiz.com --- arch/arm/boot/dts/kizbox.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/kizbox.dts b/arch/arm/boot/dts

[PATCHv2 18/32] ARM: at91/dt: ethernut5: define crystals frequencies

2014-07-07 Thread Alexandre Belloni
Define egnite Ethernut 5 main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Tim Schendekehl tim.schendek...@egnite.de --- arch/arm/boot/dts/ethernut5.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts

[PATCHv2 12/32] ARM: at91/dt: foxg20: define crystals frequencies

2014-07-07 Thread Alexandre Belloni
Define Acme Systems srl Fox G20 main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Douglas Gilbert dgilb...@interlog.com --- arch/arm/boot/dts/at91-foxg20.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts

[PATCHv2 17/32] ARM: at91/dt: ge863-pro3: define crystals frequencies

2014-07-07 Thread Alexandre Belloni
Define Telit GE863-PRO3, AK signal CDU and Telit EVK-PRO3 main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Fabio Porcedda fabio.porce...@gmail.com Cc: Jiri Prchal jiri.prc...@aksignal.cz --- arch/arm/boot/dts/ge863-pro3.dtsi | 8

[PATCHv2 16/32] ARM: at91/dt: mpa1600: define crytals frequencies

2014-07-07 Thread Alexandre Belloni
Define Phontech MPA 1600 main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Joachim Eastwood manab...@gmail.com --- arch/arm/boot/dts/mpa1600.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/mpa1600.dts b

[PATCHv2 13/32] ARM: at91/dt: usb_a9260: define crystals frequencies

2014-07-07 Thread Alexandre Belloni
Define Calao USB-A9260, USB-A9G20 and USB-A9G20-LPW main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Gregory Hermant gregory.herm...@calao-systems.com --- arch/arm/boot/dts/usb_a9260_common.dtsi | 8 1 file changed, 8

[PATCHv2 11/32] ARM: at91/dt: at91sam9g20ek: define crystals frequencies

2014-07-07 Thread Alexandre Belloni
Define at91sam9g20ek main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi b/arch/arm/boot

[PATCHv2 02/32] ARM: at91/dt: ariag25: define crystals frequencies

2014-07-07 Thread Alexandre Belloni
Define Acme Systems Aria G25 board main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91-ariag25.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/at91-ariag25.dts b/arch/arm/boot/dts

[PATCHv2 14/32] ARM: at91/dt: tny_a9260: define crystals frequencies

2014-07-07 Thread Alexandre Belloni
Define Calao TNY-A9260 and TNY-A9G20 main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Gregory Hermant gregory.herm...@calao-systems.com --- arch/arm/boot/dts/tny_a9260_common.dtsi | 8 1 file changed, 8 insertions(+) diff

[PATCHv2 06/32] ARM: at91/dt: at91rm9200ek: define crystals frequencies

2014-07-07 Thread Alexandre Belloni
Define at91rm9200ek main and slow crystals frequencies. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91rm9200ek.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/at91rm9200ek.dts b/arch/arm/boot/dts

[PATCHv2 10/32] ARM: at91: move at91sam9260 SoCs to the CCF

2014-07-07 Thread Alexandre Belloni
This patch removes the selection of AT91_USE_OLD_CLK when selecting at91sam9260 SoCs support. This will automatically enable COMMON_CLK_AT91 option and add support for at91 common clk implementation. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91

[PATCHv2 01/32] Documentation: dt: document all the atmel pmc compatibles

2014-07-07 Thread Alexandre Belloni
Documentation for atmel-pmc only list one compatible, add the remaining compatible strings. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Documentation/devicetree/bindings/arm/atmel-pmc.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCHv2 07/32] ARM: at91: prepare common clk transition for sam9260

2014-07-07 Thread Alexandre Belloni
Enclose the sam9260 old clk registration in #if defined(CONFIG_OLD_CLK_AT91) #endif Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/at91sam9260.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/at91sam9260

[PATCHv2 09/32] ARM: at91/dt: sam9g20: define clocks

2014-07-07 Thread Alexandre Belloni
Define the at91sam9g20 clocks that differ from at91sam9260 in the SoC dtsi file. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9g20.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts

[PATCHv2 08/32] ARM: at91/dt: sam9260: define clocks

2014-07-07 Thread Alexandre Belloni
Define the at91sam9260 clocks in the SoC dtsi file. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9260.dtsi | 314 - 1 file changed, 313 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts

[PATCHv2 05/32] ARM: at91: move at91rm9200 SoC to the CCF

2014-07-07 Thread Alexandre Belloni
This patch removes the selection of AT91_USE_OLD_CLK when selecting at91rm9200 SoC support. This will automatically enable COMMON_CLK_AT91 option and add support for at91 common clk implementation. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Acked-by: Boris BREZILLON

[PATCHv2 03/32] ARM: at91: prepare common clk transition for rm9200

2014-07-07 Thread Alexandre Belloni
Enclose the rm9200 old clk registration in #if defined(CONFIG_OLD_CLK_AT91) #endif Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Acked-by: Boris BREZILLON boris.brezil...@free-electrons.com --- arch/arm/mach-at91/at91rm9200.c | 6 +- 1 file changed, 5 insertions

[PATCHv2 04/32] ARM: at91/dt: rm9200: define clocks

2014-07-07 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91rm9200.dtsi | 304 ++ 1 file changed, 304 insertions(+) diff --git a/arch/arm/boot/dts/at91rm9200.dtsi b/arch/arm/boot/dts/at91rm9200.dtsi index c61b16fba79b

[PATCHv2 00/32] ARM: at91: Switch remaining SoCs and boards to CCF

2014-07-07 Thread Alexandre Belloni
...@gmail.com Cc: Jiri Prchal jiri.prc...@aksignal.cz Cc: Tim Schendekehl tim.schendek...@egnite.de Cc: Gael Portay g.por...@overkiz.com Cc: Rodolfo Giometti giome...@linux.it Alexandre Belloni (33): Alexandre Belloni (32): Documentation: dt: document all the atmel pmc compatibles ARM: at91/dt

Re: [PATCHv2 17/32] ARM: at91/dt: ge863-pro3: define crystals frequencies

2014-07-08 Thread Alexandre Belloni
On 08/07/2014 at 08:11:29 +0200, Jiří Prchal wrote : Hi, the slow crystal is not on the module ge863-pro3, but it's usually on application board. So I think this clock should be in board dts. Right, I'll move the 32kHz crystal to the board dts. Dne 7.7.2014 22:23, Alexandre Belloni napsal

[PATCHv2 3/6] ARM: at91: select ATMEL_SDRAMC when using OF

2014-07-08 Thread Alexandre Belloni
When using device tree, select the Atmel RAM controller driver to handle its clocks. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91

[PATCHv2 2/6] memory: add a driver for atmel ram controllers

2014-07-08 Thread Alexandre Belloni
Atmel SoCs have one or multiple RAM controllers that need one or multiple clocks to run. This driver handle those clocks. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/memory/Kconfig| 10 + drivers/memory/Makefile | 1 + drivers/memory/atmel

[PATCHv2 6/6] clk: at91: remove the useless CLK_IGNORE_UNUSED flag

2014-07-08 Thread Alexandre Belloni
The CLK_IGNORE_UNUSED flag was added on all the system clocks because of the ddrck. Now that it is handled by the ram controller driver, we can drop it. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/clk/at91/clk-system.c | 8 +--- 1 file changed, 1

[PATCHv2 0/6] Add a driver for the atmel ram controller

2014-07-08 Thread Alexandre Belloni
management driver. Changes in v2: - use ATMEL_SDRAMC instead of ATMEL_RAMC - use atmel,sama5d3-ddramc instead of atmel,sama5d3-mpddramc - not getting mpddrck is now an error - handle atmel,sama5d3-ddramc in mach-at91/setup.c Alexandre Belloni (6): ARM: at91: Add new binding for sama5d3-ddramc

[PATCHv2 4/6] ARM: at91/dt: sama5d3: define mpddr clock and ramc clocks

2014-07-08 Thread Alexandre Belloni
Define the available clock for mprddr and take both mpddr_clk and ddrck in the ram controller driver. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/sama5d3.dtsi | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot

[PATCHv2 5/6] ARM: at91/dt: at91sam9: use ddrck in ramc

2014-07-08 Thread Alexandre Belloni
Make the ram controller driver take the ddrck clock for at91sam9n12 and at91sam9x5. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9n12.dtsi | 2 ++ arch/arm/boot/dts/at91sam9x5.dtsi | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch

[PATCHv2 1/6] ARM: at91: Add new binding for sama5d3-ddramc

2014-07-08 Thread Alexandre Belloni
The IP for the SDRAM controller found on sama5d3 SoCs is different from the g45 one. Introduce a new compatible string to reflect that. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Documentation/devicetree/bindings/arm/atmel-at91.txt | 1 + arch/arm/mach-at91/setup.c

Re: [GIT PULL] at91: dt for 3.17 #1

2014-07-14 Thread Alexandre Belloni
. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [PATCH v2 00/14] AT91: PIT: Cleanups and move to drivers/clocksource

2014-07-01 Thread Alexandre Belloni
on a G45-EK without DT and an Xplained with DT. On the whole series, Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com Thanks, Maxime Changes from v1: - Changed Kconfig option to ATMEL_PIT - Used DIV_ROUND_CLOSEST to compute the pit rate Maxime Ripard (14): AT91

Re: [PATCH 00/33] ARM: at91: Switch remaining SoCs and boards to CCF

2014-07-01 Thread Alexandre Belloni
Hi, On 01/07/2014 at 18:35:50 +0200, Arnd Bergmann wrote : On Tuesday 01 July 2014 16:12:09 Alexandre Belloni wrote: Looks good overall, but I think this Kconfig snippet should be cleaned up a little now: config AT91_USE_OLD_CLK bool config AT91_PMC_UNIT bool

Re: [PATCH 00/33] ARM: at91: Switch remaining SoCs and boards to CCF

2014-07-01 Thread Alexandre Belloni
On 01/07/2014 at 19:01:12 +0200, Arnd Bergmann wrote : On Tuesday 01 July 2014 18:48:51 Alexandre Belloni wrote: On 01/07/2014 at 18:35:50 +0200, Arnd Bergmann wrote : If I read this right, disabling 'USE_OF' results in still using the old clock interface. Is that intentional? If you want

[PATCHv5 0/4] iio: mxs-lradc: add support to optional divider_by_two

2013-12-23 Thread Alexandre Belloni
attribution purposes. This was tested on a custom i.MX28 platform. Alexandre Belloni (1): iio: mxs-lradc: convert is_divided to a bitmap Hector Palacios (3): iio: mxs-lradc: add scale attribute to channels iio: mxs-lradc: add scale_available file to channels iio: mxs-lradc: add write_raw

[PATCHv5 2/4] iio: mxs-lradc: add scale_available file to channels

2013-12-23 Thread Alexandre Belloni
parts to build a long decimal number. Signed-off-by: Hector Palacios hector.palac...@digi.com Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Acked-by: Marek Vasut ma...@denx.de --- drivers/staging/iio/adc/mxs-lradc.c | 106 +++- 1 file changed

[PATCHv5 4/4] iio: mxs-lradc: convert is_divided to a bitmap

2013-12-23 Thread Alexandre Belloni
mxs_lradc.is_divided was an unsigned long array. Convert it to a bitmap to save some memory. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/staging/iio/adc/mxs-lradc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging

[PATCHv5 3/4] iio: mxs-lradc: add write_raw function to modify scale

2013-12-23 Thread Alexandre Belloni
From: Hector Palacios hector.palac...@digi.com Added write_raw function to manipulate the optional divider_by_two through the scaling attribute out of the available scales. Signed-off-by: Hector Palacios hector.palac...@digi.com Signed-off-by: Alexandre Belloni alexandre.bell...@free

[PATCHv5 1/4] iio: mxs-lradc: add scale attribute to channels

2013-12-23 Thread Alexandre Belloni
(where the fixed pre-dividers apply) - allows to read the scaling attribute (computed from the Vref) Signed-off-by: Hector Palacios hector.palac...@digi.com. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Acked-by: Marek Vasut ma...@denx.de --- drivers/staging/iio/adc/mxs

[PATCHv5 RESEND 0/4] iio: mxs-lradc: add support to optional divider_by_two

2013-12-23 Thread Alexandre Belloni
attribution purposes. This was tested on a custom i.MX28 platform. Alexandre Belloni (1): iio: mxs-lradc: convert is_divided to a bitmap Hector Palacios (3): iio: mxs-lradc: add scale attribute to channels iio: mxs-lradc: add scale_available file to channels iio: mxs-lradc: add write_raw

[PATCHv5 RESEND 3/4] iio: mxs-lradc: add write_raw function to modify scale

2013-12-23 Thread Alexandre Belloni
From: Hector Palacios hector.palac...@digi.com Added write_raw function to manipulate the optional divider_by_two through the scaling attribute out of the available scales. Signed-off-by: Hector Palacios hector.palac...@digi.com Signed-off-by: Alexandre Belloni alexandre.bell...@free

<    2   3   4   5   6   7   8   9   10   11   >