Re: [PATCH v4 09/17] clk: at91: add PMC peripheral clocks

2013-10-17 Thread Nicolas Ferre
ff-by: Boris BREZILLON Acked-by: Nicolas Ferre --- drivers/clk/at91/Makefile |2 +- drivers/clk/at91/clk-peripheral.c | 407 + drivers/clk/at91/pmc.c|9 + drivers/clk/at91/pmc.h|5 + 4 files changed

Re: [PATCH v4 10/17] clk: at91: add peripheral clk macros for peripheral clk dt bindings

2013-10-17 Thread Nicolas Ferre
On 11/10/2013 11:53, Boris BREZILLON : This patch adds the peripheral divisors macros (for sam9x5 compatible IPs) which will be used by peripheral clk dt definitions. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre --- include/dt-bindings/clk/at91.h |6 ++ 1 file changed

Re: [PATCH v4 06/17] clk: at91: add PMC pll clocks

2013-10-17 Thread Nicolas Ferre
Electrical Characteristics" paragraph. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre --- drivers/clk/at91/Makefile |2 +- drivers/clk/at91/clk-pll.c| 545 + drivers/clk/at91/clk-plldiv.c | 137 +++ drivers

Re: [PATCH v4 11/17] clk: at91: add PMC programmable clocks

2013-10-17 Thread Nicolas Ferre
igned to the appropriate peripheral (see atmel's datasheets). Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre --- drivers/clk/at91/Makefile |2 + drivers/clk/at91/clk-programmable.c | 423 +++ drivers/clk/at91/pmc.c

Re: [PATCH v4 12/17] clk: at91: add PMC utmi clock

2013-10-17 Thread Nicolas Ferre
On 11/10/2013 12:22, Boris BREZILLON : This adds new at91 utmi clock implementation using common clk framework. This clock is a pll with a fixed factor (x40). It is used as a source for usb clock. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre --- arch/arm/mach-at91/Kconfig

Re: [PATCH v4 13/17] clk: at91: add PMC usb clock

2013-10-17 Thread Nicolas Ferre
0644 --- a/drivers/clk/at91/pmc.c +++ b/drivers/clk/at91/pmc.c @@ -279,6 +279,17 @@ static const struct of_device_id pmc_clk_ids[] __initdata = { .data = of_at91sam9x5_clk_utmi_setup, }, #endif + /* USB clock */ +#if defined(CONFIG_HAVE_AT91_USB_CLK) + { +

Re: [PATCH v4 14/17] clk: at91: add PMC smd clock

2013-10-17 Thread Nicolas Ferre
On 11/10/2013 13:27, Boris BREZILLON : This patch adds at91 smd (Soft Modem) clock implementation using common clk framework. Not used by any driver right now. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre --- arch/arm/mach-at91/Kconfig |5 ++ drivers/clk/at91/Makefile

Re: [PATCH v4 15/17] clk: at91: add PMC clk device tree binding doc.

2013-10-17 Thread Nicolas Ferre
On 11/10/2013 13:38, Boris BREZILLON : This patch adds new at91 clks dt bindings documentation. Signed-off-by: Boris BREZILLON It seems good Acked-by: Nicolas Ferre --- .../devicetree/bindings/clock/at91-clock.txt | 328 1 file changed, 328 insertions

Re: [PATCH v5 13/17] clk: at91: add PMC usb clock

2013-10-18 Thread Nicolas Ferre
On 17/10/2013 18:55, Boris BREZILLON : This patch adds new at91 usb clock implementation using common clk framework. This clock is used to clock usb ports (ohci, ehci and udc). Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre Ok, this one is now replacing the older 13/17. Thanks

Re: [PATCH v4 00/17] ARM: at91: move to common clk framework

2013-10-18 Thread Nicolas Ferre
include/dt-bindings/clk/at91.h rename {arch/arm/mach-at91/include/mach => include/linux/clk}/at91_pmc.h (98%) -- Nicolas Ferre -- 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

Re: [PATCH v2 3/6] ARM: at91/dt: define sama5d3 clocks

2013-10-18 Thread Nicolas Ferre
On 11/10/2013 14:43, Boris BREZILLON : Define sama5d3 clocks in sama5d3 device tree. Add references to the appropriate clocks in each peripheral. Signed-off-by: Boris BREZILLON good: Acked-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d3.dtsi | 331

Re: [PATCH v2 6/6] ARM: at91/dt: remove old clk material

2013-10-18 Thread Nicolas Ferre
: Boris BREZILLON Happy to see all these lines removed! Acked-by: Nicolas Ferre I am looking forward the same result on other SoCs. --- arch/arm/boot/dts/sama5d3xcm.dtsi | 11 -- arch/arm/mach-at91/sama5d3.c | 346 - 2 files changed, 357 deletions

[GIT PULL] at91: cleanup and preparation for the move to common clk #1

2013-10-18 Thread Nicolas Ferre
s for AT91 Nicolas Ferre (1): ARM: at91: remove init_machine() as default is suitable MAINTAINERS | 4 + arch/arm/boot/dts/at91sam9g25.dtsi | 2 + arch/arm/boot/dts/at91sam9g35.dtsi | 1 + arch/arm/boot/dts/at91sam9x25.dtsi | 24 +--- arc

[GIT PULL] at91: dt for 3.13 #1

2013-10-18 Thread Nicolas Ferre
1sam9n12.c| 1 + 4 files changed, 38 insertions(+), 1 deletion(-) -- Nicolas Ferre -- 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 Pl

Re: [PATCH] ARM: at91: remove redundant dependency

2013-11-20 Thread Nicolas Ferre
On 20/11/2013 08:23, Michael Opdenacker : From: Yanis Moreno This removes the "depends on SOC_SAM_V7" statement in a Kconfig section that's under an "if SOC_SAM_V7" condition (same parameter). Signed-off-by: Yanis Moreno Reviewed-by: Michael Opdenacker Acked-b

Re: [PATCH RESEND 0/7] crypto: at91/atmel: add Device Tree support

2013-11-20 Thread Nicolas Ferre
On 08/11/2013 16:08, Nicolas Ferre : This series adds Device Tree support to the Atmel crypto drivers (AES/[T]DES/SHA). The Device Tree entries are very simple and only declare the reg/irq values and the link to DMA. Herbert, ping? Could I have your "Acked-by" for taking the

Re: [PATCH 8/9] ARM: at91/dt: add new at91rm9200ek_mmc board

2013-11-21 Thread Nicolas Ferre
}; + }; + }; +}; -- 1.7.9.5 -- Nicolas Ferre -- 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 read the FAQ at http://www.tux.org/lkml/

