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");
>
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
> > >
.cra_blocksize = SHA256_BLOCK_SIZE,
> + .cra_ctxsize= sizeof(struct dcp_async_ctx),
> + .cra_module = THIS_MODULE,
> + .cra_init = dcp_sha_cra_init,
> + .cra_exit
> dcp: dcp@80028000 {
> + compatible = "fsl,mxs-dcp";
> reg = <0x80028000 0x2000>;
> - interrupts = <52 53 54>;
> - compatible = "f
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
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 --
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
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
-
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