Re: [PATCH 3/3] crypto: add basic driver for the MXC SCC

2016-02-11 Thread Lothar Waßmann
n -ENOENT; > No need for this check, devm_ioremap_resource() will take care of it. > + scc->base = devm_ioremap_resource(dev, res); > + if (IS_ERR(scc->base)) > + return PTR_ERR(scc->base); > + > + scc->clk = devm_clk_get(&pdev->dev, "ipg"); >

Re: [PATCH 2/3] ARM: mxs: crypto: Add Freescale MXS DCP driver

2013-09-26 Thread Lothar Waßmann
Hi, Marek Vasut writes: > Dear Lothar Waßmann, > > > Hi Marek, > > > > some small comments below. > > > > Marek Vasut writes: > > > diff --git a/drivers/crypto/mxs-dcp.c b/drivers/crypto/mxs-dcp.c > > > new file mode 100644 > > >

Re: [PATCH 2/3] ARM: mxs: crypto: Add Freescale MXS DCP driver

2013-09-26 Thread Lothar Waßmann
.cra_blocksize = SHA256_BLOCK_SIZE, > + .cra_ctxsize= sizeof(struct dcp_async_ctx), > + .cra_module = THIS_MODULE, > + .cra_init = dcp_sha_cra_init, > + .cra_exit

Re: [PATCH 3/3] ARM: mxs: dts: Enable DCP for MXS

2013-09-26 Thread Lothar Waßmann
> dcp: dcp@80028000 { > + compatible = "fsl,mxs-dcp"; > reg = <0x80028000 0x2000>; > - interrupts = <52 53 54>; > - compatible = "f

Re: [PATCH 1/3] ARM: dts: mxs: set dcp to "disabled" by default

2013-08-12 Thread Lothar Waßmann
Hi, Shawn Guo writes: > On Thu, Aug 08, 2013 at 03:30:27PM +0200, Lothar Waßmann wrote: > > Reintroduce 'status = "disabled"' for the dcp node that was dropped by > > commit 519d8b1a "Added support for Freescale's DCP co-processor". > > Fo

[PATCH 3/3] crypto: dcp: rename 'compatible' property to 'fsl,dcp'

2013-08-08 Thread Lothar Waßmann
Leave the old 'fsl-dcp' value in place with an appropriate comment until external users have updated their DTBs. Signed-off-by: Lothar Waßmann --- arch/arm/boot/dts/imx28.dtsi |2 +- drivers/crypto/dcp.c |2 ++ 2 files changed, 3 insertions(+), 1 deletions(-) diff --

[PATCH 0/3] ARM: dts: mxs: dcp cleanup patches

2013-08-08 Thread Lothar Waßmann
This patch series does the following: - let the driver be "disabled" by default in imx28.dtsi - coding style cleanups in drivers/crypto/dcp.c - use the "official" 'fsl,' prefix in the 'compatible' property The last patch adds a new entry to the of_match_table of the driver, so that current DT blo

[PATCH 1/3] ARM: dts: mxs: set dcp to "disabled" by default

2013-08-08 Thread Lothar Waßmann
Reintroduce 'status = "disabled"' for the dcp node that was dropped by commit 519d8b1a "Added support for Freescale's DCP co-processor". Explicitly enable it in imx28-evk which is referenced in the commit message of that commit. Signed-off-by: Lothar Waßmann -

[PATCH 2/3] crypto: dcp - cleanup: commas at end of struct initializers where appropriate

2013-08-08 Thread Lothar Waßmann
Signed-off-by: Lothar Waßmann --- drivers/crypto/dcp.c | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/crypto/dcp.c b/drivers/crypto/dcp.c index a8a7dd4..6a2495e 100644 --- a/drivers/crypto/dcp.c +++ b/drivers/crypto/dcp.c @@ -651,8 +651,7 @@ static