ARM: dts: porter: Add missing PMIC nodes
PATCH 1/1 ARM: dts: porter: Add missing PMIC nodes
Add PMIC nodes to Porter and connect CPU DVFS supply. There is one DA9063L and one DA9210 on Porter, the only difference from the other boards is that DA9063L is at I2C address 0x5a rather than 0x58 .
--- arch/arm/boot/dts/r8a7791-porter.dts | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+)
arch/arm/boot/dts/r8a7791-porter.dts +33 -0
@@ -375,10 +375,43 @@ clock-frequency = <400000>; }; +&i2c6 { + status = "okay"; + clock-frequency = <100000>; + + pmic at 5a { + compatible = "dlg,da9063l"; + reg = <0x5a>; + interrupt-parent = <&irqc0>; + interrupts = <2 IRQ_TYPE_LEVEL_LOW>; + interrupt-controller; + + wdt { + 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; + }; +}; + &sata0 { status = "okay"; }; +&cpu0 { + cpu0-supply = <&vdd_dvfs>; +}; + /* composite video input */ &vin0 { status = "okay";
Signature · 1 line
2.16.2
PATCH 1/1 ARM: dts: porter: Add missing PMIC nodes
Hi Marek,
Quoted 4 lines · Marek Vasut
Add PMIC nodes to Porter and connect CPU DVFS supply. There is one DA9063L and one DA9210 on Porter, the only difference from the other boards is that DA9063L is at I2C address
0x5arather than0x58.
Ah, so porter needs the regulator quirk, too.
Quoted 1 line
Signed-off-by Marek Vasut <[email protected]>
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 TorvaldsPATCH 1/1 ARM: dts: porter: Add missing PMIC nodes
Quoted 1 line · Geert Uytterhoeven
Hi Marek,
Hi,
Quoted 7 lines · Marek Vasut
Quoted 4 lines
Add PMIC nodes to Porter and connect CPU DVFS supply. There is one DA9063L and one DA9210 on Porter, the only difference from the other boards is that DA9063L is at I2C address
0x5arather than0x58.Ah, so porter needs the regulator quirk, too.
Most of the boards do in fact, they just miss the regulator nodes. Silk to from what I can test locally.
Quoted 8 lines
Quoted 1 line
Signed-off-by Marek Vasut <[email protected]>Reviewed-by Geert Uytterhoeven <[email protected]>Gr{oetje,eeting}s,
Geert
Signature · 2 lines
Best regards, Marek Vasut
Simon Horman
AppliedPATCH 1/1 ARM: dts: porter: Add missing PMIC nodes
In reply to Geert UytterhoevenQuoted 8 lines · Geert Uytterhoeven
Hi Marek,
Quoted 4 lines · Marek Vasut
Add PMIC nodes to Porter and connect CPU DVFS supply. There is one DA9063L and one DA9210 on Porter, the only difference from the other boards is that DA9063L is at I2C address
0x5arather than0x58.
Quoted 5 lines
Ah, so porter needs the regulator quirk, too.
Quoted 1 line
Signed-off-by Marek Vasut <[email protected]>Reviewed-by Geert Uytterhoeven <[email protected]>
Thanks, applied.