linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add SDHI support to r8a774a1
@ 2018-08-14 12:34 Fabrizio Castro
  2018-08-14 12:34 ` [PATCH 1/2] mmc: renesas_sdhi_internal_dmac: Whitelist r8a774a1 Fabrizio Castro
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Fabrizio Castro @ 2018-08-14 12:34 UTC (permalink / raw)
  To: Ulf Hansson, Rob Herring, Mark Rutland
  Cc: Fabrizio Castro, Wolfram Sang, linux-mmc, devicetree,
	linux-kernel, Simon Horman, Geert Uytterhoeven, Chris Paterson,
	Biju Das, linux-renesas-soc

Dear All,

this series aims at documenting SDHI support for RZ/G2M (a.k.a. R8A774A1).

Cheers,
Fab

Fabrizio Castro (2):
  mmc: renesas_sdhi_internal_dmac: Whitelist r8a774a1
  mmc: renesas_sdhi: Add r8a774a1 support

 Documentation/devicetree/bindings/mmc/tmio_mmc.txt | 4 +++-
 drivers/mmc/host/renesas_sdhi_internal_dmac.c      | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/2] mmc: renesas_sdhi_internal_dmac: Whitelist r8a774a1
  2018-08-14 12:34 [PATCH 0/2] Add SDHI support to r8a774a1 Fabrizio Castro
@ 2018-08-14 12:34 ` Fabrizio Castro
  2018-08-17 10:01   ` Simon Horman
  2018-08-18  7:27   ` Wolfram Sang
  2018-08-14 12:34 ` [PATCH 2/2] mmc: renesas_sdhi: Add r8a774a1 support Fabrizio Castro
  2018-08-22  9:48 ` [PATCH 0/2] Add SDHI support to r8a774a1 Ulf Hansson
  2 siblings, 2 replies; 9+ messages in thread
From: Fabrizio Castro @ 2018-08-14 12:34 UTC (permalink / raw)
  To: Ulf Hansson
  Cc: Fabrizio Castro, Wolfram Sang, linux-mmc, linux-kernel,
	Simon Horman, Geert Uytterhoeven, Chris Paterson, Biju Das,
	linux-renesas-soc

We need r8a774a1 to be whitelisted for SDHI to work on the RZ/G2M,
but we don't care about the revision of the SoC, so just whitelist
the generic part number.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
---
 drivers/mmc/host/renesas_sdhi_internal_dmac.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
index 35cc0de..1703fdb 100644
--- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c
+++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
@@ -290,6 +290,7 @@ static const struct soc_device_attribute gen3_soc_whitelist[] = {
 	{ .soc_id = "r8a7796", .revision = "ES1.0",
 	  .data = (void *)BIT(SDHI_INTERNAL_DMAC_ONE_RX_ONLY) },
 	/* generic ones */
+	{ .soc_id = "r8a774a1" },
 	{ .soc_id = "r8a7795" },
 	{ .soc_id = "r8a7796" },
 	{ .soc_id = "r8a77965" },
-- 
2.7.4


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 2/2] mmc: renesas_sdhi: Add r8a774a1 support
  2018-08-14 12:34 [PATCH 0/2] Add SDHI support to r8a774a1 Fabrizio Castro
  2018-08-14 12:34 ` [PATCH 1/2] mmc: renesas_sdhi_internal_dmac: Whitelist r8a774a1 Fabrizio Castro
@ 2018-08-14 12:34 ` Fabrizio Castro
  2018-08-15 20:24   ` Rob Herring
  2018-08-20 16:51   ` Wolfram Sang
  2018-08-22  9:48 ` [PATCH 0/2] Add SDHI support to r8a774a1 Ulf Hansson
  2 siblings, 2 replies; 9+ messages in thread
From: Fabrizio Castro @ 2018-08-14 12:34 UTC (permalink / raw)
  To: Ulf Hansson, Rob Herring, Mark Rutland
  Cc: Fabrizio Castro, linux-mmc, devicetree, linux-kernel,
	Simon Horman, Geert Uytterhoeven, Chris Paterson, Biju Das,
	linux-renesas-soc

Document RZ/G2M (R8A774A1) SoC bindings.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
---
 Documentation/devicetree/bindings/mmc/tmio_mmc.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mmc/tmio_mmc.txt b/Documentation/devicetree/bindings/mmc/tmio_mmc.txt
index c434200..8315fb5 100644
--- a/Documentation/devicetree/bindings/mmc/tmio_mmc.txt
+++ b/Documentation/devicetree/bindings/mmc/tmio_mmc.txt
@@ -17,6 +17,7 @@ Required properties:
 		"renesas,sdhi-r8a7740" - SDHI IP on R8A7740 SoC
 		"renesas,sdhi-r8a7743" - SDHI IP on R8A7743 SoC
 		"renesas,sdhi-r8a7745" - SDHI IP on R8A7745 SoC
+		"renesas,sdhi-r8a774a1" - SDHI IP on R8A774A1 SoC
 		"renesas,sdhi-r8a7778" - SDHI IP on R8A7778 SoC
 		"renesas,sdhi-r8a7779" - SDHI IP on R8A7779 SoC
 		"renesas,sdhi-r8a7790" - SDHI IP on R8A7790 SoC
@@ -34,7 +35,8 @@ Required properties:
 		"renesas,rcar-gen1-sdhi" - a generic R-Car Gen1 SDHI controller
 		"renesas,rcar-gen2-sdhi" - a generic R-Car Gen2 or RZ/G1
 					   SDHI controller
-		"renesas,rcar-gen3-sdhi" - a generic R-Car Gen3 SDHI controller
+		"renesas,rcar-gen3-sdhi" - a generic R-Car Gen3 or RZ/G2
+					   SDHI controller
 
 
 		When compatible with the generic version, nodes must list
-- 
2.7.4


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] mmc: renesas_sdhi: Add r8a774a1 support
  2018-08-14 12:34 ` [PATCH 2/2] mmc: renesas_sdhi: Add r8a774a1 support Fabrizio Castro
@ 2018-08-15 20:24   ` Rob Herring
  2018-08-17 10:02     ` Simon Horman
  2018-08-20 16:51   ` Wolfram Sang
  1 sibling, 1 reply; 9+ messages in thread
From: Rob Herring @ 2018-08-15 20:24 UTC (permalink / raw)
  To: Fabrizio Castro
  Cc: Ulf Hansson, Mark Rutland, linux-mmc, devicetree, linux-kernel,
	Simon Horman, Geert Uytterhoeven, Chris Paterson, Biju Das,
	linux-renesas-soc

On Tue, Aug 14, 2018 at 01:34:34PM +0100, Fabrizio Castro wrote:
> Document RZ/G2M (R8A774A1) SoC bindings.
> 
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> Reviewed-by: Biju Das <biju.das@bp.renesas.com>
> ---
>  Documentation/devicetree/bindings/mmc/tmio_mmc.txt | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Not sure why you didn't use 'dt-bindings: mmc: ' for the subject like 
the others, but anyways:

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] mmc: renesas_sdhi_internal_dmac: Whitelist r8a774a1
  2018-08-14 12:34 ` [PATCH 1/2] mmc: renesas_sdhi_internal_dmac: Whitelist r8a774a1 Fabrizio Castro
@ 2018-08-17 10:01   ` Simon Horman
  2018-08-18  7:27   ` Wolfram Sang
  1 sibling, 0 replies; 9+ messages in thread
From: Simon Horman @ 2018-08-17 10:01 UTC (permalink / raw)
  To: Fabrizio Castro
  Cc: Ulf Hansson, Wolfram Sang, linux-mmc, linux-kernel,
	Geert Uytterhoeven, Chris Paterson, Biju Das, linux-renesas-soc

On Tue, Aug 14, 2018 at 01:34:33PM +0100, Fabrizio Castro wrote:
> We need r8a774a1 to be whitelisted for SDHI to work on the RZ/G2M,
> but we don't care about the revision of the SoC, so just whitelist
> the generic part number.
> 
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> Reviewed-by: Biju Das <biju.das@bp.renesas.com>

Reviewed-by: Simon Horman <horms+renesas@verge.net.au>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] mmc: renesas_sdhi: Add r8a774a1 support
  2018-08-15 20:24   ` Rob Herring
@ 2018-08-17 10:02     ` Simon Horman
  0 siblings, 0 replies; 9+ messages in thread
From: Simon Horman @ 2018-08-17 10:02 UTC (permalink / raw)
  To: Rob Herring
  Cc: Fabrizio Castro, Ulf Hansson, Mark Rutland, linux-mmc,
	devicetree, linux-kernel, Geert Uytterhoeven, Chris Paterson,
	Biju Das, linux-renesas-soc

On Wed, Aug 15, 2018 at 02:24:05PM -0600, Rob Herring wrote:
> On Tue, Aug 14, 2018 at 01:34:34PM +0100, Fabrizio Castro wrote:
> > Document RZ/G2M (R8A774A1) SoC bindings.
> > 
> > Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> > Reviewed-by: Biju Das <biju.das@bp.renesas.com>
> > ---
> >  Documentation/devicetree/bindings/mmc/tmio_mmc.txt | 4 +++-
> >  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> Not sure why you didn't use 'dt-bindings: mmc: ' for the subject like 
> the others, but anyways:
> 
> Reviewed-by: Rob Herring <robh@kernel.org>

