Add support for hwmon_in_highest, hwmon_temp_highest and hwmon_curr_highest
attributes. These attributes retrieve the historical maximum voltage,
temperature and current that were sampled, respectively.
Signed-off-by: Christine Gharzuzi <cgharzuzi@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
                case hwmon_temp_max_hyst:
                case hwmon_temp_crit_hyst:
                case hwmon_temp_offset:
+               case hwmon_temp_highest:
                        break;
                default:
                        return -EINVAL;
                case hwmon_in_input:
                case hwmon_in_min:
                case hwmon_in_max:
+               case hwmon_in_highest:
                        break;
                default:
                        return -EINVAL;
                case hwmon_curr_input:
                case hwmon_curr_min:
                case hwmon_curr_max:
+               case hwmon_curr_highest:
                        break;
                default:
                        return -EINVAL;
                case hwmon_temp_max_hyst:
                case hwmon_temp_crit:
                case hwmon_temp_crit_hyst:
+               case hwmon_temp_highest:
                        return 0444;
                case hwmon_temp_offset:
                        return 0644;
                case hwmon_in_input:
                case hwmon_in_min:
                case hwmon_in_max:
+               case hwmon_in_highest:
                        return 0444;
                }
                break;
                case hwmon_curr_input:
                case hwmon_curr_min:
                case hwmon_curr_max:
+               case hwmon_curr_highest:
                        return 0444;
                }
                break;
 
        armcp_temp_max_hyst,
        armcp_temp_crit,
        armcp_temp_crit_hyst,
-       armcp_temp_offset = 19
+       armcp_temp_offset = 19,
+       armcp_temp_highest = 22
 };
 
 enum armcp_in_attributes {
        armcp_in_input,
        armcp_in_min,
-       armcp_in_max
+       armcp_in_max,
+       armcp_in_highest = 7
 };
 
 enum armcp_curr_attributes {
        armcp_curr_input,
        armcp_curr_min,
-       armcp_curr_max
+       armcp_curr_max,
+       armcp_curr_highest = 7
 };
 
 enum armcp_fan_attributes {