* [PATCH 0/2] arm64: dts: r8a77965: salvator-x(s): Enable s2ram and PMIC
@ 2018-02-26 15:42 ` Geert Uytterhoeven
0 siblings, 0 replies; 12+ messages in thread
From: Geert Uytterhoeven @ 2018-02-26 15:42 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: linux-renesas-soc, devicetree, Geert Uytterhoeven, linux-arm-kernel
Hi Simon, Magnus,
This patch populates the placeholders in the R-Car M3-N DTS file for the
IIC Bus Interface for DVFS (IIC for DVFS) and Interrupt Controller for
External Devices (INTC-EX) device nodes.
After applying the first patch, you can start using s2ram (PSCI
suspend), like on other Salvator-X(S) boards
(https://elinux.org/R-Car/Boards/Salvator-XS#PSCI_System_Suspend).
The second patch enables dependencies for the BD9571MWV PMIC device,
which is described in salvator-common.dtsi. Note that operation still
depends on "[PATCH] pinctrl: sh-pfc: r8a77965: Add support for INTC-EX
IRQ pins".
Thanks!
Geert Uytterhoeven (2):
arm64: dts: r8a77965: Add IIC-DVFS device node
arm64: dts: r8a77965: Add INTC-EX device node
arch/arm64/boot/dts/renesas/r8a77965.dtsi | 27 ++++++++++++++++++++++++---
1 file changed, 24 insertions(+), 3 deletions(-)
--
2.7.4
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 0/2] arm64: dts: r8a77965: salvator-x(s): Enable s2ram and PMIC
@ 2018-02-26 15:42 ` Geert Uytterhoeven
0 siblings, 0 replies; 12+ messages in thread
From: Geert Uytterhoeven @ 2018-02-26 15:42 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: linux-renesas-soc, devicetree, linux-arm-kernel, Geert Uytterhoeven
Hi Simon, Magnus,
This patch populates the placeholders in the R-Car M3-N DTS file for the
IIC Bus Interface for DVFS (IIC for DVFS) and Interrupt Controller for
External Devices (INTC-EX) device nodes.
After applying the first patch, you can start using s2ram (PSCI
suspend), like on other Salvator-X(S) boards
(https://elinux.org/R-Car/Boards/Salvator-XS#PSCI_System_Suspend).
The second patch enables dependencies for the BD9571MWV PMIC device,
which is described in salvator-common.dtsi. Note that operation still
depends on "[PATCH] pinctrl: sh-pfc: r8a77965: Add support for INTC-EX
IRQ pins".
Thanks!
Geert Uytterhoeven (2):
arm64: dts: r8a77965: Add IIC-DVFS device node
arm64: dts: r8a77965: Add INTC-EX device node
arch/arm64/boot/dts/renesas/r8a77965.dtsi | 27 ++++++++++++++++++++++++---
1 file changed, 24 insertions(+), 3 deletions(-)
--
2.7.4
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 0/2] arm64: dts: r8a77965: salvator-x(s): Enable s2ram and PMIC
@ 2018-02-26 15:42 ` Geert Uytterhoeven
0 siblings, 0 replies; 12+ messages in thread
From: Geert Uytterhoeven @ 2018-02-26 15:42 UTC (permalink / raw)
To: linux-arm-kernel
Hi Simon, Magnus,
This patch populates the placeholders in the R-Car M3-N DTS file for the
IIC Bus Interface for DVFS (IIC for DVFS) and Interrupt Controller for
External Devices (INTC-EX) device nodes.
After applying the first patch, you can start using s2ram (PSCI
suspend), like on other Salvator-X(S) boards
(https://elinux.org/R-Car/Boards/Salvator-XS#PSCI_System_Suspend).
The second patch enables dependencies for the BD9571MWV PMIC device,
which is described in salvator-common.dtsi. Note that operation still
depends on "[PATCH] pinctrl: sh-pfc: r8a77965: Add support for INTC-EX
IRQ pins".
Thanks!
Geert Uytterhoeven (2):
arm64: dts: r8a77965: Add IIC-DVFS device node
arm64: dts: r8a77965: Add INTC-EX device node
arch/arm64/boot/dts/renesas/r8a77965.dtsi | 27 ++++++++++++++++++++++++---
1 file changed, 24 insertions(+), 3 deletions(-)
--
2.7.4
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 1/2] arm64: dts: r8a77965: Add IIC-DVFS device node
2018-02-26 15:42 ` Geert Uytterhoeven
(?)
@ 2018-02-26 15:42 ` Geert Uytterhoeven
-1 siblings, 0 replies; 12+ messages in thread
From: Geert Uytterhoeven @ 2018-02-26 15:42 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: linux-renesas-soc, devicetree, Geert Uytterhoeven, linux-arm-kernel
Populate the device node for the IIC Bus Interface for DVFS (IIC for
DVFS) on R-Car M3-N, and add an alias to fix its bus number.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm64/boot/dts/renesas/r8a77965.dtsi | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
index ebda00397d5310a1..7435297d2581c410 100644
--- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
@@ -18,6 +18,10 @@
#address-cells = <2>;
#size-cells = <2>;
+ aliases {
+ i2c7 = &i2c_dvfs;
+ };
+
psci {
compatible = "arm,psci-1.0", "arm,psci-0.2";
method = "smc";
@@ -700,9 +704,17 @@
i2c_dvfs: i2c@e60b0000 {
#address-cells = <1>;
#size-cells = <0>;
-
+ compatible = "renesas,iic-r8a77965",
+ "renesas,rcar-gen3-iic",
+ "renesas,rmobile-iic";
reg = <0 0xe60b0000 0 0x425>;
- /* placeholder */
+ interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 926>;
+ power-domains = <&sysc 32>;
+ resets = <&cpg 926>;
+ dmas = <&dmac0 0x11>, <&dmac0 0x10>;
+ dma-names = "tx", "rx";
+ status = "disabled";
};
pwm0: pwm@e6e30000 {
--
2.7.4
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 1/2] arm64: dts: r8a77965: Add IIC-DVFS device node
@ 2018-02-26 15:42 ` Geert Uytterhoeven
0 siblings, 0 replies; 12+ messages in thread
From: Geert Uytterhoeven @ 2018-02-26 15:42 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: linux-renesas-soc, devicetree, linux-arm-kernel, Geert Uytterhoeven
Populate the device node for the IIC Bus Interface for DVFS (IIC for
DVFS) on R-Car M3-N, and add an alias to fix its bus number.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm64/boot/dts/renesas/r8a77965.dtsi | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
index ebda00397d5310a1..7435297d2581c410 100644
--- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
@@ -18,6 +18,10 @@
#address-cells = <2>;
#size-cells = <2>;
+ aliases {
+ i2c7 = &i2c_dvfs;
+ };
+
psci {
compatible = "arm,psci-1.0", "arm,psci-0.2";
method = "smc";
@@ -700,9 +704,17 @@
i2c_dvfs: i2c@e60b0000 {
#address-cells = <1>;
#size-cells = <0>;
-
+ compatible = "renesas,iic-r8a77965",
+ "renesas,rcar-gen3-iic",
+ "renesas,rmobile-iic";
reg = <0 0xe60b0000 0 0x425>;
- /* placeholder */
+ interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 926>;
+ power-domains = <&sysc 32>;
+ resets = <&cpg 926>;
+ dmas = <&dmac0 0x11>, <&dmac0 0x10>;
+ dma-names = "tx", "rx";
+ status = "disabled";
};
pwm0: pwm@e6e30000 {
--
2.7.4
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 1/2] arm64: dts: r8a77965: Add IIC-DVFS device node
@ 2018-02-26 15:42 ` Geert Uytterhoeven
0 siblings, 0 replies; 12+ messages in thread
From: Geert Uytterhoeven @ 2018-02-26 15:42 UTC (permalink / raw)
To: linux-arm-kernel
Populate the device node for the IIC Bus Interface for DVFS (IIC for
DVFS) on R-Car M3-N, and add an alias to fix its bus number.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm64/boot/dts/renesas/r8a77965.dtsi | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
index ebda00397d5310a1..7435297d2581c410 100644
--- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
@@ -18,6 +18,10 @@
#address-cells = <2>;
#size-cells = <2>;
+ aliases {
+ i2c7 = &i2c_dvfs;
+ };
+
psci {
compatible = "arm,psci-1.0", "arm,psci-0.2";
method = "smc";
@@ -700,9 +704,17 @@
i2c_dvfs: i2c at e60b0000 {
#address-cells = <1>;
#size-cells = <0>;
-
+ compatible = "renesas,iic-r8a77965",
+ "renesas,rcar-gen3-iic",
+ "renesas,rmobile-iic";
reg = <0 0xe60b0000 0 0x425>;
- /* placeholder */
+ interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 926>;
+ power-domains = <&sysc 32>;
+ resets = <&cpg 926>;
+ dmas = <&dmac0 0x11>, <&dmac0 0x10>;
+ dma-names = "tx", "rx";
+ status = "disabled";
};
pwm0: pwm at e6e30000 {
--
2.7.4
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 2/2] arm64: dts: r8a77965: Add INTC-EX device node
2018-02-26 15:42 ` Geert Uytterhoeven
(?)
@ 2018-02-26 15:42 ` Geert Uytterhoeven
-1 siblings, 0 replies; 12+ messages in thread
From: Geert Uytterhoeven @ 2018-02-26 15:42 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: linux-renesas-soc, devicetree, Geert Uytterhoeven, linux-arm-kernel
Populate the device node for the Interrupt Controller for External
Devices (INTC-EX) on R-Car M3-N, which serves external IRQ pins
IRQ[0-5].
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm64/boot/dts/renesas/r8a77965.dtsi | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
index 7435297d2581c410..2f3d1784343cf3ec 100644
--- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
@@ -320,10 +320,19 @@
};
intc_ex: interrupt-controller@e61c0000 {
+ compatible = "renesas,intc-ex-r8a77965", "renesas,irqc";
#interrupt-cells = <2>;
interrupt-controller;
reg = <0 0xe61c0000 0 0x200>;
- /* placeholder */
+ interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
+ GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
+ GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
+ GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
+ GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
+ GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 407>;
+ power-domains = <&sysc 32>;
+ resets = <&cpg 407>;
};
dmac0: dma-controller@e6700000 {
--
2.7.4
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 2/2] arm64: dts: r8a77965: Add INTC-EX device node
@ 2018-02-26 15:42 ` Geert Uytterhoeven
0 siblings, 0 replies; 12+ messages in thread
From: Geert Uytterhoeven @ 2018-02-26 15:42 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: linux-renesas-soc, devicetree, linux-arm-kernel, Geert Uytterhoeven
Populate the device node for the Interrupt Controller for External
Devices (INTC-EX) on R-Car M3-N, which serves external IRQ pins
IRQ[0-5].
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm64/boot/dts/renesas/r8a77965.dtsi | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
index 7435297d2581c410..2f3d1784343cf3ec 100644
--- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
@@ -320,10 +320,19 @@
};
intc_ex: interrupt-controller@e61c0000 {
+ compatible = "renesas,intc-ex-r8a77965", "renesas,irqc";
#interrupt-cells = <2>;
interrupt-controller;
reg = <0 0xe61c0000 0 0x200>;
- /* placeholder */
+ interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
+ GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
+ GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
+ GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
+ GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
+ GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 407>;
+ power-domains = <&sysc 32>;
+ resets = <&cpg 407>;
};
dmac0: dma-controller@e6700000 {
--
2.7.4
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 2/2] arm64: dts: r8a77965: Add INTC-EX device node
@ 2018-02-26 15:42 ` Geert Uytterhoeven
0 siblings, 0 replies; 12+ messages in thread
From: Geert Uytterhoeven @ 2018-02-26 15:42 UTC (permalink / raw)
To: linux-arm-kernel
Populate the device node for the Interrupt Controller for External
Devices (INTC-EX) on R-Car M3-N, which serves external IRQ pins
IRQ[0-5].
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm64/boot/dts/renesas/r8a77965.dtsi | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
index 7435297d2581c410..2f3d1784343cf3ec 100644
--- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
@@ -320,10 +320,19 @@
};
intc_ex: interrupt-controller at e61c0000 {
+ compatible = "renesas,intc-ex-r8a77965", "renesas,irqc";
#interrupt-cells = <2>;
interrupt-controller;
reg = <0 0xe61c0000 0 0x200>;
- /* placeholder */
+ interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
+ GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
+ GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
+ GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
+ GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
+ GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 407>;
+ power-domains = <&sysc 32>;
+ resets = <&cpg 407>;
};
dmac0: dma-controller at e6700000 {
--
2.7.4
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH 0/2] arm64: dts: r8a77965: salvator-x(s): Enable s2ram and PMIC
2018-02-26 15:42 ` Geert Uytterhoeven
(?)
@ 2018-02-27 8:09 ` Simon Horman
-1 siblings, 0 replies; 12+ messages in thread
From: Simon Horman @ 2018-02-27 8:09 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: linux-renesas-soc, devicetree, Magnus Damm, linux-arm-kernel
On Mon, Feb 26, 2018 at 04:42:21PM +0100, Geert Uytterhoeven wrote:
> Hi Simon, Magnus,
>
> This patch populates the placeholders in the R-Car M3-N DTS file for the
> IIC Bus Interface for DVFS (IIC for DVFS) and Interrupt Controller for
> External Devices (INTC-EX) device nodes.
>
> After applying the first patch, you can start using s2ram (PSCI
> suspend), like on other Salvator-X(S) boards
> (https://elinux.org/R-Car/Boards/Salvator-XS#PSCI_System_Suspend).
>
> The second patch enables dependencies for the BD9571MWV PMIC device,
> which is described in salvator-common.dtsi. Note that operation still
> depends on "[PATCH] pinctrl: sh-pfc: r8a77965: Add support for INTC-EX
> IRQ pins".
>
> Thanks!
Thanks, applied.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 0/2] arm64: dts: r8a77965: salvator-x(s): Enable s2ram and PMIC
@ 2018-02-27 8:09 ` Simon Horman
0 siblings, 0 replies; 12+ messages in thread
From: Simon Horman @ 2018-02-27 8:09 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Magnus Damm, linux-renesas-soc, devicetree, linux-arm-kernel
On Mon, Feb 26, 2018 at 04:42:21PM +0100, Geert Uytterhoeven wrote:
> Hi Simon, Magnus,
>
> This patch populates the placeholders in the R-Car M3-N DTS file for the
> IIC Bus Interface for DVFS (IIC for DVFS) and Interrupt Controller for
> External Devices (INTC-EX) device nodes.
>
> After applying the first patch, you can start using s2ram (PSCI
> suspend), like on other Salvator-X(S) boards
> (https://elinux.org/R-Car/Boards/Salvator-XS#PSCI_System_Suspend).
>
> The second patch enables dependencies for the BD9571MWV PMIC device,
> which is described in salvator-common.dtsi. Note that operation still
> depends on "[PATCH] pinctrl: sh-pfc: r8a77965: Add support for INTC-EX
> IRQ pins".
>
> Thanks!
Thanks, applied.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 0/2] arm64: dts: r8a77965: salvator-x(s): Enable s2ram and PMIC
@ 2018-02-27 8:09 ` Simon Horman
0 siblings, 0 replies; 12+ messages in thread
From: Simon Horman @ 2018-02-27 8:09 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Feb 26, 2018 at 04:42:21PM +0100, Geert Uytterhoeven wrote:
> Hi Simon, Magnus,
>
> This patch populates the placeholders in the R-Car M3-N DTS file for the
> IIC Bus Interface for DVFS (IIC for DVFS) and Interrupt Controller for
> External Devices (INTC-EX) device nodes.
>
> After applying the first patch, you can start using s2ram (PSCI
> suspend), like on other Salvator-X(S) boards
> (https://elinux.org/R-Car/Boards/Salvator-XS#PSCI_System_Suspend).
>
> The second patch enables dependencies for the BD9571MWV PMIC device,
> which is described in salvator-common.dtsi. Note that operation still
> depends on "[PATCH] pinctrl: sh-pfc: r8a77965: Add support for INTC-EX
> IRQ pins".
>
> Thanks!
Thanks, applied.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2018-02-27 8:09 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-26 15:42 [PATCH 0/2] arm64: dts: r8a77965: salvator-x(s): Enable s2ram and PMIC Geert Uytterhoeven
2018-02-26 15:42 ` Geert Uytterhoeven
2018-02-26 15:42 ` Geert Uytterhoeven
2018-02-26 15:42 ` [PATCH 1/2] arm64: dts: r8a77965: Add IIC-DVFS device node Geert Uytterhoeven
2018-02-26 15:42 ` Geert Uytterhoeven
2018-02-26 15:42 ` Geert Uytterhoeven
2018-02-26 15:42 ` [PATCH 2/2] arm64: dts: r8a77965: Add INTC-EX " Geert Uytterhoeven
2018-02-26 15:42 ` Geert Uytterhoeven
2018-02-26 15:42 ` Geert Uytterhoeven
2018-02-27 8:09 ` [PATCH 0/2] arm64: dts: r8a77965: salvator-x(s): Enable s2ram and PMIC Simon Horman
2018-02-27 8:09 ` Simon Horman
2018-02-27 8:09 ` Simon Horman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.