RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes
Subsystems (11)
cover RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes
Hi All,
This patch series describes i2c, iic, mmc0, sdhi, sata, AVB, apmu and RWDT on R8A7742 SoC.
Cheers,
Prabhakar
Lad Prabhakar (17):
dt-bindings: i2c: renesas,i2c: Document r8a7742 support
dt-bindings: i2c: renesas,iic: Document r8a7742 support
ARM: dts: r8a7742: Add I2C and IIC support
dt-bindings: mmc: renesas,sdhi: Document r8a7742 support
mmc: renesas_sdhi_sys_dmac: Add support for r8a7742 SoC
ARM: dts: r8a7742: Add SDHI nodes
ARM: dts: r8a7742: Add MMC0 node
dt-bindings: ata: renesas,rcar-sata: Add r8a7742 support
ARM: dts: r8a7742: Add sata nodes
dt-bindings: net: renesas,ravb: Add support for r8a7742 SoC
dt-bindings: net: renesas,ether: Document R8A7742 SoC
ARM: dts: r8a7742: Add Ethernet AVB support
ARM: dts: r8a7742: Add Ether support
dt-bindings: power: renesas,apmu: Document r8a7742 support
ARM: dts: r8a7742: Add APMU nodes
dt-bindings: watchdog: renesas,wdt: Document r8a7742 support
ARM: dts: r8a7742: Add RWDT node
.../devicetree/bindings/ata/renesas,rcar-sata.yaml | 1 + .../devicetree/bindings/i2c/renesas,i2c.txt | 1 + .../devicetree/bindings/i2c/renesas,iic.txt | 1 + .../devicetree/bindings/mmc/renesas,sdhi.txt | 1 + .../devicetree/bindings/net/renesas,ether.yaml | 1 + .../devicetree/bindings/net/renesas,ravb.txt | 1 + .../devicetree/bindings/power/renesas,apmu.yaml | 1 + .../devicetree/bindings/watchdog/renesas,wdt.txt | 1 + arch/arm/boot/dts/r8a7742.dtsi | 270 +++++++++++++++++++++ drivers/mmc/host/renesas_sdhi_sys_dmac.c | 1 + 10 files changed, 279 insertions(+)
Signature · 1 line
2.7.4
PATCH 1/17 dt-bindings: i2c: renesas,i2c: Document r8a7742 support
Document i2c controller for RZ/G1H (R8A7742) SoC, which is compatible with R-Car Gen2 SoC family.
--- Documentation/devicetree/bindings/i2c/renesas,i2c.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/i2c/renesas,i2c.txt +1 -0
@@ -2,6 +2,7 @@ I2C for R-Car platforms Required properties: - compatible: + "renesas,i2c-r8a7742" if the device is a part of a R8A7742 SoC. "renesas,i2c-r8a7743" if the device is a part of a R8A7743 SoC. "renesas,i2c-r8a7744" if the device is a part of a R8A7744 SoC. "renesas,i2c-r8a7745" if the device is a part of a R8A7745 SoC.
Signature · 1 line
2.7.4
Re: [PATCH 01/17] dt-bindings: i2c: renesas,i2c: Document r8a7742 support
Quoted 5 lines · Lad Prabhakar
Document i2c controller for RZ/G1H (R8A7742) SoC, which is compatible with R-Car Gen2 SoC family.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Dunno if patches need to be this fine-grained (e.g. group all simple additions like this in one patch) but still:
Re: [PATCH 01/17] dt-bindings: i2c: renesas,i2c: Document r8a7742 support
In reply to Lad PrabhakarQuoted 5 lines · Lad Prabhakar
Document i2c controller for RZ/G1H (R8A7742) SoC, which is compatible with R-Car Gen2 SoC family.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
Re: [PATCH 01/17] dt-bindings: i2c: renesas,i2c: Document r8a7742 support
In reply to Lad PrabhakarQuoted 9 lines · Lad Prabhakar
Document i2c controller for RZ/G1H (R8A7742) SoC, which is compatible with R-Car Gen2 SoC family.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>--- Documentation/devicetree/bindings/i2c/renesas,i2c.txt | 1 + 1 file changed, 1 insertion(+)
Applied, thanks!
PATCH 2/17 dt-bindings: i2c: renesas,iic: Document r8a7742 support
In reply to Lad PrabhakarDocument IIC controller for RZ/G1H (R8A7742) SoC, which is compatible with R-Car Gen2 SoC family.
--- Documentation/devicetree/bindings/i2c/renesas,iic.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/i2c/renesas,iic.txt +1 -0
@@ -4,6 +4,7 @@ Required properties: - compatible : - "renesas,iic-r8a73a4" (R-Mobile APE6) - "renesas,iic-r8a7740" (R-Mobile A1) + - "renesas,iic-r8a7742" (RZ/G1H) - "renesas,iic-r8a7743" (RZ/G1M) - "renesas,iic-r8a7744" (RZ/G1N) - "renesas,iic-r8a7745" (RZ/G1E)
Signature · 1 line
2.7.4
Re: [PATCH 02/17] dt-bindings: i2c: renesas,iic: Document r8a7742 support
Quoted 5 lines · Lad Prabhakar
Document IIC controller for RZ/G1H (R8A7742) SoC, which is compatible with R-Car Gen2 SoC family.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Re: [PATCH 02/17] dt-bindings: i2c: renesas,iic: Document r8a7742 support
In reply to Lad PrabhakarQuoted 5 lines · Lad Prabhakar
Document IIC controller for RZ/G1H (R8A7742) SoC, which is compatible with R-Car Gen2 SoC family.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
Re: [PATCH 02/17] dt-bindings: i2c: renesas,iic: Document r8a7742 support
In reply to Lad PrabhakarQuoted 9 lines · Lad Prabhakar
Document IIC controller for RZ/G1H (R8A7742) SoC, which is compatible with R-Car Gen2 SoC family.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>--- Documentation/devicetree/bindings/i2c/renesas,iic.txt | 1 + 1 file changed, 1 insertion(+)
Applied, thanks!
PATCH 3/17 ARM: dts: r8a7742: Add I2C and IIC support
In reply to Lad PrabhakarAdd the I2C[0-3] and IIC[0-3] devices nodes to the R8A7742 device tree.
Automatic transmission for PMIC control is not available on IIC3 hence compatible string "renesas,rcar-gen2-iic" and "renesas,rmobile-iic" is not added to iic3 node.
--- arch/arm/boot/dts/r8a7742.dtsi | 122 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+)
arch/arm/boot/dts/r8a7742.dtsi +122 -0
@@ -359,6 +359,128 @@ ranges = <0 0 0xe6300000 0x40000>; }; + i2c0: i2c@e6508000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,i2c-r8a7742", + "renesas,rcar-gen2-i2c"; + reg = <0 0xe6508000 0 0x40>; + interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 931>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 931>; + i2c-scl-internal-delay-ns = <110>; + status = "disabled"; + }; + + i2c1: i2c@e6518000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,i2c-r8a7742", + "renesas,rcar-gen2-i2c"; + reg = <0 0xe6518000 0 0x40>; + interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 930>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 930>; + i2c-scl-internal-delay-ns = <6>; + status = "disabled"; + }; + + i2c2: i2c@e6530000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,i2c-r8a7742", + "renesas,rcar-gen2-i2c"; + reg = <0 0xe6530000 0 0x40>; + interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 929>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 929>; + i2c-scl-internal-delay-ns = <6>; + status = "disabled"; + }; + + i2c3: i2c@e6540000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,i2c-r8a7742", + "renesas,rcar-gen2-i2c"; + reg = <0 0xe6540000 0 0x40>; + interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 928>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 928>; + i2c-scl-internal-delay-ns = <110>; + status = "disabled"; + }; + + iic0: i2c@e6500000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,iic-r8a7742", + "renesas,rcar-gen2-iic", + "renesas,rmobile-iic"; + reg = <0 0xe6500000 0 0x425>; + interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 318>; + dmas = <&dmac0 0x61>, <&dmac0 0x62>, + <&dmac1 0x61>, <&dmac1 0x62>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 318>; + status = "disabled"; + }; + + iic1: i2c@e6510000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,iic-r8a7742", + "renesas,rcar-gen2-iic", + "renesas,rmobile-iic"; + reg = <0 0xe6510000 0 0x425>; + interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 323>; + dmas = <&dmac0 0x65>, <&dmac0 0x66>, + <&dmac1 0x65>, <&dmac1 0x66>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 323>; + status = "disabled"; + }; + + iic2: i2c@e6520000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,iic-r8a7742", + "renesas,rcar-gen2-iic", + "renesas,rmobile-iic"; + reg = <0 0xe6520000 0 0x425>; + interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 300>; + dmas = <&dmac0 0x69>, <&dmac0 0x6a>, + <&dmac1 0x69>, <&dmac1 0x6a>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 300>; + status = "disabled"; + }; + + iic3: i2c@e60b0000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,iic-r8a7742"; + reg = <0 0xe60b0000 0 0x425>; + interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 926>; + dmas = <&dmac0 0x77>, <&dmac0 0x78>, + <&dmac1 0x77>, <&dmac1 0x78>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 926>; + status = "disabled"; + }; + dmac0: dma-controller@e6700000 { compatible = "renesas,dmac-r8a7742", "renesas,rcar-dmac";
Signature · 1 line
2.7.4
Wolfram Sang
maintainerRe: [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support
Quoted 5 lines · Lad Prabhakar
Add the I2C[0-3] and IIC[0-3] devices nodes to the R8A7742 device tree.
Automatic transmission for PMIC control is not available on IIC3 hence compatible string "renesas,rcar-gen2-iic" and "renesas,rmobile-iic" is not added to iic3 node.
Makes sense.
However, both versions (with and without automatic transmission) are described with the same "renesas,iic-r8a7742" compatible. Is it possible to detect the reduced variant at runtime somehow?
My concern is that the peculiarity of this SoC might be forgotten if we describe it like this and ever add "automatic transmissions" somewhen.
Re: [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support
Hi Wolfram,
Thank for the review.
Quoted 8 lines · Wolfram Sang
Quoted 5 lines · Lad Prabhakar
Add the I2C[0-3] and IIC[0-3] devices nodes to the R8A7742 device tree.
Automatic transmission for PMIC control is not available on IIC3 hence compatible string "renesas,rcar-gen2-iic" and "renesas,rmobile-iic" is not added to iic3 node.
Quoted 6 lines
Makes sense.
However, both versions (with and without automatic transmission) are described with the same "renesas,iic-r8a7742" compatible. Is it possible to detect the reduced variant at runtime somehow?
I couldn't find anything the manual that would be useful to detect at runtime.
Quoted 3 lines
My concern is that the peculiarity of this SoC might be forgotten if we describe it like this and ever add "automatic transmissions" somewhen.
Agreed.
Cheers,
--Prabhakar
Wolfram Sang
maintainerRe: [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support
Quoted 11 lines
Quoted 5 lines
However, both versions (with and without automatic transmission) are described with the same "renesas,iic-r8a7742" compatible. Is it possible to detect the reduced variant at runtime somehow?
I couldn't find anything the manual that would be useful to detect at runtime.
Quoted 3 lines
My concern is that the peculiarity of this SoC might be forgotten if we describe it like this and ever add "automatic transmissions" somewhen.
Agreed.
Well, I guess reading from a register which is supposed to not be there on the modified IP core is too hackish.
Leaves us with a seperate compatible entry for it?
Re: [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support
Hi Wolfram,
Quoted 11 lines · Wolfram Sang
Quoted 11 lines
Quoted 6 lines
However, both versions (with and without automatic transmission) are described with the same "renesas,iic-r8a7742" compatible. Is it possible to detect the reduced variant at runtime somehow?
I couldn't find anything the manual that would be useful to detect at runtime.
Quoted 3 lines
My concern is that the peculiarity of this SoC might be forgotten if we describe it like this and ever add "automatic transmissions" somewhen.
Quoted 7 lines
Quoted 1 line
Agreed.
Well, I guess reading from a register which is supposed to not be there on the modified IP core is too hackish.
Leaves us with a seperate compatible entry for it?
Sounds okay to me, how about "renesas,iic-no-dvfs" ? So that this could be used on all the SoC's which don't support DVFS.
Cheers,
--Prabhakar
Wolfram Sang
maintainerRe: [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support
Hi Prabhakar,
Quoted 4 lines
Quoted 2 lines
Leaves us with a seperate compatible entry for it?
Sounds okay to me, how about "renesas,iic-no-dvfs" ? So that this could be used on all the SoC's which don't support DVFS.
Well, the feature missing is used for DVFS, but its name is "automatic transmission". So, I'd rather suggest "-no-auto" as suffix. Also, there are already quite some IIC variants out there, so plain "iic" won't catch them all. My suggestion would be "renesas,rcar-gen2-iic-no-auto".
All the best,
Wolfram
Re: [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support
In reply to Wolfram SangHi Wolfram,
Quoted 5 lines · Wolfram Sang
Quoted 5 lines
Quoted 4 lines
However, both versions (with and without automatic transmission) are described with the same "renesas,iic-r8a7742" compatible. Is it possible to detect the reduced variant at runtime somehow?
I couldn't find anything the manual that would be useful to detect at runtime.
Hence if we really need that (see below), we need a quirk based on compatible value + base address.
Quoted 7 lines
Quoted 4 lines
Quoted 3 lines
My concern is that the peculiarity of this SoC might be forgotten if we describe it like this and ever add "automatic transmissions" somewhen.
Agreed.
Well, I guess reading from a register which is supposed to not be there on the modified IP core is too hackish.
According to the Hardware User's Manual Rev. 1.00, the registers do exist on all RZ/G1, except for RZ/G1E (see below).
"(automatic transmission can be used as a hardware function, but this is
not meaningful for actual use cases)."
(whatever that comment may mean?)
Quoted 1 line
Leaves us with a seperate compatible entry for it?
On R-Car E3 and RZ/G2E, which have a single IIC instance, we handled that by:
The r8a77990 (R-Car E3) and r8a774c0 (RZ/G2E) controllers are not considered compatible with "renesas,rcar-gen3-iic" or "renesas,rmobile-iic" due to the absence of automatic transmission registers.
On R-Car E2 and RZ/G1E, we forgot, and used both SoC-specific and family-specific compatible values.
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
Re: [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support
Hi Wolfram,
Quoted 35 lines · Geert Uytterhoeven
Hi Wolfram,
Quoted 5 lines · Wolfram Sang
Quoted 5 lines
Quoted 4 lines
However, both versions (with and without automatic transmission) are described with the same "renesas,iic-r8a7742" compatible. Is it possible to detect the reduced variant at runtime somehow?
I couldn't find anything the manual that would be useful to detect at runtime.
Hence if we really need that (see below), we need a quirk based on compatible value + base address.
Quoted 7 lines
Quoted 4 lines
Quoted 3 lines
My concern is that the peculiarity of this SoC might be forgotten if we describe it like this and ever add "automatic transmissions" somewhen.
Agreed.
Well, I guess reading from a register which is supposed to not be there on the modified IP core is too hackish.
According to the Hardware User's Manual Rev. 1.00, the registers do exist on all RZ/G1, except for RZ/G1E (see below).
"(automatic transmission can be used as a hardware function, but this is
not meaningful for actual use cases)."(whatever that comment may mean?)
Quoted 1 line
Leaves us with a seperate compatible entry for it?
On R-Car E3 and RZ/G2E, which have a single IIC instance, we handled that by:
Quoted 8 lines
The r8a77990 (R-Car E3) and r8a774c0 (RZ/G2E) controllers are not considered compatible with "renesas,rcar-gen3-iic" or "renesas,rmobile-iic" due to the absence of automatic transmission registers.
On R-Car E2 and RZ/G1E, we forgot, and used both SoC-specific and family-specific compatible values.
What are your thoughts on the above.
Cheers,
--Prabhakar
Quoted 10 lines
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]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
Wolfram Sang
maintainerRe: [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support
Quoted 8 lines
Quoted 8 lines
According to the Hardware User's Manual Rev. 1.00, the registers do exist on all RZ/G1, except for RZ/G1E (see below).
"(automatic transmission can be used as a hardware function, but this is
not meaningful for actual use cases)."(whatever that comment may mean?)
Strange comment, in deed. Given the paragraph before, I would guess Gen1 maybe had a "fitting" PMIC where SoC/PMIC handled DVFS kind of magically with this automatic transfer feature? And Gen2 has not.
Quoted 7 lines
Quoted 7 lines
On R-Car E3 and RZ/G2E, which have a single IIC instance, we handled that by:
The r8a77990 (R-Car E3) and r8a774c0 (RZ/G2E) controllers are not considered compatible with "renesas,rcar-gen3-iic" or "renesas,rmobile-iic" due to the absence of automatic transmission registers.
From a "describe the HW" point of view, this still makes sense to me. Although, it is unlikely we will add support for the automatic transmission feature (maybe famous last words).
Quoted 2 lines
Quoted 2 lines
On R-Car E2 and RZ/G1E, we forgot, and used both SoC-specific and family-specific compatible values.
Okay, but we can fix DTs when they have bugs, or?
Geert Uytterhoeven
Reviewed-byRe: [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support
Hi Wolfram,
Quoted 15 lines · Wolfram Sang
Quoted 7 lines
Quoted 7 lines
According to the Hardware User's Manual Rev. 1.00, the registers do exist on all RZ/G1, except for RZ/G1E (see below).
"(automatic transmission can be used as a hardware function, but this is
not meaningful for actual use cases)."(whatever that comment may mean?)
Strange comment, in deed. Given the paragraph before, I would guess Gen1 maybe had a "fitting" PMIC where SoC/PMIC handled DVFS kind of magically with this automatic transfer feature? And Gen2 has not.
Quoted 3 lines
Quoted 3 lines
On R-Car E3 and RZ/G2E, which have a single IIC instance, we handled that by:
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
The r8a77990 (R-Car E3) and r8a774c0 (RZ/G2E) controllers are not considered compatible with "renesas,rcar-gen3-iic" or "renesas,rmobile-iic" due to the absence of automatic transmission registers.
From a "describe the HW" point of view, this still makes sense to me. Although, it is unlikely we will add support for the automatic transmission feature (maybe famous last words).
;-)
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
On R-Car E2 and RZ/G1E, we forgot, and used both SoC-specific and family-specific compatible values.
Okay, but we can fix DTs when they have bugs, or?
We can. But we also have to consider DT backwards compatibility: i.e. using an old DTB with a future kernel implementing the automatic transmission feature.
Fortunately R-Car E2 and RZ/G1E have SoC-specific compatible values, so we can easily blacklist it in the driver based on that. Blacklisting the last instance on the other SoCs is uglier, as it needs a quirk that checks both the SoC-compatible value and the absence of the generic compatible value. But it can still be done.
i.e. will queue in renesas-devel for v5.9.
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
PATCH 4/17 dt-bindings: mmc: renesas,sdhi: Document r8a7742 support
In reply to Lad PrabhakarDocument SDHI controller for RZ/G1H (R8A7742) SoC, which is compatible with R-Car Gen2 SoC family.
--- Documentation/devicetree/bindings/mmc/renesas,sdhi.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/mmc/renesas,sdhi.txt +1 -0
@@ -7,6 +7,7 @@ Required properties: "renesas,sdhi-r7s9210" - SDHI IP on R7S9210 SoC "renesas,sdhi-r8a73a4" - SDHI IP on R8A73A4 SoC "renesas,sdhi-r8a7740" - SDHI IP on R8A7740 SoC + "renesas,sdhi-r8a7742" - SDHI IP on R8A7742 SoC "renesas,sdhi-r8a7743" - SDHI IP on R8A7743 SoC "renesas,sdhi-r8a7744" - SDHI IP on R8A7744 SoC "renesas,sdhi-r8a7745" - SDHI IP on R8A7745 SoC
Signature · 1 line
2.7.4
Re: [PATCH 04/17] dt-bindings: mmc: renesas,sdhi: Document r8a7742 support
Quoted 5 lines · Lad Prabhakar
Document SDHI controller for RZ/G1H (R8A7742) SoC, which is compatible with R-Car Gen2 SoC family.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Re: [PATCH 04/17] dt-bindings: mmc: renesas,sdhi: Document r8a7742 support
In reply to Lad PrabhakarQuoted 5 lines · Lad Prabhakar
Document SDHI controller for RZ/G1H (R8A7742) SoC, which is compatible with R-Car Gen2 SoC family.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
Re: [PATCH 04/17] dt-bindings: mmc: renesas,sdhi: Document r8a7742 support
In reply to Lad PrabhakarQuoted 6 lines · Lad Prabhakar
Document SDHI controller for RZ/G1H (R8A7742) SoC, which is compatible with R-Car Gen2 SoC family.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Applied for next, thanks!
Kind regards
Uffe
Quoted 19 lines
--- Documentation/devicetree/bindings/mmc/renesas,sdhi.txt | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/mmc/renesas,sdhi.txt +1
-1@@ -7,6 +7,7 @@ Required properties: "renesas,sdhi-r7s9210" - SDHI IP on R7S9210 SoC "renesas,sdhi-r8a73a4" - SDHI IP on R8A73A4 SoC "renesas,sdhi-r8a7740" - SDHI IP on R8A7740 SoC + "renesas,sdhi-r8a7742" - SDHI IP on R8A7742 SoC "renesas,sdhi-r8a7743" - SDHI IP on R8A7743 SoC "renesas,sdhi-r8a7744" - SDHI IP on R8A7744 SoC "renesas,sdhi-r8a7745" - SDHI IP on R8A7745 SoC --2.7.4
PATCH 5/17 mmc: renesas_sdhi_sys_dmac: Add support for r8a7742 SoC
In reply to Lad PrabhakarAdd support for r8a7742 SoC. Renesas RZ/G1H (R8A7742) SDHI is identical to the R-Car Gen2 family.
--- drivers/mmc/host/renesas_sdhi_sys_dmac.c | 1 + 1 file changed, 1 insertion(+)
drivers/mmc/host/renesas_sdhi_sys_dmac.c +1 -0
@@ -75,6 +75,7 @@ static const struct of_device_id renesas_sdhi_sys_dmac_of_match[] = { { .compatible = "renesas,sdhi-r7s72100", .data = &of_rz_compatible, }, { .compatible = "renesas,sdhi-r8a7778", .data = &of_rcar_gen1_compatible, }, { .compatible = "renesas,sdhi-r8a7779", .data = &of_rcar_gen1_compatible, }, + { .compatible = "renesas,sdhi-r8a7742", .data = &of_rcar_gen2_compatible, }, { .compatible = "renesas,sdhi-r8a7743", .data = &of_rcar_gen2_compatible, }, { .compatible = "renesas,sdhi-r8a7745", .data = &of_rcar_gen2_compatible, }, { .compatible = "renesas,sdhi-r8a7790", .data = &of_rcar_gen2_compatible, },
Signature · 1 line
2.7.4
Wolfram Sang
maintainerRe: [PATCH 05/17] mmc: renesas_sdhi_sys_dmac: Add support for r8a7742 SoC
Quoted 5 lines · Lad Prabhakar
Add support for r8a7742 SoC. Renesas RZ/G1H (R8A7742) SDHI is identical to the R-Car Gen2 family.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
I think we can skip this because of the generic fallback? The other entries come from a time when we had a different policy IIRC.
Quoted 19 lines
--- drivers/mmc/host/renesas_sdhi_sys_dmac.c | 1 + 1 file changed, 1 insertion(+)drivers/mmc/host/renesas_sdhi_sys_dmac.c +1
-0@@ -75,6 +75,7 @@ static const struct of_device_id renesas_sdhi_sys_dmac_of_match[] = { { .compatible = "renesas,sdhi-r7s72100", .data = &of_rz_compatible, }, { .compatible = "renesas,sdhi-r8a7778", .data = &of_rcar_gen1_compatible, }, { .compatible = "renesas,sdhi-r8a7779", .data = &of_rcar_gen1_compatible, }, + { .compatible = "renesas,sdhi-r8a7742", .data = &of_rcar_gen2_compatible, }, { .compatible = "renesas,sdhi-r8a7743", .data = &of_rcar_gen2_compatible, }, { .compatible = "renesas,sdhi-r8a7745", .data = &of_rcar_gen2_compatible, }, { .compatible = "renesas,sdhi-r8a7790", .data = &of_rcar_gen2_compatible, },Signature · 1 line
2.7.4
Re: [PATCH 05/17] mmc: renesas_sdhi_sys_dmac: Add support for r8a7742 SoC
Hi Wolfram, Prabhakar,
Quoted 8 lines · Wolfram Sang
Quoted 5 lines · Lad Prabhakar
Add support for r8a7742 SoC. Renesas RZ/G1H (R8A7742) SDHI is identical to the R-Car Gen2 family.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>I think we can skip this because of the generic fallback? The other
Agreed.
Quoted 1 line
entries come from a time when we had a different policy IIRC.
Indeed. Commit c16a854e4463078a ("mmc: renesas_sdhi: Add r8a7743/5 support") predated commit d6dc425ae595e140 ("mmc: renesas_sdhi:
implement R-Car Gen[123] fallback compatibility strings").
Quoted 10 lines
drivers/mmc/host/renesas_sdhi_sys_dmac.c static const struct of_device_id renesas_sdhi_sys_dmac_of_match[] = { · line 81
Quoted 10 lines
drivers/mmc/host/renesas_sdhi_sys_dmac.c +1
-0@@ -75,6 +75,7 @@ static const struct of_device_id renesas_sdhi_sys_dmac_of_match[] = { { .compatible = "renesas,sdhi-r7s72100", .data = &of_rz_compatible, }, { .compatible = "renesas,sdhi-r8a7778", .data = &of_rcar_gen1_compatible, }, { .compatible = "renesas,sdhi-r8a7779", .data = &of_rcar_gen1_compatible, }, + { .compatible = "renesas,sdhi-r8a7742", .data = &of_rcar_gen2_compatible, }, { .compatible = "renesas,sdhi-r8a7743", .data = &of_rcar_gen2_compatible, }, { .compatible = "renesas,sdhi-r8a7745", .data = &of_rcar_gen2_compatible, }, { .compatible = "renesas,sdhi-r8a7790", .data = &of_rcar_gen2_compatible, },
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
PATCH 6/17 ARM: dts: r8a7742: Add SDHI nodes
In reply to Lad PrabhakarAdd the SDHI devices nodes to the R8A7742 device tree.
--- arch/arm/boot/dts/r8a7742.dtsi | 60 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+)
arch/arm/boot/dts/r8a7742.dtsi +60 -0
@@ -717,6 +717,66 @@ status = "disabled"; }; + sdhi0: sd@ee100000 { + compatible = "renesas,sdhi-r8a7742", + "renesas,rcar-gen2-sdhi"; + reg = <0 0xee100000 0 0x328>; + interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 314>; + dmas = <&dmac0 0xcd>, <&dmac0 0xce>, + <&dmac1 0xcd>, <&dmac1 0xce>; + dma-names = "tx", "rx", "tx", "rx"; + max-frequency = <195000000>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 314>; + status = "disabled"; + }; + + sdhi1: sd@ee120000 { + compatible = "renesas,sdhi-r8a7742", + "renesas,rcar-gen2-sdhi"; + reg = <0 0xee120000 0 0x328>; + interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 313>; + dmas = <&dmac0 0xc9>, <&dmac0 0xca>, + <&dmac1 0xc9>, <&dmac1 0xca>; + dma-names = "tx", "rx", "tx", "rx"; + max-frequency = <195000000>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 313>; + status = "disabled"; + }; + + sdhi2: sd@ee140000 { + compatible = "renesas,sdhi-r8a7742", + "renesas,rcar-gen2-sdhi"; + reg = <0 0xee140000 0 0x100>; + interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 312>; + dmas = <&dmac0 0xc1>, <&dmac0 0xc2>, + <&dmac1 0xc1>, <&dmac1 0xc2>; + dma-names = "tx", "rx", "tx", "rx"; + max-frequency = <97500000>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 312>; + status = "disabled"; + }; + + sdhi3: sd@ee160000 { + compatible = "renesas,sdhi-r8a7742", + "renesas,rcar-gen2-sdhi"; + reg = <0 0xee160000 0 0x100>; + interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 311>; + dmas = <&dmac0 0xd3>, <&dmac0 0xd4>, + <&dmac1 0xd3>, <&dmac1 0xd4>; + dma-names = "tx", "rx", "tx", "rx"; + max-frequency = <97500000>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 311>; + status = "disabled"; + }; + mmcif1: mmc@ee220000 { compatible = "renesas,mmcif-r8a7742", "renesas,sh-mmcif";
Signature · 1 line
2.7.4
Re: [PATCH 06/17] ARM: dts: r8a7742: Add SDHI nodes
Quoted 4 lines · Lad Prabhakar
Add the SDHI devices nodes to the R8A7742 device tree.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Re: [PATCH 06/17] ARM: dts: r8a7742: Add SDHI nodes
In reply to Lad PrabhakarQuoted 4 lines · Lad Prabhakar
Add the SDHI devices nodes to the R8A7742 device tree.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
i.e. will queue in renesas-devel for v5.9.
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
PATCH 7/17 ARM: dts: r8a7742: Add MMC0 node
In reply to Lad PrabhakarDescribe MMC0 device node in the R8A7742 device tree.
--- arch/arm/boot/dts/r8a7742.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
arch/arm/boot/dts/r8a7742.dtsi +16 -0
@@ -777,6 +777,22 @@ status = "disabled"; }; + mmcif0: mmc@ee200000 { + compatible = "renesas,mmcif-r8a7742", + "renesas,sh-mmcif"; + reg = <0 0xee200000 0 0x80>; + interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 315>; + dmas = <&dmac0 0xd1>, <&dmac0 0xd2>, + <&dmac1 0xd1>, <&dmac1 0xd2>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 315>; + reg-io-width = <4>; + status = "disabled"; + max-frequency = <97500000>; + }; + mmcif1: mmc@ee220000 { compatible = "renesas,mmcif-r8a7742", "renesas,sh-mmcif";
Signature · 1 line
2.7.4
Re: [PATCH 07/17] ARM: dts: r8a7742: Add MMC0 node
Quoted 4 lines · Lad Prabhakar
Describe MMC0 device node in the R8A7742 device tree.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Re: [PATCH 07/17] ARM: dts: r8a7742: Add MMC0 node
In reply to Lad PrabhakarQuoted 4 lines · Lad Prabhakar
Describe MMC0 device node in the R8A7742 device tree.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
i.e. will queue in renesas-devel for v5.9.
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
PATCH 8/17 dt-bindings: ata: renesas,rcar-sata: Add r8a7742 support
In reply to Lad PrabhakarDocument SATA support for the RZ/G1H, which is compatible with R-Car Gen2 SoC family.
--- Documentation/devicetree/bindings/ata/renesas,rcar-sata.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/ata/renesas,rcar-sata.yaml +1 -0
@@ -17,6 +17,7 @@ properties: - renesas,sata-r8a7779 # R-Car H1 - items: - enum: + - renesas,sata-r8a7742 # RZ/G1H - renesas,sata-r8a7790-es1 # R-Car H2 ES1 - renesas,sata-r8a7790 # R-Car H2 other than ES1 - renesas,sata-r8a7791 # R-Car M2-W
Signature · 1 line
2.7.4
Re: [PATCH 08/17] dt-bindings: ata: renesas,rcar-sata: Add r8a7742 support
Quoted 5 lines · Lad Prabhakar
Document SATA support for the RZ/G1H, which is compatible with R-Car Gen2 SoC family.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Re: [PATCH 08/17] dt-bindings: ata: renesas,rcar-sata: Add r8a7742 support
In reply to Lad PrabhakarQuoted 5 lines · Lad Prabhakar
Document SATA support for the RZ/G1H, which is compatible with R-Car Gen2 SoC family.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
Re: [PATCH 08/17] dt-bindings: ata: renesas,rcar-sata: Add r8a7742 support
In reply to Lad PrabhakarQuoted 9 lines · Lad Prabhakar
Document SATA support for the RZ/G1H, which is compatible with R-Car Gen2 SoC family.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>--- Documentation/devicetree/bindings/ata/renesas,rcar-sata.yaml | 1 + 1 file changed, 1 insertion(+)
Applied, thanks!
PATCH 9/17 ARM: dts: r8a7742: Add sata nodes
In reply to Lad PrabhakarAdd the sata devices nodes to the R8A7742 device tree.
--- arch/arm/boot/dts/r8a7742.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
arch/arm/boot/dts/r8a7742.dtsi +22 -0
@@ -809,6 +809,28 @@ max-frequency = <97500000>; }; + sata0: sata@ee300000 { + compatible = "renesas,sata-r8a7742", + "renesas,rcar-gen2-sata"; + reg = <0 0xee300000 0 0x200000>; + interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 815>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 815>; + status = "disabled"; + }; + + sata1: sata@ee500000 { + compatible = "renesas,sata-r8a7742", + "renesas,rcar-gen2-sata"; + reg = <0 0xee500000 0 0x200000>; + interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 814>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 814>; + status = "disabled"; + }; + gic: interrupt-controller@f1001000 { compatible = "arm,gic-400"; #interrupt-cells = <3>;
Signature · 1 line
2.7.4
Re: [PATCH 09/17] ARM: dts: r8a7742: Add sata nodes
Quoted 4 lines · Lad Prabhakar
Add the sata devices nodes to the R8A7742 device tree.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Re: [PATCH 09/17] ARM: dts: r8a7742: Add sata nodes
In reply to Lad PrabhakarQuoted 4 lines · Lad Prabhakar
Add the sata devices nodes to the R8A7742 device tree.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
i.e. will queue in renesas-devel for v5.9.
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
PATCH 10/17 dt-bindings: net: renesas,ravb: Add support for r8a7742 SoC
In reply to Lad PrabhakarDocument RZ/G1H (R8A7742) SoC bindings.
--- Documentation/devicetree/bindings/net/renesas,ravb.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/net/renesas,ravb.txt +1 -0
@@ -5,6 +5,7 @@ interface contains. Required properties: - compatible: Must contain one or more of the following: + - "renesas,etheravb-r8a7742" for the R8A7742 SoC. - "renesas,etheravb-r8a7743" for the R8A7743 SoC. - "renesas,etheravb-r8a7744" for the R8A7744 SoC. - "renesas,etheravb-r8a7745" for the R8A7745 SoC.
Signature · 1 line
2.7.4
Re: [PATCH 10/17] dt-bindings: net: renesas,ravb: Add support for r8a7742 SoC
Quoted 4 lines · Lad Prabhakar
Document RZ/G1H (R8A7742) SoC bindings.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Re: [PATCH 10/17] dt-bindings: net: renesas,ravb: Add support for r8a7742 SoC
In reply to Lad PrabhakarQuoted 4 lines · Lad Prabhakar
Document RZ/G1H (R8A7742) SoC bindings.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
Re: [PATCH 10/17] dt-bindings: net: renesas,ravb: Add support for r8a7742 SoC
In reply to Lad PrabhakarQuoted 8 lines · Lad Prabhakar
Document RZ/G1H (R8A7742) SoC bindings.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>--- Documentation/devicetree/bindings/net/renesas,ravb.txt | 1 + 1 file changed, 1 insertion(+)
Applied, thanks!
PATCH 11/17 dt-bindings: net: renesas,ether: Document R8A7742 SoC
In reply to Lad PrabhakarDocument RZ/G1H (R8A7742) SoC bindings.
--- Documentation/devicetree/bindings/net/renesas,ether.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/net/renesas,ether.yaml +1 -0
@@ -29,6 +29,7 @@ properties: - renesas,rcar-gen1-ether # a generic R-Car Gen1 device - items: - enum: + - renesas,ether-r8a7742 # device is a part of R8A7742 SoC - renesas,ether-r8a7743 # device is a part of R8A7743 SoC - renesas,ether-r8a7745 # device is a part of R8A7745 SoC - renesas,ether-r8a7790 # device is a part of R8A7790 SoC
Signature · 1 line
2.7.4
Re: [PATCH 11/17] dt-bindings: net: renesas,ether: Document R8A7742 SoC
Quoted 4 lines · Lad Prabhakar
Document RZ/G1H (R8A7742) SoC bindings.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Re: [PATCH 11/17] dt-bindings: net: renesas,ether: Document R8A7742 SoC
In reply to Lad PrabhakarQuoted 4 lines · Lad Prabhakar
Document RZ/G1H (R8A7742) SoC bindings.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
Re: [PATCH 11/17] dt-bindings: net: renesas,ether: Document R8A7742 SoC
In reply to Lad PrabhakarQuoted 8 lines · Lad Prabhakar
Document RZ/G1H (R8A7742) SoC bindings.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>--- Documentation/devicetree/bindings/net/renesas,ether.yaml | 1 + 1 file changed, 1 insertion(+)
Applied, thanks!
PATCH 12/17 ARM: dts: r8a7742: Add Ethernet AVB support
In reply to Lad PrabhakarAdd Ethernet AVB support for R8A7742 SoC.
--- arch/arm/boot/dts/r8a7742.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+)
arch/arm/boot/dts/r8a7742.dtsi +13 -0
@@ -547,6 +547,19 @@ dma-channels = <15>; }; + avb: ethernet@e6800000 { + compatible = "renesas,etheravb-r8a7742", + "renesas,etheravb-rcar-gen2"; + reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>; + interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 812>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 812>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + scifa0: serial@e6c40000 { compatible = "renesas,scifa-r8a7742", "renesas,rcar-gen2-scifa", "renesas,scifa";
Signature · 1 line
2.7.4
Re: [PATCH 12/17] ARM: dts: r8a7742: Add Ethernet AVB support
Quoted 4 lines · Lad Prabhakar
Add Ethernet AVB support for R8A7742 SoC.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Re: [PATCH 12/17] ARM: dts: r8a7742: Add Ethernet AVB support
In reply to Lad PrabhakarQuoted 4 lines · Lad Prabhakar
Add Ethernet AVB support for R8A7742 SoC.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
i.e. will queue in renesas-devel for v5.9.
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
PATCH 13/17 ARM: dts: r8a7742: Add Ether support
In reply to Lad PrabhakarDefine the generic R8A7742 part of the Ether device node.
--- arch/arm/boot/dts/r8a7742.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
arch/arm/boot/dts/r8a7742.dtsi +14 -0
@@ -844,6 +844,20 @@ status = "disabled"; }; + ether: ethernet@ee700000 { + compatible = "renesas,ether-r8a7742", + "renesas,rcar-gen2-ether"; + reg = <0 0xee700000 0 0x400>; + interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 813>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 813>; + phy-mode = "rmii"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + gic: interrupt-controller@f1001000 { compatible = "arm,gic-400"; #interrupt-cells = <3>;
Signature · 1 line
2.7.4
Re: [PATCH 13/17] ARM: dts: r8a7742: Add Ether support
Quoted 4 lines · Lad Prabhakar
Define the generic R8A7742 part of the Ether device node.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Re: [PATCH 13/17] ARM: dts: r8a7742: Add Ether support
In reply to Lad PrabhakarQuoted 4 lines · Lad Prabhakar
Define the generic R8A7742 part of the Ether device node.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
i.e. will queue in renesas-devel for v5.9.
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
PATCH 14/17 dt-bindings: power: renesas,apmu: Document r8a7742 support
In reply to Lad PrabhakarDocument APMU and SMP enable method for RZ/G1H (also known as r8a7742) SoC.
--- Documentation/devicetree/bindings/power/renesas,apmu.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/power/renesas,apmu.yaml +1 -0
@@ -18,6 +18,7 @@ properties: compatible: items: - enum: + - renesas,r8a7742-apmu # RZ/G1H - renesas,r8a7743-apmu # RZ/G1M - renesas,r8a7744-apmu # RZ/G1N - renesas,r8a7745-apmu # RZ/G1E
Signature · 1 line
2.7.4
Re: [PATCH 14/17] dt-bindings: power: renesas,apmu: Document r8a7742 support
Quoted 5 lines · Lad Prabhakar
Document APMU and SMP enable method for RZ/G1H (also known as r8a7742) SoC.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Re: [PATCH 14/17] dt-bindings: power: renesas,apmu: Document r8a7742 support
In reply to Lad PrabhakarQuoted 5 lines · Lad Prabhakar
Document APMU and SMP enable method for RZ/G1H (also known as r8a7742) SoC.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
Re: [PATCH 14/17] dt-bindings: power: renesas,apmu: Document r8a7742 support
In reply to Lad PrabhakarQuoted 9 lines · Lad Prabhakar
Document APMU and SMP enable method for RZ/G1H (also known as r8a7742) SoC.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>--- Documentation/devicetree/bindings/power/renesas,apmu.yaml | 1 + 1 file changed, 1 insertion(+)
Applied, thanks!
PATCH 15/17 ARM: dts: r8a7742: Add APMU nodes
In reply to Lad PrabhakarAdd DT nodes for the Advanced Power Management Units (APMU), and use the enable-method to point out that the APMU should be used for SMP support.
--- arch/arm/boot/dts/r8a7742.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+)
arch/arm/boot/dts/r8a7742.dtsi +13 -0
@@ -18,6 +18,7 @@ cpus { #address-cells = <1>; #size-cells = <0>; + enable-method = "renesas,apmu"; cpu0: cpu@0 { device_type = "cpu";
@@ -305,6 +306,18 @@ #reset-cells = <1>; }; + apmu@e6151000 { + compatible = "renesas,r8a7742-apmu", "renesas,apmu"; + reg = <0 0xe6151000 0 0x188>; + cpus = <&cpu4 &cpu5 &cpu6 &cpu7>; + }; + + apmu@e6152000 { + compatible = "renesas,r8a7742-apmu", "renesas,apmu"; + reg = <0 0xe6152000 0 0x188>; + cpus = <&cpu0 &cpu1 &cpu2 &cpu3>; + }; + rst: reset-controller@e6160000 { compatible = "renesas,r8a7742-rst"; reg = <0 0xe6160000 0 0x0100>;
Signature · 1 line
2.7.4
Re: [PATCH 15/17] ARM: dts: r8a7742: Add APMU nodes
Quoted 5 lines · Lad Prabhakar
Add DT nodes for the Advanced Power Management Units (APMU), and use the enable-method to point out that the APMU should be used for SMP support.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Re: [PATCH 15/17] ARM: dts: r8a7742: Add APMU nodes
In reply to Lad PrabhakarHi Prabhakar,
reduced CC list
added CPUidle people
Quoted 5 lines · Lad Prabhakar
Add DT nodes for the Advanced Power Management Units (APMU), and use the enable-method to point out that the APMU should be used for SMP support.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Thanks for your patch!
arch/arm/boot/dts/r8a7742.dtsi line 21
Quoted 7 lines
arch/arm/boot/dts/r8a7742.dtsi +1
-0@@ -18,6 +18,7 @@ cpus { #address-cells = <1>; #size-cells = <0>; + enable-method = "renesas,apmu";
According to Documentation/devicetree/bindings/arm/cpus.yaml, "enable-method" should be a property of the individual CPU nodes, and not of the parent "cpus" container node.
However, so far we always put it in the parents "cpus" node, which works from secondary CPU bringup, but may cause issues with CPUidle?
See also "[PATCH/RFC v2] ARM: dts: r8a7791: Move enable-method to CPU nodes"
https://lore.kernel.org/linux-arm-kernel/[email protected]/
which so far has received no feedback from the DT or CPUidle people.
Thanks!
Quoted 11 lines
arch/arm/boot/dts/r8a7742.dtsi +5
-0cpu0: cpu@0 { device_type = "cpu";@@ -305,6 +306,18 @@ #reset-cells = <1>; }; + apmu@e6151000 { + compatible = "renesas,r8a7742-apmu", "renesas,apmu"; + reg = <0 0xe6151000 0 0x188>; + cpus = <&cpu4 &cpu5 &cpu6 &cpu7>; + };
arch/arm/boot/dts/r8a7742.dtsi line 323
Quoted 10 lines
arch/arm/boot/dts/r8a7742.dtsi +7
-0+ + apmu@e6152000 { + compatible = "renesas,r8a7742-apmu", "renesas,apmu"; + reg = <0 0xe6152000 0 0x188>; + cpus = <&cpu0 &cpu1 &cpu2 &cpu3>; + }; + rst: reset-controller@e6160000 { compatible = "renesas,r8a7742-rst"; reg = <0 0xe6160000 0 0x0100>;
Regardless:
and I'll see what I will queue in renesas-devel for v5.9 ;-)
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
PATCH 16/17 dt-bindings: watchdog: renesas,wdt: Document r8a7742 support
In reply to Lad PrabhakarRZ/G1H (R8A7742) watchdog implementation is compatible with R-Car Gen2, therefore add relevant documentation.
--- Documentation/devicetree/bindings/watchdog/renesas,wdt.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/watchdog/renesas,wdt.txt +1 -0
@@ -5,6 +5,7 @@ Required properties: fallback compatible string when compatible with the generic version. Examples with soctypes are: + - "renesas,r8a7742-wdt" (RZ/G1H) - "renesas,r8a7743-wdt" (RZ/G1M) - "renesas,r8a7744-wdt" (RZ/G1N) - "renesas,r8a7745-wdt" (RZ/G1E)
Signature · 1 line
2.7.4
Re: [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support
Quoted 5 lines · Lad Prabhakar
RZ/G1H (R8A7742) watchdog implementation is compatible with R-Car Gen2, therefore add relevant documentation.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Re: [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support
In reply to Lad PrabhakarQuoted 5 lines · Lad Prabhakar
RZ/G1H (R8A7742) watchdog implementation is compatible with R-Car Gen2, therefore add relevant documentation.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
Re: [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support
In reply to Lad PrabhakarQuoted 7 lines · Lad Prabhakar
RZ/G1H (R8A7742) watchdog implementation is compatible with R-Car Gen2, therefore add relevant documentation.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>Reviewed-by Wolfram Sang <[email protected]>Reviewed-by Geert Uytterhoeven <[email protected]>
Quoted 16 lines
--- Documentation/devicetree/bindings/watchdog/renesas,wdt.txt | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/watchdog/renesas,wdt.txt +1
-0@@ -5,6 +5,7 @@ Required properties: fallback compatible string when compatible with the generic version. Examples with soctypes are: + - "renesas,r8a7742-wdt" (RZ/G1H) - "renesas,r8a7743-wdt" (RZ/G1M) - "renesas,r8a7744-wdt" (RZ/G1N) - "renesas,r8a7745-wdt" (RZ/G1E)
Rob Herring
maintainerRe: [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support
In reply to Lad PrabhakarQuoted 8 lines · Lad Prabhakar
RZ/G1H (R8A7742) watchdog implementation is compatible with R-Car Gen2, therefore add relevant documentation.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>--- Documentation/devicetree/bindings/watchdog/renesas,wdt.txt | 1 + 1 file changed, 1 insertion(+)
Meanwhile in the DT tree, converting this schema landed. Can you prepare a version based on the schema.
Rob
Re: [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support
Hi Rob,
Quoted 5 lines · Rob Herring
Quoted 3 lines · Lad Prabhakar
RZ/G1H (R8A7742) watchdog implementation is compatible with R-Car Gen2, therefore add relevant documentation.
Quoted 9 lines
Quoted 5 lines
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>--- Documentation/devicetree/bindings/watchdog/renesas,wdt.txt | 1 + 1 file changed, 1 insertion(+)Meanwhile in the DT tree, converting this schema landed. Can you prepare a version based on the schema.
This was kindly taken care by Stephen during merge in linux-next [1].
[1] https://lkml.org/lkml/2020/5/26/32
Cheers,
--Prabhakar
Quoted 1 line
Rob
Rob Herring
maintainerRe: [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support
Quoted 15 lines · Prabhakar
Hi Rob,
Quoted 11 lines · Rob Herring
Quoted 8 lines · Lad Prabhakar
RZ/G1H (R8A7742) watchdog implementation is compatible with R-Car Gen2, therefore add relevant documentation.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>--- Documentation/devicetree/bindings/watchdog/renesas,wdt.txt | 1 + 1 file changed, 1 insertion(+)
Quoted 4 lines
Quoted 3 lines
Meanwhile in the DT tree, converting this schema landed. Can you prepare a version based on the schema.
This was kindly taken care by Stephen during merge in linux-next [1].
Yes, I'm aware of that. I was hoping for a better commit message which stands on its own (essentially the one here).
Rob
RE: [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support
Hi Rob,
Quoted 30 lines
-----Original Message-----
From: Rob Herring <[email protected]>
Sent: 27 May 2020 15:38
To: Lad, Prabhakar <[email protected]>
Cc: Prabhakar Mahadev Lad <[email protected]>; Geert Uytterhoeven <[email protected]>; Jens Axboe <[email protected]>; Wolfram Sang <[email protected]>; Ulf Hansson <[email protected]>; Sergei Shtylyov <[email protected]>; David S. Miller <[email protected]>; Wim Van Sebroeck <[email protected]>; Guenter Roeck <[email protected]>; open list:LIBATA SUBSYSTEM (Serial and Parallel ATA drivers) <[email protected]>; open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS <[email protected]>; LKML <[email protected]>; Linux I2C <[email protected]>; Linux MMC List <[email protected]>; netdev <[email protected]>; Linux-Renesas <linux- [email protected]>; Linux Watchdog Mailing List <[email protected]>
Subject: Re: [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 supportQuoted 15 lines · Prabhakar
Hi Rob,
Quoted 11 lines · Rob Herring
Quoted 8 lines · Lad Prabhakar
RZ/G1H (R8A7742) watchdog implementation is compatible with R-Car Gen2, therefore add relevant documentation.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>--- Documentation/devicetree/bindings/watchdog/renesas,wdt.txt | 1 + 1 file changed, 1 insertion(+)
Quoted 8 lines
Quoted 4 lines
Quoted 3 lines
Meanwhile in the DT tree, converting this schema landed. Can you prepare a version based on the schema.
This was kindly taken care by Stephen during merge in linux-next [1].
Yes, I'm aware of that. I was hoping for a better commit message which stands on its own (essentially the one here).
As requested I have posted a patch [1].
[1] https://lore.kernel.org/patchwork/patch/1248597/
Cheers,
--Prabhakar
Renesas Electronics Europe GmbH, Geschaeftsfuehrer/President: Carsten Jauch, Sitz der Gesellschaft/Registered office: Duesseldorf, Arcadiastrasse 10, 40472 Duesseldorf, Germany, Handelsregister/Commercial Register: Duesseldorf, HRB 3708 USt-IDNr./Tax identification no.: DE 119353406 WEEE-Reg.-Nr./WEEE reg. no.: DE 14978647
PATCH 17/17 ARM: dts: r8a7742: Add RWDT node
In reply to Lad PrabhakarAdd a device node for the Watchdog Timer (RWDT) controller on the Renesas RZ/G1H (r8a7742) SoC.
--- arch/arm/boot/dts/r8a7742.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
arch/arm/boot/dts/r8a7742.dtsi +10 -0
@@ -201,6 +201,16 @@ #size-cells = <2>; ranges; + rwdt: watchdog@e6020000 { + compatible = "renesas,r8a7742-wdt", + "renesas,rcar-gen2-wdt"; + reg = <0 0xe6020000 0 0x0c>; + clocks = <&cpg CPG_MOD 402>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 402>; + status = "disabled"; + }; + gpio0: gpio@e6050000 { compatible = "renesas,gpio-r8a7742", "renesas,rcar-gen2-gpio";
Signature · 1 line
2.7.4
Re: [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node
Quoted 5 lines · Lad Prabhakar
Add a device node for the Watchdog Timer (RWDT) controller on the Renesas RZ/G1H (r8a7742) SoC.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
The DTS change looks fine, I checked it against similar SoCs (like the previous patched). So, for that:
However, just to make sure, have you checked the WDT (especially reboot) with SMP and multiple CPU cores enabled? Some early Gen2 SoCs had issues there.
Re: [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node
Hi Wolfram,
Quoted 5 lines · Wolfram Sang
Quoted 3 lines · Lad Prabhakar
Add a device node for the Watchdog Timer (RWDT) controller on the Renesas RZ/G1H (r8a7742) SoC.
Quoted 8 lines
Quoted 2 lines
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>The DTS change looks fine, I checked it against similar SoCs (like the previous patched). So, for that:
Reviewed-by Wolfram Sang <[email protected]>
Thank you for review.
Quoted 4 lines
However, just to make sure, have you checked the WDT (especially reboot) with SMP and multiple CPU cores enabled? Some early Gen2 SoCs had issues there.
Its similar to as seen on Rcar-H2 where just the A15 cores are up and A7 cores fail to boot. Attached is the boot log where reboot works as expected with all A15 core up. Although I have tested the internal release based on 3.10 where all the cores are up which used bootarg apmu=multicluster (https://patchwork.kernel.org/patch/3948791/). So there is some work involved to get all the A7's up and running.
Cheers,
--Prabhakar
iW-RainboW-G21M SPI_LOADER V0.31 2015.11.10
DEVICE SST25VF016B
U-Boot 2013.01.01-gcb82c56-dirty (Aug 18 2016 - 10:13:48)
CPU: Renesas Electronics R8A7742 rev 3.0
Board: RZ/G1H iW-RainboW-G21M-Q7
DRAM: 2 GiB MMC: sh-sdhi: 0, sh_mmcif: 1 SF: Detected SST25VF016B with page size 4 KiB, total 2 MiB In: serial Out: serial Err: serial
Board Info:
BSP Version : iW-PREXZ-SC-01-R2.0-REL1.0-Linux3.10.31
SOM Version : iW-PREXZ-AP-01-R2.0Net: ether_avb Hit any key to stop autoboot: 0
iWave-G21M >bootether_avb Waiting for PHY auto negotiation to complete... doneether_avb: 1000Base /Full
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.10.10
ether_avb:3 is connected to ether_avb. Reconnecting to ether_avb ether_avb Waiting for PHY auto negotiation to complete... doneether_avb: 1000Base /Full
Using ether_avb device
TFTP from server 192.168.10.1; our IP address is 192.168.10.10 Filename 'g1h/uImage'.
Load address: 0x40007fc0
Loading: T #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###########
647.5 KiB/sdone
Bytes transferred = 4927976 (4b31e8 hex)
ether_avb:3 is connected to ether_avb. Reconnecting to ether_avb ether_avb Waiting for PHY auto negotiation to complete... doneether_avb: 1000Base /Full
Using ether_avb device
TFTP from server 192.168.10.1; our IP address is 192.168.10.10 Filename 'g1h/r8a7742-iwg21d-q7.dtb'.
Load address: 0x40f00000
Loading: T ###
4.9 KiB/s done Bytes transferred = 29675 (73eb hex) ## Booting kernel from Legacy Image at 40007fc0 ... Image Name: Linux-5.7.0-rc3-00058-g857bcc07a Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4927912 Bytes = 4.7 MiB
Load Address: 40008000
Entry Point: 40008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 40f00000
Booting using the fdt blob at 0x40f00000
XIP Kernel Image ... OK
OK
Loading Device Tree to 41ef5000, end 41eff3ea ... OK
Unable to update property <NULL>:mac-address, err=FDT_ERR_BADPATH Unable to update property <NULL>:local-mac-address, err=FDT_ERR_BADPATH Unable to update property <NULL>:mac-address, err=FDT_ERR_BADPATH Unable to update property <NULL>:local-mac-address, err=FDT_ERR_BADPATH Unable to update property /iwg21m_q7_common:som-rev, err=FDT_ERR_NOTFOUND Unable to update property /iwg21m_q7_common:vin0-ov5640, err=FDT_ERR_NOTFOUND Unable to update property /iwg21m_q7_common:vin1-ov5640, err=FDT_ERR_NOTFOUND Unable to update property /iwg21m_q7_common:vin2-ov5640, err=FDT_ERR_NOTFOUND Unable to update property /iwg21m_q7_common:vin3-ov5640, err=FDT_ERR_NOTFOUND Unable to update property /iwg21m_q7_common:vin0-status, err=FDT_ERR_NOTFOUND Unable to update property /ethernet@e6800000:status, err=FDT_ERR_NOTFOUND Unable to update property /pfc@e6060000:pinctrl-1, err=FDT_ERR_NOTFOUND Unable to update property /pfc@e6060000:pinctrl-2, err=FDT_ERR_NOTFOUND
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.7.0-rc3-00058-g857bcc07ad1e-dirty (prasmi@prasmi) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04), GNU ld (GNU Binutils for Ubuntu) 2.30) #223 SMP Fri May 15 18:11:09 0 [ 0.000000] CPU: ARMv7 Processor [413fc0f2] revision 2 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache [ 0.000000] OF: fdt: Machine model: iWave Systems RainboW-G21D-Qseven board based on RZ/G1H [ 0.000000] OF: fdt: Ignoring memory block 0x200000000 - 0x240000000 [ 0.000000] printk: debug: ignoring loglevel setting. [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 256 MiB at 0x70000000 [ 0.000000] cma: Reserved 64 MiB at 0x6c000000 [ 0.000000] On node 0 totalpages: 262144 [ 0.000000] Normal zone: 1264 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 161792 pages, LIFO batch:31 [ 0.000000] HighMem zone: 100352 pages, LIFO batch:31 [ 0.000000] percpu: Embedded 19 pages/cpu s47500 r8192 d22132 u77824 [ 0.000000] pcpu-alloc: s47500 r8192 d22132 u77824 alloc=19*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260880 [ 0.000000] Kernel command line: console=ttySC2,115200n8 earlyprintk ignore_loglevel ip=dhcp vmalloc=384M rw root=/dev/nfs nfsroot=192.168.10.1:/mnt/g1h,vers=4,tcp apmu=multicluster [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 698984K/1048576K available (7168K kernel code, 645K rwdata, 2556K rodata, 1024K init, 272K bss, 21912K reserved, 327680K cma-reserved, 73728K highmem) [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] random: get_random_bytes called from start_kernel+0x298/0x490 with crng_init=0 [ 0.000000] arch_timer: cp15 timer(s) running at 10.00MHz (virt). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns [ 0.000004] sched_clock: 56 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns [ 0.000013] Switching to timer-based delay loop, resolution 100ns [ 0.000351] Console: colour dummy device 80x30 [ 0.000382] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=100000) [ 0.000392] pid_max: default: 32768 minimum: 301 [ 0.000535] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.000548] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.001015] CPU: Testing write buffer coherency: ok [ 0.001041] CPU0: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable [ 0.001241] cpu_capacity: missing /cpus/cpu@100 raw capacity [ 0.001248] cpu_capacity: partial information: fallback to 1024 for all CPUs [ 0.001303] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.001919] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.001995] rcu: Hierarchical SRCU implementation. [ 0.002261] Detected Renesas RZ/G1 r8a7742 ES3.0 [ 0.002838] smp: Bringing up secondary CPUs ... [ 0.005006] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.005015] CPU1: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable [ 0.006100] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.006109] CPU2: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable [ 0.007200] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.007209] CPU3: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable [ 0.007948] CPU4: failed to boot: -22 [ 0.008699] CPU5: failed to boot: -22 [ 0.009446] CPU6: failed to boot: -22 [ 0.010236] CPU7: failed to boot: -22 [ 0.010372] smp: Brought up 1 node, 4 CPUs [ 0.010380] SMP: Total of 4 processors activated (80.00 BogoMIPS). [ 0.010387] CPU: All CPU(s) started in SVC mode. [ 0.010974] devtmpfs: initialized [ 0.015160] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0 [ 0.015384] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.015399] futex hash table entries: 2048 (order: 5, 131072 bytes, linear) [ 0.020137] pinctrl core: initialized pinctrl subsystem [ 0.020788] thermal_sys: Registered thermal governor 'step_wise' [ 0.021194] NET: Registered protocol family 16 [ 0.022202] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.022985] No ATAGs? [ 0.023081] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.023091] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.025378] sh-pfc e6060000.pin-controller: r8a77420_pfc support registered [ 0.041108] vgaarb: loaded [ 0.041366] SCSI subsystem initialized [ 0.041515] libata version 3.00 loaded. [ 0.041660] usbcore: registered new interface driver usbfs [ 0.041694] usbcore: registered new interface driver hub [ 0.041784] usbcore: registered new device driver usb [ 0.042248] mc: Linux media interface: v0.10 [ 0.042274] videodev: Linux video capture interface: v2.00 [ 0.042328] pps_core: LinuxPPS API ver. 1 registered [ 0.042335] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]> [ 0.042350] PTP clock support registered [ 0.042881] Advanced Linux Sound Architecture Driver Initialized. [ 0.043502] clocksource: Switched to clocksource arch_sys_counter [ 0.622434] NET: Registered protocol family 2 [ 0.622767] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.622787] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.622834] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.622924] TCP: Hash tables configured (established 8192 bind 8192) [ 0.623017] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.623043] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.623183] NET: Registered protocol family 1 [ 0.623550] RPC: Registered named UNIX socket transport module. [ 0.623558] RPC: Registered udp transport module. [ 0.623564] RPC: Registered tcp transport module. [ 0.623570] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.623580] PCI: CLS 0 bytes, default 64 [ 0.624215] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available [ 0.624391] hw perfevents: /pmu-1: failed to probe PMU! [ 0.624401] hw perfevents: /pmu-1: failed to register PMU devices! [ 0.625672] workingset: timestamp_bits=30 max_order=18 bucket_order=0 [ 0.626110] NFS: Registering the id_resolver key type [ 0.626134] Key type id_resolver registered [ 0.626140] Key type id_legacy registered [ 0.626153] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.626244] bounce: pool size: 64 pages [ 0.626276] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 0.626284] io scheduler mq-deadline registered [ 0.626291] io scheduler kyber registered [ 0.627694] gpio_rcar e6050000.gpio: driving 32 GPIOs [ 0.627994] gpio_rcar e6051000.gpio: driving 30 GPIOs [ 0.628279] gpio_rcar e6052000.gpio: driving 30 GPIOs [ 0.628555] gpio_rcar e6053000.gpio: driving 32 GPIOs [ 0.628829] gpio_rcar e6054000.gpio: driving 32 GPIOs [ 0.629102] gpio_rcar e6055000.gpio: driving 32 GPIOs [ 0.629817] pci-rcar-gen2 ee0b0000.pci: PCI: bus0 revision 11 [ 0.629931] pci-rcar-gen2 ee0b0000.pci: PCI host bridge to bus 0000:01 [ 0.629942] pci_bus 0000:01: root bus resource [mem 0xee0a0000-0xee0a10ff] [ 0.629951] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff] [ 0.629981] pci 0000:01:00.0: [1033:0000] type 00 class 0x060000 [ 0.630007] pci 0000:01:00.0: reg 0x10: [mem 0xee0b0800-0xee0b0bff] [ 0.630019] pci 0000:01:00.0: reg 0x14: [mem 0x40000000-0x7fffffff pref] [ 0.630275] pci 0000:01:01.0: [1033:0035] type 00 class 0x0c0310 [ 0.630299] pci 0000:01:01.0: reg 0x10: [mem 0x00000000-0x00000fff] [ 0.630363] pci 0000:01:01.0: supports D1 D2 [ 0.630371] pci 0000:01:01.0: PME# supported from D0 D1 D2 D3hot [ 0.630567] pci 0000:01:02.0: [1033:00e0] type 00 class 0x0c0320 [ 0.630590] pci 0000:01:02.0: reg 0x10: [mem 0x00000000-0x000000ff] [ 0.630653] pci 0000:01:02.0: supports D1 D2 [ 0.630660] pci 0000:01:02.0: PME# supported from D0 D1 D2 D3hot [ 0.631807] PCI: bus1: Fast back to back transfers disabled [ 0.631818] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 0.631836] pci 0000:01:01.0: BAR 0: assigned [mem 0xee0a0000-0xee0a0fff] [ 0.631848] pci 0000:01:02.0: BAR 0: assigned [mem 0xee0a1000-0xee0a10ff] [ 0.631890] pci 0000:01:01.0: enabling device (0140 -> 0142) [ 0.631926] pci 0000:01:02.0: enabling device (0140 -> 0142) [ 0.641511] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.642431] SuperH (H)SCI(F) driver initialized [ 0.642848] e6c60000.serial: ttySC2 at MMIO 0xe6c60000 (irq = 76, base_baud = 0) is a scifa [ 1.505342] printk: console [ttySC2] enabled [ 1.510110] e6ce0000.serial: ttySC4 at MMIO 0xe6ce0000 (irq = 77, base_baud = 0) is a scifb [ 1.523630] libphy: Fixed MDIO Bus: probed [ 1.528035] CAN device driver interface [ 1.533083] ravb e6800000.ethernet: no valid MAC address supplied, using a random one [ 1.541248] libphy: ravb_mii: probed [ 1.546374] ravb e6800000.ethernet eth0: Base address at 0xe6800000, f6:35:bc:36:75:d3, IRQ 75. [ 1.555246] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.561763] ehci-pci: EHCI PCI platform driver [ 1.566336] ehci-pci 0000:01:02.0: EHCI Host Controller [ 1.571571] ehci-pci 0000:01:02.0: new USB bus registered, assigned bus number 1 [ 1.579110] ehci-pci 0000:01:02.0: irq 107, io mem 0xee0a1000 [ 1.613503] ehci-pci 0000:01:02.0: USB 2.0 started, EHCI 1.00 [ 1.619766] hub 1-0:1.0: USB hub found [ 1.623549] hub 1-0:1.0: 1 port detected [ 1.627831] ehci-platform: EHCI generic platform driver [ 1.633164] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.639358] ohci-pci: OHCI PCI platform driver [ 1.643889] ohci-pci 0000:01:01.0: OHCI PCI host controller [ 1.649464] ohci-pci 0000:01:01.0: new USB bus registered, assigned bus number 2 [ 1.656934] ohci-pci 0000:01:01.0: irq 107, io mem 0xee0a0000 [ 1.754022] hub 2-0:1.0: USB hub found [ 1.757790] hub 2-0:1.0: 1 port detected [ 1.762044] ohci-platform: OHCI generic platform driver [ 1.767706] xhci-hcd ee000000.usb: xHCI Host Controller [ 1.772936] xhci-hcd ee000000.usb: new USB bus registered, assigned bus number 3 [ 1.795359] xhci-hcd ee000000.usb: hcc params 0x014051ce hci version 0x100 quirks 0x0000000000830410 [ 1.804522] xhci-hcd ee000000.usb: irq 106, io mem 0xee000000 [ 1.810914] hub 3-0:1.0: USB hub found [ 1.814697] hub 3-0:1.0: 1 port detected [ 1.818860] xhci-hcd ee000000.usb: xHCI Host Controller [ 1.824096] xhci-hcd ee000000.usb: new USB bus registered, assigned bus number 4 [ 1.831487] xhci-hcd ee000000.usb: Host supports USB 3.0 SuperSpeed [ 1.837819] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 1.846358] hub 4-0:1.0: USB hub found [ 1.850125] hub 4-0:1.0: 1 port detected [ 1.854508] usbcore: registered new interface driver usb-storage [ 1.860912] renesas_usbhs e6590000.usb: host probed [ 1.865809] renesas_usbhs e6590000.usb: no transceiver found [ 1.871560] renesas_usbhs e6590000.usb: gadget probed [ 1.876682] renesas_usbhs e6590000.usb: probed [ 1.881628] i2c /dev entries driver [ 1.885986] i2c-rcar e6530000.i2c: probed [ 1.893044] sh_mobile_sdhi ee140000.sd: Got CD GPIO [ 1.897963] sh_mobile_sdhi ee140000.sd: Got WP GPIO [ 1.943520] sh_mmcif ee220000.mmc: Chip version 0x0003, clock rate 12MHz [ 1.950761] usbcore: registered new interface driver usbhid [ 1.956335] usbhid: USB HID core driver [ 1.963818] sgtl5000 0-000a: sgtl5000 revision 0x11 [ 1.976816] rcar_sound ec500000.sound: probed [ 1.981527] NET: Registered protocol family 10 [ 1.986614] Segment Routing with IPv6 [ 1.990318] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 1.996688] NET: Registered protocol family 17 [ 2.001130] can: controller area network core (rev 20170425 abi 9) [ 2.007356] NET: Registered protocol family 29 [ 2.011794] can: raw protocol (rev 20170425) [ 2.016066] can: broadcast manager protocol (rev 20170425 t) [ 2.021721] can: netlink gateway (rev 20190810) max_hops=1 [ 2.027268] Key type dns_resolver registered [ 2.031658] Registering SWP/SWPB emulation handler [ 2.049452] renesas_irqc e61c0000.interrupt-controller: driving 4 irqs [ 2.057368] sh_mobile_sdhi ee140000.sd: Got CD GPIO [ 2.062267] sh_mobile_sdhi ee140000.sd: Got WP GPIO [ 2.067350] usb 1-1: new high-speed USB device number 2 using ehci-pci [ 2.123791] random: fast init done [ 2.183730] sh_mobile_sdhi ee140000.sd: mmc1 base at 0xee140000, max clock rate 97 MHz [ 2.194666] asoc-simple-card sound: sgtl5000 <-> ec500000.sound mapping ok [ 2.263517] Micrel KSZ9031 Gigabit PHY e6800000.ethernet-ffffffff:03: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=e6800000.ethernet-ffffffff:03, irq=POLL) [ 2.284401] hub 1-1:1.0: USB hub found [ 2.288213] hub 1-1:1.0: 2 ports detected [ 2.461776] mmc0: new high speed MMC card at address 0001 [ 2.467624] mmcblk0: mmc0:0001 MMC04G 3.52 GiB [ 2.472282] mmcblk0boot0: mmc0:0001 MMC04G partition 1 16.0 MiB [ 2.478353] mmcblk0boot1: mmc0:0001 MMC04G partition 2 16.0 MiB [ 2.486474] mmcblk0: p1 [ 6.484450] ravb e6800000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 6.513521] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 6.543501] Sending DHCP requests ., OK [ 7.607358] IP-Config: Got DHCP answer from 192.168.10.1, my address is 192.168.10.131 [ 7.615282] IP-Config: Complete: [ 7.618506] device=eth0, hwaddr=f6:35:bc:36:75:d3, ipaddr=192.168.10.131, mask=255.255.255.0, gw=192.168.10.1 [ 7.628853] host=192.168.10.131, domain=example.org, nis-domain=(none) [ 7.635814] bootserver=192.168.10.1, rootserver=192.168.10.1, rootpath= [ 7.635817] nameserver0=192.168.10.1 [ 7.647172] ALSA device list: [ 7.650136] #0: rsnd-dai.0-sgtl5000 [ 7.653937] SDHI2 Vcc: disabling [ 7.657163] SDHI2 VccQ: disabling [ 7.689869] VFS: Mounted root (nfs4 filesystem) on device 0:14. [ 7.696616] devtmpfs: mounted [ 7.700259] Freeing unused kernel memory: 1024K [ 7.753689] Run /sbin/init as init process [ 7.757778] with arguments: [ 7.760738] /sbin/init [ 7.763438] earlyprintk [ 7.766239] with environment: [ 7.769373] HOME=/ [ 7.771726] TERM=linux [ 7.774446] apmu=multicluster
INIT: version 2.88 booting
Framebuffer /dev/fb0 not detected
Boot splashscreen disabled
Starting udev
[ 8.419998] udevd[171]: starting version 3.2.2 [ 8.453832] random: udevd: uninitialized urandom read (16 bytes read) [ 8.463252] random: udevd: uninitialized urandom read (16 bytes read) [ 8.473886] random: udevd: uninitialized urandom read (16 bytes read) [ 8.600827] udevd[172]: starting eudev-3.2.2 hwclock: can't open '/dev/misc/rtc': No such file or directory Wed Apr 15 18:16:48 UTC 2020 hwclock: can't open '/dev/misc/rtc': No such file or directory [ 9.714098] urandom_read: 1 callbacks suppressed [ 9.714102] random: dd: uninitialized urandom read (512 bytes read) INIT: Entering runlevel: 5 Configuring network interfaces... RTNETLINK answers: File exists [ 10.051752] random: crng init done
Successfully initialized wpa_supplicant
nl80211: 'nl80211' generic netlink not found
Failed to initialize driver 'nl80211'
wlan0: Unsupported driver 'nl80211'
Cannot find device "wlan0"
ifup skipped for nfsroot interface eth0
run-parts: /etc/network/if-pre-up.d/nfsroot exited with code 1 Starting system message bus: dbus.
PVR_SRVKM_PARAMS=
Module pvrsrvkm failed to load. Retrying.
Running /sbin/depmod
[ 10.841416] Mass Storage Function, version: 2009/09/11 [ 10.846619] LUN: removable file: (no medium) [ 10.850994] LUN: removable file: /dev/mmcblk0 [ 10.855360] Number of LUNs=1 [ 10.858338] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11 [ 10.865462] g_mass_storage gadget: userspace failed to provide iSerialNumber [ 10.872501] g_mass_storage gadget: g_mass_storage ready
Simple mixer control 'DVC In',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 8388607
Front Left: Capture 4194304 [50%]
Front Right: Capture 4194304 [50%]
Simple mixer control 'DVC Out',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 8388607
Mono:
Front Left: Playback 4194304 [50%]
Front Right: Playback 4194304 [50%]
Starting Dropbear SSH server: dropbear.
Starting rpcbind daemon...done.
Starting atd: OK
Starting bluetooth: bluetoothd.
hwclock: can't open '/dev/misc/rtc': No such file or directory Simple mixer control 'DVC In',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 8388607
Front Left: Capture 4194304 [50%]
Front Right: Capture 4194304 [50%]
Simple mixer control 'DVC Out',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 8388607
Mono:
Front Left: Playback 4194304 [50%]
Front Right: Playback 4194304 [50%]
Starting PulseAudio
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 192
Mono:
Front Left: Playback 135 [70%]
Front Right: Playback 135 [70%]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch pswitch-joined Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 127 [100%] [12.00dB] [on]
Front Right: Playback 127 [100%] [12.00dB] [on]
Simple mixer control 'Mic',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 3
Mono: 2 [67%] [30.00dB]/etc/rc5.d/S20pulseaudio: line 19: pulseaudio: command not found [ ok ]rting Avahi mDNS/DNS-SD Daemon: avahi-daemon Starting crond: OK
umount: /mnt/.psplash: not mounted.
BSP: RZG1H/iWave/2.1.4
LSI: RZG1H
Version: 2.1.4
iwg21m login: root
Simple mixer control 'DVC In',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 8388607
Front Left: Capture 4194304 [50%]
Front Right: Capture 4194304 [50%]
Simple mixer control 'DVC Out',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 8388607
Mono:
Front Left: Playback 4194304 [50%]
Front Right: Playback 4194304 [50%]
root@iwg21m:~#
root@iwg21m:~#
root@iwg21m:~#
root@iwg21m:~# reboot -p
Broadcast message from root@iwg21m (ttySC2) (Wed Apr 15 18:17:07 2020):
INIT: Sending processes the TERM signal
Stopping Weston
Stopping ohci-pci
rmmod: ERROR: Module ohci_pci is builtin.
Stopping ohci-hcd
rmmod: ERROR: Module ohci_hcd is builtin.
Stopping Dropbear SSH server: stopped /usr/sbin/dropbear (pid 424) dropbear.
[ ok ]pping Avahi mDNS/DNS-SD Daemon: avahi-daemon
Stopping atd: OK
Stopping bluetooth: bluetoothd.
Stopping system message bus: dbus.
hwclock: can't open '/dev/misc/rtc': No such file or directory Framebuffer /dev/fb0 not detected
Boot splashscreen disabled
Simple mixer control 'DVC In',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 8388607
Front Left: Capture 4194304 [50%]
Front Right: Capture 4194304 [50%]
Simple mixer control 'DVC Out',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 8388607
Mono:
Front Left: Playback 4194304 [50%]
Front Right: Playback 4194304 [50%]
Stoping PulseAudio
Stopping crond: OK
Stopping rpcbind daemon...
done.
modprobe: FATAL: Module dc_linuxfb not found.
Warning: Could not unload dc_linuxfb
PVRSRVDebugLogDeinitUM 973: create key failed
modprobe: FATAL: Module pvrsrvkm not found.
Couldn't unload modules
not deconfiguring network interfaces: network file systems still mounted. Sending all processes the TERM signal...
logout
Sending all processes the KILL signal...
Unmounting remote filesystems...
Deactivating swap...
Unmounting local filesystems...
Rebooting... [ 37.924556] reboot: Restarting system
iW-RainboW-G21M SPI_LOADER V0.31 2015.11.10
DEVICE SST25VF016B
U-Boot 2013.01.01-gcb82c56-dirty (Aug 18 2016 - 10:13:48)
CPU: Renesas Electronics R8A7742 rev 3.0
Board: RZ/G1H iW-RainboW-G21M-Q7
DRAM: 2 GiB MMC: sh-sdhi: 0, sh_mmcif: 1 SF: Detected SST25VF016B with page size 4 KiB, total 2 MiB In: serial Out: serial Err: serial
Board Info:
BSP Version : iW-PREXZ-SC-01-R2.0-REL1.0-Linux3.10.31
SOM Version : iW-PREXZ-AP-01-R2.0Net: ether_avb Hit any key to stop autoboot: 0
iWave-G21M >
Re: [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node
Quoted 7 lines
Its similar to as seen on Rcar-H2 where just the A15 cores are up and A7 cores fail to boot. Attached is the boot log where reboot works as expected with all A15 core up. Although I have tested the internal release based on 3.10 where all the cores are up which used bootarg apmu=multicluster (https://patchwork.kernel.org/patch/3948791/). So there is some work involved to get all the A7's up and running.
Sounds good enough to me. Thanks for the heads up!
Re: [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node
In reply to Lad PrabhakarHi Prabhakar,
Quoted 5 lines · Lad Prabhakar
Add a device node for the Watchdog Timer (RWDT) controller on the Renesas RZ/G1H (r8a7742) SoC.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>
Thanks for your patch!
Quoted 4 lines
arch/arm/boot/dts/r8a7742.dtsi +0
-0@@ -201,6 +201,16 @@ #size-cells = <2>;
arch/arm/boot/dts/r8a7742.dtsi line 211
Quoted 10 lines
arch/arm/boot/dts/r8a7742.dtsi +8
-0ranges; + rwdt: watchdog@e6020000 { + compatible = "renesas,r8a7742-wdt", + "renesas,rcar-gen2-wdt"; + reg = <0 0xe6020000 0 0x0c>; + clocks = <&cpg CPG_MOD 402>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 402>; + status = "disabled";
Missing "interrupts" property.
arch/arm/boot/dts/r8a7742.dtsi line 216
Quoted 5 lines
arch/arm/boot/dts/r8a7742.dtsi +2
-0+ }; + gpio0: gpio@e6050000 { compatible = "renesas,gpio-r8a7742", "renesas,rcar-gen2-gpio";
The rest looks fine, so with the above fixed:
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
Re: [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node
Hi Geert,
Thank you for the review.
Quoted 19 lines · Geert Uytterhoeven
Hi Prabhakar,
Quoted 5 lines · Lad Prabhakar
Add a device node for the Watchdog Timer (RWDT) controller on the Renesas RZ/G1H (r8a7742) SoC.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>Thanks for your patch!
Quoted 6 lines
arch/arm/boot/dts/r8a7742.dtsi +0
-0@@ -201,6 +201,16 @@ #size-cells = <2>; ranges;
Quoted 11 lines
arch/arm/boot/dts/r8a7742.dtsi line 211
Quoted 8 lines
arch/arm/boot/dts/r8a7742.dtsi +8
-0+ rwdt: watchdog@e6020000 { + compatible = "renesas,r8a7742-wdt", + "renesas,rcar-gen2-wdt"; + reg = <0 0xe6020000 0 0x0c>; + clocks = <&cpg CPG_MOD 402>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 402>; + status = "disabled";Missing "interrupts" property.
"interrupts" property isn't used by rwdt driver and can be dropped from bindings file.
Cheers,
--Prabhakar
Quoted 19 lines
arch/arm/boot/dts/r8a7742.dtsi line 216
Quoted 5 lines
arch/arm/boot/dts/r8a7742.dtsi +2
-0+ }; + gpio0: gpio@e6050000 { compatible = "renesas,gpio-r8a7742", "renesas,rcar-gen2-gpio";The rest looks fine, so with the above fixed:
Reviewed-by Geert Uytterhoeven <[email protected]>Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]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
Re: [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node
Hello!
Quoted 25 lines · Prabhakar
Quoted 14 lines
Quoted 5 lines
Add a device node for the Watchdog Timer (RWDT) controller on the Renesas RZ/G1H (r8a7742) SoC.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>Thanks for your patch!
Quoted 6 lines
arch/arm/boot/dts/r8a7742.dtsi +0
-0@@ -201,6 +201,16 @@ #size-cells = <2>; ranges;Quoted 11 lines
arch/arm/boot/dts/r8a7742.dtsi line 211
Quoted 8 lines
arch/arm/boot/dts/r8a7742.dtsi +8
-0+ rwdt: watchdog@e6020000 { + compatible = "renesas,r8a7742-wdt", + "renesas,rcar-gen2-wdt"; + reg = <0 0xe6020000 0 0x0c>; + clocks = <&cpg CPG_MOD 402>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 402>; + status = "disabled";Missing "interrupts" property.
Quoted 2 lines
"interrupts" property isn't used by rwdt driver and can be dropped from bindings file.
DT describes the hardware, not its driver's abilities.
Quoted 2 lines
Cheers,
--Prabhakar
MBR, Sergei
Re: [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node
Hi Sergei,
Quoted 30 lines · Sergei Shtylyov
Hello!
Quoted 25 lines · Prabhakar
Quoted 25 lines
Quoted 5 lines
Add a device node for the Watchdog Timer (RWDT) controller on the Renesas RZ/G1H (r8a7742) SoC.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>Thanks for your patch!
Quoted 4 lines
arch/arm/boot/dts/r8a7742.dtsi +0
-0@@ -201,6 +201,16 @@ #size-cells = <2>;arch/arm/boot/dts/r8a7742.dtsi line 211
Quoted 10 lines
arch/arm/boot/dts/r8a7742.dtsi +8
-0ranges; + rwdt: watchdog@e6020000 { + compatible = "renesas,r8a7742-wdt", + "renesas,rcar-gen2-wdt"; + reg = <0 0xe6020000 0 0x0c>; + clocks = <&cpg CPG_MOD 402>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 402>; + status = "disabled";Missing "interrupts" property.
Quoted 5 lines
Quoted 2 lines
"interrupts" property isn't used by rwdt driver and can be dropped from bindings file.
DT describes the hardware, not its driver's abilities.
Agreed will add, I had followed it on similar lines of r8a7743/44.
Cheers,
--Prabhakar
Re: [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node
Quoted 28 lines · Prabhakar
Quoted 26 lines · Sergei Shtylyov
Quoted 25 lines · Prabhakar
Quoted 25 lines
Quoted 5 lines
Add a device node for the Watchdog Timer (RWDT) controller on the Renesas RZ/G1H (r8a7742) SoC.
Signed-off-by Lad Prabhakar <[email protected]>Reviewed-by Marian-Cristian Rotariu <[email protected]>Thanks for your patch!
Quoted 4 lines
arch/arm/boot/dts/r8a7742.dtsi +0
-0@@ -201,6 +201,16 @@ #size-cells = <2>;arch/arm/boot/dts/r8a7742.dtsi line 211
Quoted 10 lines
arch/arm/boot/dts/r8a7742.dtsi +8
-0ranges; + rwdt: watchdog@e6020000 { + compatible = "renesas,r8a7742-wdt", + "renesas,rcar-gen2-wdt"; + reg = <0 0xe6020000 0 0x0c>; + clocks = <&cpg CPG_MOD 402>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 402>; + status = "disabled";Missing "interrupts" property.
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
"interrupts" property isn't used by rwdt driver and can be dropped from bindings file.
DT describes the hardware, not its driver's abilities.
Thanks for chiming in, Sergei!
Quoted 1 line
Agreed will add, I had followed it on similar lines of r8a7743/44.
Yeah. I know it's missing for a few other SoCs, too.
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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