[PATCH 6/9] crypto: ux500/cryp - Set DMA configuration though dma_slave_config()

2013-04-18 Thread Lee Jones
...@davemloft.net Cc: Andreas Westin andreas.wes...@stericsson.com Cc: linux-crypto@vger.kernel.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/crypto/ux500/cryp/cryp.h |7 ++- drivers/crypto/ux500/cryp/cryp_core.c | 17 + 2 files changed, 23 insertions(+), 1

[PATCH 8/9] crypto: ux500/[cryp|hash] - Show successful start-up in the bootlog

2013-04-18 Thread Lee Jones
...@stericsson.com Cc: linux-crypto@vger.kernel.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/crypto/ux500/cryp/cryp_core.c |2 ++ drivers/crypto/ux500/hash/hash_core.c |2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/ux500/cryp/cryp_core.c b/drivers

[PATCH 1/9] crypto: ux500/hash - Prepare clock before enabling it

2013-04-18 Thread Lee Jones
-off-by: Lee Jones lee.jo...@linaro.org --- drivers/crypto/ux500/hash/hash_core.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto/ux500/hash/hash_core.c index 632c333..118386a 100644 --- a/drivers/crypto/ux500/hash

[PATCH 5/9] crypto: ux500/cryp - Fix compile error

2013-04-18 Thread Lee Jones
andreas.wes...@stericsson.com Cc: linux-crypto@vger.kernel.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/crypto/ux500/cryp/cryp_core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/ux500/cryp/cryp_core.c b/drivers/crypto/ux500/cryp/cryp_core.c

[PATCH 4/9] crypto: ux500/cryp - Prepare clock before enabling it

2013-04-18 Thread Lee Jones
-off-by: Lee Jones lee.jo...@linaro.org --- drivers/crypto/ux500/cryp/cryp_core.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/ux500/cryp/cryp_core.c b/drivers/crypto/ux500/cryp/cryp_core.c index 8bc5fef..a56cbc4 100644 --- a/drivers/crypto/ux500/cryp

[PATCH 2/9] crypto: ux500/hash - Set DMA configuration though dma_slave_config()

2013-04-18 Thread Lee Jones
...@davemloft.net Cc: Andreas Westin andreas.wes...@stericsson.com Cc: linux-crypto@vger.kernel.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/crypto/ux500/hash/hash_alg.h |5 - drivers/crypto/ux500/hash/hash_core.c | 10 ++ 2 files changed, 14 insertions(+), 1 deletion

[PATCH 4/9 v2] crypto: ux500/cryp - Prepare clock before enabling it

2013-04-19 Thread Lee Jones
Signed-off-by: Lee Jones lee.jo...@linaro.org diff --git a/drivers/crypto/ux500/cryp/cryp_core.c b/drivers/crypto/ux500/cryp/cryp_core.c index 22c9063..bf78d60 100644 --- a/drivers/crypto/ux500/cryp/cryp_core.c +++ b/drivers/crypto/ux500/cryp/cryp_core.c @@ -1459,11 +1459,17 @@ static int

[PATCH 1/9 v2] crypto: ux500/hash - Prepare clock before enabling it

2013-04-19 Thread Lee Jones
-off-by: Lee Jones lee.jo...@linaro.org diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto/ux500/hash/hash_core.c index 632c333..1e8b2f3 100644 --- a/drivers/crypto/ux500/hash/hash_core.c +++ b/drivers/crypto/ux500/hash/hash_core.c @@ -1727,11 +1727,17 @@ static int ux500_hash_probe

Re: [PATCH 6/9] crypto: ux500/cryp - Set DMA configuration though dma_slave_config()

2013-04-25 Thread Lee Jones
On Thu, 25 Apr 2013, Linus Walleij wrote: On Thu, Apr 18, 2013 at 12:27 PM, Lee Jones lee.jo...@linaro.org wrote: The DMA controller currently takes configuration information from information passed though dma_channel_request(), but it shouldn't. Using the API, the DMA channel should

Re: [PATCH 5/9] crypto: ux500/cryp - Fix compile error

2013-04-25 Thread Lee Jones
On Thu, 25 Apr 2013, Linus Walleij wrote: On Thu, Apr 18, 2013 at 12:27 PM, Lee Jones lee.jo...@linaro.org wrote: Clearly this driver hasn't been tested, or even enabled in a while. drivers/crypto/ux500/cryp/cryp_core.c:1771:3: error: request for member ‘pm’ in something

Re: [PATCH 1/9 v2] crypto: ux500/hash - Prepare clock before enabling it

