Home
last modified time | relevance | path

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

12345678910>>...15

/Linux-v5.10/Documentation/devicetree/bindings/leds/
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>;
/Linux-v5.10/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>;
Datmel-pwm.txt26 pwms = <&pwm0 3 5000 0>
32 pwms = <&pwm0 1 5000 1>
Dpwm-lp3943.txt44 pwms = <&pwm3943 0 10000>;
55 pwms = <&pwm3943 1 10000>;
/Linux-v5.10/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
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.
/Linux-v5.10/Documentation/devicetree/bindings/leds/backlight/
Dpwm-backlight.yaml18 pwms:
70 - pwms
79 pwms = <&pwm 0 5000000>;
94 pwms = <&pwm 0 5000000>;
/Linux-v5.10/arch/arm/boot/dts/
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>;
Dat91-kizboxmini-common.dtsi62 pwms = <&pwm0 2 10000000 0>;
70 pwms = <&pwm0 0 10000000 0>;
77 pwms = <&pwm0 1 10000000 0>;
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>;
Dexynos54xx-odroidxu-leds.dtsi19 pwms = <&pwm 1 2000000 0>;
31 pwms = <&pwm 2 2000000 0>;
Dbcm53016-meraki-mr32.dts67 pwms = <&pwm 0 50000 0>;
75 pwms = <&pwm 1 50000 0>;
83 pwms = <&pwm 2 50000 0>;
Dberlin2cd-google-chromecast.dts44 pwms = <&pwm 0 600000 0>;
51 pwms = <&pwm 1 600000 0>;
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>;
/Linux-v5.10/Documentation/devicetree/bindings/hwmon/
Dpwm-fan.txt5 - pwms : the PWM that is used to control the PWM fan
25 pwms = <&pwm 0 10000 0>;
52 pwms = <&pwm 0 40000 0>;
/Linux-v5.10/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-v5.10/Documentation/devicetree/bindings/input/
Dpwm-beeper.txt7 - pwms: phandle to the physical PWM device
22 pwms = <&pwm0>;
/Linux-v5.10/drivers/pwm/
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()
365 struct pwm_device *pwm = &chip->pwms[i]; in pwmchip_remove()
444 pwm = &chip->pwms[index]; in pwm_request_from_chip()
792 * "pwms" property of a device tree node or a negative error-code on failure.
796 * If con_id is NULL, the first PWM device listed in the "pwms" property will
[all …]
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()
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()
241 pdata->pwms[i] = pwm_map; in lp3943_pwm_parse_dt()
/Linux-v5.10/Documentation/devicetree/bindings/media/
Dnokia,n900-ir5 - pwms: specifies PWM used for IR signal transmission.
19 pwms = <&pwm9 0 26316 0>; /* 38000 Hz */
/Linux-v5.10/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-v5.10/Documentation/devicetree/bindings/regulator/
Dpwm-regulator.txt30 - pwms: PWM specification (See: ../pwm/pwm.txt)
63 pwms = <&pwm1 0 8448 0>;
80 pwms = <&pwm1 0 8448 0>;
/Linux-v5.10/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 */
/Linux-v5.10/Documentation/devicetree/bindings/bus/
Dts-nbus.txt10 - pwms : The PWM bound to the FPGA
30 pwms = <&pwm 2 83>;
/Linux-v5.10/drivers/hwmon/
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 …]

12345678910>>...15