mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 09:01:35 +00:00
Add pwm control module for emulation board. Signed-off-by: Dino Li <dino.li@ite.com.tw> BRANCH=none BUG=none TEST=console manual test, pwm channels output correctly. Change-Id: I6eb1a9e4fdcb9279e9d0cbd67f7a92afed21c889 Reviewed-on: https://chromium-review.googlesource.com/223921 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Commit-Queue: Dino Li <dino.li@ite.com.tw> Tested-by: Dino Li <dino.li@ite.com.tw>
34 lines
565 B
C
34 lines
565 B
C
/* Copyright (c) 2013 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.
|
|
*/
|
|
|
|
/* IT8380 development board configuration */
|
|
|
|
#ifndef __BOARD_H
|
|
#define __BOARD_H
|
|
|
|
#ifndef __ASSEMBLER__
|
|
|
|
/* stubbed features */
|
|
#undef CONFIG_LID_SWITCH
|
|
|
|
#include "gpio_signal.h"
|
|
|
|
enum pwm_channel {
|
|
PWM_CH_0,
|
|
PWM_CH_1,
|
|
PWM_CH_2,
|
|
PWM_CH_3,
|
|
PWM_CH_4,
|
|
PWM_CH_5,
|
|
PWM_CH_6,
|
|
PWM_CH_7,
|
|
|
|
/* Number of PWM channels */
|
|
PWM_CH_COUNT
|
|
};
|
|
|
|
#endif /* !__ASSEMBLER__ */
|
|
#endif /* __BOARD_H */
|