arm64: dts: rockchip: add io-domain support for rk3368 and rk3399
Subsystems (2)
Heiko Stuebner
maintainercover arm64: dts: rockchip: add io-domain support for rk3368 and rk3399
This adds the core io-domain nodes for both the rk3368 and rk3399 as well as the actual supplies on the rk3368-r88 board.
This of course needs
PM / AVS: rockchip-io: make io-domains a child of the GRF
that went into mainline during the 4.7 merge window.
Heiko Stuebner (3):
arm64: dts: rockchip: add rk3368 io-domain core nodes
arm64: dts: rockchip: add rk3368-r88 iodomains
arm64: dts: rockchip: add rk3399 io-domain core nodes
arch/arm64/boot/dts/rockchip/rk3368-r88.dts | 16 ++++++++++++++++ arch/arm64/boot/dts/rockchip/rk3368.dtsi | 10 ++++++++++ arch/arm64/boot/dts/rockchip/rk3399.dtsi | 10 ++++++++++ 3 files changed, 36 insertions(+)
Signature · 1 line
2.6.4
Heiko Stuebner
maintainerPATCH 1/3 arm64: dts: rockchip: add rk3368 io-domain core nodes
Add the core io-domain nodes to grf and pmugrf which individual boards than just have to enable and add the necessary supplies to.
--- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
arch/arm64/boot/dts/rockchip/rk3368.dtsi +10 -0
@@ -634,6 +634,11 @@ pmugrf: syscon at ff738000 { compatible = "rockchip,rk3368-pmugrf", "syscon", "simple-mfd"; reg = <0x0 0xff738000 0x0 0x1000>; + + pmu_io_domains: io-domains { + compatible = "rockchip,rk3368-pmu-io-voltage-domain"; + status = "disabled"; + }; }; cru: clock-controller at ff760000 {
@@ -647,6 +652,11 @@ grf: syscon at ff770000 { compatible = "rockchip,rk3368-grf", "syscon", "simple-mfd"; reg = <0x0 0xff770000 0x0 0x1000>; + + io_domains: io-domains { + compatible = "rockchip,rk3368-io-voltage-domain"; + status = "disabled"; + }; }; wdt: watchdog at ff800000 {
Signature · 1 line
2.6.4
Heiko Stuebner
maintainerPATCH 2/3 arm64: dts: rockchip: add rk3368-r88 iodomains
In reply to Heiko StuebnerAdd the supply-links according to the R88 schematics.
--- arch/arm64/boot/dts/rockchip/rk3368-r88.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
arch/arm64/boot/dts/rockchip/rk3368-r88.dts +16 -0
@@ -236,6 +236,15 @@ }; }; +&io_domains { + status = "ok"; + + audio-supply = <&vcc_io>; + gpio30-supply = <&vcc_io>; + gpio1830-supply = <&vcc_io>; + wifi-supply = <&vccio_wl>; +}; + &sdio0 { assigned-clocks = <&cru SCLK_SDIO0>; assigned-clock-parents = <&cru PLL_CPLL>;
@@ -329,6 +338,13 @@ }; }; +&pmu_io_domains { + status = "okay"; + + pmu-supply = <&vcc_io>; + vop-supply = <&vcc_io>; +}; + &saradc { vref-supply = <&vcc_18>; status = "okay";
Signature · 1 line
2.6.4
Heiko Stuebner
maintainerPATCH 3/3 arm64: dts: rockchip: add rk3399 io-domain core nodes
In reply to Heiko StuebnerAdd the core io-domain nodes to grf and pmugrf which individual boards than just have to enable and add the necessary supplies to.
--- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
arch/arm64/boot/dts/rockchip/rk3399.dtsi +10 -0
@@ -407,6 +407,11 @@ reg = <0x0 0xff320000 0x0 0x1000>; #address-cells = <1>; #size-cells = <1>; + + pmu_io_domains: io-domains { + compatible = "rockchip,rk3399-pmu-io-voltage-domain"; + status = "disabled"; + }; }; spi3: spi at ff350000 {
@@ -517,6 +522,11 @@ #address-cells = <1>; #size-cells = <1>; + io_domains: io-domains { + compatible = "rockchip,rk3399-io-voltage-domain"; + status = "disabled"; + }; + emmc_phy: phy at f780 { compatible = "rockchip,rk3399-emmc-phy"; reg = <0xf780 0x24>;
Signature · 1 line
2.6.4
Heiko Stübner
maintainercover arm64: dts: rockchip: add io-domain support for rk3368 and rk3399
In reply to Heiko StuebnerAm Samstag, 21. Mai 2016, 23:23:45 schrieb Heiko Stuebner:
Quoted 11 lines
This adds the core io-domain nodes for both the rk3368 and rk3399 as well as the actual supplies on the rk3368-r88 board.
This of course needs
PM / AVS: rockchip-io: make io-domains a child of the GRF
that went into mainline during the 4.7 merge window.Heiko Stuebner (3):
arm64: dts: rockchip: add rk3368 io-domain core nodes
arm64: dts: rockchip: add rk3368-r88 iodomains
arm64: dts: rockchip: add rk3399 io-domain core nodes
I have all 3 in my dts64 branch now.