Home
last modified time | relevance | path

Searched full:pwms (Results 1 – 25 of 425) sorted by relevance

12345678910>>...17

/Linux-v6.1/Documentation/devicetree/bindings/leds/
Dleds-pwm-multicolor.yaml39 pwms:
45 description: For PWMs where the LED is wired to supply rather than ground.
51 - pwms
72 pwms = <&pwm1 0 1000000>;
77 pwms = <&pwm2 0 1000000>;
82 pwms = <&pwm3 0 1000000>;
Dleds-pwm.yaml27 pwms:
39 For PWMs where the LED is wired to supply rather than ground.
43 - pwms
58 pwms = <&twl_pwm 0 7812500>;
65 pwms = <&twl_pwmled 0 7812500>;
/Linux-v6.1/Documentation/devicetree/bindings/pwm/
Dpwm.txt16 PWM properties should be named "pwms". The exact meaning of each pwms
19 each of the PWM devices listed in the "pwms" property. If no "pwm-names"
24 pwm_get() call to an index into the list given by the "pwms" property.
36 pwms = <&pwm 0 5000000>;
53 pwms = <&pwm 0 5000000 PWM_POLARITY_INVERTED>;
/Linux-v6.1/Documentation/driver-api/
Dpwm.rst7 PWMs are commonly used for controlling LEDs, fans or vibrators in
8 cell phones. PWMs with a fixed purpose have no need implementing
9 the Linux PWM API (although they could). However, PWMs are often
14 Identifying PWMs
35 Using PWMs
86 Using PWMs with the sysfs interface
90 interface is provided to use the PWMs from userspace. It is exposed at
163 consumers should implement it as described in the "Using PWMs" section.
/Linux-v6.1/Documentation/devicetree/bindings/hwmon/
Dpwm-fan.txt5 - pwms : the PWM that is used to control the PWM fan
26 pwms = <&pwm 0 10000 0>;
53 pwms = <&pwm 0 40000 0>;
63 pwms = <&pwm1 0 25000 0>;
/Linux-v6.1/Documentation/devicetree/bindings/display/
Dsolomon,ssd1307fb.yaml35 pwms:
209 - pwms
236 pwms = <&pwm 4 3000>;
243 pwms = <&pwm 4 3000>;
259 pwms = <&pwm 4 3000>;
268 pwms = <&pwm 4 3000>;
/Linux-v6.1/Documentation/devicetree/bindings/leds/backlight/
Dpwm-backlight.yaml18 pwms:
70 - pwms
79 pwms = <&pwm 0 5000000>;
94 pwms = <&pwm 0 5000000>;
/Linux-v6.1/arch/riscv/boot/dts/sifive/
Dhifive-unleashed-a00.dts52 pwms = <&pwm0 0 7812500 PWM_POLARITY_INVERTED>;
60 pwms = <&pwm0 1 7812500 PWM_POLARITY_INVERTED>;
68 pwms = <&pwm0 2 7812500 PWM_POLARITY_INVERTED>;
76 pwms = <&pwm0 3 7812500 PWM_POLARITY_INVERTED>;
Dhifive-unmatched-a00.dts54 pwms = <&pwm0 0 7812500 PWM_POLARITY_INVERTED>;
71 pwms = <&pwm0 2 7812500 PWM_POLARITY_INVERTED>;
77 pwms = <&pwm0 1 7812500 PWM_POLARITY_INVERTED>;
83 pwms = <&pwm0 3 7812500 PWM_POLARITY_INVERTED>;
/Linux-v6.1/Documentation/devicetree/bindings/input/
Dpwm-vibrator.yaml31 pwms:
45 - pwms
53 pwms = <&pwm9 0 1000000000 0>,
Dpwm-beeper.txt7 - pwms: phandle to the physical PWM device
22 pwms = <&pwm0>;
/Linux-v6.1/drivers/pwm/
Dpwm-atmel-tcb.c60 struct atmel_tcb_pwm_device *pwms[NPWM]; member
76 struct atmel_tcb_pwm_device *tcbpwm = tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_set_polarity()
134 tcbpwmc->pwms[pwm->hwpwm] = tcbpwm; in atmel_tcb_pwm_request()
142 struct atmel_tcb_pwm_device *tcbpwm = tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_free()
145 tcbpwmc->pwms[pwm->hwpwm] = NULL; in atmel_tcb_pwm_free()
152 struct atmel_tcb_pwm_device *tcbpwm = tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_disable()
209 struct atmel_tcb_pwm_device *tcbpwm = tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_enable()
294 struct atmel_tcb_pwm_device *tcbpwm = tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_config()
341 atcbpwm = tcbpwmc->pwms[1]; in atmel_tcb_pwm_config()
343 atcbpwm = tcbpwmc->pwms[0]; in atmel_tcb_pwm_config()
Dcore.c58 struct pwm_device *pwm = &chip->pwms[i]; in free_pwms()
65 kfree(chip->pwms); in free_pwms()
66 chip->pwms = NULL; in free_pwms()
278 chip->pwms = kcalloc(chip->npwm, sizeof(*pwm), GFP_KERNEL); in pwmchip_add()
279 if (!chip->pwms) { in pwmchip_add()
285 pwm = &chip->pwms[i]; in pwmchip_add()
417 pwm = &chip->pwms[index]; in pwm_request_from_chip()
724 * "pwms" property of a device tree node or a negative error-code on failure.
728 * If con_id is NULL, the first PWM device listed in the "pwms" property will
753 err = of_parse_phandle_with_args(np, "pwms", "#pwm-cells", index, in of_pwm_get()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/regulator/
Dpwm-regulator.yaml45 pwms:
84 - pwms
95 pwms = <&pwm1 0 8448 0>;
113 pwms = <&pwm1 0 8448 0>;
/Linux-v6.1/arch/arm/boot/dts/
Dat91-kizbox.dts54 pwms = <&tcb1_pwm1 0 10000000 PWM_POLARITY_INVERTED>;
61 pwms = <&tcb1_pwm2 0 10000000 PWM_POLARITY_INVERTED>;
68 pwms = <&tcb1_pwm0 0 10000000 PWM_POLARITY_INVERTED>;
75 pwms = <&tcb1_pwm0 1 10000000 PWM_POLARITY_INVERTED>;
Dimx6ull-jozacp.dts29 pwms = <&pwm1 0 10000000 0>;
37 pwms = <&pwm3 0 10000000 0>;
45 pwms = <&pwm5 0 10000000 0>;
59 pwms = <&pwm2 0 10000000 0>;
67 pwms = <&pwm4 0 10000000 0>;
75 pwms = <&pwm6 0 10000000 0>;
Dbcm958625-meraki-mx6x-common.dtsi20 pwms = <&pwm 1 50000>;
27 pwms = <&pwm 2 50000>;
34 pwms = <&pwm 3 50000>;
Dat91-kizboxmini-common.dtsi60 pwms = <&pwm0 2 10000000 0>;
68 pwms = <&pwm0 0 10000000 0>;
75 pwms = <&pwm0 1 10000000 0>;
Dstm32mp157c-lxa-mc1.dts29 pwms = <&backlight_pwm 1 100000 PWM_POLARITY_INVERTED>;
55 pwms = <&leds_pwm 1 1000000 0>;
62 pwms = <&leds_pwm 2 1000000 0>;
69 pwms = <&leds_pwm 3 1000000 0>;
/Linux-v6.1/Documentation/devicetree/bindings/leds/irled/
Dpwm-ir-tx.txt6 - pwms : PWM property to point to the PWM device (phandle)/port (id)
12 pwms = <&pwm0 0 10000000>;
/Linux-v6.1/Documentation/devicetree/bindings/mfd/
Dmaxim,max77843.yaml43 pwms:
49 - pwms
142 pwms = <&pwm 0 33670 0>;
Dmaxim,max77693.yaml59 pwms:
65 - pwms
113 pwms = <&pwm 0 38022 0>;
/Linux-v6.1/Documentation/devicetree/bindings/media/
Dnokia,n900-ir5 - pwms: specifies PWM used for IR signal transmission.
19 pwms = <&pwm9 0 26316 0>; /* 38000 Hz */
/Linux-v6.1/arch/arm64/boot/dts/amlogic/
Dmeson-g12b-odroid-n2-plus.dts22 pwms = <&pwm_ab 0 1500 0>;
29 pwms = <&pwm_AO_cd 1 1500 0>;
/Linux-v6.1/Documentation/devicetree/bindings/clock/
Dpwm-clock.txt11 - pwms : from common PWM binding; this determines the clock frequency
25 pwms = <&pwm2 0 40>; /* 1 / 40 ns = 25 MHz */

12345678910>>...17