[PATCH] ARM: at91: remove init_machine() as default is suitable

2013-10-11 Thread Nicolas Ferre
Since 883a106b0866ca8d75b5520bdb3ca1cf8e3730ba (ARM: default machine descriptor for multiplatform) we can remove the SoC-specific callback init_machine() to use the default code. This cleans up the code and reduces the number of lines. Signed-off-by: Nicolas Ferre --- arch/arm/mach-at91/board

Re: [PATCH 0/5] ARM:at91:enable sound on at91sam9n12ek board

2013-10-14 Thread Nicolas Ferre
: enable ssc on at91sam9n12ek board ARM: at91: add sound support on at91sam9n12ek board Great! And on the whole patch series: Acked-by: Nicolas Ferre I stack it on at91-3.13-dt branch. Thanks. arch/arm/boot/dts/at91sam9n12.dtsi |3 +++ arch/arm/boot/dts/at91sam9n12ek.dts | 34

[PATCH] crypto: atmel-aes - add support for Device Tree

2013-10-14 Thread Nicolas Ferre
Add support for Device Tree and use of the DMA DT API to get the needed channels. Documentation is added for these DT nodes. Initial code by: Nicolas Royer and Eukrea. Signed-off-by: Nicolas Ferre --- .../devicetree/bindings/crypto/atmel-crypto.txt| 23 drivers/crypto/atmel-aes.c

[PATCH 1/3] ARM: at91/dt/trivial: use macro for AES irq type

2013-10-14 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d3.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index ca956b6..b2aabff 100644 --- a/arch/arm/boot/dts/sama5d3.dtsi +++ b/arch/arm/boot/dts/sama5d3

[PATCH 2/3] ARM: at91/dt/trivial: before sama5d3, Atmel MPU were using at91 prefix

2013-10-14 Thread Nicolas Ferre
Change the sha/aes/tdes compatibility string to match common case for the at91sam9g45 family which is to keep the at91 prefix. Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d3.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/sama5d3.dtsi

[PATCH 3/3] ARM: at91/dt/sama5d3: add DMA information to SHA/AES/TDES nodes

2013-10-14 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d3.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index 99bd4a6..aca3893 100644 --- a/arch/arm/boot/dts/sama5d3.dtsi +++ b/arch/arm/boot/dts/sama5d3.dtsi

Re: [PATCH RFC 1/5] net: macb: Migrate to dev_pm_ops

2013-10-15 Thread Nicolas Ferre
On 15/10/2013 01:58, Soren Brinkmann : Migrate the suspend/resume functions to use the dev_pm_ops PM interface. Signed-off-by: Soren Brinkmann Acked-by: Nicolas Ferre --- drivers/net/ethernet/cadence/macb.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff

Re: [PATCH RFC 2/5] net: macb: Migrate to devm clock interface

2013-10-15 Thread Nicolas Ferre
On 15/10/2013 01:58, Soren Brinkmann : Migrate to using the device managed intreface for clocks and clean up the associated error paths. Signed-off-by: Soren Brinkmann Acked-by: Nicolas Ferre --- drivers/net/ethernet/cadence/macb.c | 32 1 file changed

Re: [PATCH RFC 3/5] net: macb: Use devm_ioremap()

2013-10-15 Thread Nicolas Ferre
On 15/10/2013 01:58, Soren Brinkmann : Use the device managed version of ioremap to remap IO memory, simplifying error paths. Signed-off-by: Soren Brinkmann Acked-by: Nicolas Ferre --- drivers/net/ethernet/cadence/macb.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions

Re: [PATCH RFC 4/5] net: macb: Use devm_request_irq()

