Searched +full:iqs620a +full:- +full:pwm (Results 1 – 4 of 4) sorted by relevance
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | iqs62x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Azoteq IQS620A/621/622/624/625 Multi-Function Sensors 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors 21 - azoteq,iqs620a 22 - azoteq,iqs621 23 - azoteq,iqs622 24 - azoteq,iqs624 [all …]
|
| /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 …]
|
| /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 …]
|