From: Chungwoo Park Date: Mon, 14 May 2018 10:37:30 +0000 (+0900) Subject: [9610] arm64: Add devfreq node to exynos9610 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a01fb996a1d4d7e975f348048251b1f62952a625;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [9610] arm64: Add devfreq node to exynos9610 Change-Id: Ib170edd2632096930db49f0fbc7fe6337822ff22 Signed-off-by: Chungwoo Park --- diff --git a/arch/arm64/boot/dts/exynos/exynos9610.dtsi b/arch/arm64/boot/dts/exynos/exynos9610.dtsi index 641bb7635971..52ffc2417e7c 100644 --- a/arch/arm64/boot/dts/exynos/exynos9610.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos9610.dtsi @@ -22,6 +22,7 @@ #include "exynos9610-sysmmu.dtsi" #include #include "exynos9610-pm-domains.dtsi" +#include / { compatible = "samsung,armv8", "samsung,exynos9610"; @@ -1367,6 +1368,188 @@ }; }; + exynos_devfreq { + compatible = "samsung,exynos-devfreq-root"; + #address-cells = <2>; + #size-cells = <1>; + ranges; + devfreq_0: devfreq_mif@17000010 { + compatible = "samsung,exynos-devfreq"; + reg = <0x0 0x17000010 0x0>; + devfreq_type = ; + devfreq_domain_name = "dvfs_mif"; + pm_qos_class = <13>; /* PM_QOS_BUS_THROUGHPUT */ + pm_qos_class_max = <14>; /* PM_QOS_BUS_THROUGHPUT_MAX */ + ess_flag = ; + dm-index = ; + + /* Delay time */ + use_delay_time = "true"; + delay_time_list = "20"; + + freq_info = <2093000 546000 419000 419000 2093000 419000>; + /* initial_freq, default_qos, suspend_freq, min_freq, max_freq reboot_freq */ + + /* Booting value */ + boot_info = <40 2093000>; + /* boot_qos_timeout, boot_freq */ + + /* governor data */ + governor = ; + + bts_update = "false"; + dfs_id = ; + acpm-ipc-channel = <1>; + use_acpm = "true"; + update_fvp = "true"; + }; + + devfreq_1: devfreq_int@17000020 { + compatible = "samsung,exynos-devfreq"; + reg = <0x0 0x17000020 0x0>; + devfreq_type = ; + devfreq_domain_name = "dvfs_int"; + pm_qos_class = <9>; /* PM_QOS_DEVICE_THROUGHPUT */ + pm_qos_class_max = <11>; /* PM_QOS_DEVICE_THROUGHPUT_MAX */ + ess_flag = ; + dm-index = ; + + /* Delay time */ + use_delay_time = "false"; + + freq_info = <667000 100000 667000 100000 667000 100000>; + /* */ + + /* Booting value */ + boot_info = <40 667000>; + /* boot_qos_timeout, boot_freq */ + + /* governor data */ + governor = ; + + bts_update = "false"; + dfs_id = ; + acpm-ipc-channel = <1>; + use_acpm = "true"; + skew { + skew_0 { + constraint_dm_type = ; + constraint_type = ; + }; + }; + }; + + devfreq_2: devfreq_intcam@17000030 { + compatible = "samsung,exynos-devfreq"; + reg = <0x0 0x17000030 0x0>; + devfreq_type = ; + devfreq_domain_name = "dvfs_intcam"; + pm_qos_class = <10>; /* PM_QOS_INTCAM_THROUGHPUT */ + pm_qos_class_max = <12>; /* PM_QOS_INTCAM_THROUGHPUT_MAX */ + ess_flag = ; + dm-index = ; + + /* Delay time */ + use_delay_time = "false"; + + freq_info = <690000 650000 690000 650000 690000 650000>; + /* */ + + /* Booting value */ + boot_info = <40 640000>; + /* boot_qos_timeout, boot_freq */ + + /* governor data */ + governor = ; + + bts_update = "false"; + dfs_id = ; + }; + + devfreq_3: devfreq_disp@17000040 { + compatible = "samsung,exynos-devfreq"; + reg = <0x0 0x17000040 0x0>; + devfreq_type = ; + devfreq_domain_name = "dvfs_disp"; + pm_qos_class = <17>; /* PM_QOS_DISPLAY_THROUGHPUT */ + pm_qos_class_max = <18>; /* PM_QOS_DISPLAY_THROUGHPUT_MAX */ + ess_flag = ; + dm-index = ; + + /* Delay time */ + use_delay_time = "false"; + + freq_info = <533000 167000 533000 167000 533000 533000>; + /* */ + + /* Booting value */ + boot_info = <40 533000>; + /* boot_qos_timeout, boot_freq */ + + /* governor data */ + governor = ; + + bts_update = "false"; + dfs_id = ; + }; + + devfreq_4: devfreq_cam@17000050 { + compatible = "samsung,exynos-devfreq"; + reg = <0x0 0x17000050 0x0>; + devfreq_type = ; + devfreq_domain_name = "dvfs_cam"; + pm_qos_class = <19>; /* PM_QOS_CAM_THROUGHPUT */ + pm_qos_class_max = <24>; /* PM_QOS_CAM_THROUGHPUT_MAX */ + ess_flag = ; + dm-index = ; + + /* Delay time */ + use_delay_time = "false"; + + freq_info = <690000 640000 690000 640000 690000 640000>; + /* */ + + /* Booting value */ + boot_info = <40 690000>; + /* boot_qos_timeout, boot_freq */ + + /* governor data */ + governor = ; + + bts_update = "false"; + + dfs_id = ; + }; + + devfreq_5: devfreq_aud@17000060 { + compatible = "samsung,exynos-devfreq"; + reg = <0x0 0x17000060 0x0>; + devfreq_type = ; + devfreq_domain_name = "dvfs_aud"; + pm_qos_class = <20>; /* PM_QOS_AUD_THROUGHPUT */ + pm_qos_class_max = <25>; /* PM_QOS_AUD_THROUGHPUT_MAX */ + ess_flag = ; + dm-index = ; + pd_name = "pd-aud"; + + /* Delay time */ + use_delay_time = "false"; + + freq_info = <393000 393000 393000 393000 1180000 393000>; + /* */ + + /* Booting value */ + boot_info = <40 393000>; + /* boot_qos_timeout, boot_freq */ + + /* governor data */ + governor = ; + + bts_update = "false"; + dfs_id = ; + }; + }; + tmuctrl_0: BIG@10070000 { compatible = "samsung,exynos9610-tmu"; reg = <0x0 0x10070000 0x700>;