2013-10-15 Thread Nicolas Ferre
On 15/10/2013 01:58, Soren Brinkmann : Use the device managed interface to request the IRQ, simplifying error paths. Signed-off-by: Soren Brinkmann Acked-by: Nicolas Ferre --- drivers/net/ethernet/cadence/macb.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git

Re: [PATCH RFC 5/5] net: macb: Adjust tx_clk when link speed changes

2013-10-15 Thread Nicolas Ferre
adence/macb.h b/drivers/net/ethernet/cadence/macb.h index f4076155bed7..51c02442160a 100644 --- a/drivers/net/ethernet/cadence/macb.h +++ b/drivers/net/ethernet/cadence/macb.h @@ -572,6 +572,7 @@ struct macb { struct platform_device *pdev; struct clk *pclk; s

Re: [PATCH 2/3] ARM: at91/dt/trivial: before sama5d3, Atmel MPU were using at91 prefix

2013-10-15 Thread Nicolas Ferre
On 14/10/2013 19:09, Jean-Christophe PLAGNIOL-VILLARD : On 18:46 Mon 14 Oct , Nicolas Ferre wrote: Change the sha/aes/tdes compatibility string to match common case for the at91sam9g45 family which is to keep the at91 prefix. Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d3

Re: [PATCH 1/2] tty/serial: at91: fix uart/usart selection for older products

2013-10-15 Thread Nicolas Ferre
On 14/10/2013 15:58, Jean-Christophe PLAGNIOL-VILLARD : On 10:43 Thu 10 Oct , Nicolas Ferre wrote: Since commit 055560b04a8cd063aea916fd083b7aec02c2adb8 (serial: at91: distinguish usart and uart) the older products which do not have a name field in their register map are unable to use their

Re: [PATCH 2/2] tty/serial: at91: add a fallback option to determine uart/usart property

2013-10-15 Thread Nicolas Ferre
On 14/10/2013 15:59, Jean-Christophe PLAGNIOL-VILLARD : On 10:43 Thu 10 Oct , Nicolas Ferre wrote: On older SoC, the "name" field is not filled in the register map. Fix the way to figure out if the serial port is an uart or an usart for these older products (with corresponding

[PATCH 1/3] crypto: atmel-tdes - add support for Device Tree

2013-10-15 Thread Nicolas Ferre
Add support for Device Tree and use of the DMA DT API to get the channels if needed. Documentation is added for these DT nodes. Initial code by: Nicolas Royer and Eukrea. Signed-off-by: Nicolas Ferre --- .../devicetree/bindings/crypto/atmel-crypto.txt| 23 drivers/crypto/atmel-tdes.c

[PATCH 2/3] crypto: atmel-sha - add support for Device Tree

2013-10-15 Thread Nicolas Ferre
Add support for Device Tree and use of the DMA DT API to get the channels if needed. Documentation is added for these DT nodes. Initial code by: Nicolas Royer and Eukrea. Signed-off-by: Nicolas Ferre --- .../devicetree/bindings/crypto/atmel-crypto.txt| 22 + drivers/crypto/atmel-sha.c

[PATCH 3/3] crypto: atmel-sha - add sha information to the log

2013-10-15 Thread Nicolas Ferre
Depending on peripheral capabilities, print SHA information at the end of the probe function. Signed-off-by: Nicolas Ferre --- drivers/crypto/atmel-sha.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/atmel-sha.c b/drivers/crypto/atmel-sha.c index ecfdf72

Re: [PATCH v5] PWM: atmel-pwm: add PWM controller driver

2013-10-28 Thread Nicolas Ferre
f the non-documentation patches). This way you may have more chances to get feedback. Thanks, bye, -- Nicolas Ferre -- 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.or

Re: [PATCH] rtc: rtc-at91rm9200: Corrected alarm over day/month wrap:

2013-12-02 Thread Nicolas Ferre
On 18/11/2013 23:37, Andrew Morton : On Mon, 18 Nov 2013 18:20:54 +0100 Nicolas Ferre wrote: From: Linus Pizunski Update month and day of month to the alarm month/day instead of current day/month when setting the RTC alarm mask. Signed-off-by: Linus Pizunski Acked-by: Nicolas Ferre I

Re: [PATCH] arm: at91: sama5d3: enable qt1070 as a wakeup source

2013-12-02 Thread Nicolas Ferre
On 02/12/2013 09:29, Bo Shen : Enable qt1070 keyboard as a wakeup source on sama5d3xek board. Signed-off-by: Bo Shen Acked-by: Nicolas Ferre Thanks, --- arch/arm/boot/dts/sama5d3xdm.dtsi |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/sama5d3xdm.dtsi b/arch

[PATCH] ARM: at91: add usart3 alias to dtsi

2013-12-02 Thread Nicolas Ferre
Alias was missing for SoC of the at91sam9x5 familly that embed USART3. Preripheral node and pinctrl declarations are already in the at91sam9x5_usart3.dtsi file. Reported-by: Jiri Prchal Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/at91sam9g25.dtsi | 4 arch/arm/boot/dts/at91sam9x25

Re: [PATCH] ARM: at91: add usart3 alias to dtsi

2013-12-02 Thread Nicolas Ferre
On 02/12/2013 12:36, boris brezillon : Hi Nicolas, Le 02/12/2013 11:13, Nicolas Ferre a écrit : Alias was missing for SoC of the at91sam9x5 familly that embed USART3. Preripheral node and pinctrl declarations are already in the at91sam9x5_usart3.dtsi file. Reported-by: Jiri Prchal Signed-off

[PATCH v2] ARM: at91: add usart3 alias to dtsi

2013-12-02 Thread Nicolas Ferre
Alias was missing for SoC of the at91sam9x5 familly that embed USART3. Reported-by: Jiri Prchal Signed-off-by: Nicolas Ferre Cc: Boris Brezillon --- arch/arm/boot/dts/at91sam9x5_usart3.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5_usart3.dtsi b

Re: [PATCH v6 00/16] ARM: at91: move to common clk framework

2013-12-02 Thread Nicolas Ferre
de 100644 drivers/clk/at91/pmc.h create mode 100644 include/dt-bindings/clk/at91.h rename {arch/arm/mach-at91/include/mach => include/linux/clk}/at91_pmc.h (98%) -- 1.7.9.5 -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

[GIT PULL] at91: fixes 3.13 #2

2013-12-02 Thread Nicolas Ferre
k frequency Nicolas Ferre (1): ARM: at91: add usart3 alias to dtsi arch/arm/boot/dts/at91sam9x5_usart3.dtsi | 4 arch/arm/mach-at91/pm.h | 4 arch/arm/mach-at91/sama5d3.c | 6 +++--- 3 files changed, 11 insertions(+), 3 deletions(-) -- Nicolas Fer

Re: [PATCH v4 0/6] ARM: at91: use new at91 clks for samad3 SoCs

2013-12-02 Thread Nicolas Ferre
On 28/11/2013 15:49, Boris BREZILLON : Hello, This patch series moves sama5d3 SoCs and boards to the new at91 clk framework (based on common clk framework). Best Regards, Whole series: Acked-by: Nicolas Ferre and added on top of CCF one for at91-3.14-cleanup Bye, Boris Changes since v3

[PATCH] ARM: at91: add uart aliases to sama5d3 dtsi

2013-12-02 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d3_uart.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3_uart.dtsi b/arch/arm/boot/dts/sama5d3_uart.dtsi index 49d4d76ca6f4..a9fa75e41652 100644 --- a/arch/arm/boot/dts/sama5d3_uart.dtsi +++ b/arch

[PATCH] ARM: at91: add i2c2 pinctrl speficifation to sama5d3 DT

2013-12-02 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d3.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index f520b0236671..f5fd111b5ee6 100644 --- a/arch/arm/boot/dts/sama5d3.dtsi +++ b/arch/arm/boot/dts

[GIT PULL] at91: cleanup for 3.14 #1 (aka move to CCF)

2013-12-02 Thread Nicolas Ferre
at91/clk-utmi.c create mode 100644 drivers/clk/at91/pmc.c create mode 100644 drivers/clk/at91/pmc.h create mode 100644 include/dt-bindings/clk/at91.h rename {arch/arm/mach-at91/include/mach => include/linux/clk}/at91_pmc.h (98%) -- Nicolas Ferre -- To unsubscribe from this list: send the

Re: [PATCH] atmel_lcdfb: fix module autoload

2013-12-02 Thread Nicolas Ferre
On 22/10/2013 18:36, Johan Hovold : Add missing module device table which is needed for module autoloading. Signed-off-by: Johan Hovold Acked-by: Nicolas Ferre Jean-Christophe, Tomi, Can you please take this patch? Best regards, --- drivers/video/atmel_lcdfb.c | 1 + 1 file changed

Re: [PATCH 2/3] usb: ohci-at91: replace request_mem_region + ioremap by devm_request_and_ioremap

2013-12-03 Thread Nicolas Ferre
On 03/12/2013 15:07, Boris BREZILLON : Replace the request_mem_region + ioremap calls by the devm_request_and_ioremap call which does the same things but with device managed resources. Signed-off-by: Boris BREZILLON Tested-by: Robert Nelson Acked-by: Nicolas Ferre --- drivers/usb/host

Re: [PATCH 1/3] usb: ohci-at91: fix irq and iomem resource retrieval

2013-12-03 Thread Nicolas Ferre
avoid resource type mismatch. Signed-off-by: Boris BREZILLON Tested-by: Robert Nelson Acked-by: Nicolas Ferre --- drivers/usb/host/ohci-at91.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci

Re: [PATCH 3/3] usb: ohci-at91: use device managed clk retrieval

2013-12-03 Thread Nicolas Ferre
On 03/12/2013 15:07, Boris BREZILLON : Replace clk_get calls by devm_clk_get calls. Signed-off-by: Boris BREZILLON Tested-by: Robert Nelson Acked-by: Nicolas Ferre Thanks Boris for these fixes. Alan, Greg, can you take the whole series as fixes for 3.13? Thanks, best regards

Re: [PATCH v2 0/5] net: macb updates

2013-12-12 Thread Nicolas Ferre
to return here. */ + return clk_get_rate(clk); +} + #endif /* CONFIG_AT91_PROGRAMMABLE_CLOCKS */ -- Nicolas Ferre -- 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://vge

