mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 01:21:49 +00:00
Disable fan PWM when +5VS is disabled
Signed-off-by: Randall Spangler <rspangler@chromium.org> BUG=chrome-os-partner:8097 TEST=manual faninfo should report fan is disabled powerbtn system turns on, fan turns on faninfo should report fan is enabled powerbtn system turns off, fan turns off faninfo should report fan is disabled again Change-Id: I8e94c142bf18d07f83bac05287bcd503a098cee7
This commit is contained in:
@@ -13,6 +13,10 @@
|
||||
/* Initializes the module. */
|
||||
int pwm_init(void);
|
||||
|
||||
/* Enables/disables the fan. This should be called by whatever function
|
||||
* enables the power supply to the fan. */
|
||||
int pwm_enable_fan(int enable);
|
||||
|
||||
/* Gets the current fan RPM. */
|
||||
int pwm_get_fan_rpm(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user