Home
last modified time | relevance | path

Searched +full:pwm +full:- +full:type (Results 1 – 25 of 782) sorted by relevance

12345678910>>...32

/openbmc/linux/Documentation/devicetree/bindings/arm/bcm/
H A Draspberrypi,bcm2835-firmware.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/arm/bcm/raspberrypi,bcm2835-firmware.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Eric Anholt <eric@anholt.net>
11 - Stefan Wahren <wahrenst@gmx.net>
17 const: raspberrypi,bcm2835-firmware
20 - compatible
25 - const: raspberrypi,bcm2835-firmware
26 - const: simple-mfd
[all …]
/openbmc/entity-manager/configurations/meta/
H A Dcatalina_pdb_hsc_ltc_fsc_max_vr_delta_gndsen_ina_p12vsen_ina_p12vfan_mps.json7 "Type": "EEPROM" string
14 "Pwm": 0, number
37 "Type": "I2CFan" string
44 "Pwm": 0, number
67 "Type": "I2CFan" string
74 "Pwm": 2, number
97 "Type": "I2CFan" string
104 "Pwm": 2, number
127 "Type": "I2CFan" string
134 "Pwm": 3, number
[all …]
H A Dcatalina_pdb_hsc_ltc_fsc_max_vr_raa_gndsen_ina_p12vsen_ina_p12vfan_mps.json7 "Type": "EEPROM" string
14 "Pwm": 0, number
37 "Type": "I2CFan" string
44 "Pwm": 0, number
67 "Type": "I2CFan" string
74 "Pwm": 2, number
97 "Type": "I2CFan" string
104 "Pwm": 2, number
127 "Type": "I2CFan" string
134 "Pwm": 3, number
[all …]
H A Dcatalina_pdb_hsc_xdp_fsc_nct_vr_raa_gndsen_max_p12vsen_isl_p12vfan_rtt.json7 "Type": "EEPROM" string
14 "Pwm": 0, number
39 "Type": "I2CFan" string
46 "Pwm": 0, number
71 "Type": "I2CFan" string
78 "Pwm": 4, number
103 "Type": "I2CFan" string
110 "Pwm": 4, number
135 "Type": "I2CFan" string
142 "Pwm": 6, number
[all …]
H A Dventura_fanboard_adc_max.json9 "Pwm": 0, number
32 "Type": "I2CFan" string
39 "Pwm": 0, number
62 "Type": "I2CFan" string
69 "Pwm": 2, number
92 "Type": "I2CFan" string
99 "Pwm": 2, number
122 "Type": "I2CFan" string
164 "Type": "MAX11617", string
181 "xyz.openbmc_project.FruDevice({'BOARD_INFO_AM4': 'adc-max'})"
[all …]
H A Dventura_fanboard_adc_tic.json44 "Type": "ADC128D818", string
61 "Pwm": 0, number
84 "Type": "I2CFan" string
91 "Pwm": 0, number
114 "Type": "I2CFan" string
121 "Pwm": 2, number
144 "Type": "I2CFan" string
151 "Pwm": 2, number
174 "Type": "I2CFan" string
181 "xyz.openbmc_project.FruDevice({'BOARD_INFO_AM4': 'adc-tic'})"
[all …]
H A Dminerva_fanboard_adc_ti.json8 "Name": "FCB_$bus - 15 FAN $bus * 4 - 64 + 1 TACH_IL",
9 "Pwm": 2, number
10 "PwmName": "FCB_$bus - 15 FAN_PWM",
16 "Name": "FCB_$bus - 15 FAN $bus * 4 - 64 + 1 TACH_IL_SPEED_RPM",
34 "Type": "I2CFan" string
40 "Name": "FCB_$bus - 15 FAN $bus * 4 - 64 + 1 TACH_OL",
41 "Pwm": 2, number
42 "PwmName": "FCB_$bus - 15 FAN_PWM",
48 "Name": "FCB_$bus - 15 FAN $bus * 4 - 64 + 1 TACH_OL_SPEED_RPM",
66 "Type": "I2CFan" string
[all …]
H A Dminerva_fanboard_adc_silergy.json8 "Name": "FCB_$bus - 15 FAN $bus * 4 - 64 + 1 TACH_IL",
9 "Pwm": 2, number
10 "PwmName": "FCB_$bus - 15 FAN_PWM",
16 "Name": "FCB_$bus - 15 FAN $bus * 4 - 64 + 1 TACH_IL_SPEED_RPM",
34 "Type": "I2CFan" string
40 "Name": "FCB_$bus - 15 FAN $bus * 4 - 64 + 1 TACH_OL",
41 "Pwm": 2, number
42 "PwmName": "FCB_$bus - 15 FAN_PWM",
48 "Name": "FCB_$bus - 15 FAN $bus * 4 - 64 + 1 TACH_OL_SPEED_RPM",
66 "Type": "I2CFan" string
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dst,stm32-lptimer.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/st,stm32-lptimer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STM32 Low-Power Timers
10 The STM32 Low-Power Timer (LPTIM) is a 16-bit timer that provides several
12 - PWM output (with programmable prescaler, configurable polarity)
13 - Trigger source for STM32 ADC/DAC (LPTIM_OUT)
14 - Several counter modes:
15 - quadrature encoder to detect angular position and direction of rotary
[all …]
H A Dst,stm32-timers.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/st,stm32-timers.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 This hardware block provides 3 types of timer along with PWM functionality:
11 - advanced-control timers consist of a 16-bit auto-reload counter driven
12 by a programmable prescaler, break input feature, PWM outputs and
13 complementary PWM outputs channels.
14 - general-purpose timers consist of a 16-bit or 32-bit auto-reload counter
15 driven by a programmable prescaler and PWM outputs.
[all …]
/openbmc/linux/drivers/pwm/
H A Dpwm-cros-ec.c1 // SPDX-License-Identifier: GPL-2.0
3 * Expose a PWM controlled by the ChromeOS EC to the host processor.
13 #include <linux/pwm.h>
16 #include <dt-bindings/mfd/cros_ec.h>
19 * struct cros_ec_pwm_device - Driver data for EC PWM
23 * @chip: PWM controller chip
24 * @use_pwm_type: Use PWM types instead of generic channels
34 * struct cros_ec_pwm - per-PWM driver data
46 static int cros_ec_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) in cros_ec_pwm_request() argument
52 return -ENOMEM; in cros_ec_pwm_request()
[all …]
/openbmc/linux/drivers/hwmon/
H A Dmlxreg-fan.c1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
27 * FAN datasheet defines the formula for RPM calculations as RPM = 15/t-high.
28 * The logic in a programmable device measures the time t-high by sampling the
29 * tachometer every t-sample (with the default value 11.32 uS) and increment
31 * RPM = 15 / (t-sample * (K + Regval)), where:
33 * - 0xff - represents tachometer fault;
34 * - 0xfe - represents tachometer minimum value , which is 4444 RPM;
35 * - 0x00 - represents tachometer maximum value , which is 300000 RPM;
39 * used: RPM = 15 / ((Regval + K) * 11.32) * 10^(-6)), which in the
42 * - for Regval 0x00, RPM will be 15000000 * 100 / (44 * 1132) = 30115;
[all …]
H A Dpwm-fan.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pwm-fan.c - Hwmon driver for fans connected to PWM lines.
16 #include <linux/pwm.h>
42 struct pwm_device *pwm; member
69 atomic_inc(&tach->pulses); in pulse_handler()
77 unsigned int delta = ktime_ms_delta(ktime_get(), ctx->sample_start); in sample_timer()
81 for (i = 0; i < ctx->tach_count; i++) { in sample_timer()
82 struct pwm_fan_tach *tach = &ctx->tachs[i]; in sample_timer()
85 pulses = atomic_read(&tach->pulses); in sample_timer()
86 atomic_sub(pulses, &tach->pulses); in sample_timer()
[all …]
H A Demc2305.c1 // SPDX-License-Identifier: GPL-2.0+
62 * struct emc2305_cdev_data - device-specific cooling device state
73 * Fan low limit feature is supported through 'hwmon' interface: 'hwmon' 'pwm' attribute is
76 * subsystem to select a lower duty cycle than the duty cycle selected with the 'pwm'
78 * From other side, fan speed is to be updated in hardware through 'pwm' only in case the
80 * speed will be just stored with no PWM update.
90 * struct emc2305_data - device-specific data
94 * @pwm_num: number of PWM channels
95 * @pwm_separate: separate PWM settings for every channel
96 * @pwm_min: array of minimum PWM per channel
[all …]
/openbmc/linux/Documentation/devicetree/bindings/leds/backlight/
H A Dmediatek,mt6370-backlight.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/mediatek,mt6370-backlight.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiaEn Wu <chiaen_wu@richtek.com>
21 - $ref: common.yaml#
26 - mediatek,mt6370-backlight
27 - mediatek,mt6372-backlight
29 default-brightness:
32 max-brightness:
[all …]
/openbmc/linux/drivers/leds/
H A Dleds-pca9532.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pca9532.c - 16-bit Led dimmer
18 #include <linux/leds-pca9532.h>
48 u8 pwm[2]; member
101 .name = "leds-pca953x",
109 /* We have two pwm/blinkers, but 16 possible leds to drive. Additionally,
110 * the clever Thecus people are using one pwm to drive the beeper. So,
111 * as a compromise we average one pwm to the values requested by all
114 static int pca9532_calcpwm(struct i2c_client *client, int pwm, int blink, in pca9532_calcpwm() argument
119 for (i = 0; i < data->chip_info->num_leds; i++) { in pca9532_calcpwm()
[all …]
/openbmc/phosphor-pid-control/
H A Dmeson.options1 option('tests', type: 'feature', value: 'enabled', description: 'Build tests')
2 option('oe-sdk', type: 'feature', value: 'disabled', description: 'Enable OE SDK')
3 option('strict-failsafe-pwm', type: 'boolean', value: false, description: 'Set the fans strictly at…
4 option('offline-failsafe-pwm', type: 'boolean', value: false, description: 'Set the fans at the fai…
5 option('systemd_target', type: 'string', value: 'multi-user.target', description: 'Target for start…
6 option('unc-failsafe', type: 'boolean', value: false, description: 'Set the fans to failsafe mode w…
/openbmc/linux/Documentation/devicetree/bindings/timer/
H A Dingenic,tcu.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 Documentation/arch/mips/ingenic-tcu.rst.
14 - Paul Cercueil <paul@crapouillou.net>
21 - ingenic,jz4740-tcu
22 - ingenic,jz4725b-tcu
23 - ingenic,jz4760-tcu
24 - ingenic,jz4760b-tcu
25 - ingenic,jz4770-tcu
[all …]
/openbmc/linux/Documentation/hwmon/
H A Dnct6775.rst19 * Nuvoton NCT5572D/NCT6771F/NCT6772F/NCT6775F/W83677HG-I
83 * Nuvoton NCT6796D-S/NCT6799D-R
93 Guenter Roeck <linux@roeck-us.net>
96 -----------
103 PCH, and SMBUS. Depending on the chip type, 2 to 6 of the temperature sources
117 value. Alarms are only supported for temp1 to temp6, depending on the chip type.
138 The mode works for fan1-fan5.
141 ----------------
143 pwm[1-7]
144 - this file stores PWM duty cycle or DC value (fan speed) in range:
[all …]
H A Ddme1737.rst18 Addresses scanned: none, address read from Super-I/O config space
34 Addresses scanned: none, address read from Super-I/O config space
43 -----------------
47 and PWM output control functions. Using this parameter
52 Include non-standard LPC addresses 0x162e and 0x164e
55 - VIA EPIA SN18000
59 -----------
63 and SCH5127 Super-I/O chips. These chips feature monitoring of 3 temp sensors
64 temp[1-3] (2 remote diodes and 1 internal), 8 voltages in[0-7] (7 external and
65 1 internal) and up to 6 fan speeds fan[1-6]. Additionally, the chips implement
[all …]
/openbmc/linux/Documentation/driver-api/
H A Dmiscellaneous.rst4 .. kernel-doc:: include/linux/parport.h
7 .. kernel-doc:: drivers/parport/ieee1284.c
10 .. kernel-doc:: drivers/parport/share.c
13 .. kernel-doc:: drivers/parport/daisy.c
19 .. kernel-doc:: drivers/tty/serial/8250/8250_core.c
24 Pulse-Width Modulation (PWM)
27 Pulse-width modulation is a modulation technique primarily used to
30 The PWM framework provides an abstraction for providers and consumers of
31 PWM signals. A controller that provides one or more PWM signals is
32 registered as :c:type:`struct pwm_chip <pwm_chip>`. Providers
[all …]
/openbmc/linux/Documentation/devicetree/bindings/leds/
H A Dleds-pwm-multicolor.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-pwm-multicolor.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Multi-color LEDs connected to PWM
10 - Sven Schwermer <sven.schwermer@disruptive-technologies.com>
13 This driver combines several monochrome PWM LEDs into one multi-color
18 const: pwm-leds-multicolor
20 multi-led:
21 type: object
[all …]
H A Dleds-qcom-lpg.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-qcom-lpg.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
20 - enum:
21 - qcom,pm660l-lpg
22 - qcom,pm8150b-lpg
23 - qcom,pm8150l-lpg
24 - qcom,pm8350c-pwm
[all …]
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Ddlg,da7280.txt4 - compatible: Should be "dlg,da7280".
5 - reg: Specifies the I2C slave address.
7 - interrupt-parent : Specifies the phandle of the interrupt controller to
10 - dlg,actuator-type: Set Actuator type. it should be one of:
11 "LRA" - Linear Resonance Actuator type.
12 "ERM-bar" - Bar type Eccentric Rotating Mass.
13 "ERM-coin" - Coin type Eccentric Rotating Mass.
15 - dlg,const-op-mode: Haptic operation mode for FF_CONSTANT.
17 1 - Direct register override(DRO) mode triggered by i2c(default),
18 2 - PWM data source mode controlled by PWM duty,
[all …]
/openbmc/phosphor-hwmon/
H A Dtargets.hpp8 #include <phosphor-logging/elog-errors.hpp>
9 #include <phosphor-logging/log.hpp>
20 PWM enumerator
24 static constexpr auto PWM_TARGET = "PWM";
27 * @brief Target type traits.
29 * @tparam T - The target type.
36 static_assert(sizeof(Targets) == -1, "Unsupported Target type"); in fail()
44 static constexpr InterfaceType type = InterfaceType::FAN_SPEED; member
50 static constexpr InterfaceType type = InterfaceType::FAN_PWM; member
55 * Creates the target type interface
[all …]

12345678910>>...32