2013-04-25 Thread Lee Jones
On Thu, 25 Apr 2013, Linus Walleij wrote: On Fri, Apr 19, 2013 at 2:24 PM, Lee Jones lee.jo...@linaro.org wrote: Slight change of plan for v2. Now we're doing a seperate clk_prepare(), as the clk_enable() in the previous patch turned out to be called inside a spin_lock(). Arnd, can

[PATCH 5/8] crypto: ux500/cryp - Set DMA configuration though dma_slave_config()

2013-05-02 Thread Lee Jones
...@davemloft.net Cc: Andreas Westin andreas.wes...@stericsson.com Cc: linux-crypto@vger.kernel.org Acked-by: Arnd Bergmann a...@arndb.de Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/crypto/ux500/cryp/cryp.h |7 ++- drivers/crypto

[PATCH 1/8] crypto: ux500/hash - Prepare clock before enabling it

2013-05-02 Thread Lee Jones
: linux-crypto@vger.kernel.org Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/crypto/ux500/hash/hash_core.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto

[PATCH 36/63] crypto: ux500/hash - Prepare clock before enabling it

2013-05-03 Thread Lee Jones
: linux-crypto@vger.kernel.org Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/crypto/ux500/hash/hash_core.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto

[PATCH 42/63] crypto: ux500/[cryp|hash] - Show successful start-up in the bootlog

2013-05-03 Thread Lee Jones
...@stericsson.com Cc: linux-crypto@vger.kernel.org Acked-by: Arnd Bergmann a...@arndb.de Reviewed-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/crypto/ux500/cryp/cryp_core.c |2 ++ drivers/crypto/ux500/hash/hash_core.c |2 +- 2 files changed, 3

[PATCH 40/63] crypto: ux500/cryp - Set DMA configuration though dma_slave_config()

2013-05-03 Thread Lee Jones
...@davemloft.net Cc: Andreas Westin andreas.wes...@stericsson.com Cc: linux-crypto@vger.kernel.org Acked-by: Arnd Bergmann a...@arndb.de Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/crypto/ux500/cryp/cryp.h |7 ++- drivers/crypto

[PATCH 39/63] crypto: ux500/cryp - Prepare clock before enabling it

2013-05-03 Thread Lee Jones
: linux-crypto@vger.kernel.org Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/crypto/ux500/cryp/cryp_core.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/ux500/cryp/cryp_core.c b/drivers/crypto

[PATCH 06/39] ARM: ux500: Move SDI (MMC) and UART devices under more descriptive heading

2013-05-15 Thread Lee Jones
Tree naming differs somewhat do the more traditional conventions. Reviewed-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/mach-ux500/cpu-db8500.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-ux500

[PATCH 13/39] crypto: ux500/hash - Set DMA configuration though dma_slave_config()

2013-05-15 Thread Lee Jones
...@davemloft.net Cc: Andreas Westin andreas.wes...@stericsson.com Cc: linux-crypto@vger.kernel.org Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/crypto/ux500/hash/hash_alg.h |5 - drivers/crypto/ux500/hash/hash_core.c | 10 ++ 2 files

[PATCH 24/39] usb: musb: ux500: attempt to find channels by name before using pdata

2013-05-15 Thread Lee Jones
with name-event_line mapping. Cc: Felipe Balbi ba...@ti.com Cc: linux-...@vger.kernel.org Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Fabio Baltieri fabio.balti...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/usb/musb/ux500_dma.c | 20 +--- 1

[PATCH 39/39] dmaengine: ste_dma40: Fetch disabled channels from DT

2013-05-15 Thread Lee Jones
...@intel.com Cc: Dan Williams d...@fb.com Cc: Per Forlin per.for...@stericsson.com Cc: Rabin Vincent ra...@rab.in Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Lee Jones lee.jo...@linaro.org --- Documentation/devicetree/bindings/dma/ste-dma40.txt |2 ++ drivers/dma/ste_dma40.c

[PATCH 38/39] dmaengine: ste_dma40: Fetch the number of physical channels from DT

2013-05-15 Thread Lee Jones
Cc: Dan Williams d...@fb.com Cc: Per Forlin per.for...@stericsson.com Cc: Rabin Vincent ra...@rab.in Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/dma/ste_dma40.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma

[PATCH 37/39] ARM: ux500: Stop passing DMA platform data though AUXDATA

2013-05-15 Thread Lee Jones
The DMA platform data is now empty due to some recent refactoring, so there is no longer a requirement to pass it though. Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/mach-ux500/cpu-db8500.c |3 +-- 1 file changed, 1 insertion(+), 2

[PATCH 36/39] dmaengine: ste_dma40: Allow memcpy channels to be configured from DT

2013-05-15 Thread Lee Jones
this change has very little impact on platform data. Cc: Vinod Koul vinod.k...@intel.com Cc: Dan Williams d...@fb.com Cc: Per Forlin per.for...@stericsson.com Cc: Rabin Vincent ra...@rab.in Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Lee Jones lee.jo...@linaro.org --- .../devicetree/bindings/dma

