/linux/Documentation/devicetree/bindings/pwm/ |
H A D | pwm.txt | 16 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/Documentation/devicetree/bindings/leds/ |
H A D | leds-pwm-multicolor.yaml | 39 pwms: 49 - pwms 70 pwms = <&pwm1 0 1000000>; 75 pwms = <&pwm2 0 1000000>; 80 pwms = <&pwm3 0 1000000>;
|
H A D | leds-pwm.yaml | 27 pwms: 38 - pwms 53 pwms = <&twl_pwm 0 7812500>; 60 pwms = <&twl_pwmled 0 7812500>;
|
/linux/Documentation/driver-api/ |
H A D | pwm.rst | 7 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 92 Using PWMs with the sysfs interface 96 interface is provided to use the PWMs from userspace. It is exposed at 170 consumers should implement it as described in the "Using PWMs" section.
|
/linux/Documentation/devicetree/bindings/display/ |
H A D | solomon,ssd1307fb.yaml | 30 pwms: 197 - pwms 228 pwms = <&pwm 4 3000>; 235 pwms = <&pwm 4 3000>; 251 pwms = <&pwm 4 3000>; 260 pwms = <&pwm 4 3000>;
|
/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A D | pwm-backlight.yaml | 21 pwms: 58 - pwms 66 pwms = <&pwm 0 5000000>; 81 pwms = <&pwm 0 5000000>;
|
H A D | lp855x-backlight.yaml | 45 pwms: 56 PWM period value. Deprecated; set the period value in the pwms 93 pwms = <&pwm 0 10000>;
|
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | pwm-fan.yaml | 43 pwms: 51 - pwms 60 pwms = <&pwm 0 10000 0>; 92 pwms = <&pwm 0 40000 0>;
|
/linux/Documentation/devicetree/bindings/leds/irled/ |
H A D | pwm-ir-tx.yaml | 23 pwms: 28 - pwms 36 pwms = <&pwm0 0 10000000>;
|
/linux/Documentation/devicetree/bindings/input/ |
H A D | pwm-beeper.yaml | 16 pwms: 29 - pwms 38 pwms = <&pwm0>;
|
H A D | pwm-vibrator.yaml | 31 pwms: 47 - pwms 55 pwms = <&pwm9 0 1000000000 0>,
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | pwm-clock.yaml | 26 pwms: 32 - pwms 43 pwms = <&pwm2 0 40>; /* 1 / 40 ns = 25 MHz */
|
/linux/arch/riscv/boot/dts/sifive/ |
H A D | hifive-unleashed-a00.dts | 52 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>;
|
H A D | hifive-unmatched-a00.dts | 54 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/drivers/pwm/ |
H A D | pwm-cros-ec.c | 177 * Determine the number of supported PWMs. The EC does not return the number 178 * of PWMs it supports directly, so we have to read the pwm duty cycle for 189 * false. With use_pwm_type == true the number of PWMs is fixed. in cros_ec_num_pwms() 233 return dev_err_probe(dev, ret, "Couldn't find PWMs\n"); in cros_ec_pwm_probe() 257 chip->pwms[i].args.period = EC_PWM_MAX_DUTY; in cros_ec_pwm_probe() 259 dev_dbg(dev, "Probed %u PWMs\n", chip->npwm); in cros_ec_pwm_probe()
|
H A D | core.c | 437 pwm = &chip->pwms[index]; in pwm_request_from_chip() 828 ret = pwm_unexport_child(pwmchip_dev, &chip->pwms[hwpwm]); in unexport_store() 894 struct pwm_device *pwm = &chip->pwms[i]; in pwm_class_resume_npwm() 925 struct pwm_device *pwm = &chip->pwms[i]; in pwm_class_suspend() 979 struct pwm_device *pwm = &chip->pwms[i]; in pwmchip_sysfs_unexport() 990 return (void *)chip + ALIGN(struct_size(chip, pwms, chip->npwm), PWMCHIP_ALIGN); in pwmchip_priv() 1014 alloc_size = size_add(ALIGN(struct_size(chip, pwms, npwm), PWMCHIP_ALIGN), in pwmchip_alloc() 1033 struct pwm_device *pwm = &chip->pwms[i]; in pwmchip_alloc() 1243 * "pwms" property of a device tree node or a negative error-code on failure. 1247 * If con_id is NULL, the first PWM device listed in the "pwms" property will [all …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | pwm-regulator.yaml | 45 pwms: 85 - pwms 96 pwms = <&pwm1 0 8448 0>; 114 pwms = <&pwm1 0 8448 0>;
|
/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp157c-lxa-tac-gen2.dts | 23 pwms = <&led_pwm 3 1000000 0>; 46 pwms = <&led_pwm 0 1000000 0>; 52 pwms = <&led_pwm 2 1000000 0>; 58 pwms = <&led_pwm 1 1000000 0>;
|
H A D | stm32mp157c-lxa-mc1.dts | 29 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/arch/arm/boot/dts/microchip/ |
H A D | at91-kizbox.dts | 54 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>;
|
H A D | at91-kizboxmini-common.dtsi | 60 pwms = <&pwm0 2 10000000 0>; 68 pwms = <&pwm0 0 10000000 0>; 75 pwms = <&pwm0 1 10000000 0>;
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6ull-jozacp.dts | 29 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>;
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | maxim,max77843.yaml | 43 pwms: 49 - pwms 142 pwms = <&pwm 0 33670 0>;
|
/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm958625-meraki-mx6x-common.dtsi | 20 pwms = <&pwm 1 50000>; 27 pwms = <&pwm 2 50000>; 34 pwms = <&pwm 3 50000>;
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-g12b-odroid-n2-plus.dts | 22 pwms = <&pwm_ab 0 1500 0>; 29 pwms = <&pwm_AO_cd 1 1500 0>;
|