Searched +full:iqs620a +full:- +full:pwm (Results 1 – 5 of 5) sorted by relevance
/linux/Documentation/devicetree/bindings/pwm/ |
H A D | iqs620a-pwm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pwm/iqs620a-pwm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Azoteq IQS620A PWM Generator 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS620A multi-function sensor generates a fixed-frequency PWM 14 output represented by a "pwm" child node from the parent MFD driver. See 19 - $ref: pwm.yaml# 24 - azoteq,iqs620a-pwm [all …]
|
/linux/drivers/pwm/ |
H A D | pwm-iqs620a.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Azoteq IQS620A PWM Generator 8 * - The period is fixed to 1 ms and is generated continuously despite changes 10 * - Changes to the duty cycle or enable/disable state take effect immediately 12 * - The device cannot generate a 0% duty cycle. For duty cycles below 1 / 256 13 * ms, the output is disabled and relies upon an external pull-down resistor 24 #include <linux/pwm.h> 51 struct iqs62x_core *iqs62x = iqs620_pwm->iqs62x; in iqs620_pwm_init() 55 return regmap_clear_bits(iqs62x->regmap, IQS620_PWR_SETTINGS, in iqs620_pwm_init() 58 ret = regmap_write(iqs62x->regmap, IQS620_PWM_DUTY_CYCLE, in iqs620_pwm_init() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menuconfig PWM config 3 bool "Pulse-Width Modulation (PWM) Support" 5 Generic Pulse-Width Modulation (PWM) support. 7 In Pulse-Width Modulation, a variation of the width of pulses 14 This framework provides a generic interface to PWM devices 16 to register and unregister a PWM chip, an abstraction of a PWM 17 controller, that supports one or more PWM devices. Client 18 drivers can request PWM devices and use the generic framework 21 This generic framework replaces the legacy PWM framework which [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-$(CONFIG_PWM) += core.o 3 obj-$(CONFIG_PWM_AB8500) += pwm-ab8500.o 4 obj-$(CONFIG_PWM_ADP5585) += pwm-adp5585.o 5 obj-$(CONFIG_PWM_APPLE) += pwm-apple.o 6 obj-$(CONFIG_PWM_ATMEL) += pwm-atmel.o 7 obj-$(CONFIG_PWM_ATMEL_HLCDC_PWM) += pwm-atmel-hlcdc.o 8 obj-$(CONFIG_PWM_ATMEL_TCB) += pwm-atmel-tcb.o 9 obj-$(CONFIG_PWM_AXI_PWMGEN) += pwm-axi-pwmgen.o 10 obj-$(CONFIG_PWM_BCM_IPROC) += pwm-bcm-iproc.o [all …]
|
/linux/drivers/mfd/ |
H A D | iqs62x.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Azoteq IQS620A/621/622/624/625 Multi-Function Sensors 7 * These devices rely on application-specific register settings and calibration 9 * separate tool converts the GUIs' ASCII-based output into a standard firmware 14 * Link to conversion tool: https://github.com/jlabundy/iqs62x-h2bin.git 114 list_for_each_entry(fw_blk, &iqs62x->fw_blk_head, list) { in iqs62x_dev_init() 119 if (fw_blk->addr == IQS62X_SYS_SETTINGS && in iqs62x_dev_init() 120 *fw_blk->data & IQS62X_SYS_SETTINGS_CLK_DIV) in iqs62x_dev_init() 123 if (fw_blk->mask) in iqs62x_dev_init() 124 ret = regmap_update_bits(iqs62x->regmap, fw_blk->addr, in iqs62x_dev_init() [all …]
|