Message ID | 20180730111726.5526-1-marek.vasut+renesas@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | c19a5dfb3945b54084b1a11b88da5dbf5be4af90 |
Delegated to: | Simon Horman |
Headers | show |
Series | ARM: shmobile: gose: Add DA9210 node for CPU DVFS | expand |
Hi Marek, On Mon, Jul 30, 2018 at 1:17 PM Marek Vasut <marek.vasut@gmail.com> wrote: > Add DA9210 DVFS node to the I2C bus and link it to CPU0 for DVFS. > > Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Thanks for your patch! Oneline-summary prefix should be "ARM: dts: gose:". Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Gr{oetje,eeting}s, Geert
On Wed, Aug 01, 2018 at 02:16:14PM +0200, Geert Uytterhoeven wrote: > Hi Marek, > > On Mon, Jul 30, 2018 at 1:17 PM Marek Vasut <marek.vasut@gmail.com> wrote: > > Add DA9210 DVFS node to the I2C bus and link it to CPU0 for DVFS. > > > > Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> > > Thanks for your patch! > > Oneline-summary prefix should be "ARM: dts: gose:". > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Thanks, applied with that fixed.
On 08/02/2018 01:23 PM, Simon Horman wrote: > On Wed, Aug 01, 2018 at 02:16:14PM +0200, Geert Uytterhoeven wrote: >> Hi Marek, >> >> On Mon, Jul 30, 2018 at 1:17 PM Marek Vasut <marek.vasut@gmail.com> wrote: >>> Add DA9210 DVFS node to the I2C bus and link it to CPU0 for DVFS. >>> >>> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> >> >> Thanks for your patch! >> >> Oneline-summary prefix should be "ARM: dts: gose:". >> >> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > > Thanks, applied with that fixed. Oh, was about to send V2. Thanks, this saves me a minute.
diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r8a7793-gose.dts index 6b2f3a4fd13d..f51601af89a2 100644 --- a/arch/arm/boot/dts/r8a7793-gose.dts +++ b/arch/arm/boot/dts/r8a7793-gose.dts @@ -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@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 {
Add DA9210 DVFS node to the I2C bus and link it to CPU0 for DVFS. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Geert Uytterhoeven <geert+renesas@glider.be> Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Cc: Simon Horman <horms+renesas@verge.net.au> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com> Cc: linux-renesas-soc@vger.kernel.org --- arch/arm/boot/dts/r8a7793-gose.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)