ARM: rockchip: rk3228: add grf definition
[firefly-linux-kernel-4.4.55.git] / include / linux / rockchip / dvfs.h
index 594f9986cbd3512a424218e80c05b87e77d8c6e6..1aaffbd055ee1a493888da476ed847c865ee763b 100644 (file)
@@ -93,6 +93,7 @@ struct pvtm_info {
        int volt_margin_uv;
        int min_volt_uv;
        int max_volt_uv;
+       int cluster;
 };
 
 struct lkg_adjust_volt_table {
@@ -133,6 +134,10 @@ struct dvfs_node {
        unsigned int            channel;
        unsigned int            temp_channel;
        unsigned long           temp_limit_rate;
+       unsigned int        target_temp;
+       unsigned int        temp_limit_enable;
+       unsigned int        min_temp_limit;
+       int                 old_temp;
        struct clk              *clk;
        struct pd_node          *pd;
        struct vd_node          *vd;
@@ -150,6 +155,9 @@ struct dvfs_node {
        struct pvtm_info        *pvtm_info;
        int                 lkg_adjust_volt_en;
        struct lkg_info         lkg_info;
+       unsigned int            cluster;
+       unsigned int        max_limit_freq;
+       unsigned int        pvtm_min_temp;
 };