Skip to contentSkip to conversation

ARM: shmobile: gose: Add DA9210 node for CPU DVFS

PATCH New Marek Vasut 3 participants 4 messages Jul 30, 2018 – Aug 2, 2018 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: shmobile: gose: Add DA9210 node for CPU DVFS

Add DA9210 DVFS node to the I2C bus and link it to CPU0 for DVFS.

Cc Geert Uytterhoeven <[email protected]>
Cc Kuninori Morimoto <[email protected]>
Cc Simon Horman <[email protected]>
Cc Wolfram Sang <[email protected]>
Cc linux-renesas-soc at vger.kernel.org
---
 arch/arm/boot/dts/r8a7793-gose.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
arch/arm/boot/dts/r8a7793-gose.dts +16 -0
index 6b2f3a4fd13d..f51601af89a2 100644
@@ -596,6 +596,10 @@
 	status = "okay";
 };
 
+&cpu0 {
+	cpu0-supply = <&vdd_dvfs>;
+};
+
 &rwdt {
 	timeout-sec = <60>;
 	status = "okay";
@@ -725,6 +729,18 @@
 			compatible = "dlg,da9063-watchdog";
 		};
 	};
+
+	vdd_dvfs: regulator at 68 {
+		compatible = "dlg,da9210";
+		reg = <0x68>;
+		interrupt-parent = <&irqc0>;
+		interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
+
+		regulator-min-microvolt = <1000000>;
+		regulator-max-microvolt = <1000000>;
+		regulator-boot-on;
+		regulator-always-on;
+	};
 };
 
 &i2c4 {
Signature · 1 line
2.16.2
#1 lore raw

PATCH 1/1 ARM: shmobile: gose: Add DA9210 node for CPU DVFS

Hi Marek,

Quoted 3 lines · Marek Vasut

Add DA9210 DVFS node to the I2C bus and link it to CPU0 for DVFS.

Thanks for your patch!

Oneline-summary prefix should be "ARM: dts: gose:".

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
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
Applied
#2 lore raw

PATCH 1/1 ARM: shmobile: gose: Add DA9210 node for CPU DVFS

Quoted 5 lines · Geert Uytterhoeven

Hi Marek,

Quoted 2 lines · Marek Vasut

Add DA9210 DVFS node to the I2C bus and link it to CPU0 for DVFS.

Quoted 7 lines
Quoted 1 line

Thanks for your patch!

Oneline-summary prefix should be "ARM: dts: gose:".

Thanks, applied with that fixed.

#3 lore raw

PATCH 1/1 ARM: shmobile: gose: Add DA9210 node for CPU DVFS

Quoted 8 lines · Simon Horman
Quoted 7 lines · Geert Uytterhoeven

Hi Marek,

Quoted 3 lines · Marek Vasut

Add DA9210 DVFS node to the I2C bus and link it to CPU0 for DVFS.

Quoted 7 lines
Quoted 5 lines

Thanks for your patch!

Oneline-summary prefix should be "ARM: dts: gose:".

Thanks, applied with that fixed.

Oh, was about to send V2. Thanks, this saves me a minute.

Signature · 2 lines
Best regards,
Marek Vasut