[PATCH] ARM: at91: remove AT91_PROGRAMMABLE_CLOCKS configuration option

2013-12-12 Thread Nicolas Ferre
remove this option instead of adding code just to build a workaround. Signed-off-by: Nicolas Ferre --- Olof, Kevin, This patch goes on top of the AT91 "cleanup" branch. Bye, arch/arm/configs/at91_dt_defconfig | 1 - arch/arm/configs/at91rm9200_defconfig | 1 - arch/a

Re: [PATCH 3/3] pinctrl: at91: implement at91_pinconf_dbg_show

2013-12-13 Thread Nicolas Ferre
On 07/12/2013 14:08, Alexandre Belloni : This allows to get the pin configuration by using debugfs. On my system: # cat /sys/kernel/debug/pinctrl/pinctrl.3/pinconf-pins Signed-off-by: Alexandre Belloni I am fine with these helpers: Acked-by: Nicolas Ferre But still a little disappointed

[GIT PULL] at91: drivers for 3.14 #1

2013-12-13 Thread Nicolas Ferre
18:39:36 +0100) AT91 crypto drivers DT support: - add DT to sha/des/aes existing drivers - add DMA DT - all documentation added to crypto/atmel-crypto.txt file -------- Nicolas Ferre (4): crypto: atmel-aes - add support for Device Tree

