Define a PWM_POLARITY_INVERTED macro in include/dt-bindings/pwm/pwm.h to be used by device tree sources. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			355 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			355 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * 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
 | 
						|
 | 
						|
#define PWM_POLARITY_INVERTED			(1 << 0)
 | 
						|
 | 
						|
#endif
 |