162306a36Sopenharmony_ciWhat:		/sys/class/pwm/
262306a36Sopenharmony_ciDate:		May 2013
362306a36Sopenharmony_ciKernelVersion:	3.11
462306a36Sopenharmony_ciContact:	H Hartley Sweeten <hsweeten@visionengravers.com>
562306a36Sopenharmony_ciDescription:
662306a36Sopenharmony_ci		The pwm/ class sub-directory belongs to the Generic PWM
762306a36Sopenharmony_ci		Framework and provides a sysfs interface for using PWM
862306a36Sopenharmony_ci		channels.
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciWhat:		/sys/class/pwm/pwmchip<N>/
1162306a36Sopenharmony_ciDate:		May 2013
1262306a36Sopenharmony_ciKernelVersion:	3.11
1362306a36Sopenharmony_ciContact:	H Hartley Sweeten <hsweeten@visionengravers.com>
1462306a36Sopenharmony_ciDescription:
1562306a36Sopenharmony_ci		A /sys/class/pwm/pwmchipN directory is created for each
1662306a36Sopenharmony_ci		probed PWM controller/chip where N is the base of the
1762306a36Sopenharmony_ci		PWM chip.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciWhat:		/sys/class/pwm/pwmchip<N>/npwm
2062306a36Sopenharmony_ciDate:		May 2013
2162306a36Sopenharmony_ciKernelVersion:	3.11
2262306a36Sopenharmony_ciContact:	H Hartley Sweeten <hsweeten@visionengravers.com>
2362306a36Sopenharmony_ciDescription:
2462306a36Sopenharmony_ci		The number of PWM channels supported by the PWM chip.
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciWhat:		/sys/class/pwm/pwmchip<N>/export
2762306a36Sopenharmony_ciDate:		May 2013
2862306a36Sopenharmony_ciKernelVersion:	3.11
2962306a36Sopenharmony_ciContact:	H Hartley Sweeten <hsweeten@visionengravers.com>
3062306a36Sopenharmony_ciDescription:
3162306a36Sopenharmony_ci		Exports a PWM channel from the PWM chip for sysfs control.
3262306a36Sopenharmony_ci		Value is between 0 and /sys/class/pwm/pwmchipN/npwm - 1.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ciWhat:		/sys/class/pwm/pwmchip<N>/unexport
3562306a36Sopenharmony_ciDate:		May 2013
3662306a36Sopenharmony_ciKernelVersion:	3.11
3762306a36Sopenharmony_ciContact:	H Hartley Sweeten <hsweeten@visionengravers.com>
3862306a36Sopenharmony_ciDescription:
3962306a36Sopenharmony_ci		Unexports a PWM channel.
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ciWhat:		/sys/class/pwm/pwmchip<N>/pwmX
4262306a36Sopenharmony_ciDate:		May 2013
4362306a36Sopenharmony_ciKernelVersion:	3.11
4462306a36Sopenharmony_ciContact:	H Hartley Sweeten <hsweeten@visionengravers.com>
4562306a36Sopenharmony_ciDescription:
4662306a36Sopenharmony_ci		A /sys/class/pwm/pwmchipN/pwmX directory is created for
4762306a36Sopenharmony_ci		each exported PWM channel where X is the exported PWM
4862306a36Sopenharmony_ci		channel number.
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ciWhat:		/sys/class/pwm/pwmchip<N>/pwmX/period
5162306a36Sopenharmony_ciDate:		May 2013
5262306a36Sopenharmony_ciKernelVersion:	3.11
5362306a36Sopenharmony_ciContact:	H Hartley Sweeten <hsweeten@visionengravers.com>
5462306a36Sopenharmony_ciDescription:
5562306a36Sopenharmony_ci		Sets the PWM signal period in nanoseconds.
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_ciWhat:		/sys/class/pwm/pwmchip<N>/pwmX/duty_cycle
5862306a36Sopenharmony_ciDate:		May 2013
5962306a36Sopenharmony_ciKernelVersion:	3.11
6062306a36Sopenharmony_ciContact:	H Hartley Sweeten <hsweeten@visionengravers.com>
6162306a36Sopenharmony_ciDescription:
6262306a36Sopenharmony_ci		Sets the PWM signal duty cycle in nanoseconds.
6362306a36Sopenharmony_ci
6462306a36Sopenharmony_ciWhat:		/sys/class/pwm/pwmchip<N>/pwmX/polarity
6562306a36Sopenharmony_ciDate:		May 2013
6662306a36Sopenharmony_ciKernelVersion:	3.11
6762306a36Sopenharmony_ciContact:	H Hartley Sweeten <hsweeten@visionengravers.com>
6862306a36Sopenharmony_ciDescription:
6962306a36Sopenharmony_ci		Sets the output polarity of the PWM signal to "normal" or
7062306a36Sopenharmony_ci		"inversed".
7162306a36Sopenharmony_ci
7262306a36Sopenharmony_ciWhat:		/sys/class/pwm/pwmchip<N>/pwmX/enable
7362306a36Sopenharmony_ciDate:		May 2013
7462306a36Sopenharmony_ciKernelVersion:	3.11
7562306a36Sopenharmony_ciContact:	H Hartley Sweeten <hsweeten@visionengravers.com>
7662306a36Sopenharmony_ciDescription:
7762306a36Sopenharmony_ci		Enable/disable the PWM signal.
7862306a36Sopenharmony_ci		0 is disabled
7962306a36Sopenharmony_ci		1 is enabled
8062306a36Sopenharmony_ci
8162306a36Sopenharmony_ciWhat:		/sys/class/pwm/pwmchip<N>/pwmX/capture
8262306a36Sopenharmony_ciDate:		June 2016
8362306a36Sopenharmony_ciKernelVersion:	4.8
8462306a36Sopenharmony_ciContact:	Lee Jones <lee@kernel.org>
8562306a36Sopenharmony_ciDescription:
8662306a36Sopenharmony_ci		Capture information about a PWM signal. The output format is a
8762306a36Sopenharmony_ci		pair unsigned integers (period and duty cycle), separated by a
8862306a36Sopenharmony_ci		single space.
89