diff mbox

[v4,5/7] mmc: SDHI: add DT compatibility strings for further SoCs

Message ID Pine.LNX.4.64.1307090940310.28812@axis700.grange (mailing list archive)
State New, archived
Headers show

Commit Message

Guennadi Liakhovetski July 9, 2013, 7:43 a.m. UTC
Add further OF compatibility strings to the SDHI driver to be able to
precisely control driver's behaviour on each of them.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
---

v4:
1. added r8a7778 and r8a7779 per Morimoto-san's request
2. sh* and r8a* entries now sorted alphabetically

 drivers/mmc/host/sh_mobile_sdhi.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

Comments

Magnus Damm July 9, 2013, 9:06 a.m. UTC | #1
On Tue, Jul 9, 2013 at 4:43 PM, Guennadi Liakhovetski
<g.liakhovetski@gmx.de> wrote:
> Add further OF compatibility strings to the SDHI driver to be able to
> precisely control driver's behaviour on each of them.
>
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
> ---
>
> v4:
> 1. added r8a7778 and r8a7779 per Morimoto-san's request
> 2. sh* and r8a* entries now sorted alphabetically

This looks good to me, thanks.

Acked-by: Magnus Damm <damm@opensource.se>
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Simon Horman July 10, 2013, 1:08 a.m. UTC | #2
On Tue, Jul 09, 2013 at 06:06:00PM +0900, Magnus Damm wrote:
> On Tue, Jul 9, 2013 at 4:43 PM, Guennadi Liakhovetski
> <g.liakhovetski@gmx.de> wrote:
> > Add further OF compatibility strings to the SDHI driver to be able to
> > precisely control driver's behaviour on each of them.
> >
> > Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
> > ---
> >
> > v4:
> > 1. added r8a7778 and r8a7779 per Morimoto-san's request
> > 2. sh* and r8a* entries now sorted alphabetically
> 
> This looks good to me, thanks.
> 
> Acked-by: Magnus Damm <damm@opensource.se>

Thanks, I have queued this up for v3.12 in the soc branch.
It should appear in renesas-next-20130710
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Simon Horman July 10, 2013, 1:18 a.m. UTC | #3
On Tue, Jul 09, 2013 at 06:06:00PM +0900, Magnus Damm wrote:
> On Tue, Jul 9, 2013 at 4:43 PM, Guennadi Liakhovetski
> <g.liakhovetski@gmx.de> wrote:
> > Add further OF compatibility strings to the SDHI driver to be able to
> > precisely control driver's behaviour on each of them.
> >
> > Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
> > ---
> >
> > v4:
> > 1. added r8a7778 and r8a7779 per Morimoto-san's request
> > 2. sh* and r8a* entries now sorted alphabetically
> 
> This looks good to me, thanks.
> 
> Acked-by: Magnus Damm <damm@opensource.se>

Thanks, I have queued this up for v3.12 in the dt branch.
It should appear in renesas-next-20130710
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c
index cc4c872..dc4f0e0 100644
--- a/drivers/mmc/host/sh_mobile_sdhi.c
+++ b/drivers/mmc/host/sh_mobile_sdhi.c
@@ -129,7 +129,12 @@  static const struct sh_mobile_sdhi_ops sdhi_ops = {
 static const struct of_device_id sh_mobile_sdhi_of_match[] = {
 	{ .compatible = "renesas,shmobile-sdhi" },
 	{ .compatible = "renesas,sh7372-sdhi" },
+	{ .compatible = "renesas,sh73a0-sdhi", .data = &sh_mobile_sdhi_of_cfg[0], },
+	{ .compatible = "renesas,r8a73a4-sdhi", .data = &sh_mobile_sdhi_of_cfg[0], },
 	{ .compatible = "renesas,r8a7740-sdhi", .data = &sh_mobile_sdhi_of_cfg[0], },
+	{ .compatible = "renesas,r8a7778-sdhi", .data = &sh_mobile_sdhi_of_cfg[0], },
+	{ .compatible = "renesas,r8a7779-sdhi", .data = &sh_mobile_sdhi_of_cfg[0], },
+	{ .compatible = "renesas,r8a7790-sdhi", .data = &sh_mobile_sdhi_of_cfg[0], },
 	{},
 };
 MODULE_DEVICE_TABLE(of, sh_mobile_sdhi_of_match);