mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-07 08:01:35 +00:00
Add LPC host command to get and set fan speed. BUG=chrome-os-partner:7313 TEST=Connect a fan and manually test fan actual speed matches target speed. Change-Id: I4b6a711a1b8cca0dbd1c1936fe4f0f15240d3453
20 lines
514 B
C
20 lines
514 B
C
/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
/* PWM commands for Chrome EC */
|
|
|
|
#ifndef __CROS_EC_PWM_COMMANDS_H
|
|
#define __CROS_EC_PWM_COMMANDS_H
|
|
|
|
#include "common.h"
|
|
#include "lpc_commands.h"
|
|
|
|
/* Host command handlers. */
|
|
enum lpc_status pwm_command_get_fan_rpm(uint8_t *data);
|
|
enum lpc_status pwm_command_set_fan_target_rpm(uint8_t *data);
|
|
|
|
|
|
#endif /* __CROS_EC_PWM_COMMANDS_H */
|