diff options
Diffstat (limited to 'zephyr/projects/trogdor/trogdor/include/pwm_map.h')
-rw-r--r-- | zephyr/projects/trogdor/trogdor/include/pwm_map.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/zephyr/projects/trogdor/trogdor/include/pwm_map.h b/zephyr/projects/trogdor/trogdor/include/pwm_map.h new file mode 100644 index 0000000000..e704b6d6d3 --- /dev/null +++ b/zephyr/projects/trogdor/trogdor/include/pwm_map.h @@ -0,0 +1,16 @@ +/* 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_PWM_MAP_H +#define __ZEPHYR_PWM_MAP_H + +#include <devicetree.h> + +#include "pwm/pwm.h" + +#define PWM_CH_KBLIGHT NAMED_PWM(kblight) +#define PWM_CH_DISPLIGHT NAMED_PWM(displight) + +#endif /* __ZEPHYR_PWM_MAP_H */ |