Home
last modified time | relevance | path

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

12345678910>>...23

/openbmc/linux/Documentation/devicetree/bindings/leds/
H A 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>;
H A 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>;
/openbmc/linux/Documentation/devicetree/bindings/pwm/
H A 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>;
/openbmc/u-boot/doc/device-tree-bindings/pwm/
H A 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>;
/openbmc/u-boot/arch/arm/mach-rockchip/
H A DKconfig14 USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
23 USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
45 UART, SPI, I2C and PWMs.
58 USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
73 USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
93 USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
115 I2S, UARTs, SPI, I2C and PWMs.
147 USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
/openbmc/linux/Documentation/driver-api/
H A 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
83 Using PWMs with the sysfs interface
87 interface is provided to use the PWMs from userspace. It is exposed at
160 consumers should implement it as described in the "Using PWMs" section.
/openbmc/linux/Documentation/devicetree/bindings/leds/irled/
H A Dpwm-ir-tx.yaml20 pwms:
25 - pwms
33 pwms = <&pwm0 0 10000000>;
/openbmc/linux/Documentation/devicetree/bindings/hwmon/
H A Dpwm-fan.yaml43 pwms:
51 - pwms
60 pwms = <&pwm 0 10000 0>;
92 pwms = <&pwm 0 40000 0>;
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Dpwm-beeper.yaml16 pwms:
29 - pwms
38 pwms = <&pwm0>;
H A Dpwm-vibrator.yaml31 pwms:
47 - pwms
55 pwms = <&pwm9 0 1000000000 0>,
/openbmc/linux/Documentation/devicetree/bindings/clock/
H A Dpwm-clock.yaml26 pwms:
32 - pwms
43 pwms = <&pwm2 0 40>; /* 1 / 40 ns = 25 MHz */
/openbmc/linux/Documentation/devicetree/bindings/display/
H A Dsolomon,ssd1307fb.yaml33 pwms:
223 - pwms
254 pwms = <&pwm 4 3000>;
261 pwms = <&pwm 4 3000>;
277 pwms = <&pwm 4 3000>;
286 pwms = <&pwm 4 3000>;
/openbmc/linux/Documentation/devicetree/bindings/leds/backlight/
H A Dpwm-backlight.yaml18 pwms:
70 - pwms
78 pwms = <&pwm 0 5000000>;
93 pwms = <&pwm 0 5000000>;
/openbmc/linux/arch/riscv/boot/dts/sifive/
H A 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>;
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Dpwm-regulator.yaml45 pwms:
85 - pwms
96 pwms = <&pwm1 0 8448 0>;
114 pwms = <&pwm1 0 8448 0>;
/openbmc/linux/arch/arm/boot/dts/microchip/
H A 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>;
H A Dat91-kizboxmini-common.dtsi60 pwms = <&pwm0 2 10000000 0>;
68 pwms = <&pwm0 0 10000000 0>;
75 pwms = <&pwm0 1 10000000 0>;
/openbmc/linux/arch/arm/boot/dts/st/
H A Dstm32mp157c-lxa-tac-gen2.dts23 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>;
/openbmc/qemu/hw/timer/
H A Dsifive_pwm.c63 REG32(PWMS, 0x10)
98 /* PWMs only contains PWMCMP_MASK bits starting at scale */ in sifive_pwm_set_alarms()
99 uint64_t pwms = (pwmcount & (PWMCMP_MASK << scale)) >> scale; in sifive_pwm_set_alarms() local
109 if (pwmcmp > pwms) { in sifive_pwm_set_alarms()
125 * If timer incrementing disabled, just do pwms > pwmcmp check since in sifive_pwm_set_alarms()
126 * a write may have happened to PWMs. in sifive_pwm_set_alarms()
130 uint64_t pwms = (pwmcount & (PWMCMP_MASK << scale)) >> scale; in sifive_pwm_set_alarms() local
135 if (pwms >= pwmcmp) { in sifive_pwm_set_alarms()
/openbmc/linux/drivers/pwm/
H A Dcore.c58 kfree(chip->pwms); in free_pwms()
59 chip->pwms = NULL; in free_pwms()
275 chip->pwms = kcalloc(chip->npwm, sizeof(*pwm), GFP_KERNEL); in pwmchip_add()
276 if (!chip->pwms) in pwmchip_add()
284 kfree(chip->pwms); in pwmchip_add()
291 pwm = &chip->pwms[i]; in pwmchip_add()
374 pwm = &chip->pwms[index]; in pwm_request_from_chip()
673 * "pwms" property of a device tree node or a negative error-code on failure.
677 * If con_id is NULL, the first PWM device listed in the "pwms" property will
702 err = of_parse_phandle_with_args(np, "pwms", "#pwm-cells", index, in of_pwm_get()
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A 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>;
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dmaxim,max77843.yaml43 pwms:
49 - pwms
142 pwms = <&pwm 0 33670 0>;
/openbmc/linux/arch/arm/boot/dts/broadcom/
H A Dbcm958625-meraki-mx6x-common.dtsi20 pwms = <&pwm 1 50000>;
27 pwms = <&pwm 2 50000>;
34 pwms = <&pwm 3 50000>;
/openbmc/linux/Documentation/devicetree/bindings/media/
H A Dnokia,n900-ir5 - pwms: specifies PWM used for IR signal transmission.
19 pwms = <&pwm9 0 26316 0>; /* 38000 Hz */
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-g12b-odroid-n2-plus.dts22 pwms = <&pwm_ab 0 1500 0>;
29 pwms = <&pwm_AO_cd 1 1500 0>;

12345678910>>...23