Home
last modified time | relevance | path

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

12345678910>>...24

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/leds/
H A Dleds-pwm.txt10 - pwms : PWM property to point to the PWM device (phandle)/port (id) and to
13 For the pwms and pwm-names property please refer to:
16 - active-low : (optional) For PWMs where the LED is wired to supply
26 /* provides two PWMs (id 0, 1 for PWM1 and PWM2) */
41 pwms = <&twl_pwm 0 7812500>;
47 pwms = <&twl_pwmled 0 7812500>;
/OK3568_Linux_fs/kernel/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>;
H A Datmel-pwm.txt26 pwms = <&pwm0 3 5000 0>
32 pwms = <&pwm0 1 5000 1>
/OK3568_Linux_fs/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>;
/OK3568_Linux_fs/kernel/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
72 Using PWMs with the sysfs interface
76 interface is provided to use the PWMs from userspace. It is exposed at
149 consumers should implement it as described in the "Using PWMs" section.
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/leds/backlight/
H A Dpwm-backlight.yaml18 pwms:
70 - pwms
79 pwms = <&pwm 0 5000000>;
94 pwms = <&pwm 0 5000000>;
/OK3568_Linux_fs/kernel/arch/riscv/boot/dts/sifive/
H A Dhifive-unleashed-a00.dts56 pwms = <&pwm0 0 7812500 PWM_POLARITY_INVERTED>;
64 pwms = <&pwm0 1 7812500 PWM_POLARITY_INVERTED>;
72 pwms = <&pwm0 2 7812500 PWM_POLARITY_INVERTED>;
80 pwms = <&pwm0 3 7812500 PWM_POLARITY_INVERTED>;
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dat91-kizbox.dts56 pwms = <&tcb_pwm 2 10000000 PWM_POLARITY_INVERTED>;
63 pwms = <&tcb_pwm 4 10000000 PWM_POLARITY_INVERTED>;
70 pwms = <&tcb_pwm 0 10000000 PWM_POLARITY_INVERTED>;
77 pwms = <&tcb_pwm 1 10000000 PWM_POLARITY_INVERTED>;
H A Dstm32mp157c-lxa-mc1.dts29 pwms = <&backlight_pwm 1 100000 PWM_POLARITY_INVERTED>;
54 pwms = <&leds_pwm 1 1000000 0>;
61 pwms = <&leds_pwm 2 1000000 0>;
68 pwms = <&leds_pwm 3 1000000 0>;
H A Dat91-kizboxmini-common.dtsi62 pwms = <&pwm0 2 10000000 0>;
70 pwms = <&pwm0 0 10000000 0>;
77 pwms = <&pwm0 1 10000000 0>;
H A Dat91-kizbox3_common.dtsi76 pwms = <&pwm0 0 10000000 0>;
84 pwms = <&pwm0 1 10000000 0>;
92 pwms = <&pwm0 2 10000000 0>;
99 pwms = <&pwm0 3 10000000 0>;
H A Dexynos54xx-odroidxu-leds.dtsi19 pwms = <&pwm 1 2000000 0>;
31 pwms = <&pwm 2 2000000 0>;
/OK3568_Linux_fs/kernel/drivers/pwm/
H A Dcore.c68 struct pwm_device *pwm = &chip->pwms[i]; in free_pwms()
75 kfree(chip->pwms); in free_pwms()
76 chip->pwms = NULL; in free_pwms()
292 chip->pwms = kcalloc(chip->npwm, sizeof(*pwm), GFP_KERNEL); in pwmchip_add_with_polarity()
293 if (!chip->pwms) { in pwmchip_add_with_polarity()
301 pwm = &chip->pwms[i]; in pwmchip_add_with_polarity()
366 struct pwm_device *pwm = &chip->pwms[i]; in pwmchip_remove()
445 pwm = &chip->pwms[index]; in pwm_request_from_chip()
796 * "pwms" property of a device tree node or a negative error-code on failure.
800 * If con_id is NULL, the first PWM device listed in the "pwms" property will
[all …]
H A Dpwm-gpio.c50 enum pwm_polarity polarity = pwm_get_polarity(pc->chip.pwms); in gpio_pwm_off()
57 enum pwm_polarity polarity = pwm_get_polarity(pc->chip.pwms); in gpio_pwm_on()
67 if (!pwm_is_enabled(pc->chip.pwms)) { in gpio_pwm_timer()
114 if (pwm_is_enabled(pc->chip.pwms)) in gpio_pwm_enable()
H A Dpwm-cros-ec.c200 * Determine the number of supported PWMs. The EC does not return the number
201 * of PWMs it supports directly, so we have to read the pwm duty cycle for
259 dev_err(dev, "Couldn't find PWMs: %d\n", ret); in cros_ec_pwm_probe()
263 dev_dbg(dev, "Probed %u PWMs\n", chip->npwm); in cros_ec_pwm_probe()
H A Dpwm-lp3943.c45 pwm_map->output = pdata->pwms[hwpwm]->output; in lp3943_pwm_request_map()
46 pwm_map->num_outputs = pdata->pwms[hwpwm]->num_outputs; in lp3943_pwm_request_map()
104 * How to configure the LP3943 PWMs in lp3943_pwm_config()
242 pdata->pwms[i] = pwm_map; in lp3943_pwm_parse_dt()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/hwmon/
H A Dpwm-fan.txt5 - pwms : the PWM that is used to control the PWM fan
30 pwms = <&pwm 0 10000 0>;
57 pwms = <&pwm 0 40000 0>;
/OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/
H A DKconfig21 USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
58 USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
69 USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
101 and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
122 UART, SPI, I2C and PWMs.
145 USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
190 USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
265 USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
304 I2S, UARTs, SPI, I2C and PWMs.
363 USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dabituguru.c177 static int pwms; variable
178 module_param(pwms, int, 0);
179 MODULE_PARM_DESC(pwms, "Number of PWMs on the uGuru "
211 * of a sensor is a volt or a temp sensor, for bank2 and the pwms its
213 * sysfs entries per sensor, for bank2 and pwms 6.
246 u8 pwms; /* actual number of pwms found */ member
611 * many pwms there are. The purpose of this is to make sure that we don't give
689 if (pwms > 0 && pwms <= ABIT_UGURU_MAX_PWMS) { in abituguru_detect_no_pwms()
690 data->pwms = pwms; in abituguru_detect_no_pwms()
692 "\"pwms\" module param\n", (int)data->pwms); in abituguru_detect_no_pwms()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/
H A Dpwm-regulator.txt30 - pwms: PWM specification (See: ../pwm/pwm.txt)
63 pwms = <&pwm1 0 8448 0>;
80 pwms = <&pwm1 0 8448 0>;
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/leds/irled/
H A Dpwm-ir-tx.txt6 - pwms : PWM property to point to the PWM device (phandle)/port (id)
12 pwms = <&pwm0 0 10000000>;
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/
H A Dpwm-beeper.txt7 - pwms: phandle to the physical PWM device
22 pwms = <&pwm0>;
/OK3568_Linux_fs/kernel/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 */
/OK3568_Linux_fs/kernel/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>;
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/
H A Dpwm-clock.txt11 - pwms : from common PWM binding; this determines the clock frequency
25 pwms = <&pwm2 0 40>; /* 1 / 40 ns = 25 MHz */

12345678910>>...24