Skip to content

Commit

Permalink
ARM: dts: exynos: Add support of bus frequency for exynos4412-trats/o…
Browse files Browse the repository at this point in the history
…droidu3

This patch adds the bus device tree nodes for both MIF (Memory) and INT
(Internal) block to enable the bus frequency.

The DMC bus is parent device in MIF block using VDD_MIF and the LEFTBUS
bus is parent device in INT block using VDD_INT.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
[m.reichl and linux.amoon: Tested it on exynos4412-odroidu3 board]
Tested-by: Markus Reichl <m.reichl@fivetechno.de>
Tested-by: Anand Moon <linux.amoon@gmail.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
  • Loading branch information
Chanwoo Choi authored and Krzysztof Kozlowski committed May 3, 2016
1 parent 918f7c2 commit 4f20aa0
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 0 deletions.
47 changes: 47 additions & 0 deletions arch/arm/boot/dts/exynos4412-odroid-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,53 @@
};
};

&bus_dmc {
devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
vdd-supply = <&buck1_reg>;
status = "okay";
};

&bus_acp {
devfreq = <&bus_dmc>;
status = "okay";
};

&bus_c2c {
devfreq = <&bus_dmc>;
status = "okay";
};

&bus_leftbus {
devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
vdd-supply = <&buck3_reg>;
status = "okay";
};

&bus_rightbus {
devfreq = <&bus_leftbus>;
status = "okay";
};

&bus_display {
devfreq = <&bus_leftbus>;
status = "okay";
};

&bus_fsys {
devfreq = <&bus_leftbus>;
status = "okay";
};

&bus_peri {
devfreq = <&bus_leftbus>;
status = "okay";
};

&bus_mfc {
devfreq = <&bus_leftbus>;
status = "okay";
};

&cpu0 {
cpu0-supply = <&buck2_reg>;
};
Expand Down
47 changes: 47 additions & 0 deletions arch/arm/boot/dts/exynos4412-trats2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,53 @@
status = "okay";
};

&bus_dmc {
devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
vdd-supply = <&buck1_reg>;
status = "okay";
};

&bus_acp {
devfreq = <&bus_dmc>;
status = "okay";
};

&bus_c2c {
devfreq = <&bus_dmc>;
status = "okay";
};

&bus_leftbus {
devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
vdd-supply = <&buck3_reg>;
status = "okay";
};

&bus_rightbus {
devfreq = <&bus_leftbus>;
status = "okay";
};

&bus_display {
devfreq = <&bus_leftbus>;
status = "okay";
};

&bus_fsys {
devfreq = <&bus_leftbus>;
status = "okay";
};

&bus_peri {
devfreq = <&bus_leftbus>;
status = "okay";
};

&bus_mfc {
devfreq = <&bus_leftbus>;
status = "okay";
};

&cpu0 {
cpu0-supply = <&buck2_reg>;
};
Expand Down

0 comments on commit 4f20aa0

Please sign in to comment.