mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-24 04:39:50 +07: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__ */
|