Sven Schnelle | ca68297 | 2012-07-03 21:33:47 +0200 | [diff] [blame] | 1 | struct drivers_i2c_w83793_config { |
| 2 | u8 mfc; |
| 3 | u8 fanin; |
Timothy Pearson | d3e31be | 2015-02-21 01:45:35 -0600 | [diff] [blame] | 4 | u8 fanin_sel; |
Sven Schnelle | ca68297 | 2012-07-03 21:33:47 +0200 | [diff] [blame] | 5 | u8 peci_agent_conf; |
Timothy Pearson | d3e31be | 2015-02-21 01:45:35 -0600 | [diff] [blame] | 6 | u8 tcase0; /* °C */ |
| 7 | u8 tcase1; /* °C */ |
| 8 | u8 tcase2; /* °C */ |
| 9 | u8 tcase3; /* °C */ |
Sven Schnelle | ca68297 | 2012-07-03 21:33:47 +0200 | [diff] [blame] | 10 | u8 tr_enable; |
Timothy Pearson | d3e31be | 2015-02-21 01:45:35 -0600 | [diff] [blame] | 11 | u8 td_mode_select; |
| 12 | u8 critical_temperature; /* °C */ |
| 13 | |
| 14 | u32 vcorea_high_limit_mv; /* mV */ |
| 15 | u32 vcorea_low_limit_mv; /* mV */ |
| 16 | u32 vcoreb_high_limit_mv; /* mV */ |
| 17 | u32 vcoreb_low_limit_mv; /* mV */ |
| 18 | u32 vtt_high_limit_mv; /* mV */ |
| 19 | u32 vtt_low_limit_mv; /* mV */ |
| 20 | u32 vsen1_high_limit_mv; /* mV */ |
| 21 | u32 vsen1_low_limit_mv; /* mV */ |
| 22 | u32 vsen2_high_limit_mv; /* mV */ |
| 23 | u32 vsen2_low_limit_mv; /* mV */ |
| 24 | u32 vsen3_high_limit_mv; /* mV */ |
| 25 | u32 vsen3_low_limit_mv; /* mV */ |
| 26 | u32 vsen4_high_limit_mv; /* mV */ |
| 27 | u32 vsen4_low_limit_mv; /* mV */ |
| 28 | u32 vdd_high_limit_mv; /* mV */ |
| 29 | u32 vdd_low_limit_mv; /* mV */ |
| 30 | u32 vsb_high_limit_mv; /* mV */ |
| 31 | u32 vsb_low_limit_mv; /* mV */ |
| 32 | u32 vbat_high_limit_mv; /* mV */ |
| 33 | u32 vbat_low_limit_mv; /* mV */ |
| 34 | |
| 35 | u8 td1_critical_temperature; /* °C */ |
| 36 | u8 td1_critical_hysteresis; /* °C */ |
| 37 | u8 td1_warning_temperature; /* °C */ |
| 38 | u8 td1_warning_hysteresis; /* °C */ |
| 39 | u8 td2_critical_temperature; /* °C */ |
| 40 | u8 td2_critical_hysteresis; /* °C */ |
| 41 | u8 td2_warning_temperature; /* °C */ |
| 42 | u8 td2_warning_hysteresis; /* °C */ |
| 43 | u8 td3_critical_temperature; /* °C */ |
| 44 | u8 td3_critical_hysteresis; /* °C */ |
| 45 | u8 td3_warning_temperature; /* °C */ |
| 46 | u8 td3_warning_hysteresis; /* °C */ |
| 47 | u8 td4_critical_temperature; /* °C */ |
| 48 | u8 td4_critical_hysteresis; /* °C */ |
| 49 | u8 td4_warning_temperature; /* °C */ |
| 50 | u8 td4_warning_hysteresis; /* °C */ |
| 51 | u8 tr1_critical_temperature; /* °C */ |
| 52 | u8 tr1_critical_hysteresis; /* °C */ |
| 53 | u8 tr1_warning_temperature; /* °C */ |
| 54 | u8 tr1_warning_hysteresis; /* °C */ |
| 55 | u8 tr2_critical_temperature; /* °C */ |
| 56 | u8 tr2_critical_hysteresis; /* °C */ |
| 57 | u8 tr2_warning_temperature; /* °C */ |
| 58 | u8 tr2_warning_hysteresis; /* °C */ |
| 59 | |
| 60 | u8 fanctrl1; |
| 61 | u8 fanctrl2; |
| 62 | u8 first_valid_fan_number; |
Sven Schnelle | ca68297 | 2012-07-03 21:33:47 +0200 | [diff] [blame] | 63 | |
| 64 | u8 td1_fan_select; |
| 65 | u8 td2_fan_select; |
| 66 | u8 td3_fan_select; |
| 67 | u8 td4_fan_select; |
| 68 | |
| 69 | u8 tr1_fan_select; |
| 70 | u8 tr2_fan_select; |
Timothy Pearson | d3e31be | 2015-02-21 01:45:35 -0600 | [diff] [blame] | 71 | |
| 72 | u8 fan1_nonstop; /* % of full speed (0-100) */ |
| 73 | u8 fan2_nonstop; /* % of full speed (0-100) */ |
| 74 | u8 fan3_nonstop; /* % of full speed (0-100) */ |
| 75 | u8 fan4_nonstop; /* % of full speed (0-100) */ |
| 76 | u8 fan5_nonstop; /* % of full speed (0-100) */ |
| 77 | u8 fan6_nonstop; /* % of full speed (0-100) */ |
| 78 | u8 fan7_nonstop; /* % of full speed (0-100) */ |
| 79 | u8 fan8_nonstop; /* % of full speed (0-100) */ |
| 80 | |
| 81 | u8 default_speed; /* % of full speed (0-100) */ |
| 82 | |
| 83 | u8 fan1_duty; /* % of full speed (0-100) */ |
| 84 | u8 fan2_duty; /* % of full speed (0-100) */ |
| 85 | u8 fan3_duty; /* % of full speed (0-100) */ |
| 86 | u8 fan4_duty; /* % of full speed (0-100) */ |
| 87 | u8 fan5_duty; /* % of full speed (0-100) */ |
| 88 | u8 fan6_duty; /* % of full speed (0-100) */ |
| 89 | u8 fan7_duty; /* % of full speed (0-100) */ |
| 90 | u8 fan8_duty; /* % of full speed (0-100) */ |
Sven Schnelle | ca68297 | 2012-07-03 21:33:47 +0200 | [diff] [blame] | 91 | }; |