[PATCH 27/39] ARM: ux500: Remove ux500-musb platform registation when booting with DT

2013-05-15 Thread Lee Jones
Now the ux500-musb driver has been enabled for Device Tree, there is no requirement to register it from platform code. Acked-by: Fabio Baltieri fabio.balti...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/mach-ux500/cpu-db8500.c |2 -- 1 file changed, 2 deletions

[PATCH 33/39] dmaengine: ste_dma40_ll: Use the BIT macro to replace ugly '(1 x)'s

2013-05-15 Thread Lee Jones
The aim is to make the code that little more readable. Cc: Vinod Koul vinod.k...@intel.com Cc: Dan Williams d...@fb.com Cc: Per Forlin per.for...@stericsson.com Cc: Rabin Vincent ra...@rab.in Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/dma/ste_dma40_ll.c | 44

[PATCH 35/39] dmaengine: ste_dma40_ll: Replace meaningless register set with comment

2013-05-15 Thread Lee Jones
...@rab.in Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/dma/ste_dma40_ll.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/dma/ste_dma40_ll.c b/drivers/dma/ste_dma40_ll.c index a035dfe..27b818d 100644 --- a/drivers/dma/ste_dma40_ll.c +++ b/drivers

[PATCH 34/39] dmaengine: ste_dma40: Convert data_width from register bit format to value

2013-05-15 Thread Lee Jones
...@stericsson.com Cc: Rabin Vincent ra...@rab.in Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/dma/ste_dma40.c | 63 +++ drivers/dma/ste_dma40_ll.c | 43 -- include/linux/platform_data/dma-ste-dma40.h |9

[PATCH 31/39] dmaengine: ste_dma40: Replace ST-E's home-brew DMA direction defs with generic ones

2013-05-15 Thread Lee Jones
...@rab.in Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/dma/ste_dma40.c| 56 ++-- drivers/dma/ste_dma40_ll.c | 24 +-- 2 files changed, 40 insertions(+), 40 deletions(-) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma

[PATCH 29/39] dmaengine: ste_dma40: Use the BIT macro to replace ugly '(1 x)'s

2013-05-15 Thread Lee Jones
The aim is to make the code that little more readable. Acked-by: Vinod Koul vnod.k...@intel.com Acked-by: Arnd Bergmann a...@arndb.de Reviewed-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/dma/ste_dma40.c | 20 ++-- 1 file

[PATCH 28/39] ARM: ux500: Remove empty function u8500_of_init_devices()

2013-05-15 Thread Lee Jones
As promised, now all devices which resided in u8500_of_init_devices() have been enabled for Device Tree, we can completely remove it. Acked-by: Fabio Baltieri fabio.balti...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/mach-ux500/cpu-db8500.c | 14 +- 1

[PATCH 25/39] usb: musb: ux500: add device tree probing support

2013-05-15 Thread Lee Jones
Acked-by: Fabio Baltieri fabio.balti...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- .../devicetree/bindings/usb/ux500-usb.txt | 50 +++ drivers/usb/musb/ux500.c | 51 2 files changed, 101 insertions

[PATCH 09/39] ARM: ux500: Remove DMA address look-up table

2013-05-15 Thread Lee Jones
DMA addresses are now passed as part of the dmaengine API by invoking dmaengine_slave_config(). So there's no requirement for the DMA40 driver to look them up in a table provided by platform data. This method does not fit in well using Device Tree either. Signed-off-by: Lee Jones lee.jo

[PATCH 14/39] ARM: ux500: Stop passing Hash DMA channel config information though pdata

2013-05-15 Thread Lee Jones
DMA channel configuration information should be setup in the driver. The Ux500 Hash driver now does this, so there's no need to send it though here too. Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/mach-ux500/board-mop500.c |4 1 file

[PATCH 15/39] crypto: ux500/cryp - Prepare clock before enabling it

2013-05-15 Thread Lee Jones
-by: Ulf Hansson ulf.hans...@linaro.org Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/crypto/ux500/cryp/cryp_core.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/ux500/cryp/cryp_core.c b/drivers

[PATCH 22/39] usb: musb: ux500: take the dma_mask from coherent_dma_mask

2013-05-15 Thread Lee Jones
-...@vger.kernel.org Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Fabio Baltieri fabio.balti...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/mach-ux500/usb.c |3 --- drivers/usb/musb/ux500.c |2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/arch

[PATCH 21/39] usb: musb: ux500: move the MUSB HDRC configuration into the driver

2013-05-15 Thread Lee Jones
-...@vger.kernel.org Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Fabio Baltieri fabio.balti...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/mach-ux500/usb.c |8 drivers/usb/musb/ux500.c |8 2 files changed, 8 insertions(+), 8

