Commit 24e83d41 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Greg Kroah-Hartman

ABI: sysfs-class-pwm: use wildcards on What definitions

An "N" upper letter is not a wildcard, nor can easily be identified
by script, specially since the USB sysfs define things like.
bNumInterfaces. Use, instead, <N>, in order to let script/get_abi.pl
to convert it into a Regex.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/eb3edca0f3cf693d8d28ee7bd00339cac2039014.1631782432.git.mchehab+huawei@kernel.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 03f5721a
...@@ -7,7 +7,7 @@ Description: ...@@ -7,7 +7,7 @@ Description:
Framework and provides a sysfs interface for using PWM Framework and provides a sysfs interface for using PWM
channels. channels.
What: /sys/class/pwm/pwmchipN/ What: /sys/class/pwm/pwmchip<N>/
Date: May 2013 Date: May 2013
KernelVersion: 3.11 KernelVersion: 3.11
Contact: H Hartley Sweeten <hsweeten@visionengravers.com> Contact: H Hartley Sweeten <hsweeten@visionengravers.com>
...@@ -16,14 +16,14 @@ Description: ...@@ -16,14 +16,14 @@ Description:
probed PWM controller/chip where N is the base of the probed PWM controller/chip where N is the base of the
PWM chip. PWM chip.
What: /sys/class/pwm/pwmchipN/npwm What: /sys/class/pwm/pwmchip<N>/npwm
Date: May 2013 Date: May 2013
KernelVersion: 3.11 KernelVersion: 3.11
Contact: H Hartley Sweeten <hsweeten@visionengravers.com> Contact: H Hartley Sweeten <hsweeten@visionengravers.com>
Description: Description:
The number of PWM channels supported by the PWM chip. The number of PWM channels supported by the PWM chip.
What: /sys/class/pwm/pwmchipN/export What: /sys/class/pwm/pwmchip<N>/export
Date: May 2013 Date: May 2013
KernelVersion: 3.11 KernelVersion: 3.11
Contact: H Hartley Sweeten <hsweeten@visionengravers.com> Contact: H Hartley Sweeten <hsweeten@visionengravers.com>
...@@ -31,14 +31,14 @@ Description: ...@@ -31,14 +31,14 @@ Description:
Exports a PWM channel from the PWM chip for sysfs control. Exports a PWM channel from the PWM chip for sysfs control.
Value is between 0 and /sys/class/pwm/pwmchipN/npwm - 1. Value is between 0 and /sys/class/pwm/pwmchipN/npwm - 1.
What: /sys/class/pwm/pwmchipN/unexport What: /sys/class/pwm/pwmchip<N>/unexport
Date: May 2013 Date: May 2013
KernelVersion: 3.11 KernelVersion: 3.11
Contact: H Hartley Sweeten <hsweeten@visionengravers.com> Contact: H Hartley Sweeten <hsweeten@visionengravers.com>
Description: Description:
Unexports a PWM channel. Unexports a PWM channel.
What: /sys/class/pwm/pwmchipN/pwmX What: /sys/class/pwm/pwmchip<N>/pwmX
Date: May 2013 Date: May 2013
KernelVersion: 3.11 KernelVersion: 3.11
Contact: H Hartley Sweeten <hsweeten@visionengravers.com> Contact: H Hartley Sweeten <hsweeten@visionengravers.com>
...@@ -47,21 +47,21 @@ Description: ...@@ -47,21 +47,21 @@ Description:
each exported PWM channel where X is the exported PWM each exported PWM channel where X is the exported PWM
channel number. channel number.
What: /sys/class/pwm/pwmchipN/pwmX/period What: /sys/class/pwm/pwmchip<N>/pwmX/period
Date: May 2013 Date: May 2013
KernelVersion: 3.11 KernelVersion: 3.11
Contact: H Hartley Sweeten <hsweeten@visionengravers.com> Contact: H Hartley Sweeten <hsweeten@visionengravers.com>
Description: Description:
Sets the PWM signal period in nanoseconds. Sets the PWM signal period in nanoseconds.
What: /sys/class/pwm/pwmchipN/pwmX/duty_cycle What: /sys/class/pwm/pwmchip<N>/pwmX/duty_cycle
Date: May 2013 Date: May 2013
KernelVersion: 3.11 KernelVersion: 3.11
Contact: H Hartley Sweeten <hsweeten@visionengravers.com> Contact: H Hartley Sweeten <hsweeten@visionengravers.com>
Description: Description:
Sets the PWM signal duty cycle in nanoseconds. Sets the PWM signal duty cycle in nanoseconds.
What: /sys/class/pwm/pwmchipN/pwmX/polarity What: /sys/class/pwm/pwmchip<N>/pwmX/polarity
Date: May 2013 Date: May 2013
KernelVersion: 3.11 KernelVersion: 3.11
Contact: H Hartley Sweeten <hsweeten@visionengravers.com> Contact: H Hartley Sweeten <hsweeten@visionengravers.com>
...@@ -69,7 +69,7 @@ Description: ...@@ -69,7 +69,7 @@ Description:
Sets the output polarity of the PWM signal to "normal" or Sets the output polarity of the PWM signal to "normal" or
"inversed". "inversed".
What: /sys/class/pwm/pwmchipN/pwmX/enable What: /sys/class/pwm/pwmchip<N>/pwmX/enable
Date: May 2013 Date: May 2013
KernelVersion: 3.11 KernelVersion: 3.11
Contact: H Hartley Sweeten <hsweeten@visionengravers.com> Contact: H Hartley Sweeten <hsweeten@visionengravers.com>
...@@ -78,7 +78,7 @@ Description: ...@@ -78,7 +78,7 @@ Description:
0 is disabled 0 is disabled
1 is enabled 1 is enabled
What: /sys/class/pwm/pwmchipN/pwmX/capture What: /sys/class/pwm/pwmchip<N>/pwmX/capture
Date: June 2016 Date: June 2016
KernelVersion: 4.8 KernelVersion: 4.8
Contact: Lee Jones <lee.jones@linaro.org> Contact: Lee Jones <lee.jones@linaro.org>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment