* [PATCH 0/2] Add SATA support to RZ/G2N
@ 2019-10-22 16:21 Fabrizio Castro
2019-10-22 16:21 ` [PATCH 1/2] ata: sata_rcar: Add r8a774b1 support Fabrizio Castro
2019-10-22 16:21 ` [PATCH 2/2] arm64: dts: renesas: r8a774b1: Add SATA controller node Fabrizio Castro
0 siblings, 2 replies; 6+ messages in thread
From: Fabrizio Castro @ 2019-10-22 16:21 UTC (permalink / raw)
To: Jens Axboe, Rob Herring, Mark Rutland
Cc: Fabrizio Castro, Geert Uytterhoeven, Magnus Damm, linux-ide,
devicetree, linux-renesas-soc, Simon Horman, Chris Paterson,
Biju Das, Laurent Pinchart, Kieran Bingham, Jacopo Mondi
Dear All,
this series adds SoC specific SATA support for the RZ/G2N.
Thanks,
Fab
Fabrizio Castro (2):
ata: sata_rcar: Add r8a774b1 support
arm64: dts: renesas: r8a774b1: Add SATA controller node
Documentation/devicetree/bindings/ata/sata_rcar.txt | 7 +++++--
arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 11 +++++++++++
2 files changed, 16 insertions(+), 2 deletions(-)
--
2.7.4
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] ata: sata_rcar: Add r8a774b1 support
2019-10-22 16:21 [PATCH 0/2] Add SATA support to RZ/G2N Fabrizio Castro
@ 2019-10-22 16:21 ` Fabrizio Castro
2019-10-23 7:19 ` Geert Uytterhoeven
2019-10-22 16:21 ` [PATCH 2/2] arm64: dts: renesas: r8a774b1: Add SATA controller node Fabrizio Castro
1 sibling, 1 reply; 6+ messages in thread
From: Fabrizio Castro @ 2019-10-22 16:21 UTC (permalink / raw)
To: Jens Axboe, Rob Herring, Mark Rutland
Cc: Fabrizio Castro, Geert Uytterhoeven, Magnus Damm, linux-ide,
devicetree, linux-renesas-soc, Simon Horman, Chris Paterson,
Biju Das, Laurent Pinchart, Kieran Bingham, Jacopo Mondi
Document SATA support for the RZ/G2N, no driver change required.
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
---
Documentation/devicetree/bindings/ata/sata_rcar.txt | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/ata/sata_rcar.txt b/Documentation/devicetree/bindings/ata/sata_rcar.txt
index 4268e17..a2fbdc9 100644
--- a/Documentation/devicetree/bindings/ata/sata_rcar.txt
+++ b/Documentation/devicetree/bindings/ata/sata_rcar.txt
@@ -2,6 +2,7 @@
Required properties:
- compatible : should contain one or more of the following:
+ - "renesas,sata-r8a774b1" for RZ/G2N
- "renesas,sata-r8a7779" for R-Car H1
- "renesas,sata-r8a7790-es1" for R-Car H2 ES1
- "renesas,sata-r8a7790" for R-Car H2 other than ES1
@@ -9,8 +10,10 @@ Required properties:
- "renesas,sata-r8a7793" for R-Car M2-N
- "renesas,sata-r8a7795" for R-Car H3
- "renesas,sata-r8a77965" for R-Car M3-N
- - "renesas,rcar-gen2-sata" for a generic R-Car Gen2 compatible device
- - "renesas,rcar-gen3-sata" for a generic R-Car Gen3 compatible device
+ - "renesas,rcar-gen2-sata" for a generic R-Car Gen2
+ compatible device
+ - "renesas,rcar-gen3-sata" for a generic R-Car Gen3 or
+ RZ/G2 compatible device
- "renesas,rcar-sata" is deprecated
When compatible with the generic version nodes
--
2.7.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] arm64: dts: renesas: r8a774b1: Add SATA controller node
2019-10-22 16:21 [PATCH 0/2] Add SATA support to RZ/G2N Fabrizio Castro
2019-10-22 16:21 ` [PATCH 1/2] ata: sata_rcar: Add r8a774b1 support Fabrizio Castro
@ 2019-10-22 16:21 ` Fabrizio Castro
2019-10-23 7:22 ` Geert Uytterhoeven
1 sibling, 1 reply; 6+ messages in thread
From: Fabrizio Castro @ 2019-10-22 16:21 UTC (permalink / raw)
To: Jens Axboe, Rob Herring, Mark Rutland
Cc: Fabrizio Castro, Geert Uytterhoeven, Magnus Damm, linux-ide,
devicetree, linux-renesas-soc, Simon Horman, Chris Paterson,
Biju Das, Laurent Pinchart, Kieran Bingham, Jacopo Mondi
Add the SATA controller node to the RZ/G2N SoC specific
dtsi.
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
---
arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
index 80b8b2e..1267bb5 100644
--- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
@@ -1404,6 +1404,17 @@
status = "disabled";
};
+ sata: sata@ee300000 {
+ compatible = "renesas,sata-r8a774b1",
+ "renesas,rcar-gen3-sata";
+ reg = <0 0xee300000 0 0x200000>;
+ interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 815>;
+ power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+ resets = <&cpg 815>;
+ status = "disabled";
+ };
+
gic: interrupt-controller@f1010000 {
compatible = "arm,gic-400";
#interrupt-cells = <3>;
--
2.7.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] ata: sata_rcar: Add r8a774b1 support
2019-10-22 16:21 ` [PATCH 1/2] ata: sata_rcar: Add r8a774b1 support Fabrizio Castro
@ 2019-10-23 7:19 ` Geert Uytterhoeven
2019-10-23 9:08 ` Fabrizio Castro
0 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2019-10-23 7:19 UTC (permalink / raw)
To: Fabrizio Castro
Cc: Jens Axboe, Rob Herring, Mark Rutland, Geert Uytterhoeven,
Magnus Damm, linux-ide,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
Linux-Renesas, Simon Horman, Chris Paterson, Biju Das,
Laurent Pinchart, Kieran Bingham, Jacopo Mondi
dt-bindings: ?
On Tue, Oct 22, 2019 at 6:21 PM Fabrizio Castro
<fabrizio.castro@bp.renesas.com> wrote:
> Document SATA support for the RZ/G2N, no driver change required.
>
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] arm64: dts: renesas: r8a774b1: Add SATA controller node
2019-10-22 16:21 ` [PATCH 2/2] arm64: dts: renesas: r8a774b1: Add SATA controller node Fabrizio Castro
@ 2019-10-23 7:22 ` Geert Uytterhoeven
0 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2019-10-23 7:22 UTC (permalink / raw)
To: Fabrizio Castro
Cc: Jens Axboe, Rob Herring, Mark Rutland, Geert Uytterhoeven,
Magnus Damm, linux-ide,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
Linux-Renesas, Simon Horman, Chris Paterson, Biju Das,
Laurent Pinchart, Kieran Bingham, Jacopo Mondi
On Tue, Oct 22, 2019 at 6:21 PM Fabrizio Castro
<fabrizio.castro@bp.renesas.com> wrote:
> Add the SATA controller node to the RZ/G2N SoC specific
> dtsi.
>
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v5.5.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [PATCH 1/2] ata: sata_rcar: Add r8a774b1 support
2019-10-23 7:19 ` Geert Uytterhoeven
@ 2019-10-23 9:08 ` Fabrizio Castro
0 siblings, 0 replies; 6+ messages in thread
From: Fabrizio Castro @ 2019-10-23 9:08 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Jens Axboe, Rob Herring, Mark Rutland, Geert Uytterhoeven,
Magnus Damm, linux-ide,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
Linux-Renesas, Simon Horman, Chris Paterson, Biju Das,
Laurent Pinchart, Kieran Bingham, Jacopo Mondi
Hello Geert,
Thank you for your feedback.
> From: linux-renesas-soc-owner@vger.kernel.org <linux-renesas-soc-owner@vger.kernel.org> On Behalf Of Geert Uytterhoeven
> Sent: 23 October 2019 08:20
> Subject: Re: [PATCH 1/2] ata: sata_rcar: Add r8a774b1 support
>
> dt-bindings: ?
Can do, will send a v2 for this.
Thanks,
Fab
>
> On Tue, Oct 22, 2019 at 6:21 PM Fabrizio Castro
> <fabrizio.castro@bp.renesas.com> wrote:
> > Document SATA support for the RZ/G2N, no driver change required.
> >
> > Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
>
> Gr{oetje,eeting}s,
>
> Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> -- Linus Torvalds
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-10-23 9:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-22 16:21 [PATCH 0/2] Add SATA support to RZ/G2N Fabrizio Castro
2019-10-22 16:21 ` [PATCH 1/2] ata: sata_rcar: Add r8a774b1 support Fabrizio Castro
2019-10-23 7:19 ` Geert Uytterhoeven
2019-10-23 9:08 ` Fabrizio Castro
2019-10-22 16:21 ` [PATCH 2/2] arm64: dts: renesas: r8a774b1: Add SATA controller node Fabrizio Castro
2019-10-23 7:22 ` Geert Uytterhoeven
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).