blob: 0f74812827c77624c29b14da26d767b838c29031 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* 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_LED1 NAMED_PWM(led1)
#define PWM_CH_LED2 NAMED_PWM(led2)
#define PWM_CH_LED3 NAMED_PWM(led3)
#endif /* __ZEPHYR_CHROME_PWM_MAP_H */
|