mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 23:20:05 +00:00
17 lines
302 B
C
17 lines
302 B
C
|
#ifndef __PWM_RENESAS_TPU_H__
|
||
|
#define __PWM_RENESAS_TPU_H__
|
||
|
|
||
|
#include <linux/pwm.h>
|
||
|
|
||
|
#define TPU_CHANNEL_MAX 4
|
||
|
|
||
|
struct tpu_pwm_channel_data {
|
||
|
enum pwm_polarity polarity;
|
||
|
};
|
||
|
|
||
|
struct tpu_pwm_platform_data {
|
||
|
struct tpu_pwm_channel_data channels[TPU_CHANNEL_MAX];
|
||
|
};
|
||
|
|
||
|
#endif /* __PWM_RENESAS_TPU_H__ */
|