summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/pwm-renesas-tpu.h
blob: a7220b10ddab59a60dbc872c32feb98d660aff16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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__ */