tegrakernel/hardware/nvidia/soc/tegra/kernel-include/dt-bindings/pwm/pwm.h

26 lines
717 B
C
Raw Permalink Normal View History

2022-02-16 09:13:02 -06:00
/*
* This header provides constants for most PWM bindings.
*
* Most PWM bindings can include a flags cell as part of the PWM specifier.
* In most cases, the format of the flags cell uses the standard values
* defined in this header.
*/
#ifndef _DT_BINDINGS_PWM_PWM_H
#define _DT_BINDINGS_PWM_PWM_H
/*
* polarity of a PWM signal
* @PWM_POLARITY_NORMAL: a high signal for the duration of the duty-
* cycle, followed by a low signal for the remainder of the pulse
* period
* @PWM_POLARITY_INVERTED: a low signal for the duration of the duty-
* cycle, followed by a high signal for the remainder of the pulse
* period
*/
#define PWM_POLARITY_NORMAL (0)
#define PWM_POLARITY_INVERTED (1 << 0)
#endif