[PATCH 20/39] usb: musb: ux500: move channel number knowledge into the driver

2013-05-15 Thread Lee Jones
: Felipe Balbi ba...@ti.com Cc: linux-...@vger.kernel.org Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Fabio Baltieri fabio.balti...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/mach-ux500/usb.c| 14 ++-- drivers/usb/musb/ux500_dma.c

[PATCH 18/39] crypto: ux500/[cryp|hash] - Show successful start-up in the bootlog

2013-05-15 Thread Lee Jones
...@stericsson.com Cc: linux-crypto@vger.kernel.org Acked-by: Arnd Bergmann a...@arndb.de Reviewed-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/crypto/ux500/cryp/cryp_core.c |2 ++ drivers/crypto/ux500/hash/hash_core.c |2 +- 2 files changed, 3

[PATCH 11/39] ARM: ux500: Remove unnecessary attributes from DMA channel request pdata

2013-05-15 Thread Lee Jones
remove them. Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/mach-ux500/usb.c |8 1 file changed, 8 deletions(-) diff --git a/arch/arm/mach-ux500/usb.c b/arch/arm/mach-ux500/usb.c index 45af303..72754e3 100644 --- a/arch/arm/mach-ux500/usb.c +++ b/arch/arm/mach-ux500/usb.c

[PATCH 10/39] dmaengine: ste_dma40: Correct copy/paste error

2013-05-15 Thread Lee Jones
'struct stedma40_half_channel_info's header comment says that it's called 'struct stedma40_chan_cfg'. Let's straighten that out. Signed-off-by: Lee Jones lee.jo...@linaro.org --- include/linux/platform_data/dma-ste-dma40.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 01/39] dmaengine: ste_dma40: Separate Logical Global Interrupt Mask (GIM) unmasking

2013-05-15 Thread Lee Jones
into the runtime_config() routine. Cc: Vinod Koul vinod.k...@intel.com Cc: Dan Williams d...@fb.com Cc: Per Forlin per.for...@stericsson.com Cc: Rabin Vincent ra...@rab.in Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/dma/ste_dma40.c|4

[PATCH 04/39] ARM: ux500: Stop passing UART's platform data for Device Tree boots

2013-05-15 Thread Lee Jones
It was required to pass DMA channel configuration information to the UART driver before the new DMA API was in place. Now that it is, and is fully compatible with Device Tree we can stop doing that. Reviewed-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org

[PATCH 07/39] dmaengine: ste_dma40: Only use addresses passed as configuration information

2013-05-15 Thread Lee Jones
-off-by: Lee Jones lee.jo...@linaro.org --- drivers/dma/ste_dma40.c | 51 ++- 1 file changed, 11 insertions(+), 40 deletions(-) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index ba84df8..57a127e 100644 --- a/drivers/dma/ste_dma40.c

[PATCH 03/39] dmaengine: ste_dma40: Don't configure runtime configurable setup during allocate

2013-05-15 Thread Lee Jones
Vincent ra...@rab.in Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/dma/ste_dma40.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index b7fe46b..ba84df8 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma

Re: [PATCH 12/39] crypto: ux500/hash - Prepare clock before enabling it

2013-05-16 Thread Lee Jones
On Wed, 15 May 2013, Linus Walleij wrote: On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: If we fail to prepare the ux500-hash clock before enabling it the platform will fail to boot. Here we insure this happens. Cc: Herbert Xu herb...@gondor.apana.org.au Cc

Re: [PATCH 35/39] dmaengine: ste_dma40_ll: Replace meaningless register set with comment

2013-05-16 Thread Lee Jones
the comment in. The original author will on parental leave for the foreseeable future. -- Lee Jones Linaro ST-Ericsson Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line unsubscribe linux-crypto

Re: [PATCH 31/39] dmaengine: ste_dma40: Replace ST-E's home-brew DMA direction defs with generic ones

2013-05-16 Thread Lee Jones
On Thu, 16 May 2013, Vinod Koul wrote: On Wed, May 15, 2013 at 10:51:54AM +0100, Lee Jones wrote: STEDMA40_*_TO_* direction definitions are identical in all but name to the pre-defined generic DMA_*_TO_* ones. Let's make things easy by not duplicating such things. Cc: Vinod Koul

Re: [PATCH 02/39] dmaengine: ste_dma40: Remove unnecessary call to d40_phy_cfg()

2013-05-16 Thread Lee Jones
On Thu, 16 May 2013, Vinod Koul wrote: On Wed, May 15, 2013 at 10:51:25AM +0100, Lee Jones wrote: All configuration left in d40_phy_cfg() is runtime configurable and there is already a call into it from d40_runtime_config(), so let's rely on that. Acked-by: Vinod Koul vnod.k

