Re: [PATCH -next] hwrng: atmel - use clk_disable_unprepare instead of clk_disable

2016-11-14 Thread Nicolas Ferre
Le 11/11/2016 à 15:56, Wei Yongjun a écrit : > From: Wei Yongjun > > Since clk_prepare_enable() is used to get trng->clk, we should > use clk_disable_unprepare() to release it for the error path. > > Signed-off-by: Wei Yongjun Acked-by: Nicolas Ferre Tha

Re: [PATCH v2] char: hw_random: atmel-rng: disable TRNG during suspend

2016-10-25 Thread Nicolas Ferre
ock that may be used in the entropy source > logic circuitry. > > Signed-off-by: Wenyou Yang Acked-by: Nicolas Ferre Thanks > --- > > Changes in v2: > - Enable the user interface first, then enable the internal clock >when resume. > >

Re: [PATCH v1] char: hw_random: atmel-rng: disable TRNG during suspend

2016-10-24 Thread Nicolas Ferre
; + atmel_trng_disable(trng); > clk_disable_unprepare(trng->clk); > > return 0; > @@ -114,6 +125,7 @@ static int atmel_trng_resume(struct device *dev) > { > struct atmel_trng *trng = dev_get_drvdata(dev); > > + atmel_trng_enable(trng); >

Re: [PATCH 0/5] crypto: atmel-sha: fix registration issue and other bugs

2016-01-22 Thread Nicolas Ferre
can be queued as fixes, in your opinion? And, on the whole series: Acked-by: Nicolas Ferre > This series was applied to linux-next and tested on a sama5d2 xplained > ultra board. We now pass the tcrypt tests in the following modes: > - 2: sha1 > - 6: sha256 > - 11: sha384 >

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

2014-11-20 Thread Nicolas Ferre
From: 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 Acked-by: Peter Korsgaard Acked-by: Nicolas Ferre --- drivers/char/hw_random

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

2014-11-20 Thread Nicolas Ferre
From: Boris Brezillon Document DT bindings of Atmel's TRNG (True Random Number Generator) IP. Signed-off-by: Boris Brezillon Acked-by: Peter Korsgaard Acked-by: Nicolas Ferre --- Documentation/devicetree/bindings/hwrng/atmel-trng.txt | 16 1 file changed, 16 inser

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

2014-11-20 Thread Nicolas Ferre
From: 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 Acked-by: Nicolas Ferre --- arch/arm/boot/dts

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

2014-11-20 Thread Nicolas Ferre
From: Boris Brezillon Use clk_prepare_enable/_disable_unprepare instead of clk_enable/disable to work properly with the CCF. Signed-off-by: Boris Brezillon Acked-by: Peter Korsgaard Acked-by: Nicolas Ferre --- drivers/char/hw_random/atmel-rng.c | 8 1 file changed, 4 insertions

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

2014-11-20 Thread Nicolas Ferre
This is the patch series that Boris sent yesterday. I've just collected "Acked-by" tags and resend it with updated cover letter. This series adds DT support for the TRNG (True Random Generator) block and adds missing trng nodes to at91sam9g45 dtsi files. Herbert, As you said that you can take thi

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

2014-11-19 Thread Nicolas Ferre
On 19/11/2014 17:18, Boris Brezillon : > On Wed, 19 Nov 2014 17:15:47 +0100 > Nicolas Ferre wrote: > >> On 19/11/2014 17:07, Boris Brezillon : >>> Hello, >>> >>> This series adds DT support for the TRNG (True Random Generator) block and >>> adds

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

2014-11-19 Thread Nicolas Ferre
etions(-) > create mode 100644 Documentation/devicetree/bindings/hwrng/atmel-trng.txt > -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

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

[PATCH RESEND 6/7] crypto: atmel-sha - add support for Device Tree

2013-11-08 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 RESEND 7/7] crypto: atmel-sha - add sha information to the log

2013-11-08 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

[PATCH RESEND 5/7] crypto: atmel-tdes - add support for Device Tree

2013-11-08 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 RESEND 4/7] crypto: atmel-aes - add support for Device Tree

2013-11-08 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 RESEND 0/7] crypto: at91/atmel: add Device Tree support

2013-11-08 Thread Nicolas Ferre
been sent but a little bit scattered. So I collect everything, this time. Nicolas Ferre (7): ARM: at91/dt/trivial: use macro for AES irq type ARM: at91/dt/trivial: before sama5d3, Atmel MPU were using at91 prefix ARM: at91/dt/sama5d3: add DMA information to SHA/AES/TDES nodes crypto: atmel

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

2013-11-08 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 b7f4961..fca56c7 100644 --- a/arch/arm/boot/dts/sama5d3.dtsi +++ b/arch/arm/boot/dts/sama5d3

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

2013-11-08 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 RESEND 3/7] ARM: at91/dt/sama5d3: add DMA information to SHA/AES/TDES nodes

2013-11-08 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 8716fc2..56c3b01 100644 --- a/arch/arm/boot/dts/sama5d3.dtsi +++ b/arch/arm/boot/dts/sama5d3.dtsi

[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

[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 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

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

[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 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

[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] 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

Re: [PATCH 37/51] DMA-API: usb: use new dma_coerce_mask_and_coherent()

2013-09-23 Thread Nicolas Ferre
On 20/09/2013 00:02, Russell King : Signed-off-by: Russell King --- drivers/usb/chipidea/ci_hdrc_imx.c |4 +--- drivers/usb/dwc3/dwc3-exynos.c |4 +--- drivers/usb/host/ehci-atmel.c |4 +--- For Atmel driver: Acked-by: Nicolas Ferre [..] diff --git a/drivers/usb

Re: [PATCH 36/51] DMA-API: usb: use dma_set_coherent_mask()

2013-09-23 Thread Nicolas Ferre
the correct API. Signed-off-by: Russell King --- drivers/usb/chipidea/ci_hdrc_imx.c |5 +++-- drivers/usb/dwc3/dwc3-exynos.c |5 +++-- drivers/usb/gadget/lpc32xx_udc.c |4 +++- drivers/usb/host/ehci-atmel.c |5 +++-- For Atmel driver: Acked-by: Nicolas Ferre

Re: [PATCH 1/5] ARM: AT91SAM9G45: fix crypto peripherals irq issue due to sparse irq support.

2012-11-16 Thread Nicolas Ferre
> Signed-off-by: Nicolas Royer >> Acked-by: Nicolas Ferre >> Acked-by: Eric Bénard >> Tested-by: Eric Bénard >> Cc: sta...@vger.kernel.org # 3.6 > > ok will see if we can have it for 3.7 Queued in our at91-fixes pull request for 3.7-final. Thanks a lot, best r