Re: [PATCH] devicetree: macb: Document clock properties

2013-12-16 Thread Nicolas Ferre
On 13/12/2013 23:03, Soren Brinkmann : > The macb driver uses the clock bindings. Document the required > properties, especially the driver specific clock-names. > > Signed-off-by: Soren Brinkmann Acked-by: Nicolas Ferre Thanks. > --- > Documentation/devicetree/binding

Re: [PATCH 2/2] pinctrl: at91: replace clk_prepare + clk_enable by clk_prepare_enable

2013-12-16 Thread Nicolas Ferre
On 15/12/2013 19:30, Boris BREZILLON : > Replace the clk_prepare and clk_enable calls by a single > clk_prepare_enable call. > > Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre > --- > drivers/pinctrl/pinctrl-at91.c |6 ++ > 1 file changed, 2 inser

Re: [PATCH 1/2] pinctrl: at91: fix clk_unprepare and clk_disable order

2013-12-16 Thread Nicolas Ferre
On 15/12/2013 19:30, Boris BREZILLON : > clk_unprepare shall be called before clk_disable. > Fix the issue by replacing the clk_unprepare and clk_disable calls by a > single clk_disable_unprepare call. > > Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre Thanks. &

Re: linux-next: manual merge of the renesas tree with the arm-soc tree

2013-12-16 Thread Nicolas Ferre
: > shmobile: Add R-Car Gen2 clocks support") from the renesas tree. > > I fixed it up (see below) and can carry the fix as necessary (no action > is required). Fine for me. Thanks. Bye, -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-kern

Re: [PATCH] clk: at91: fix pmc_clk_ids data type attriubte

2013-12-17 Thread Nicolas Ferre
On 16/12/2013 22:25, Boris BREZILLON : > Fix pmc_clk_ids data type attribute (__initdata -> __initconst). > > Signed-off-by: Boris BREZILLON > Reported-by: Fengguang Wu Acked-by: Nicolas Ferre I take it in at91-3.14-cleanup2 branch and send it upstream through arm-soc lik

Re: [PATCH] ARM: at91: at91sam9x5: correct typo error for ohci clock

2014-07-18 Thread Nicolas Ferre
On 14/07/2014 08:14, Boris BREZILLON : > On Mon, 14 Jul 2014 11:08:14 +0800 > Bo Shen wrote: > >> Correct the typo error for the second "uhphs_clk". >> >> Signed-off-by: Bo Shen > > Acked-by: Boris Brezillon Acked-by: Nicolas Ferre > sam9n12

[GIT PULL] at91: fixes for 3.16 #2

2014-07-18 Thread Nicolas Ferre
ON (2): ARM: at91/dt: fix usb0 clocks definition in sam9n12 dtsi ARM: at91/dt: add missing clocks property to pwm node in sam9x5.dtsi arch/arm/boot/dts/at91sam9n12.dtsi | 2 +- arch/arm/boot/dts/at91sam9x5.dtsi | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) -- Nicolas

Re: [PATCH v3 1/2] ARM: at91/dt: describe rgmii ethernet phy connected to sama5d3xek boards

2014-07-18 Thread Nicolas Ferre
rxc-skew-ps = <3000>; > + rxd0-skew-ps = <400>; > + rxd1-skew-ps = <400>; > + rxd2-skew-ps = <400>; > + rxd3-skew-ps = <400

Re: [PATCH v3 0/2] ARM: at91: remove phy fixup for sama5d3xek boards

2014-07-18 Thread Nicolas Ferre
s now replaced by the appropriate DT > properties definitions in the sama5d3xcm.dtsi file. > > Best Regards, On the whole series: Acked-by: Nicolas Ferre > Changes since v2: > - define 2 phy nodes to handle Ronetix and Embest HW designs > > Changes since v1: > - fix txc-s

Re: [PATCH 2/3] ARM: at91: at91sam9g45: change at91_adc name