Re: [PATCH 01/39] dmaengine: ste_dma40: Separate Logical Global Interrupt Mask (GIM) unmasking

2013-05-16 Thread Lee Jones
On Thu, 16 May 2013, Vinod Koul wrote: On Wed, May 15, 2013 at 06:29:51PM +0200, Linus Walleij wrote: On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: During the initial setup of a logical channel, it is necessary to unmask the GIM in order to receive generated

Re: [PATCH 34/39] dmaengine: ste_dma40: Convert data_width from register bit format to value

2013-05-16 Thread Lee Jones
On Thu, 16 May 2013, Vinod Koul wrote: On Wed, May 15, 2013 at 10:51:57AM +0100, Lee Jones wrote: When a DMA client requests and configures a DMA channel, it requests data_width in Bytes. The DMA40 driver then swiftly converts it over to the necessary register bit value. Unfortunately

Re: [PATCH 02/39] dmaengine: ste_dma40: Remove unnecessary call to d40_phy_cfg()

2013-05-16 Thread Lee Jones
On Thu, 16 May 2013, Vinod Koul wrote: On Thu, May 16, 2013 at 08:25:57AM +0100, Lee Jones wrote: On Thu, 16 May 2013, Vinod Koul wrote: On Wed, May 15, 2013 at 10:51:25AM +0100, Lee Jones wrote: All configuration left in d40_phy_cfg() is runtime configurable and there is already

[PATCH 6/6] crypto: ux500/hash - Enable DT probing of the driver

2013-05-16 Thread Lee Jones
By providing an OF match table with a suitable compatible string, we can ensure the ux500-hasht driver is probed by supplying an associated DT node in a given platform's Device Tree. Cc: Herbert Xu herb...@gondor.apana.org.au Cc: linux-crypto@vger.kernel.org Signed-off-by: Lee Jones lee.jo

[PATCH 5/6] crypto: ux500/cryp - Enable DT probing of the driver

2013-05-16 Thread Lee Jones
By providing an OF match table with a suitable compatible string, we can ensure the ux500-crypt driver is probed by supplying an associated DT node in a given platform's Device Tree. Cc: Herbert Xu herb...@gondor.apana.org.au Cc: linux-crypto@vger.kernel.org Signed-off-by: Lee Jones lee.jo

Re: [PATCH 5/6] crypto: ux500/cryp - Enable DT probing of the driver

2013-05-24 Thread Lee Jones
On Fri, 24 May 2013, Linus Walleij wrote: On Thu, May 16, 2013 at 1:27 PM, Lee Jones lee.jo...@linaro.org wrote: By providing an OF match table with a suitable compatible string, we can ensure the ux500-crypt driver is probed by supplying an associated DT node in a given platform's

Re: [PATCH 20/39] usb: musb: ux500: move channel number knowledge into the driver

2013-05-28 Thread Lee Jones
for Device Tree. Cc: Felipe Balbi ba...@ti.com Cc: linux-...@vger.kernel.org Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Fabio Baltieri fabio.balti...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org I guess this stuff is dependent on the stuff Fabio has

Re: [PATCH 20/39] usb: musb: ux500: move channel number knowledge into the driver

2013-05-30 Thread Lee Jones
On Thu, 30 May 2013, Linus Walleij wrote: On Wed, May 29, 2013 at 7:57 PM, Felipe Balbi ba...@ti.com wrote: On Wed, May 15, 2013 at 10:51:43AM +0100, Lee Jones wrote: For all ux500 based platforms the maximum number of end-points are used. Move this knowledge into the driver so we can

Re: [PATCH 05/39] ARM: ux500: Stop passing MMC's platform data for Device Tree boots

2013-06-10 Thread Lee Jones
On Wed, 15 May 2013, Linus Walleij wrote: On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: It was required to pass DMA channel configuration information to the MMC driver before the new DMA API was in place. Now that it is, and is fully compatible with Device Tree

Re: [PATCH 06/39] ARM: ux500: Move SDI (MMC) and UART devices under more descriptive heading

2013-06-10 Thread Lee Jones
On Wed, 15 May 2013, Linus Walleij wrote: On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: Now DMA DT bindings exist and are in use by he MMC and UART drivers, it should be possible to remove them from the auxdata structure. However, after doing so the drivers fail

[PATCH v2 0/3] hwrng: st: Couple of improvements

2015-10-07 Thread Lee Jones
ent call to udelay() - Suggested-by: Russell King <rmk+ker...@arm.linux.org.uk> Lee Jones (3): hwrng: st: dt: Fix trivial typo in node address hwrng: st: Use real-world device timings for timeout hwrng: st: Improve FIFO size/depth description Documentation/devicetree/bindings/rng/s

