[9610][Robusta2] dtsi: camera: modify DVFS level each scenarios
authorWooyeon Kim <wooy88.kim@samsung.com>
Wed, 19 Dec 2018 07:31:52 +0000 (16:31 +0900)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:30:09 +0000 (17:30 +0800)
 - refer to Ramen_Robusta2_Camera_DVFS.xlsx in EDM

 PR JIRA ID: CPR-524

Change-Id: Ie0c63acb4a6ccbde5ad93e5662c19ef1078645f0
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
arch/arm64/boot/dts/exynos/exynos9610-robusta2-camera.dtsi

index 897063889df06f89fcac872cc0f9e0c30e1cd829..cdf01660e86281d3f6d409321b7265fdc5b2f1db 100644 (file)
                #define DVFS_INT_L3 200000
                #define DVFS_INT_L4 100000
 
-               #define DVFS_CAM_L0 690000
-               #define DVFS_CAM_L1 680000
-               #define DVFS_CAM_L2 670000
-               #define DVFS_CAM_L3 660000
-               #define DVFS_CAM_L4 650000
-               #define DVFS_CAM_L5 640000
+               #define DVFS_CAM_L0 700000
+               #define DVFS_CAM_L1 690000
+               #define DVFS_CAM_L2 680000
+               #define DVFS_CAM_L3 670000
+               #define DVFS_CAM_L4 660000
+               #define DVFS_CAM_L5 650000
+               #define DVFS_CAM_L6 640000
 
                #define DVFS_MIF_L0 2093000
                #define DVFS_MIF_L1 2002000
                #define DVFS_MIF_L9 419000
 
                table0 {
-                       desc = "dvfs table v0.0 for 16M/2M";
+                       desc = "dvfs table v0.2.a for Robusta2";
 
                        default_int_cam = <DVFS_INT_CAM_L0>;
                        default_cam = <DVFS_CAM_L0>;
                        default_int = <DVFS_INT_L0>;
                        default_hpg = <1>;
 
-                       front_preview_int_cam = <DVFS_INT_CAM_L0>;
-                       front_preview_cam = <DVFS_CAM_L0>;
-                       front_preview_mif = <DVFS_MIF_L0>;
-                       front_preview_int = <DVFS_INT_L0>;
+                       front_preview_int_cam = <DVFS_INT_CAM_L3>;
+                       front_preview_cam = <DVFS_CAM_L2>;
+                       front_preview_mif = <DVFS_MIF_L5>;
+                       front_preview_int = <DVFS_INT_L4>;
                        front_preview_hpg = <1>;
 
-                       front_preview_full_int_cam = <DVFS_INT_CAM_L0>;
-                       front_preview_full_cam = <DVFS_CAM_L0>;
-                       front_preview_full_mif = <DVFS_MIF_L0>;
-                       front_preview_full_int = <DVFS_INT_L0>;
+                       front_preview_full_int_cam = <DVFS_INT_CAM_L3>;
+                       front_preview_full_cam = <DVFS_CAM_L2>;
+                       front_preview_full_mif = <DVFS_MIF_L5>;
+                       front_preview_full_int = <DVFS_INT_L4>;
                        front_preview_full_hpg = <1>;
 
                        front_capture_int_cam = <DVFS_INT_CAM_L0>;
-                       front_capture_cam = <DVFS_CAM_L0>;
-                       front_capture_mif = <DVFS_MIF_L0>;
-                       front_capture_int = <DVFS_INT_L0>;
+                       front_capture_cam = <DVFS_CAM_L1>;
+                       front_capture_mif = <DVFS_MIF_L2>;
+                       front_capture_int = <DVFS_INT_L4>;
                        front_capture_hpg = <1>;
 
-                       front_video_int_cam = <DVFS_INT_CAM_L0>;
-                       front_video_cam = <DVFS_CAM_L0>;
-                       front_video_mif = <DVFS_MIF_L0>;
-                       front_video_int = <DVFS_INT_L0>;
+                       front_video_int_cam = <DVFS_INT_CAM_L3>;
+                       front_video_cam = <DVFS_CAM_L2>;
+                       front_video_mif = <DVFS_MIF_L5>;
+                       front_video_int = <DVFS_INT_L4>;
                        front_video_hpg = <1>;
 
                        front_video_capture_int_cam = <DVFS_INT_CAM_L0>;
-                       front_video_capture_cam = <DVFS_CAM_L0>;
-                       front_video_capture_mif = <DVFS_MIF_L0>;
-                       front_video_capture_int = <DVFS_INT_L0>;
+                       front_video_capture_cam = <DVFS_CAM_L1>;
+                       front_video_capture_mif = <DVFS_MIF_L2>;
+                       front_video_capture_int = <DVFS_INT_L4>;
                        front_video_capture_hpg = <1>;
 
                        front_wide_selfie_int_cam = <DVFS_INT_CAM_L0>;
-                       front_wide_selfie_cam = <DVFS_CAM_L0>;
-                       front_wide_selfie_mif = <DVFS_MIF_L0>;
-                       front_wide_selfie_int = <DVFS_INT_L0>;
+                       front_wide_selfie_cam = <DVFS_CAM_L1>;
+                       front_wide_selfie_mif = <DVFS_MIF_L3>;
+                       front_wide_selfie_int = <DVFS_INT_L4>;
                        front_wide_selfie_hpg = <1>;
 
-                       front_vt1_int_cam = <DVFS_INT_CAM_L0>;
-                       front_vt1_cam = <DVFS_CAM_L0>;
-                       front_vt1_mif = <DVFS_MIF_L0>;
-                       front_vt1_int = <DVFS_INT_L0>;
+                       front_vt1_int_cam = <DVFS_INT_CAM_L3>;
+                       front_vt1_cam = <DVFS_CAM_L2>;
+                       front_vt1_mif = <DVFS_MIF_L5>;
+                       front_vt1_int = <DVFS_INT_L4>;
                        front_vt1_hpg = <1>;
 
-                       front_vt2_int_cam = <DVFS_INT_CAM_L0>;
-                       front_vt2_cam = <DVFS_CAM_L0>;
-                       front_vt2_mif = <DVFS_MIF_L0>;
-                       front_vt2_int = <DVFS_INT_L0>;
+                       front_vt2_int_cam = <DVFS_INT_CAM_L3>;
+                       front_vt2_cam = <DVFS_CAM_L2>;
+                       front_vt2_mif = <DVFS_MIF_L5>;
+                       front_vt2_int = <DVFS_INT_L4>;
                        front_vt2_hpg = <1>;
 
-                       front_vt4_int_cam = <DVFS_INT_CAM_L0>;
-                       front_vt4_cam = <DVFS_CAM_L0>;
-                       front_vt4_mif = <DVFS_MIF_L0>;
-                       front_vt4_int = <DVFS_INT_L0>;
+                       front_vt4_int_cam = <DVFS_INT_CAM_L3>;
+                       front_vt4_cam = <DVFS_CAM_L2>;
+                       front_vt4_mif = <DVFS_MIF_L5>;
+                       front_vt4_int = <DVFS_INT_L4>;
                        front_vt4_hpg = <1>;
 
-                       rear2_preview_fhd_int_cam = <DVFS_INT_CAM_L0>;
-                       rear2_preview_fhd_cam = <DVFS_CAM_L0>;
-                       rear2_preview_fhd_mif = <DVFS_MIF_L0>;
-                       rear2_preview_fhd_int = <DVFS_INT_L0>;
+                       front_video_high_speed_60fps_int_cam = <DVFS_INT_CAM_L3>;
+                       front_video_high_speed_60fps_cam = <DVFS_CAM_L2>;
+                       front_video_high_speed_60fps_mif = <DVFS_MIF_L3>;
+                       front_video_high_speed_60fps_int = <DVFS_INT_L4>;
+                       front_video_high_speed_60fps_hpg = <1>;
+
+                       front_video_high_speed_120fps_int_cam = <DVFS_INT_CAM_L3>;
+                       front_video_high_speed_120fps_cam = <DVFS_CAM_L2>;
+                       front_video_high_speed_120fps_mif = <DVFS_MIF_L3>;
+                       front_video_high_speed_120fps_int = <DVFS_INT_L4>;
+                       front_video_high_speed_120fps_hpg = <1>;
+
+                       front_video_high_speed_240fps_int_cam = <DVFS_INT_CAM_L2>;
+                       front_video_high_speed_240fps_cam = <DVFS_CAM_L2>;
+                       front_video_high_speed_240fps_mif = <DVFS_MIF_L2>;
+                       front_video_high_speed_240fps_int = <DVFS_INT_L4>;
+                       front_video_high_speed_240fps_hpg = <1>;
+
+                       rear2_preview_fhd_int_cam = <DVFS_INT_CAM_L3>;
+                       rear2_preview_fhd_cam = <DVFS_CAM_L4>;
+                       rear2_preview_fhd_mif = <DVFS_MIF_L7>;
+                       rear2_preview_fhd_int = <DVFS_INT_L4>;
                        rear2_preview_fhd_hpg = <1>;
 
-                       rear2_capture_int_cam = <DVFS_INT_CAM_L0>;
-                       rear2_capture_cam = <DVFS_CAM_L0>;
-                       rear2_capture_mif = <DVFS_MIF_L0>;
-                       rear2_capture_int = <DVFS_INT_L0>;
+                       rear2_capture_int_cam = <DVFS_INT_CAM_L2>;
+                       rear2_capture_cam = <DVFS_CAM_L2>;
+                       rear2_capture_mif = <DVFS_MIF_L3>;
+                       rear2_capture_int = <DVFS_INT_L4>;
                        rear2_capture_hpg = <1>;
 
-                       rear2_video_fhd_int_cam = <DVFS_INT_CAM_L0>;
-                       rear2_video_fhd_cam = <DVFS_CAM_L0>;
-                       rear2_video_fhd_mif = <DVFS_MIF_L0>;
-                       rear2_video_fhd_int = <DVFS_INT_L0>;
+                       rear2_video_fhd_int_cam = <DVFS_INT_CAM_L3>;
+                       rear2_video_fhd_cam = <DVFS_CAM_L4>;
+                       rear2_video_fhd_mif = <DVFS_MIF_L7>;
+                       rear2_video_fhd_int = <DVFS_INT_L4>;
                        rear2_video_fhd_hpg = <1>;
 
-                       rear2_video_fhd_capture_int_cam = <DVFS_INT_CAM_L0>;
-                       rear2_video_fhd_capture_cam = <DVFS_CAM_L0>;
-                       rear2_video_fhd_capture_mif = <DVFS_MIF_L0>;
-                       rear2_video_fhd_capture_int = <DVFS_INT_L0>;
+                       rear2_video_fhd_capture_int_cam = <DVFS_INT_CAM_L2>;
+                       rear2_video_fhd_capture_cam = <DVFS_CAM_L2>;
+                       rear2_video_fhd_capture_mif = <DVFS_MIF_L3>;
+                       rear2_video_fhd_capture_int = <DVFS_INT_L4>;
                        rear2_video_fhd_capture_hpg = <1>;
 
-                       rear_preview_fhd_int_cam = <DVFS_INT_CAM_L0>;
-                       rear_preview_fhd_cam = <DVFS_CAM_L0>;
-                       rear_preview_fhd_mif = <DVFS_MIF_L0>;
-                       rear_preview_fhd_int = <DVFS_INT_L0>;
+                       rear_preview_fhd_int_cam = <DVFS_INT_CAM_L2>;
+                       rear_preview_fhd_cam = <DVFS_CAM_L4>;
+                       rear_preview_fhd_mif = <DVFS_MIF_L5>;
+                       rear_preview_fhd_int = <DVFS_INT_L4>;
                        rear_preview_fhd_hpg = <1>;
 
-                       rear_preview_hd_int_cam = <DVFS_INT_CAM_L0>;
-                       rear_preview_hd_cam = <DVFS_CAM_L0>;
-                       rear_preview_hd_mif = <DVFS_MIF_L0>;
-                       rear_preview_hd_int = <DVFS_INT_L0>;
+                       rear_preview_hd_int_cam = <DVFS_INT_CAM_L2>;
+                       rear_preview_hd_cam = <DVFS_CAM_L4>;
+                       rear_preview_hd_mif = <DVFS_MIF_L5>;
+                       rear_preview_hd_int = <DVFS_INT_L4>;
                        rear_preview_hd_hpg = <1>;
 
-                       rear_preview_uhd_int_cam = <DVFS_INT_CAM_L0>;
-                       rear_preview_uhd_cam = <DVFS_CAM_L0>;
-                       rear_preview_uhd_mif = <DVFS_MIF_L0>;
-                       rear_preview_uhd_int = <DVFS_INT_L0>;
+                       rear_preview_uhd_int_cam = <DVFS_INT_CAM_L2>;
+                       rear_preview_uhd_cam = <DVFS_CAM_L4>;
+                       rear_preview_uhd_mif = <DVFS_MIF_L5>;
+                       rear_preview_uhd_int = <DVFS_INT_L4>;
                        rear_preview_uhd_hpg = <1>;
 
-                       rear_preview_full_int_cam = <DVFS_INT_CAM_L0>;
-                       rear_preview_full_cam = <DVFS_CAM_L0>;
-                       rear_preview_full_mif = <DVFS_MIF_L0>;
-                       rear_preview_full_int = <DVFS_INT_L0>;
+                       rear_preview_full_int_cam = <DVFS_INT_CAM_L2>;
+                       rear_preview_full_cam = <DVFS_CAM_L4>;
+                       rear_preview_full_mif = <DVFS_MIF_L5>;
+                       rear_preview_full_int = <DVFS_INT_L4>;
                        rear_preview_full_hpg = <1>;
 
-                       rear_capture_int_cam = <DVFS_INT_CAM_L0>;
-                       rear_capture_cam = <DVFS_CAM_L0>;
-                       rear_capture_mif = <DVFS_MIF_L0>;
-                       rear_capture_int = <DVFS_INT_L0>;
+                       rear_capture_int_cam = <DVFS_INT_CAM_L1>;
+                       rear_capture_cam = <DVFS_CAM_L2>;
+                       rear_capture_mif = <DVFS_MIF_L3>;
+                       rear_capture_int = <DVFS_INT_L4>;
                        rear_capture_hpg = <1>;
 
-                       rear_video_fhd_int_cam = <DVFS_INT_CAM_L0>;
-                       rear_video_fhd_cam = <DVFS_CAM_L0>;
-                       rear_video_fhd_mif = <DVFS_MIF_L0>;
-                       rear_video_fhd_int = <DVFS_INT_L0>;
+                       rear_video_fhd_int_cam = <DVFS_INT_CAM_L2>;
+                       rear_video_fhd_cam = <DVFS_CAM_L4>;
+                       rear_video_fhd_mif = <DVFS_MIF_L5>;
+                       rear_video_fhd_int = <DVFS_INT_L4>;
                        rear_video_fhd_hpg = <1>;
 
-                       rear_video_hd_int_cam = <DVFS_INT_CAM_L0>;
-                       rear_video_hd_cam = <DVFS_CAM_L0>;
-                       rear_video_hd_mif = <DVFS_MIF_L0>;
-                       rear_video_hd_int = <DVFS_INT_L0>;
+                       rear_video_hd_int_cam = <DVFS_INT_CAM_L2>;
+                       rear_video_hd_cam = <DVFS_CAM_L4>;
+                       rear_video_hd_mif = <DVFS_MIF_L6>;
+                       rear_video_hd_int = <DVFS_INT_L4>;
                        rear_video_hd_hpg = <1>;
 
-                       rear_video_uhd_int_cam = <DVFS_INT_CAM_L0>;
-                       rear_video_uhd_cam = <DVFS_CAM_L0>;
-                       rear_video_uhd_mif = <DVFS_MIF_L0>;
-                       rear_video_uhd_int = <DVFS_INT_L0>;
+                       rear_video_uhd_int_cam = <DVFS_INT_CAM_L2>;
+                       rear_video_uhd_cam = <DVFS_CAM_L4>;
+                       rear_video_uhd_mif = <DVFS_MIF_L4>;
+                       rear_video_uhd_int = <DVFS_INT_L4>;
                        rear_video_uhd_hpg = <1>;
 
-                       rear_video_fhd_capture_int_cam = <DVFS_INT_CAM_L0>;
-                       rear_video_fhd_capture_cam = <DVFS_CAM_L0>;
-                       rear_video_fhd_capture_mif = <DVFS_MIF_L0>;
-                       rear_video_fhd_capture_int = <DVFS_INT_L0>;
+                       rear_video_fhd_capture_int_cam = <DVFS_INT_CAM_L1>;
+                       rear_video_fhd_capture_cam = <DVFS_CAM_L2>;
+                       rear_video_fhd_capture_mif = <DVFS_MIF_L3>;
+                       rear_video_fhd_capture_int = <DVFS_INT_L4>;
                        rear_video_fhd_capture_hpg = <1>;
 
-                       rear_video_hd_capture_int_cam = <DVFS_INT_CAM_L0>;
-                       rear_video_hd_capture_cam = <DVFS_CAM_L0>;
-                       rear_video_hd_capture_mif = <DVFS_MIF_L0>;
-                       rear_video_hd_capture_int = <DVFS_INT_L0>;
+                       rear_video_hd_capture_int_cam = <DVFS_INT_CAM_L1>;
+                       rear_video_hd_capture_cam = <DVFS_CAM_L2>;
+                       rear_video_hd_capture_mif = <DVFS_MIF_L3>;
+                       rear_video_hd_capture_int = <DVFS_INT_L4>;
                        rear_video_hd_capture_hpg = <1>;
 
-                       rear_video_uhd_capture_int_cam = <DVFS_INT_CAM_L0>;
-                       rear_video_uhd_capture_cam = <DVFS_CAM_L0>;
-                       rear_video_uhd_capture_mif = <DVFS_MIF_L0>;
-                       rear_video_uhd_capture_int = <DVFS_INT_L0>;
+                       rear_video_uhd_capture_int_cam = <DVFS_INT_CAM_L1>;
+                       rear_video_uhd_capture_cam = <DVFS_CAM_L2>;
+                       rear_video_uhd_capture_mif = <DVFS_MIF_L3>;
+                       rear_video_uhd_capture_int = <DVFS_INT_L4>;
                        rear_video_uhd_capture_hpg = <1>;
 
-                       dual_preview_int_cam = <DVFS_INT_CAM_L0>;
-                       dual_preview_cam = <DVFS_CAM_L0>;
-                       dual_preview_mif = <DVFS_MIF_L0>;
-                       dual_preview_int = <DVFS_INT_L0>;
+                       rear_video_high_speed_60fps_int_cam = <DVFS_INT_CAM_L3>;
+                       rear_video_high_speed_60fps_cam = <DVFS_CAM_L4>;
+                       rear_video_high_speed_60fps_mif = <DVFS_MIF_L4>;
+                       rear_video_high_speed_60fps_int = <DVFS_INT_L4>;
+                       rear_video_high_speed_60fps_hpg = <1>;
+
+                       rear_video_high_speed_120fps_int_cam = <DVFS_INT_CAM_L3>;
+                       rear_video_high_speed_120fps_cam = <DVFS_CAM_L4>;
+                       rear_video_high_speed_120fps_mif = <DVFS_MIF_L3>;
+                       rear_video_high_speed_120fps_int = <DVFS_INT_L4>;
+                       rear_video_high_speed_120fps_hpg = <1>;
+
+                       rear_video_high_speed_240fps_int_cam = <DVFS_INT_CAM_L3>;
+                       rear_video_high_speed_240fps_cam = <DVFS_CAM_L4>;
+                       rear_video_high_speed_240fps_mif = <DVFS_MIF_L2>;
+                       rear_video_high_speed_240fps_int = <DVFS_INT_L4>;
+                       rear_video_high_speed_240fps_hpg = <1>;
+
+                       dual_preview_int_cam = <DVFS_INT_CAM_L2>;
+                       dual_preview_cam = <DVFS_CAM_L2>;
+                       dual_preview_mif = <DVFS_MIF_L3>;
+                       dual_preview_int = <DVFS_INT_L4>;
                        dual_preview_hpg = <1>;
 
                        dual_capture_int_cam = <DVFS_INT_CAM_L0>;
-                       dual_capture_cam = <DVFS_CAM_L0>;
-                       dual_capture_mif = <DVFS_MIF_L0>;
-                       dual_capture_int = <DVFS_INT_L0>;
+                       dual_capture_cam = <DVFS_CAM_L2>;
+                       dual_capture_mif = <DVFS_MIF_L1>;
+                       dual_capture_int = <DVFS_INT_L4>;
                        dual_capture_hpg = <1>;
 
                        dual_video_fhd_int_cam = <DVFS_INT_CAM_L0>;
                        preview_high_speed_fps_int = <DVFS_INT_L0>;
                        preview_high_speed_fps_hpg = <1>;
 
-                       video_high_speed_60fps_int_cam = <DVFS_INT_CAM_L0>;
-                       video_high_speed_60fps_cam = <DVFS_CAM_L0>;
-                       video_high_speed_60fps_mif = <DVFS_MIF_L0>;
-                       video_high_speed_60fps_int = <DVFS_INT_L0>;
-                       video_high_speed_60fps_hpg = <1>;
-
-                       video_high_speed_120fps_int_cam = <DVFS_INT_CAM_L0>;
-                       video_high_speed_120fps_cam = <DVFS_CAM_L0>;
-                       video_high_speed_120fps_mif = <DVFS_MIF_L0>;
-                       video_high_speed_120fps_int = <DVFS_INT_L0>;
-                       video_high_speed_120fps_hpg = <1>;
-
                        video_high_speed_480fps_int_cam = <DVFS_INT_CAM_L0>;
                        video_high_speed_480fps_cam = <DVFS_CAM_L0>;
                        video_high_speed_480fps_mif = <DVFS_MIF_L0>;