diff mbox

[2/2] spi: sirf: add support for new SiRFmarco SMP SoC

Message ID 1356490114-18022-2-git-send-email-Barry.Song@csr.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Barry Song Dec. 26, 2012, 2:48 a.m. UTC
From: Barry Song <Baohua.Song@csr.com>

the driver is also compatible with SiRFmarco except SiRFprimaII,
so simply add "sirf,marco-spi" to OF match table.

Signed-off-by: Barry Song <Baohua.Song@csr.com>
---
 drivers/spi/spi-sirf.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Sergei Shtylyov Dec. 26, 2012, 11:40 a.m. UTC | #1
Hello.

On 26-12-2012 6:48, Barry Song wrote:

> From: Barry Song <Baohua.Song@csr.com>

> the driver is also compatible with SiRFmarco except SiRFprimaII,
> so simply add "sirf,marco-spi" to OF match table.

> Signed-off-by: Barry Song <Baohua.Song@csr.com>

    You've just posted this patch as a part of another 2-patch series.

WBR, Sergei


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
Barry Song Dec. 26, 2012, 12:32 p.m. UTC | #2
2012/12/26, Sergei Shtylyov <sshtylyov@mvista.com>:
> Hello.
>
> On 26-12-2012 6:48, Barry Song wrote:
>
>> From: Barry Song <Baohua.Song@csr.com>
>
>> the driver is also compatible with SiRFmarco except SiRFprimaII,
>> so simply add "sirf,marco-spi" to OF match table.
>
>> Signed-off-by: Barry Song <Baohua.Song@csr.com>
>
>     You've just posted this patch as a part of another 2-patch series.

no, this one is spi, the other one is i2c.

> WBR, Sergei

-barry

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
Sergei Shtylyov Dec. 26, 2012, 5:09 p.m. UTC | #3
Hello.

On 12/26/2012 03:32 PM, Barry Song wrote:

>>> From: Barry Song <Baohua.Song@csr.com>

>>> the driver is also compatible with SiRFmarco except SiRFprimaII,
>>> so simply add "sirf,marco-spi" to OF match table.

>>> Signed-off-by: Barry Song <Baohua.Song@csr.com>

>>     You've just posted this patch as a part of another 2-patch series.

> no, this one is spi, the other one is i2c.

   Sorry for the noise -- I was being blind (and goggles didn't help :-).

> -barry

WBR, Sergei


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
Grant Likely Feb. 5, 2013, 12:43 p.m. UTC | #4
On Wed, 26 Dec 2012 10:48:34 +0800, Barry Song <Barry.Song@csr.com> wrote:
> From: Barry Song <Baohua.Song@csr.com>
> 
> the driver is also compatible with SiRFmarco except SiRFprimaII,
> so simply add "sirf,marco-spi" to OF match table.
> 
> Signed-off-by: Barry Song <Baohua.Song@csr.com>

Applied, thanks.

g.

> ---
>  drivers/spi/spi-sirf.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/spi/spi-sirf.c b/drivers/spi/spi-sirf.c
> index 38a191c..09ca0e3 100644
> --- a/drivers/spi/spi-sirf.c
> +++ b/drivers/spi/spi-sirf.c
> @@ -659,6 +659,7 @@ static const struct dev_pm_ops spi_sirfsoc_pm_ops = {
>  
>  static const struct of_device_id spi_sirfsoc_of_match[] = {
>  	{ .compatible = "sirf,prima2-spi", },
> +	{ .compatible = "sirf,marco-spi", },
>  	{}
>  };
>  MODULE_DEVICE_TABLE(of, sirfsoc_spi_of_match);
> -- 
> 1.7.5.4
> 
> 
> 
> Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
> More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff mbox

Patch

diff --git a/drivers/spi/spi-sirf.c b/drivers/spi/spi-sirf.c
index 38a191c..09ca0e3 100644
--- a/drivers/spi/spi-sirf.c
+++ b/drivers/spi/spi-sirf.c
@@ -659,6 +659,7 @@  static const struct dev_pm_ops spi_sirfsoc_pm_ops = {
 
 static const struct of_device_id spi_sirfsoc_of_match[] = {
 	{ .compatible = "sirf,prima2-spi", },
+	{ .compatible = "sirf,marco-spi", },
 	{}
 };
 MODULE_DEVICE_TABLE(of, sirfsoc_spi_of_match);