[PATCH v2 3/3] hwrng: st: Improve FIFO size/depth description

2015-10-07 Thread Lee Jones
falling into the same trap. Signed-off-by: Lee Jones <lee.jo...@linaro.org> --- drivers/char/hw_random/st-rng.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/char/hw_random/st-rng.c b/drivers/char/hw_random/st-rng.c index 17f0a09..1d35363 100644 --- a/driver

[PATCH v2 1/3] hwrng: st: dt: Fix trivial typo in node address

2015-10-07 Thread Lee Jones
DT nodes should not append their addresses with '0x'. Suggested-by: Stephen Boyd <sb...@codeaurora.org> Signed-off-by: Lee Jones <lee.jo...@linaro.org> --- Documentation/devicetree/bindings/rng/st,rng.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/D

[PATCH v2 2/3] hwrng: st: Use real-world device timings for timeout

2015-10-07 Thread Lee Jones
. not delay for as long as requested. Suggested-by: Russell King <rmk+ker...@arm.linux.org.uk>: "IIRC, Linus recommends a x2 factor on delays, especially timeouts generated by these functions. Signed-off-by: Lee Jones <lee.jo...@linaro.org> --- drivers/char/hw_ran

Re: [PATCH v2 0/3] hwrng: st: Couple of improvements

2015-10-09 Thread Lee Jones
On Thu, 08 Oct 2015, Herbert Xu wrote: > On Wed, Oct 07, 2015 at 01:23:26PM +0100, Lee Jones wrote: > > This set contains a minor documentation fix, greater clarification > > with how the FIFO depth/size is represented and finally a fix to > > prevent early timeout du

[PATCH 5/6] ARM: STi: STiH407: Enable the 2 HW Random Number Generators for STiH4{07,10}

2015-09-11 Thread Lee Jones
Signed-off-by: Lee Jones <lee.jo...@linaro.org> --- arch/arm/boot/dts/stih407-family.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 838b812..9452b42 100644 --- a/arch/arm/bo

[PATCH 0/6] hwrng: Add support for STMicroelectronics' RNG IP

2015-09-11 Thread Lee Jones
any '\n' which may have been inadvertently passed. Lee Jones (6): Documentation: hw_random: Fix device node name /dev/hw_random => /dev/hwrng hwrng: core: Simplify RNG switching from sysfs hwrng: st: Provide DT bindings for ST's Random Number Generator hwrng: st: Add support for ST's

[PATCH 1/6] Documentation: hw_random: Fix device node name /dev/hw_random => /dev/hwrng

2015-09-11 Thread Lee Jones
considered ABI by now. So instead, we'll just change the documentation to match the current situation. NB: It looks like rng-tools have already been updated. Signed-off-by: Lee Jones <lee.jo...@linaro.org> --- Documentation/hw_random.txt | 8 1 file changed, 4 insertions(+), 4 de

[PATCH 2/6] hwrng: core: Simplify RNG switching from sysfs

2015-09-11 Thread Lee Jones
If we attempt to use sysfs to change the current RNG in the usual way i.e. issuing something like: `echo 8a8a000.rng > /sys/devices/virtual/misc/hw_random/rng_current` ... it will fail because the code doesn't currently take the '\n' into consideration. Well, now it does. Signed-off-by:

[PATCH 3/6] hwrng: st: Provide DT bindings for ST's Random Number Generator

2015-09-11 Thread Lee Jones
Signed-off-by: Lee Jones <lee.jo...@linaro.org> --- Documentation/devicetree/bindings/rng/st,rng.txt | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/st,rng.txt diff --git a/Documentation/devicetree/bindings/rng/st,rng.

[PATCH v2 1/7] Documentation: hw_random: Fix device node name reference /dev/hw_random => /dev/hwrng

2015-09-17 Thread Lee Jones
idered ABI by now. So instead, we'll just change the documentation to match the current situation. NB: It looks like rng-tools have already been updated. Signed-off-by: Lee Jones <lee.jo...@linaro.org> --- Documentation/hw_random.txt | 8 1 file changed, 4 insertions(+), 4 de

[PATCH v2 5/7] hwrng: st: Add support for ST's HW Random Number Generator

2015-09-17 Thread Lee Jones
Signed-off-by: Pankaj Dev <pankaj@st.com> Signed-off-by: Lee Jones <lee.jo...@linaro.org> --- drivers/char/hw_random/Kconfig | 10 +++ drivers/char/hw_random/Makefile | 1 + drivers/char/hw_random/st-rng.c | 144 3 files changed, 15

[PATCH v2 6/7] ARM: STi: STiH407: Enable the 2 HW Random Number Generators for STiH4{07,10}

