Skip to content

Commit ea08de1

Browse files
Javier Martinez CanillasKukjin Kim
authored andcommitted
ARM: dts: Add DISP1 power domain for exynos5420
The DISP1 power domain on Exynos5420 SoC includes the FIMD1, MIXER and HDMI modules. Add a device node for this power domain and mark these modules as consumer of the DISP1 power domain. When a power domain is powered on and off, the input clocks of the devices attached to it are reparented. So a reference to the input and parent clocks of the devices are needed to manage that. Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by: Kukjin Kim <kgene@kernel.org>
1 parent 8856010 commit ea08de1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

arch/arm/boot/dts/exynos5420.dtsi

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,20 @@
274274
#power-domain-cells = <0>;
275275
};
276276

277+
disp_pd: power-domain@100440C0 {
278+
compatible = "samsung,exynos4210-pd";
279+
reg = <0x100440C0 0x20>;
280+
#power-domain-cells = <0>;
281+
clocks = <&clock CLK_FIN_PLL>, <&clock CLK_MOUT_SW_ACLK200>,
282+
<&clock CLK_MOUT_USER_ACLK200_DISP1>,
283+
<&clock CLK_MOUT_SW_ACLK300>,
284+
<&clock CLK_MOUT_USER_ACLK300_DISP1>,
285+
<&clock CLK_MOUT_SW_ACLK400>,
286+
<&clock CLK_MOUT_USER_ACLK400_DISP1>;
287+
clock-names = "oscclk", "pclk0", "clk0",
288+
"pclk1", "clk1", "pclk2", "clk2";
289+
};
290+
277291
pinctrl_0: pinctrl@13400000 {
278292
compatible = "samsung,exynos5420-pinctrl";
279293
reg = <0x13400000 0x1000>;
@@ -541,6 +555,7 @@
541555
fimd: fimd@14400000 {
542556
clocks = <&clock CLK_SCLK_FIMD1>, <&clock CLK_FIMD1>;
543557
clock-names = "sclk_fimd", "fimd";
558+
power-domains = <&disp_pd>;
544559
};
545560

546561
adc: adc@12D10000 {
@@ -714,6 +729,7 @@
714729
phy = <&hdmiphy>;
715730
samsung,syscon-phandle = <&pmu_system_controller>;
716731
status = "disabled";
732+
power-domains = <&disp_pd>;
717733
};
718734

719735
hdmiphy: hdmiphy@145D0000 {
@@ -726,6 +742,7 @@
726742
interrupts = <0 94 0>;
727743
clocks = <&clock CLK_MIXER>, <&clock CLK_SCLK_HDMI>;
728744
clock-names = "mixer", "sclk_hdmi";
745+
power-domains = <&disp_pd>;
729746
};
730747

731748
gsc_0: video-scaler@13e00000 {

0 commit comments

Comments
 (0)