* [cip-dev] [PATCH 01/15] ARM: dts: r8a7743: add PFC support
2017-09-29 17:28 [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board Chris Paterson
@ 2017-09-29 17:28 ` Chris Paterson
2017-09-29 17:28 ` [cip-dev] [PATCH 02/15] ARM: dts: iwg20d-q7: Add pinctl support for scif0 Chris Paterson
` (14 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Chris Paterson @ 2017-09-29 17:28 UTC (permalink / raw)
To: cip-dev
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Define the generic R8A7743 part of the PFC device node.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 328968b60231e522ea7e81ae0c83f59f13626a85)
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Conflicts:
arch/arm/boot/dts/r8a7743.dtsi
---
arch/arm/boot/dts/r8a7743.dtsi | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi
index fde6327..7f4d8c0 100644
--- a/arch/arm/boot/dts/r8a7743.dtsi
+++ b/arch/arm/boot/dts/r8a7743.dtsi
@@ -1,7 +1,7 @@
/*
* Device Tree Source for the r8a7743 SoC
*
- * Copyright (C) 2016 Cogent Embedded Inc.
+ * Copyright (C) 2016-2017 Cogent Embedded Inc.
* Copyright (C) 2017 Renesas Electronics Corp.
*
* This file is licensed under the terms of the GNU General Public License
@@ -93,6 +93,11 @@
IRQ_TYPE_LEVEL_LOW)>;
};
+ pfc: pin-controller at e6060000 {
+ compatible = "renesas,pfc-r8a7743";
+ reg = <0 0xe6060000 0 0x250>;
+ };
+
dmac0: dma-controller at e6700000 {
compatible = "renesas,rcar-dmac";
reg = <0 0xe6700000 0 0x20000>;
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [cip-dev] [PATCH 02/15] ARM: dts: iwg20d-q7: Add pinctl support for scif0
2017-09-29 17:28 [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board Chris Paterson
2017-09-29 17:28 ` [cip-dev] [PATCH 01/15] ARM: dts: r8a7743: add PFC support Chris Paterson
@ 2017-09-29 17:28 ` Chris Paterson
2017-09-29 17:28 ` [cip-dev] [PATCH 03/15] gpio: rcar: Add R8A7743 (RZ/G1M) support Chris Paterson
` (13 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Chris Paterson @ 2017-09-29 17:28 UTC (permalink / raw)
To: cip-dev
From: Biju Das <biju.das@bp.renesas.com>
Adding pinctrl support for scif0 interface.
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 7095f279c03a05cf9007001852b939236edc2897)
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
arch/arm/boot/dts/r8a7743-iwg20d-q7.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
index 9b54783..497aec0 100644
--- a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
+++ b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
@@ -20,6 +20,16 @@
};
};
+&pfc {
+ scif0_pins: scif0 {
+ groups = "scif0_data_d";
+ function = "scif0";
+ };
+};
+
&scif0 {
+ pinctrl-0 = <&scif0_pins>;
+ pinctrl-names = "default";
+
status = "okay";
};
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [cip-dev] [PATCH 03/15] gpio: rcar: Add R8A7743 (RZ/G1M) support
2017-09-29 17:28 [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board Chris Paterson
2017-09-29 17:28 ` [cip-dev] [PATCH 01/15] ARM: dts: r8a7743: add PFC support Chris Paterson
2017-09-29 17:28 ` [cip-dev] [PATCH 02/15] ARM: dts: iwg20d-q7: Add pinctl support for scif0 Chris Paterson
@ 2017-09-29 17:28 ` Chris Paterson
2017-09-29 17:28 ` [cip-dev] [PATCH 04/15] ARM: dts: r8a7743: Add GPIO support Chris Paterson
` (12 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Chris Paterson @ 2017-09-29 17:28 UTC (permalink / raw)
To: cip-dev
From: Biju Das <biju.das@bp.renesas.com>
Renesas RZ/G1M (R8A7743) SoC GPIO blocks are identical to the R-Car Gen2
family. Add support for its GPIO controllers.
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Chris Paterson <chris.paterson2@renesas.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
(cherry picked from commit 85bb4646f8908eb786dfa19a6bb2ff1423dc8aa4)
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt | 1 +
drivers/gpio/gpio-rcar.c | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
index f60e2f4..036fdb2 100644
--- a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
+++ b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
@@ -3,6 +3,7 @@
Required Properties:
- compatible: should contain one of the following.
+ - "renesas,gpio-r8a7743": for R8A7743 (RZ/G1M) compatible GPIO controller.
- "renesas,gpio-r8a7778": for R8A7778 (R-Mobile M1) compatible GPIO controller.
- "renesas,gpio-r8a7779": for R8A7779 (R-Car H1) compatible GPIO controller.
- "renesas,gpio-r8a7790": for R8A7790 (R-Car H2) compatible GPIO controller.
diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c
index 2a81224..22c8517 100644
--- a/drivers/gpio/gpio-rcar.c
+++ b/drivers/gpio/gpio-rcar.c
@@ -330,6 +330,10 @@ static const struct gpio_rcar_info gpio_rcar_info_gen2 = {
static const struct of_device_id gpio_rcar_of_table[] = {
{
+ .compatible = "renesas,gpio-r8a7743",
+ /* RZ/G1 GPIO is identical to R-Car Gen2. */
+ .data = &gpio_rcar_info_gen2,
+ }, {
.compatible = "renesas,gpio-r8a7790",
.data = &gpio_rcar_info_gen2,
}, {
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [cip-dev] [PATCH 04/15] ARM: dts: r8a7743: Add GPIO support
2017-09-29 17:28 [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board Chris Paterson
` (2 preceding siblings ...)
2017-09-29 17:28 ` [cip-dev] [PATCH 03/15] gpio: rcar: Add R8A7743 (RZ/G1M) support Chris Paterson
@ 2017-09-29 17:28 ` Chris Paterson
2017-09-29 17:28 ` [cip-dev] [PATCH 05/15] ravb: add fallback compatibility strings Chris Paterson
` (11 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Chris Paterson @ 2017-09-29 17:28 UTC (permalink / raw)
To: cip-dev
From: Biju Das <biju.das@bp.renesas.com>
Describe GPIO blocks in the R8A7743 device tree.
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Chris Paterson <chris.paterson2@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 16ffb25335d7e91cebae9c29252536ddbeac96fa)
(modified the clocks and power-domains property, removed resets property)
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
arch/arm/boot/dts/r8a7743.dtsi | 112 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 112 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi
index 7f4d8c0..7fc00ee 100644
--- a/arch/arm/boot/dts/r8a7743.dtsi
+++ b/arch/arm/boot/dts/r8a7743.dtsi
@@ -62,6 +62,118 @@
power-domains = <&cpg_clocks>;
};
+ gpio0: gpio at e6050000 {
+ compatible = "renesas,gpio-r8a7743",
+ "renesas,gpio-rcar";
+ reg = <0 0xe6050000 0 0x50>;
+ interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ gpio-ranges = <&pfc 0 0 32>;
+ #interrupt-cells = <2>;
+ interrupt-controller;
+ clocks = <&mstp9_clks R8A7743_CLK_GPIO0>;
+ power-domains = <&cpg_clocks>;
+ };
+
+ gpio1: gpio at e6051000 {
+ compatible = "renesas,gpio-r8a7743",
+ "renesas,gpio-rcar";
+ reg = <0 0xe6051000 0 0x50>;
+ interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ gpio-ranges = <&pfc 0 32 26>;
+ #interrupt-cells = <2>;
+ interrupt-controller;
+ clocks = <&mstp9_clks R8A7743_CLK_GPIO1>;
+ power-domains = <&cpg_clocks>;
+ };
+
+ gpio2: gpio at e6052000 {
+ compatible = "renesas,gpio-r8a7743",
+ "renesas,gpio-rcar";
+ reg = <0 0xe6052000 0 0x50>;
+ interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ gpio-ranges = <&pfc 0 64 32>;
+ #interrupt-cells = <2>;
+ interrupt-controller;
+ clocks = <&mstp9_clks R8A7743_CLK_GPIO2>;
+ power-domains = <&cpg_clocks>;
+ };
+
+ gpio3: gpio at e6053000 {
+ compatible = "renesas,gpio-r8a7743",
+ "renesas,gpio-rcar";
+ reg = <0 0xe6053000 0 0x50>;
+ interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ gpio-ranges = <&pfc 0 96 32>;
+ #interrupt-cells = <2>;
+ interrupt-controller;
+ clocks = <&mstp9_clks R8A7743_CLK_GPIO3>;
+ power-domains = <&cpg_clocks>;
+ };
+
+ gpio4: gpio at e6054000 {
+ compatible = "renesas,gpio-r8a7743",
+ "renesas,gpio-rcar";
+ reg = <0 0xe6054000 0 0x50>;
+ interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ gpio-ranges = <&pfc 0 128 32>;
+ #interrupt-cells = <2>;
+ interrupt-controller;
+ clocks = <&mstp9_clks R8A7743_CLK_GPIO4>;
+ power-domains = <&cpg_clocks>;
+ };
+
+ gpio5: gpio at e6055000 {
+ compatible = "renesas,gpio-r8a7743",
+ "renesas,gpio-rcar";
+ reg = <0 0xe6055000 0 0x50>;
+ interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ gpio-ranges = <&pfc 0 160 32>;
+ #interrupt-cells = <2>;
+ interrupt-controller;
+ clocks = <&mstp9_clks R8A7743_CLK_GPIO5>;
+ power-domains = <&cpg_clocks>;
+ };
+
+ gpio6: gpio at e6055400 {
+ compatible = "renesas,gpio-r8a7743",
+ "renesas,gpio-rcar";
+ reg = <0 0xe6055400 0 0x50>;
+ interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ gpio-ranges = <&pfc 0 192 32>;
+ #interrupt-cells = <2>;
+ interrupt-controller;
+ clocks = <&mstp9_clks R8A7743_CLK_GPIO6>;
+ power-domains = <&cpg_clocks>;
+ };
+
+ gpio7: gpio at e6055800 {
+ compatible = "renesas,gpio-r8a7743",
+ "renesas,gpio-rcar";
+ reg = <0 0xe6055800 0 0x50>;
+ interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ gpio-ranges = <&pfc 0 224 26>;
+ #interrupt-cells = <2>;
+ interrupt-controller;
+ clocks = <&mstp9_clks R8A7743_CLK_GPIO7>;
+ power-domains = <&cpg_clocks>;
+ };
+
irqc: interrupt-controller at e61c0000 {
compatible = "renesas,irqc-r8a7743", "renesas,irqc";
#interrupt-cells = <2>;
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [cip-dev] [PATCH 05/15] ravb: add fallback compatibility strings
2017-09-29 17:28 [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board Chris Paterson
` (3 preceding siblings ...)
2017-09-29 17:28 ` [cip-dev] [PATCH 04/15] ARM: dts: r8a7743: Add GPIO support Chris Paterson
@ 2017-09-29 17:28 ` Chris Paterson
2017-09-29 17:28 ` [cip-dev] [PATCH 06/15] dt-bindings: net: ravb : Add support for r8a7743 SoC Chris Paterson
` (10 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Chris Paterson @ 2017-09-29 17:28 UTC (permalink / raw)
To: cip-dev
From: Simon Horman <horms+renesas@verge.net.au>
Add fallback compatibility strings for R-Car Gen 2 & 3 SoC Families.
This is in keeping with the fallback scheme being adopted wherever appropriate
for drivers for Renesas SoCs.
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 0e8743611a76ced8b0971b6894f982ce89624cc4)
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
Documentation/devicetree/bindings/net/renesas,ravb.txt | 9 ++++++++-
drivers/net/ethernet/renesas/ravb_main.c | 2 ++
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/net/renesas,ravb.txt b/Documentation/devicetree/bindings/net/renesas,ravb.txt
index b486f3f..7555116 100644
--- a/Documentation/devicetree/bindings/net/renesas,ravb.txt
+++ b/Documentation/devicetree/bindings/net/renesas,ravb.txt
@@ -7,6 +7,13 @@ Required properties:
- compatible: "renesas,etheravb-r8a7790" if the device is a part of R8A7790 SoC.
"renesas,etheravb-r8a7794" if the device is a part of R8A7794 SoC.
"renesas,etheravb-r8a7795" if the device is a part of R8A7795 SoC.
+ "renesas,etheravb-rcar-gen2" for generic R-Car Gen 2 compatible interface.
+ "renesas,etheravb-rcar-gen3" for generic R-Car Gen 3 compatible interface.
+
+ When compatible with the generic version, nodes must list the
+ SoC-specific version corresponding to the platform first
+ followed by the generic version.
+
- reg: offset and length of (1) the register block and (2) the stream buffer.
- interrupts: A list of interrupt-specifiers, one for each entry in
interrupt-names.
@@ -37,7 +44,7 @@ Optional properties:
Example:
ethernet at e6800000 {
- compatible = "renesas,etheravb-r8a7795";
+ compatible = "renesas,etheravb-r8a7795", "renesas,etheravb-rcar-gen3";
reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>;
interrupt-parent = <&gic>;
interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
diff --git a/drivers/net/ethernet/renesas/ravb_main.c b/drivers/net/ethernet/renesas/ravb_main.c
index 585e90f..c7b3c25 100644
--- a/drivers/net/ethernet/renesas/ravb_main.c
+++ b/drivers/net/ethernet/renesas/ravb_main.c
@@ -1688,7 +1688,9 @@ static int ravb_mdio_release(struct ravb_private *priv)
static const struct of_device_id ravb_match_table[] = {
{ .compatible = "renesas,etheravb-r8a7790", .data = (void *)RCAR_GEN2 },
{ .compatible = "renesas,etheravb-r8a7794", .data = (void *)RCAR_GEN2 },
+ { .compatible = "renesas,etheravb-rcar-gen2", .data = (void *)RCAR_GEN2 },
{ .compatible = "renesas,etheravb-r8a7795", .data = (void *)RCAR_GEN3 },
+ { .compatible = "renesas,etheravb-rcar-gen3", .data = (void *)RCAR_GEN3 },
{ }
};
MODULE_DEVICE_TABLE(of, ravb_match_table);
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [cip-dev] [PATCH 06/15] dt-bindings: net: ravb : Add support for r8a7743 SoC
2017-09-29 17:28 [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board Chris Paterson
` (4 preceding siblings ...)
2017-09-29 17:28 ` [cip-dev] [PATCH 05/15] ravb: add fallback compatibility strings Chris Paterson
@ 2017-09-29 17:28 ` Chris Paterson
2017-09-29 17:28 ` [cip-dev] [PATCH 07/15] ARM: shmobile: defconfig: Enable Ethernet AVB Chris Paterson
` (9 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Chris Paterson @ 2017-09-29 17:28 UTC (permalink / raw)
To: cip-dev
From: Biju Das <biju.das@bp.renesas.com>
Add a new compatible string for the RZ/G1M (R8A7743) SoC.
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit b3a703c7a698bcc0938fe22ba74d32593ad6e662)
(Documented r8a7743 SoC)
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Conflicts:
Documentation/devicetree/bindings/net/renesas,ravb.txt
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
.../devicetree/bindings/net/renesas,ravb.txt | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/renesas,ravb.txt b/Documentation/devicetree/bindings/net/renesas,ravb.txt
index 7555116..715b8ce 100644
--- a/Documentation/devicetree/bindings/net/renesas,ravb.txt
+++ b/Documentation/devicetree/bindings/net/renesas,ravb.txt
@@ -4,15 +4,20 @@ This file provides information on what the device node for the Ethernet AVB
interface contains.
Required properties:
-- compatible: "renesas,etheravb-r8a7790" if the device is a part of R8A7790 SoC.
- "renesas,etheravb-r8a7794" if the device is a part of R8A7794 SoC.
- "renesas,etheravb-r8a7795" if the device is a part of R8A7795 SoC.
- "renesas,etheravb-rcar-gen2" for generic R-Car Gen 2 compatible interface.
- "renesas,etheravb-rcar-gen3" for generic R-Car Gen 3 compatible interface.
+- compatible: Must contain one or more of the following:
+ - "renesas,etheravb-r8a7743" for the R8A7743 SoC.
+ - "renesas,etheravb-r8a7790" for the R8A7790 SoC.
+ - "renesas,etheravb-r8a7794" for the R8A7794 SoC.
+ - "renesas,etheravb-rcar-gen2" as a fallback for the above
+ R-Car Gen2 and RZ/G1 devices.
- When compatible with the generic version, nodes must list the
- SoC-specific version corresponding to the platform first
- followed by the generic version.
+ - "renesas,etheravb-r8a7795" for the R8A7795 SoC.
+ - "renesas,etheravb-rcar-gen3" as a fallback for the above
+ R-Car Gen3 devices.
+
+ When compatible with the generic version, nodes must list the
+ SoC-specific version corresponding to the platform first followed by
+ the generic version.
- reg: offset and length of (1) the register block and (2) the stream buffer.
- interrupts: A list of interrupt-specifiers, one for each entry in
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [cip-dev] [PATCH 07/15] ARM: shmobile: defconfig: Enable Ethernet AVB
2017-09-29 17:28 [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board Chris Paterson
` (5 preceding siblings ...)
2017-09-29 17:28 ` [cip-dev] [PATCH 06/15] dt-bindings: net: ravb : Add support for r8a7743 SoC Chris Paterson
@ 2017-09-29 17:28 ` Chris Paterson
2017-09-29 17:28 ` [cip-dev] [PATCH 08/15] ARM: dts: r8a7743: Add Ethernet AVB support Chris Paterson
` (8 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Chris Paterson @ 2017-09-29 17:28 UTC (permalink / raw)
To: cip-dev
From: Biju Das <biju.das@bp.renesas.com>
The iWave RZ/G1M Q7 SOM supports Gigabit Ethernet Phy (Micrel KSZ9031MNX).
Gigabit Ethernet support is available in Renesas AVB driver.
To increase hardware support enable the driver in the shmobile_defconfig
multiplatform configuration.
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Chris Paterson <chris.paterson2@renesas.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit ff53e6064fd8badaf52ce5c13eeefd84c2e14332)
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
arch/arm/configs/shmobile_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/shmobile_defconfig b/arch/arm/configs/shmobile_defconfig
index fb8094a..e8a2d0b 100644
--- a/arch/arm/configs/shmobile_defconfig
+++ b/arch/arm/configs/shmobile_defconfig
@@ -78,6 +78,7 @@ CONFIG_NETDEVICES=y
# CONFIG_NET_VENDOR_MICREL is not set
# CONFIG_NET_VENDOR_NATSEMI is not set
CONFIG_SH_ETH=y
+CONFIG_RAVB=y
# CONFIG_NET_VENDOR_SEEQ is not set
CONFIG_SMSC911X=y
# CONFIG_NET_VENDOR_STMICRO is not set
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [cip-dev] [PATCH 08/15] ARM: dts: r8a7743: Add Ethernet AVB support
2017-09-29 17:28 [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board Chris Paterson
` (6 preceding siblings ...)
2017-09-29 17:28 ` [cip-dev] [PATCH 07/15] ARM: shmobile: defconfig: Enable Ethernet AVB Chris Paterson
@ 2017-09-29 17:28 ` Chris Paterson
2017-09-29 17:28 ` [cip-dev] [PATCH 09/15] ARM: dts: iwg20d-q7: " Chris Paterson
` (7 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Chris Paterson @ 2017-09-29 17:28 UTC (permalink / raw)
To: cip-dev
From: Biju Das <biju.das@bp.renesas.com>
Add Ethernet AVB support for r8a7743 SoC.
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Chris Paterson <chris.paterson2@renesas.com>
Reviewed-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 278a1df198625dde663978266de549e8317267cf)
(Modified clocks, power-domains property and removed resets property)
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Conflicts:
arch/arm/boot/dts/r8a7743.dtsi
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
arch/arm/boot/dts/r8a7743.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi
index 7fc00ee..5864270 100644
--- a/arch/arm/boot/dts/r8a7743.dtsi
+++ b/arch/arm/boot/dts/r8a7743.dtsi
@@ -527,6 +527,18 @@
status = "disabled";
};
+ avb: ethernet at e6800000 {
+ compatible = "renesas,etheravb-r8a7743",
+ "renesas,etheravb-rcar-gen2";
+ reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
+ interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp8_clks R8A7743_CLK_ETHERAVB>;
+ power-domains = <&cpg_clocks>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
clocks {
#address-cells = <2>;
#size-cells = <2>;
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [cip-dev] [PATCH 09/15] ARM: dts: iwg20d-q7: Add Ethernet AVB support
2017-09-29 17:28 [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board Chris Paterson
` (7 preceding siblings ...)
2017-09-29 17:28 ` [cip-dev] [PATCH 08/15] ARM: dts: r8a7743: Add Ethernet AVB support Chris Paterson
@ 2017-09-29 17:28 ` Chris Paterson
2017-09-29 17:28 ` [cip-dev] [PATCH 10/15] pinctrl: sh-pfc: r8a7791: Add missing mmc_data8_b pin group Chris Paterson
` (6 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Chris Paterson @ 2017-09-29 17:28 UTC (permalink / raw)
To: cip-dev
From: Biju Das <biju.das@bp.renesas.com>
Define the iWave RainboW-G20D-Qseven board dependent part of the Ethernet
AVB device node.
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Chris Paterson <chris.paterson2@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 9e70afe39eeb33488f0d18131b023b92c1493db8)
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
arch/arm/boot/dts/r8a7743-iwg20d-q7.dts | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
index 497aec0..081af01 100644
--- a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
+++ b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
@@ -17,6 +17,7 @@
aliases {
serial0 = &scif0;
+ ethernet0 = &avb;
};
};
@@ -25,6 +26,11 @@
groups = "scif0_data_d";
function = "scif0";
};
+
+ avb_pins: avb {
+ groups = "avb_mdio", "avb_gmii";
+ function = "avb";
+ };
};
&scif0 {
@@ -33,3 +39,18 @@
status = "okay";
};
+
+&avb {
+ pinctrl-0 = <&avb_pins>;
+ pinctrl-names = "default";
+
+ phy-handle = <&phy3>;
+ phy-mode = "gmii";
+ renesas,no-ether-link;
+ status = "okay";
+
+ phy3: ethernet-phy at 3 {
+ reg = <3>;
+ micrel,led-mode = <1>;
+ };
+};
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [cip-dev] [PATCH 10/15] pinctrl: sh-pfc: r8a7791: Add missing mmc_data8_b pin group
2017-09-29 17:28 [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board Chris Paterson
` (8 preceding siblings ...)
2017-09-29 17:28 ` [cip-dev] [PATCH 09/15] ARM: dts: iwg20d-q7: " Chris Paterson
@ 2017-09-29 17:28 ` Chris Paterson
2017-09-29 17:28 ` [cip-dev] [PATCH 11/15] dt-bindings: mmc: sh_mmcif: Document r8a7743 DT bindings Chris Paterson
` (5 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Chris Paterson @ 2017-09-29 17:28 UTC (permalink / raw)
To: cip-dev
From: Geert Uytterhoeven <geert+renesas@glider.be>
Pins D6 and D7 of the MMC interface can be muxed to two different sets
of pins, but currently only one set is supported.
Add a pin group for the alternative set to fix this.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Chris Paterson <chris.paterson2@renesas.com>
Tested-by: Chris Paterson <chris.paterson2@renesas.com>
(cherry picked from commit 2bf147a836918b14aae7aba2e598fa18a73e4f19)
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
drivers/pinctrl/sh-pfc/pfc-r8a7791.c | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7791.c b/drivers/pinctrl/sh-pfc/pfc-r8a7791.c
index 33d1357..351842e 100644
--- a/drivers/pinctrl/sh-pfc/pfc-r8a7791.c
+++ b/drivers/pinctrl/sh-pfc/pfc-r8a7791.c
@@ -2593,6 +2593,17 @@ static const unsigned int mmc_data8_mux[] = {
MMC_D0_MARK, MMC_D1_MARK, MMC_D2_MARK, MMC_D3_MARK,
MMC_D4_MARK, MMC_D5_MARK, MMC_D6_MARK, MMC_D7_MARK,
};
+static const unsigned int mmc_data8_b_pins[] = {
+ /* D[0:7] */
+ RCAR_GP_PIN(6, 18), RCAR_GP_PIN(6, 19),
+ RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 21),
+ RCAR_GP_PIN(6, 22), RCAR_GP_PIN(6, 23),
+ RCAR_GP_PIN(6, 6), RCAR_GP_PIN(6, 7),
+};
+static const unsigned int mmc_data8_b_mux[] = {
+ MMC_D0_MARK, MMC_D1_MARK, MMC_D2_MARK, MMC_D3_MARK,
+ MMC_D4_MARK, MMC_D5_MARK, MMC_D6_B_MARK, MMC_D7_B_MARK,
+};
static const unsigned int mmc_ctrl_pins[] = {
/* CLK, CMD */
RCAR_GP_PIN(6, 16), RCAR_GP_PIN(6, 17),
@@ -4424,7 +4435,7 @@ static const unsigned int vin2_clk_mux[] = {
};
static const struct {
- struct sh_pfc_pin_group common[341];
+ struct sh_pfc_pin_group common[342];
struct sh_pfc_pin_group r8a779x[9];
} pinmux_groups = {
.common = {
@@ -4527,6 +4538,7 @@ static const struct {
SH_PFC_PIN_GROUP(mmc_data1),
SH_PFC_PIN_GROUP(mmc_data4),
SH_PFC_PIN_GROUP(mmc_data8),
+ SH_PFC_PIN_GROUP(mmc_data8_b),
SH_PFC_PIN_GROUP(mmc_ctrl),
SH_PFC_PIN_GROUP(msiof0_clk),
SH_PFC_PIN_GROUP(msiof0_sync),
@@ -4959,6 +4971,7 @@ static const char * const mmc_groups[] = {
"mmc_data1",
"mmc_data4",
"mmc_data8",
+ "mmc_data8_b",
"mmc_ctrl",
};
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [cip-dev] [PATCH 11/15] dt-bindings: mmc: sh_mmcif: Document r8a7743 DT bindings
2017-09-29 17:28 [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board Chris Paterson
` (9 preceding siblings ...)
2017-09-29 17:28 ` [cip-dev] [PATCH 10/15] pinctrl: sh-pfc: r8a7791: Add missing mmc_data8_b pin group Chris Paterson
@ 2017-09-29 17:28 ` Chris Paterson
2017-09-29 17:28 ` [cip-dev] [PATCH 12/15] ARM: dts: r8a7743: Add MMCIF0 support Chris Paterson
` (4 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Chris Paterson @ 2017-09-29 17:28 UTC (permalink / raw)
To: cip-dev
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
(cherry picked from commit 62b1ab2a71c4d3acb59e109fadb5fec3430642ed)
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Conflicts:
Documentation/devicetree/bindings/mmc/renesas,mmcif.txt
---
Documentation/devicetree/bindings/mmc/renesas,mmcif.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/mmc/renesas,mmcif.txt b/Documentation/devicetree/bindings/mmc/renesas,mmcif.txt
index cae29eb..0c9ac54 100644
--- a/Documentation/devicetree/bindings/mmc/renesas,mmcif.txt
+++ b/Documentation/devicetree/bindings/mmc/renesas,mmcif.txt
@@ -9,6 +9,7 @@ Required properties:
- compatible: should be "renesas,mmcif-<soctype>", "renesas,sh-mmcif" as a
fallback. Examples with <soctype> are:
- "renesas,mmcif-r8a7740" for the MMCIF found in r8a7740 SoCs
+ - "renesas,mmcif-r8a7743" for the MMCIF found in r8a7743 SoCs
- "renesas,mmcif-r8a7790" for the MMCIF found in r8a7790 SoCs
- "renesas,mmcif-r8a7791" for the MMCIF found in r8a7791 SoCs
- "renesas,mmcif-r8a7794" for the MMCIF found in r8a7794 SoCs
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [cip-dev] [PATCH 12/15] ARM: dts: r8a7743: Add MMCIF0 support
2017-09-29 17:28 [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board Chris Paterson
` (10 preceding siblings ...)
2017-09-29 17:28 ` [cip-dev] [PATCH 11/15] dt-bindings: mmc: sh_mmcif: Document r8a7743 DT bindings Chris Paterson
@ 2017-09-29 17:28 ` Chris Paterson
2017-09-29 17:28 ` [cip-dev] [PATCH 13/15] ARM: dts: iwg20m: " Chris Paterson
` (3 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Chris Paterson @ 2017-09-29 17:28 UTC (permalink / raw)
To: cip-dev
Add the MMCIF0 device to the r8a7743 device tree.
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 873038ddc34b62b55b2ad919995d3f70be12f192)
(modified the clocks and power-domains property, removed resets property)
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Conflicts:
arch/arm/boot/dts/r8a7743.dtsi
---
arch/arm/boot/dts/r8a7743.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi
index 5864270..a9dda28 100644
--- a/arch/arm/boot/dts/r8a7743.dtsi
+++ b/arch/arm/boot/dts/r8a7743.dtsi
@@ -539,6 +539,21 @@
status = "disabled";
};
+ mmcif0: mmc at ee200000 {
+ compatible = "renesas,mmcif-r8a7743",
+ "renesas,sh-mmcif";
+ reg = <0 0xee200000 0 0x80>;
+ interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp3_clks R8A7743_CLK_MMCIF0>;
+ dmas = <&dmac0 0xd1>, <&dmac0 0xd2>,
+ <&dmac1 0xd1>, <&dmac1 0xd2>;
+ dma-names = "tx", "rx", "tx", "rx";
+ power-domains = <&cpg_clocks>;
+ reg-io-width = <4>;
+ max-frequency = <97500000>;
+ status = "disabled";
+ };
+
clocks {
#address-cells = <2>;
#size-cells = <2>;
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [cip-dev] [PATCH 13/15] ARM: dts: iwg20m: Add MMCIF0 support
2017-09-29 17:28 [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board Chris Paterson
` (11 preceding siblings ...)
2017-09-29 17:28 ` [cip-dev] [PATCH 12/15] ARM: dts: r8a7743: Add MMCIF0 support Chris Paterson
@ 2017-09-29 17:28 ` Chris Paterson
2017-09-29 17:28 ` [cip-dev] [PATCH 14/15] ARM: dts: iwg20m: Correct indentation of mmcif0 properties Chris Paterson
` (2 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Chris Paterson @ 2017-09-29 17:28 UTC (permalink / raw)
To: cip-dev
Define the iwg20m board dependent part of the MMCIF0 device node.
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit a03633abae89b5ab9d99c95e6dbf7cf15e5a441e)
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
arch/arm/boot/dts/r8a7743-iwg20m.dtsi | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7743-iwg20m.dtsi b/arch/arm/boot/dts/r8a7743-iwg20m.dtsi
index 001ca91..f78dbc5 100644
--- a/arch/arm/boot/dts/r8a7743-iwg20m.dtsi
+++ b/arch/arm/boot/dts/r8a7743-iwg20m.dtsi
@@ -22,8 +22,34 @@
device_type = "memory";
reg = <2 0x00000000 0 0x20000000>;
};
+
+ reg_3p3v: 3p3v {
+ compatible = "regulator-fixed";
+ regulator-name = "3P3V";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
};
&extal_clk {
clock-frequency = <20000000>;
};
+
+&pfc {
+ mmcif0_pins: mmc {
+ groups = "mmc_data8_b", "mmc_ctrl";
+ function = "mmc";
+ };
+};
+
+&mmcif0 {
+ pinctrl-0 = <&mmcif0_pins>;
+ pinctrl-names = "default";
+
+ vmmc-supply = <®_3p3v>;
+ bus-width = <8>;
+ non-removable;
+ status = "okay";
+};
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [cip-dev] [PATCH 14/15] ARM: dts: iwg20m: Correct indentation of mmcif0 properties
2017-09-29 17:28 [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board Chris Paterson
` (12 preceding siblings ...)
2017-09-29 17:28 ` [cip-dev] [PATCH 13/15] ARM: dts: iwg20m: " Chris Paterson
@ 2017-09-29 17:28 ` Chris Paterson
2017-09-29 17:28 ` [cip-dev] [PATCH 15/15] ARM: debug-ll: Add support for r8a7743 Chris Paterson
2017-10-04 16:38 ` [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board Ben Hutchings
15 siblings, 0 replies; 18+ messages in thread
From: Chris Paterson @ 2017-09-29 17:28 UTC (permalink / raw)
To: cip-dev
From: Geert Uytterhoeven <geert+renesas@glider.be>
Fixes: 4658c4b789d8e2ae ("ARM: dts: iwg20m: Add MMCIF0 support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Chris Paterson <chris.paterson2@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit bf38b9ac16c5c8a82d63c79391dd64c5924fc00b)
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
arch/arm/boot/dts/r8a7743-iwg20m.dtsi | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7743-iwg20m.dtsi b/arch/arm/boot/dts/r8a7743-iwg20m.dtsi
index f78dbc5..ff79938 100644
--- a/arch/arm/boot/dts/r8a7743-iwg20m.dtsi
+++ b/arch/arm/boot/dts/r8a7743-iwg20m.dtsi
@@ -45,11 +45,11 @@
};
&mmcif0 {
- pinctrl-0 = <&mmcif0_pins>;
- pinctrl-names = "default";
+ pinctrl-0 = <&mmcif0_pins>;
+ pinctrl-names = "default";
- vmmc-supply = <®_3p3v>;
- bus-width = <8>;
- non-removable;
- status = "okay";
+ vmmc-supply = <®_3p3v>;
+ bus-width = <8>;
+ non-removable;
+ status = "okay";
};
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [cip-dev] [PATCH 15/15] ARM: debug-ll: Add support for r8a7743
2017-09-29 17:28 [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board Chris Paterson
` (13 preceding siblings ...)
2017-09-29 17:28 ` [cip-dev] [PATCH 14/15] ARM: dts: iwg20m: Correct indentation of mmcif0 properties Chris Paterson
@ 2017-09-29 17:28 ` Chris Paterson
2017-10-04 16:38 ` [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board Ben Hutchings
15 siblings, 0 replies; 18+ messages in thread
From: Chris Paterson @ 2017-09-29 17:28 UTC (permalink / raw)
To: cip-dev
Enable low-level debugging support for RZ/G1M (r8a7743). RZ/G1M uses
SCIF0 for the debug console, like most of the R-Car Gen2 SoCs.
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit fcfbb6f144065f301f60555e5475434f2956eeb8)
(removed r8a7792 SoC from the patch)
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Conflicts:
arch/arm/Kconfig.debug
---
arch/arm/Kconfig.debug | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index ddbb361..9b2b59c 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -817,12 +817,12 @@ choice
via SCIF2 on Renesas R-Car H1 (R8A7779).
config DEBUG_RCAR_GEN2_SCIF0
- bool "Kernel low-level debugging messages via SCIF0 on R8A7790/R8A7791/R8A7793"
- depends on ARCH_R8A7790 || ARCH_R8A7791 || ARCH_R8A7793
+ bool "Kernel low-level debugging messages via SCIF0 on R-Car Gen2 and RZ/G1"
+ depends on ARCH_R8A7743 || ARCH_R8A7790 || ARCH_R8A7791 || ARCH_R8A7793
help
Say Y here if you want kernel low-level debugging support
- via SCIF0 on Renesas R-Car H2 (R8A7790), M2-W (R8A7791), or
- M2-N (R8A7793).
+ via SCIF0 on Renesas RZ/G1M (R8A7743), R-Car H2 (R8A7790),
+ M2-W (R8A7791), or M2-N (R8A7793).
config DEBUG_RCAR_GEN2_SCIF2
bool "Kernel low-level debugging messages via SCIF2 on R8A7794"
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board
2017-09-29 17:28 [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board Chris Paterson
` (14 preceding siblings ...)
2017-09-29 17:28 ` [cip-dev] [PATCH 15/15] ARM: debug-ll: Add support for r8a7743 Chris Paterson
@ 2017-10-04 16:38 ` Ben Hutchings
2017-10-05 20:37 ` Chris Paterson
15 siblings, 1 reply; 18+ messages in thread
From: Ben Hutchings @ 2017-10-04 16:38 UTC (permalink / raw)
To: cip-dev
On Fri, 2017-09-29 at 18:28 +0100, Chris Paterson wrote:
> This patch series adds support for a number of interfaces to the iWave iwg20d-q7
> (CIP reference) board which is based on the Renesas r8a7743 SoC.
>
> Support is added for GPIO, EthernetAVB and MMC. In addition there is a patch to
> add low-level debug support.
>
> This series completes the basic platform support for the Renesas CIP reference
> platform allowing users to get the platform up and running.
>
> This patch series applies cleanly to and is tested on linux-4.4.y-cip 1e2ef7cc8.
This all looks good. I've applied these patches locally and will push
out soon.
I booted it on my board and confirm that Ethernet and eMMC are now
working. However, I had to enable EXT4_FS because shmobile_defconfig
doesn't. That seems like an (upstream) bug.
Ben.
>
>
> Biju Das (7):
> ARM: dts: iwg20d-q7: Add pinctl support for scif0
> gpio: rcar: Add R8A7743 (RZ/G1M) support
> ARM: dts: r8a7743: Add GPIO support
> dt-bindings: net: ravb : Add support for r8a7743 SoC
> ARM: shmobile: defconfig: Enable Ethernet AVB
> ARM: dts: r8a7743: Add Ethernet AVB support
> ARM: dts: iwg20d-q7: Add Ethernet AVB support
>
> Chris Paterson (4):
> dt-bindings: mmc: sh_mmcif: Document r8a7743 DT bindings
> ARM: dts: r8a7743: Add MMCIF0 support
> ARM: dts: iwg20m: Add MMCIF0 support
> ARM: debug-ll: Add support for r8a7743
>
> Geert Uytterhoeven (2):
> pinctrl: sh-pfc: r8a7791: Add missing mmc_data8_b pin group
> ARM: dts: iwg20m: Correct indentation of mmcif0 properties
>
> Sergei Shtylyov (1):
> ARM: dts: r8a7743: add PFC support
>
> Simon Horman (1):
> ravb: add fallback compatibility strings
>
> .../devicetree/bindings/gpio/renesas,gpio-rcar.txt | 1 +
> .../devicetree/bindings/mmc/renesas,mmcif.txt | 1 +
> .../devicetree/bindings/net/renesas,ravb.txt | 20 ++-
> arch/arm/Kconfig.debug | 8 +-
> arch/arm/boot/dts/r8a7743-iwg20d-q7.dts | 31 +++++
> arch/arm/boot/dts/r8a7743-iwg20m.dtsi | 26 ++++
> arch/arm/boot/dts/r8a7743.dtsi | 146 ++++++++++++++++++++-
> arch/arm/configs/shmobile_defconfig | 1 +
> drivers/gpio/gpio-rcar.c | 4 +
> drivers/net/ethernet/renesas/ravb_main.c | 2 +
> drivers/pinctrl/sh-pfc/pfc-r8a7791.c | 15 ++-
> 11 files changed, 245 insertions(+), 10 deletions(-)
>
--
Ben Hutchings
Software Developer, Codethink Ltd.
^ permalink raw reply [flat|nested] 18+ messages in thread* [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board
2017-10-04 16:38 ` [cip-dev] [PATCH 00/15] Add GPIO, EthernetAVB and MMC support for iWave G20D-Q7 board Ben Hutchings
@ 2017-10-05 20:37 ` Chris Paterson
0 siblings, 0 replies; 18+ messages in thread
From: Chris Paterson @ 2017-10-05 20:37 UTC (permalink / raw)
To: cip-dev
Hello Ben,
> From: Ben Hutchings [mailto:ben.hutchings at codethink.co.uk]
> Sent: 04 October 2017 17:39
>
> On Fri, 2017-09-29 at 18:28 +0100, Chris Paterson wrote:
> > This patch series adds support for a number of interfaces to the iWave
> > iwg20d-q7 (CIP reference) board which is based on the Renesas r8a7743
> SoC.
> >
> > Support is added for GPIO, EthernetAVB and MMC. In addition there is a
> > patch to add low-level debug support.
> >
> > This series completes the basic platform support for the Renesas CIP
> > reference platform allowing users to get the platform up and running.
> >
> > This patch series applies cleanly to and is tested on linux-4.4.y-cip
> 1e2ef7cc8.
>
> This all looks good. I've applied these patches locally and will push out soon.
Thank you!
>
> I booted it on my board and confirm that Ethernet and eMMC are now
> working.
Thanks for checking, it's good to know that you've got the h/w up and running.
> However, I had to enable EXT4_FS because shmobile_defconfig
> doesn't. That seems like an (upstream) bug.
Yep. shmobile_defconfig omits EXT4_FS. I keep meaning to ask why...
Kind regards, Chris
>
> Ben.
>
> >
> >
> > Biju Das (7):
> > ARM: dts: iwg20d-q7: Add pinctl support for scif0
> > gpio: rcar: Add R8A7743 (RZ/G1M) support
> > ARM: dts: r8a7743: Add GPIO support
> > dt-bindings: net: ravb : Add support for r8a7743 SoC
> > ARM: shmobile: defconfig: Enable Ethernet AVB
> > ARM: dts: r8a7743: Add Ethernet AVB support
> > ARM: dts: iwg20d-q7: Add Ethernet AVB support
> >
> > Chris Paterson (4):
> > dt-bindings: mmc: sh_mmcif: Document r8a7743 DT bindings
> > ARM: dts: r8a7743: Add MMCIF0 support
> > ARM: dts: iwg20m: Add MMCIF0 support
> > ARM: debug-ll: Add support for r8a7743
> >
> > Geert Uytterhoeven (2):
> > pinctrl: sh-pfc: r8a7791: Add missing mmc_data8_b pin group
> > ARM: dts: iwg20m: Correct indentation of mmcif0 properties
> >
> > Sergei Shtylyov (1):
> > ARM: dts: r8a7743: add PFC support
> >
> > Simon Horman (1):
> > ravb: add fallback compatibility strings
> >
> > .../devicetree/bindings/gpio/renesas,gpio-rcar.txt | 1 +
> > .../devicetree/bindings/mmc/renesas,mmcif.txt | 1 +
> > .../devicetree/bindings/net/renesas,ravb.txt | 20 ++-
> > arch/arm/Kconfig.debug | 8 +-
> > arch/arm/boot/dts/r8a7743-iwg20d-q7.dts | 31 +++++
> > arch/arm/boot/dts/r8a7743-iwg20m.dtsi | 26 ++++
> > arch/arm/boot/dts/r8a7743.dtsi | 146
> ++++++++++++++++++++-
> > arch/arm/configs/shmobile_defconfig | 1 +
> > drivers/gpio/gpio-rcar.c | 4 +
> > drivers/net/ethernet/renesas/ravb_main.c | 2 +
> > drivers/pinctrl/sh-pfc/pfc-r8a7791.c | 15 ++-
> > 11 files changed, 245 insertions(+), 10 deletions(-)
> >
>
> --
> Ben Hutchings
> Software Developer, Codethink Ltd.
>
^ permalink raw reply [flat|nested] 18+ messages in thread