2015-09-17 Thread Lee Jones
Signed-off-by: Lee Jones <lee.jo...@linaro.org> --- arch/arm/boot/dts/stih407-family.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 838b812..9452b42 100644 --- a/arch/arm/bo

[PATCH v2 4/7] hwrng: st: Provide DT bindings for ST's Random Number Generator

2015-09-17 Thread Lee Jones
Signed-off-by: Lee Jones <lee.jo...@linaro.org> --- Documentation/devicetree/bindings/rng/st,rng.txt | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/st,rng.txt diff --git a/Documentation/devicetree/bindings/rng/st,rng.

[PATCH v2 7/7] MAINTAINERS: Add ST's Random Number Generator to the ST entry

2015-09-17 Thread Lee Jones
Signed-off-by: Lee Jones <lee.jo...@linaro.org> --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index fd60784..b084d69 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1502,6 +1502,7 @@ W:http://www.stlinux.com S: Maintained F:

[PATCH v2 2/7] hwrng: Kconfig: Fix device node name reference /dev/hw_random => /dev/hwrng

2015-09-17 Thread Lee Jones
idered ABI by now. So instead, we'll just change the Kconfig help to match the current situation. NB: It looks like rng-tools have already been updated. Signed-off-by: Lee Jones <lee.jo...@linaro.org> --- drivers/char/hw_random/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH v2 3/7] hwrng: core: Simplify RNG switching from sysfs

2015-09-17 Thread Lee Jones
If we attempt to use sysfs to change the current RNG in the usual way i.e. issuing something like: `echo 8a8a000.rng > /sys/devices/virtual/misc/hw_random/rng_current` ... it will fail because the code doesn't currently take the '\n' into consideration. Well, now it does. Signed-off-by:

[PATCH v2 0/7] hwrng: Add support for STMicroelectronics' RNG IP

2015-09-17 Thread Lee Jones
interface a little easier to use by ignoring any '\n' which may have been inadvertently passed. Lee Jones (7): Documentation: hw_random: Fix device node name reference /dev/hw_random => /dev/hwrng hwrng: Kconfig: Fix device node name reference /dev/hw_random => /dev/hwrng hwrng: cor

Re: [PATCH 2/6] hwrng: core: Simplify RNG switching from sysfs