2014-04-22 Thread Nicolas Ferre
On 15/03/2014 16:33, Jonathan Cameron : > On 10/03/14 13:26, Nicolas Ferre wrote: >> On 06/03/2014 20:16, Jonathan Cameron : >>> On 05/03/14 16:57, Alexandre Belloni wrote: >>>> We can't use "at91_adc" to refer to the at91_adc driver anymore as the

[PATCH] ARM: at91: add pull-up to i2c[02] on SAMA5D3 Xplained

2014-04-22 Thread Nicolas Ferre
As there are no pull-up resistors on the board itself it can be useful to use the SoC pad pull-up to be able to easily connect usual i2c devices. Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch

[PATCH] ARM: at91: sama5d3xek: reserve dma channel for audio

2014-09-18 Thread Nicolas Ferre
o the sama5d3xmb.dtsi to cover all board variants] Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d3xmb.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi b/arch/arm/boot/dts/sama5d3xmb.dtsi index b8c6f20e780c..49c10d33df30 100644 --- a/arch/arm

Re: [PATCH] ARM: at91/dt: sama5d3: add the nfc clock

2014-09-18 Thread Nicolas Ferre
On 16/09/2014 10:43, Alexandre Belloni : > The atmel_nand driver is now able to handle the nfc clock, add it to sama5d3. > > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre Stacked on at91-3.18-dt3 branch. Thanks, > --- > arch/arm/boot/dts/sama5d3.dtsi | 6 ++ &g

Re: [PATCH] ARM: at91/dt: declare sckc node on at91sam9g45

2014-09-18 Thread Nicolas Ferre
On 09/09/2014 12:14, Boris BREZILLON : > Declare the SCKC (Slow Clock Configuration) block and its clks. > Make use of the clk32k clk instead of slow_osc where appropriate. > > Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre Stacked on top of at91-3.18-dt3. Thanks,

Re: [PATCH] ARM: at91/dt: at91sam9m10g45ek add rtc node

2014-09-18 Thread Nicolas Ferre
On 02/09/2014 12:52, Erik van Luijk : > Signed-off-by: Erik van Luijk Acked-by: Nicolas Ferre and added to the at91-3.18-dt3 branch. I also sent your remarks to the Documentation department in Atmel: thanks a lot for your help. > --- > arch/arm/boot/dts/at91sam9g45.dts

[GIT PULL] at91: dt for 3.18 #3

2014-09-18 Thread Nicolas Ferre
arch/arm/boot/dts/sama5d3_can.dtsi | 2 +- arch/arm/boot/dts/sama5d3xmb.dtsi | 4 7 files changed, 72 insertions(+), 6 deletions(-) -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.

Re: [PATCHv3 5/7] ARM: at91: dt: add device tree file for SAMA5D4ek board

2014-09-19 Thread Nicolas Ferre
On 15/09/2014 18:15, Alexandre Belloni : > From: Nicolas Ferre > > Add reference SAMA5D4-EK platform DT file. > > Signed-off-by: Nicolas Ferre > Signed-off-by: Josh Wu > Signed-off-by: Alexandre Belloni > --- > arch/arm/boot/dts/Makefile | 2

Re: [PATCHv3 1/7] clk: at91: add a driver for the h32mx clock

2014-09-19 Thread Nicolas Ferre
exandre Belloni Okay on my side: Acked-by: Nicolas Ferre > --- > Cc:Mike Turquette Mike, I guess that you didn't get this v3. Can you "Ack" this one of should we re-sent to you? I would like to take this patch with the rest of the SAMA5D4 series: is it okay for you? Bye

Re: [PATCHv3 7/7] ARM: at91: document Atmel SMART compatibles

2014-09-19 Thread Nicolas Ferre
On 15/09/2014 18:15, Alexandre Belloni : > Document all the available compatibles for Atmel "SMART" SoCs. > > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre Thanks > --- > .../devicetree/bindings/arm/atmel-at91.txt | 37 >

[GIT PULL] at91: soc 3.18 #1

2014-09-19 Thread Nicolas Ferre
) First AT91 SoC batch for 3.18: - removal of 2 board C files in mach-at91 Josef Holzmayr (1): ARM: at91: Remove the support for the RSI EWS board Nicolas Ferre (1): ARM

Re: [PATCH 1/2] USB: at91: fix the number of endpoint parameter

2014-01-17 Thread Nicolas Ferre
On 17/01/2014 03:59, Bo Shen : > In sama5d3 SoC, there are 16 endpoints. As the USBA_NR_ENDPOINTS > is only 7. So, fix it for sama5d3 SoC using the udc->num_ep. > > Signed-off-by: Bo Shen Acked-by: Nicolas Ferre > --- > > drivers/usb/gadget/atmel_usba_udc.c | 2

Re: [PATCH 2/2] USB: at91: using USBA_NR_DMAS for DMA channels

2014-01-17 Thread Nicolas Ferre
On 17/01/2014 03:59, Bo Shen : > When the SoC is earlier than sama5d3 SoC, which have the same number > endpoints and DMAs. However for sama5d3 SoC, it has different number > for endpoints and DMAs. So, define USBA_NR_DMAs for DMA channels > > Signed-off-by: Bo Shen Acked-by

Re: [PATCH 1/2] USB: at91: fix the number of endpoint parameter