Reviewed-by: Simon Horman <horms+renesas@verge.net.au>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] mmc: renesas_sdhi_internal_dmac: Whitelist r8a774a1
  2018-08-14 12:34 ` [PATCH 1/2] mmc: renesas_sdhi_internal_dmac: Whitelist r8a774a1 Fabrizio Castro
  2018-08-17 10:01   ` Simon Horman
@ 2018-08-18  7:27   ` Wolfram Sang
  1 sibling, 0 replies; 9+ messages in thread
From: Wolfram Sang @ 2018-08-18  7:27 UTC (permalink / raw)
  To: Fabrizio Castro
  Cc: Ulf Hansson, Wolfram Sang, linux-mmc, linux-kernel, Simon Horman,
	Geert Uytterhoeven, Chris Paterson, Biju Das, linux-renesas-soc

On Tue, Aug 14, 2018 at 01:34:33PM +0100, Fabrizio Castro wrote:
> We need r8a774a1 to be whitelisted for SDHI to work on the RZ/G2M,
> but we don't care about the revision of the SoC, so just whitelist
> the generic part number.
> 
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> Reviewed-by: Biju Das <biju.das@bp.renesas.com>

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] mmc: renesas_sdhi: Add r8a774a1 support
  2018-08-14 12:34 ` [PATCH 2/2] mmc: renesas_sdhi: Add r8a774a1 support Fabrizio Castro
  2018-08-15 20:24   ` Rob Herring
@ 2018-08-20 16:51   ` Wolfram Sang
  1 sibling, 0 replies; 9+ messages in thread
From: Wolfram Sang @ 2018-08-20 16:51 UTC (permalink / raw)
  To: Fabrizio Castro
  Cc: Ulf Hansson, Rob Herring, Mark Rutland, linux-mmc, devicetree,
	linux-kernel, Simon Horman, Geert Uytterhoeven, Chris Paterson,
	Biju Das, linux-renesas-soc

[-- Attachment #1: Type: text/plain, Size: 298 bytes --]

On Tue, Aug 14, 2018 at 01:34:34PM +0100, Fabrizio Castro wrote:
> Document RZ/G2M (R8A774A1) SoC bindings.
> 
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> Reviewed-by: Biju Das <biju.das@bp.renesas.com>

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/2] Add SDHI support to r8a774a1
  2018-08-14 12:34 [PATCH 0/2] Add SDHI support to r8a774a1 Fabrizio Castro
  2018-08-14 12:34 ` [PATCH 1/2] mmc: renesas_sdhi_internal_dmac: Whitelist r8a774a1 Fabrizio Castro
  2018-08-14 12:34 ` [PATCH 2/2] mmc: renesas_sdhi: Add r8a774a1 support Fabrizio Castro
@ 2018-08-22  9:48 ` Ulf Hansson
  2 siblings, 0 replies; 9+ messages in thread
From: Ulf Hansson @ 2018-08-22  9:48 UTC (permalink / raw)
  To: Fabrizio Castro
  Cc: Rob Herring, Mark Rutland, Wolfram Sang, linux-mmc, DTML,
	Linux Kernel Mailing List, Simon Horman, Geert Uytterhoeven,
	Chris Paterson, Biju Das, Linux-Renesas

On 14 August 2018 at 14:34, Fabrizio Castro
<fabrizio.castro@bp.renesas.com> wrote:
> Dear All,
>
> this series aims at documenting SDHI support for RZ/G2M (a.k.a. R8A774A1).
>
> Cheers,
> Fab
>
> Fabrizio Castro (2):
>   mmc: renesas_sdhi_internal_dmac: Whitelist r8a774a1
>   mmc: renesas_sdhi: Add r8a774a1 support
>
>  Documentation/devicetree/bindings/mmc/tmio_mmc.txt | 4 +++-
>  drivers/mmc/host/renesas_sdhi_internal_dmac.c      | 1 +
>  2 files changed, 4 insertions(+), 1 deletion(-)
>
> --
> 2.7.4
>

Thanks, queued for v4.20!

Kind regards
Uffe

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-08-22  9:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-14 12:34 [PATCH 0/2] Add SDHI support to r8a774a1 Fabrizio Castro
2018-08-14 12:34 ` [PATCH 1/2] mmc: renesas_sdhi_internal_dmac: Whitelist r8a774a1 Fabrizio Castro
2018-08-17 10:01   ` Simon Horman
2018-08-18  7:27   ` Wolfram Sang
2018-08-14 12:34 ` [PATCH 2/2] mmc: renesas_sdhi: Add r8a774a1 support Fabrizio Castro
2018-08-15 20:24   ` Rob Herring
2018-08-17 10:02     ` Simon Horman
2018-08-20 16:51   ` Wolfram Sang
2018-08-22  9:48 ` [PATCH 0/2] Add SDHI support to r8a774a1 Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).