2015-09-14 Thread Lee Jones
On Sun, 13 Sep 2015, Peter Korsgaard wrote: > >>>>> "Lee" == Lee Jones <lee.jo...@linaro.org> writes: > > > If we attempt to use sysfs to change the current RNG in the usual > > way i.e. issuing something like: > > > `echo 8a8

Re: [STLinux Kernel] [PATCH v2 0/7] hwrng: Add support for STMicroelectronics' RNG IP

2015-09-29 Thread Lee Jones
On Tue, 29 Sep 2015, Peter Griffin wrote: > On Thu, 17 Sep 2015, Lee Jones wrote: > > > v1 => v2: > > - New patch: Also fixing /dev/hw_random => /dev/hwrng in Kconfig > > - Fix 2099 => 2009 typo in commit log > > - Fix 'number of random numbers sourced'

Re: [PATCH v2 0/7] hwrng: Add support for STMicroelectronics' RNG IP

2015-09-29 Thread Lee Jones
On Fri, 18 Sep 2015, Lee Jones wrote: > On Fri, 18 Sep 2015, Herbert Xu wrote: > > On Fri, Sep 18, 2015 at 03:53:50PM +0100, Lee Jones wrote: > > > On 18 September 2015 at 15:07, Herbert Xu <herb...@gondor.apana.org.au> > > > wrote: > > > > On Thu

Re: [PATCH v2 0/7] hwrng: Add support for STMicroelectronics' RNG IP

2015-09-30 Thread Lee Jones
On Wed, 30 Sep 2015, Herbert Xu wrote: > On Wed, Sep 30, 2015 at 03:15:39PM +0100, Lee Jones wrote: > > > > > I prefer not to merge patches that cannot be tested. Without > > > the DT bits in patch 6 the other five patches are useless. So > > > I thin

Re: [PATCH v2 0/7] hwrng: Add support for STMicroelectronics' RNG IP

2015-09-30 Thread Lee Jones
On Wed, 30 Sep 2015, Herbert Xu wrote: > On Tue, Sep 29, 2015 at 03:29:32PM +0100, Lee Jones wrote: > > > > I see that your tree is 8 days old, so this may have been resolved > > already, but would you be kind enough to ensure you remove the 6th > > (ARM) patch from yo

Re: [PATCH v2 0/7] hwrng: Add support for STMicroelectronics' RNG IP

2015-09-19 Thread Lee Jones
On Sun, 20 Sep 2015, Herbert Xu wrote: > On Sat, Sep 19, 2015 at 10:21:45AM +0100, Lee Jones wrote: > > > > That's not how it works. It's helpful, more often than not, to submit > > the entire set to each maintainer concerned so they can keep up with > > the gen

Re: [PATCH v2 0/7] hwrng: Add support for STMicroelectronics' RNG IP

2015-09-18 Thread Lee Jones
On 18 September 2015 at 15:07, Herbert Xu <herb...@gondor.apana.org.au> wrote: > On Thu, Sep 17, 2015 at 02:45:50PM +0100, Lee Jones wrote: >> v1 => v2: >> - New patch: Also fixing /dev/hw_random => /dev/hwrng in Kconfig >> - Fix 2099 => 2009 typo in co

Re: [PATCH v2 0/7] hwrng: Add support for STMicroelectronics' RNG IP

2015-09-19 Thread Lee Jones
On Sat, 19 Sep 2015, Herbert Xu wrote: > On Fri, Sep 18, 2015 at 04:51:12PM +0100, Lee Jones wrote: > > > > I think it's okay for you to take all but patch 6. > > > > Patch 6 is an ARM patch and needs to go into ARM SoC via > > STMicroelectronics STi tree. &g

Re: [PATCH v2 4/7] hwrng: st: Provide DT bindings for ST's Random Number Generator

2015-09-18 Thread Lee Jones
On 18 September 2015 at 17:21, Stephen Boyd <sb...@codeaurora.org> wrote: > On 09/17/2015 06:45 AM, Lee Jones wrote: >> Signed-off-by: Lee Jones <lee.jo...@linaro.org> >> --- >> Documentation/devicetree/bindings/rng/st,rng.txt | 15 +++ >> 1 fi

Re: [PATCH v2 0/7] hwrng: Add support for STMicroelectronics' RNG IP

2015-09-18 Thread Lee Jones
On Fri, 18 Sep 2015, Herbert Xu wrote: > On Fri, Sep 18, 2015 at 03:53:50PM +0100, Lee Jones wrote: > > On 18 September 2015 at 15:07, Herbert Xu <herb...@gondor.apana.org.au> > > wrote: > > > On Thu, Sep 17, 2015 at 02:45:50PM +0100, Lee Jones wrote: > > &g

Re: [PATCH v2 5/7] hwrng: st: Add support for ST's HW Random Number Generator

2015-10-05 Thread Lee Jones
On Mon, 05 Oct 2015, Daniel Thompson wrote: > Late but... That's okay. Fixup patches can always be submitted. We have forever. :) > On 17/09/15 14:45, Lee Jones wrote: > >diff --git a/drivers/char/hw_random/Makefile > >b/drivers/char/hw_random/Makefile > >index

Re: [PATCH v2 5/7] hwrng: st: Add support for ST's HW Random Number Generator

2015-10-05 Thread Lee Jones
On Mon, 05 Oct 2015, Daniel Thompson wrote: > On 05/10/15 13:11, Lee Jones wrote: > >On Mon, 05 Oct 2015, Daniel Thompson wrote: > >>Late but... > > > >That's okay. Fixup patches can always be submitted. > > > >We have forever. :) > > > &g

[PATCH] hwrng: st: dt: Fix trivial typo in node address

2015-10-05 Thread Lee Jones
DT nodes should not append their addresses with '0x'. Suggested-by: Stephen Boyd <sb...@codeaurora.org> Signed-off-by: Lee Jones <lee.jo...@linaro.org> --- Documentation/devicetree/bindings/rng/st,rng.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/D

[RESEND 2/3] hwrng: st: Use real-world device timings for timeout

2015-10-06 Thread Lee Jones
Samples are documented to be available every 0.667us, so in theory the 8 sample deep FIFO should take 5.336us to fill. However, during thorough testing, it became apparent that filling the FIFO actually takes closer to 12us. Signed-off-by: Lee Jones <lee.jo...@linaro.org> --- driver

[RESEND 3/3] hwrng: st: Report correct FIFO size

2015-10-06 Thread Lee Jones
values are being read during each invocation of .read(). This change increased the device bandwidth by a factor of 2. Reported-by: Daniel Thompson <daniel.thomp...@linaro.org> Reviewed-by: Daniel Thompson <daniel.thomp...@linaro.org> Signed-off-by: Lee Jones <lee.jo...@linaro.org>

[RESEND 1/3] hwrng: st: dt: Fix trivial typo in node address

2015-10-06 Thread Lee Jones
DT nodes should not append their addresses with '0x'. Suggested-by: Stephen Boyd <sb...@codeaurora.org> Signed-off-by: Lee Jones <lee.jo...@linaro.org> --- Documentation/devicetree/bindings/rng/st,rng.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/D