diff mbox

[03/10] crypto: omap-sham: Add support for omap3 devices

Message ID 1424958600-18881-4-git-send-email-pali.rohar@gmail.com (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show

Commit Message

Pali Rohár Feb. 26, 2015, 1:49 p.m. UTC
omap3 support is same as omap2, just with different IO address (specified in DT)

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
---
 drivers/crypto/omap-sham.c |    4 ++++
 1 file changed, 4 insertions(+)

Comments

Pavel Machek Feb. 28, 2015, 4:25 p.m. UTC | #1
On Thu 2015-02-26 14:49:53, Pali Rohár wrote:
> omap3 support is same as omap2, just with different IO address (specified in DT)
> 
> Signed-off-by: Pali Rohár <pali.rohar@gmail.com>

Acked-by: Pavel Machek <pavel@ucw.cz>

> @@ -1792,6 +1792,10 @@ static const struct of_device_id omap_sham_of_match[] = {
>  		.data		= &omap_sham_pdata_omap2,
>  	},
>  	{
> +		.compatible	= "ti,omap3-sham",
> +		.data		= &omap_sham_pdata_omap2,
> +	},
> +	{
>  		.compatible	= "ti,omap4-sham",
>  		.data		= &omap_sham_pdata_omap4,
>  	},
Pali Rohár May 15, 2015, 9:19 a.m. UTC | #2
On Saturday 28 February 2015 17:25:02 Pavel Machek wrote:
> On Thu 2015-02-26 14:49:53, Pali Rohár wrote:
> > omap3 support is same as omap2, just with different IO address (specified in DT)
> > 
> > Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
> 
> Acked-by: Pavel Machek <pavel@ucw.cz>
> 
> > @@ -1792,6 +1792,10 @@ static const struct of_device_id omap_sham_of_match[] = {
> >  		.data		= &omap_sham_pdata_omap2,
> >  	},
> >  	{
> > +		.compatible	= "ti,omap3-sham",
> > +		.data		= &omap_sham_pdata_omap2,
> > +	},
> > +	{
> >  		.compatible	= "ti,omap4-sham",
> >  		.data		= &omap_sham_pdata_omap4,
> >  	},
> 

Herbert, this is second crypto patch in this series, can you apply it too?
Herbert Xu May 18, 2015, 4:30 a.m. UTC | #3
On Fri, May 15, 2015 at 11:19:33AM +0200, Pali Rohár wrote:
> On Saturday 28 February 2015 17:25:02 Pavel Machek wrote:
> > On Thu 2015-02-26 14:49:53, Pali Rohár wrote:
> > > omap3 support is same as omap2, just with different IO address (specified in DT)
> > > 
> > > Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
> > 
> > Acked-by: Pavel Machek <pavel@ucw.cz>
> > 
> > > @@ -1792,6 +1792,10 @@ static const struct of_device_id omap_sham_of_match[] = {
> > >  		.data		= &omap_sham_pdata_omap2,
> > >  	},
> > >  	{
> > > +		.compatible	= "ti,omap3-sham",
> > > +		.data		= &omap_sham_pdata_omap2,
> > > +	},
> > > +	{
> > >  		.compatible	= "ti,omap4-sham",
> > >  		.data		= &omap_sham_pdata_omap4,
> > >  	},
> > 
> 
> Herbert, this is second crypto patch in this series, can you apply it too?

Applied.
diff mbox

Patch

diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c
index 3c76696..b20e374 100644
--- a/drivers/crypto/omap-sham.c
+++ b/drivers/crypto/omap-sham.c
@@ -1792,6 +1792,10 @@  static const struct of_device_id omap_sham_of_match[] = {
 		.data		= &omap_sham_pdata_omap2,
 	},
 	{
+		.compatible	= "ti,omap3-sham",
+		.data		= &omap_sham_pdata_omap2,
+	},
+	{
 		.compatible	= "ti,omap4-sham",
 		.data		= &omap_sham_pdata_omap4,
 	},