summaryrefslogtreecommitdiff
path: root/zephyr/projects/it8xxx2_evb/include/pwm_map.h
blob: 531b86ccf66d5c68fad20e6e5fe84f8444036670 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright 2021 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.
 */

#ifndef __ZEPHYR_CHROME_PWM_MAP_H
#define __ZEPHYR_CHROME_PWM_MAP_H

#include <devicetree.h>

#include "config.h"

#include "pwm/pwm.h"

/*
 * TODO(b/177452529): eliminate the dependency on enum pwm_channel
 * and configure this information directly from the device tree.
 */
#define PWM_CH_FAN		NAMED_PWM(test0)
#define PWM_CH_WITH_DSLEEP_FLAG	NAMED_PWM(test1)

#endif /* __ZEPHYR_CHROME_PWM_MAP_H */