[PATCH v6 6/7] ARM: dts: Exynos5800: fix CPU OPP
Bartlomiej Zolnierkiewicz
b.zolnierkie at samsung.com
Tue Dec 15 09:33:20 PST 2015
Fix CPU operating points for Exynos5800 (it use different
voltages than Exynos5420 and supports additional frequencies).
However don't use 2000MHz & 1900MHz OPPs (for A15 cores) and
1400MHz OPP (for A7 cores) for now as they are not available
on all boards.
Based on Hardkernel's kernel for ODROID-XU3 board.
Changes by Ben Gamari:
- Port to operating-points-v2
Cc: Kukjin Kim <kgene.kim at samsung.com>
Cc: Doug Anderson <dianders at chromium.org>
Cc: Javier Martinez Canillas <javier at osg.samsung.com>
Cc: Andreas Faerber <afaerber at suse.de>
Cc: Thomas Abraham <thomas.ab at samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski at samsung.com>
Signed-off-by: Ben Gamari <ben at smart-cactus.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>
---
arch/arm/boot/dts/exynos5800.dtsi | 108 ++++++++++++++++++++++++++++++++++++++
1 file changed, 108 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5800.dtsi b/arch/arm/boot/dts/exynos5800.dtsi
index c0bb356..8213016 100644
--- a/arch/arm/boot/dts/exynos5800.dtsi
+++ b/arch/arm/boot/dts/exynos5800.dtsi
@@ -23,6 +23,114 @@
compatible = "samsung,exynos5800-clock";
};
+&cluster_a15_opp_table {
+ opp at 1700000000 {
+ opp-microvolt = <1250000>;
+ };
+ opp at 1600000000 {
+ opp-microvolt = <1250000>;
+ };
+ opp at 1500000000 {
+ opp-microvolt = <1100000>;
+ };
+ opp at 1400000000 {
+ opp-microvolt = <1100000>;
+ };
+ opp at 1300000000 {
+ opp-microvolt = <1100000>;
+ };
+ opp at 1200000000 {
+ opp-microvolt = <1000000>;
+ };
+ opp at 1100000000 {
+ opp-microvolt = <1000000>;
+ };
+ opp at 1000000000 {
+ opp-microvolt = <1000000>;
+ };
+ opp at 900000000 {
+ opp-microvolt = <1000000>;
+ };
+ opp at 800000000 {
+ opp-microvolt = <900000>;
+ };
+ opp at 700000000 {
+ opp-microvolt = <900000>;
+ };
+ opp at 600000000 {
+ opp-hz = /bits/ 64 <600000000>;
+ opp-microvolt = <900000>;
+ clock-latency-ns = <140000>;
+ };
+ opp at 500000000 {
+ opp-hz = /bits/ 64 <500000000>;
+ opp-microvolt = <900000>;
+ clock-latency-ns = <140000>;
+ };
+ opp at 400000000 {
+ opp-hz = /bits/ 64 <400000000>;
+ opp-microvolt = <900000>;
+ clock-latency-ns = <140000>;
+ };
+ opp at 300000000 {
+ opp-hz = /bits/ 64 <300000000>;
+ opp-microvolt = <900000>;
+ clock-latency-ns = <140000>;
+ };
+ opp at 200000000 {
+ opp-hz = /bits/ 64 <200000000>;
+ opp-microvolt = <900000>;
+ clock-latency-ns = <140000>;
+ };
+};
+
+&cluster_a7_opp_table {
+ opp at 1300000000 {
+ opp-microvolt = <1250000>;
+ };
+ opp at 1200000000 {
+ opp-microvolt = <1250000>;
+ };
+ opp at 1100000000 {
+ opp-microvolt = <1250000>;
+ };
+ opp at 1000000000 {
+ opp-microvolt = <1100000>;
+ };
+ opp at 900000000 {
+ opp-microvolt = <1100000>;
+ };
+ opp at 800000000 {
+ opp-microvolt = <1100000>;
+ };
+ opp at 700000000 {
+ opp-microvolt = <1000000>;
+ };
+ opp at 600000000 {
+ opp-microvolt = <1000000>;
+ };
+ opp at 500000000 {
+ opp-hz = /bits/ 64 <500000000>;
+ opp-microvolt = <1000000>;
+ clock-latency-ns = <140000>;
+ };
+ opp at 400000000 {
+ opp-hz = /bits/ 64 <400000000>;
+ opp-microvolt = <1000000>;
+ clock-latency-ns = <140000>;
+ };
+ opp at 300000000 {
+ opp-hz = /bits/ 64 <300000000>;
+ opp-microvolt = <900000>;
+ clock-latency-ns = <140000>;
+ };
+ opp at 200000000 {
+ opp-hz = /bits/ 64 <200000000>;
+ opp-microvolt = <900000>;
+ clock-latency-ns = <140000>;
+ };
+};
+
&mfc {
compatible = "samsung,mfc-v8";
};
--
1.9.1
More information about the linux-arm-kernel
mailing list