2014-01-21 Thread Nicolas Ferre
->num_ep; > ---8<--- It seems to me pretty valid to use num_ep in this driver and not have to rely on another compatibility string just for this. The information is here, it is retrieved pretty cleanly so I vote for a simple use of it: if we introduce another information we will have to do

[GIT PULL] at91: soc for 3.18 #2

2014-09-22 Thread Nicolas Ferre
rings Alexandre Belloni (3): clk: at91: add a driver for the h32mx clock ARM: at91: add sama5d4 support to sama5_defconfig ARM: at91: document Atmel SMART compatibles Nicolas Ferre (4): ARM: at91: introduce basic SAMA5D4 su

Re: [PATCH v6 1/9] rtc: at91sam9: remove references to mach specific headers

2014-09-23 Thread Nicolas Ferre
re Belloni Acked-by: Nicolas Ferre > --- > drivers/rtc/rtc-at91sam9.c | 22 ++ > 1 file changed, 18 insertions(+), 4 deletions(-) > > diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c > index 5963743..51f0038 100644 > --- a/drivers/

Re: [PATCH v6 2/9] rtc: at91sam9: use standard readl/writel functions instead of raw versions

2014-09-23 Thread Nicolas Ferre
Can be good to know why... here. Otherwise, you can add my: Acked-by: Nicolas Ferre On 22/09/2014 17:42, Boris BREZILLON : > Signed-off-by: Boris BREZILLON > Acked-by: Alexandre Belloni > --- > drivers/rtc/rtc-at91sam9.c | 8 > 1 file changed, 4 insertions(

Re: [PATCH v6 4/9] rtc: at91sam9: add DT support

2014-09-23 Thread Nicolas Ferre
On 22/09/2014 17:42, Boris BREZILLON : > Add of_match_table to the existing driver so that rtt nodes defined in at91 > DTs can be attached to this driver. > > Signed-off-by: Boris BREZILLON > Acked-by: Alexandre Belloni Acked-by: Nicolas Ferre > --- > drivers/r

Re: [PATCH v6 3/9] rtc: at91sam9: replace devm_ioremap by devm_ioremap_resource

2014-09-23 Thread Nicolas Ferre
On 22/09/2014 17:42, Boris BREZILLON : > Replace devm_ioremap calls by devm_ioremap_resource which already check > resource consistency (resource != NULL) and print an error in case of > failure. > > Signed-off-by: Boris BREZILLON > Acked-by: Alexandre Belloni Acked

Re: [PATCH v6 7/9] rtc: at91sam9: use clk API instead of relying on AT91_SLOW_CLOCK

2014-09-23 Thread Nicolas Ferre
us to reference the clk thus preventing the CCF from > disabling it during the "disable unused" phase. > > Signed-off-by: Boris BREZILLON > Acked-by: Alexandre Belloni Acked-by: Nicolas Ferre > --- > drivers/rtc/rtc-at91sam9.c | 28 >

Re: [PATCH v6 9/9] mfd: syscon: add Atmel GPBR DT bindings documention

2014-09-23 Thread Nicolas Ferre
used as an RTC) which needs one of > those registers to save the current time. > > Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre > --- > Documentation/devicetree/bindings/mfd/atmel,gpbr.txt | 15 +++ > 1 file changed, 15 insertions(+) > create mode 1006

Re: [PATCH v6 6/9] ARM: at91: add clk_lookup entry for RTT devices

2014-09-23 Thread Nicolas Ferre
!CCF for the sam9's: Acked-by: Nicolas Ferre > --- > arch/arm/mach-at91/at91sam9260.c | 2 ++ > arch/arm/mach-at91/at91sam9261.c | 2 ++ > arch/arm/mach-at91/at91sam9263.c | 4 > arch/arm/mach-at91/at91sam9g45.c | 2 ++ > arch/arm/mach-at91/at91sam9rl.c | 2 +

Re: [PATCH v6 8/9] rtc: at91sam9: add DT bindings documentation

2014-09-23 Thread Nicolas Ferre
On 22/09/2014 17:42, Boris BREZILLON : > Signed-off-by: Boris BREZILLON Yes, it's good for me: Acked-by: Nicolas Ferre Thanks, bye, > --- > .../devicetree/bindings/rtc/atmel,at91sam9-rtc.txt | 23 > ++ > 1 file changed, 23 insertions(+) &

Re: [PATCH v6 5/9] rtc: at91sam9: make use of syscon/regmap to access GPBR registers

2014-09-23 Thread Nicolas Ferre
&args); > + if (ret) > + return ret; > + > + rtc->gpbr = syscon_node_to_regmap(args.np); > + rtc->gpbr_offset = args.args[0]; > + } > + > + if (IS_ER

Re: [PATCH v7 06/10] rtc: at91sam9: rework the Kconfig description

2014-09-23 Thread Nicolas Ferre
l battery) which keeps this block and the GPBR > + (General Purpose Backup Registers) block powered when the device > + is shutdown. > + Some AT91SAM9 SoCs provide a real RTC block, on those ones you'd > + probably want to use the real RTC block instead of th

Re: [GIT PULL] at91: drivers for 3.18 #2 (bis)

2014-09-24 Thread Nicolas Ferre
On 24/09/2014 06:59, Olof Johansson : > On Mon, Sep 15, 2014 at 06:12:43PM +0200, Nicolas Ferre wrote: >> Arnd, Olof, Kevin, >> >> I re-send this pull-request with the work done by Maxime to take Arnd's >> comments into annount: removal of the early_platform de

[RFC PATCH] ARM: at91: remove no-MMU at91x40 support

2014-09-24 Thread Nicolas Ferre
anymore. It would be better to start from these modern ARM !MMU platforms to reintroduce at91x40 support if needed. Signed-off-by: Nicolas Ferre --- arch/arm/configs/at91x40_defconfig | 48 -- arch/arm/mach-at91/Kconfig | 25 ++-- arch/arm/mach-at91

Re: [RFC PATCH] ARM: at91: remove no-MMU at91x40 support

2014-09-24 Thread Nicolas Ferre
On 24/09/2014 16:47, Arnd Bergmann : > On Wednesday 24 September 2014 16:18:01 Nicolas Ferre wrote: >> As there is currently no-one to take care of this old !MMU target and as its >> support in recent kernels is a bit rotten, remove this at91x40 support and >> the >> bo

Re: [PATCH] Revert "net/macb: add pinctrl consumer support"

2014-09-24 Thread Nicolas Ferre
think the driver core does already take care of > calling into the pinctrl framework and the driver does not need to do it on > its > own (drivers/base/dd.c:really_probe() calls 'pinctrl_bind_pins() which takes > care of the pinctrl setup). True, thanks for your patch: Acked-by: Ni

Re: [RESEND PATCH] misc: atmel-ssc: prepare clock only when request

2014-09-24 Thread Nicolas Ferre
.c Acked-by: Nicolas Ferre Bye, > --- > Send this patch to driver/misc maintainer as Mark Brown suggested. > > drivers/misc/atmel-ssc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/misc/atmel-ssc.c b/drivers/misc/atmel-ssc.c > i

Re: [PATCH] ARM: at91: enable new AIC driver even if the old one is selected

2014-09-24 Thread Nicolas Ferre
200" > - select ATMEL_AIC_IRQ if !OLD_IRQ_AT91 > + select ATMEL_AIC_IRQ > select CPU_ARM920T > select GENERIC_CLOCKEVENTS > select HAVE_AT91_DBGU0 > -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in t

[GIT PULL] at91: fixes-non-critical for 3.18 #1

2014-09-24 Thread Nicolas Ferre
: fix at91sam9263ek DT mmc pinmuxing settings Ludovic Desroches (1): ARM: at91/PMC: don't forget to write PMC_PCDR register to disable clocks arch/arm/boot/dts/at91sam9263.dtsi | 2 ++ arch/arm/mach-at91/clock.c | 1 + 2 files changed, 3 insertions(+) -- Nicolas Ferre -- To u

Re: [GIT PULL] at91: soc for 3.18 #2

2014-09-26 Thread Nicolas Ferre
On 26/09/2014 12:50, Arnd Bergmann : > On Monday 22 September 2014, Nicolas Ferre wrote: > >> Nicolas Ferre (4): >> ARM: at91: introduce basic SAMA5D4 support >> ARM: at91: SAMA5D4 SoC detection code and low level routines > > This resulted in build fail

Re: [PATCH v3 0/8] rtc: at91sam9: add DT support

2014-09-11 Thread Nicolas Ferre
1sam9260-gpbr compatible node) in the device tree. > > I'm not a big fan of this solution, as it implies passing driver > specific config to the global cmdline (and we'll have to handle the > 9263 case where 2 RTT blocks are availables). Nope, I don't like messing

Re: [PATCH 1/7] irqchip: atmel-aic5: Add sama5d4 support

2014-09-11 Thread Nicolas Ferre
t); > + > +#define NR_SAMA5D4_IRQS 68 > + > +static int __init sama5d4_aic5_of_init(struct device_node *node, > +struct device_node *parent) > +{ > + return aic5_of_init(node, parent, NR_SAMA5D4_IRQS); > +} > +IRQCHIP_DECLARE

Re: [PATCH 7/7] ARM: at91: add sama5d4 support to sama5_defconfig

2014-09-11 Thread Nicolas Ferre
TS=y > CONFIG_MTD_BLOCK=y > CONFIG_MTD_CFI=y > -CONFIG_MTD_M25P80=y Well I would keep this one... > CONFIG_MTD_NAND=y > CONFIG_MTD_NAND_ATMEL=y > CONFIG_MTD_SPI_NOR=y > -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-kernel&

Re: [PATCH] pinctrl: at91: disable Pull-Down or Pull-Up property before enabling Pull-Up or Pull-Down.

2014-09-11 Thread Nicolas Ferre
On 11/09/2014 16:40, Alexandre Belloni : > From: Wenyou Yang > > Because the pin's Pull-Up and Pull-Down property is mutually exclusive. > > Signed-off-by: Wenyou Yang Yes, indeed: Acked-by: Nicolas Ferre > --- > drivers/pinctrl/pinctrl-at91.c | 6 ++ >

<    5   6   7   8   9   10   11   12   13   14   >