Home
last modified time | relevance | path

Searched full:adp5585 (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/mfd/
H A Dadp5585.c3 * Analog Devices ADP5585 I/O expander, PWM controller and keypad controller
13 #include <linux/mfd/adp5585.h>
21 { .name = "adp5585-gpio", },
22 { .name = "adp5585-pwm", },
116 struct adp5585_dev *adp5585; in adp5585_i2c_probe() local
120 adp5585 = devm_kzalloc(&i2c->dev, sizeof(*adp5585), GFP_KERNEL); in adp5585_i2c_probe()
121 if (!adp5585) in adp5585_i2c_probe()
124 i2c_set_clientdata(i2c, adp5585); in adp5585_i2c_probe()
127 adp5585->regmap = devm_regmap_init_i2c(i2c, regmap_config); in adp5585_i2c_probe()
128 if (IS_ERR(adp5585->regmap)) in adp5585_i2c_probe()
[all …]
H A DMakefile196 obj-$(CONFIG_MFD_ADP5585) += adp5585.o
H A DKconfig24 tristate "Analog Devices ADP5585 keypad decoder and I/O expander driver"
30 Say yes here to add support for the Analog Devices ADP5585 GPIO
/linux/Documentation/devicetree/bindings/mfd/
H A Dadi,adp5585.yaml4 $id: http://devicetree.org/schemas/mfd/adi,adp5585.yaml#
7 title: Analog Devices ADP5585 Keypad Decoder and I/O Expansion
13 The ADP5585 is a 10/11 input/output port expander with a built in keypad
20 - adi,adp5585-00 # Default
21 - adi,adp5585-01 # 11 GPIOs
22 - adi,adp5585-02 # No pull-up resistors by default on special pins
23 - adi,adp5585-03 # Alternate I2C address
24 - adi,adp5585-04 # Pull-down resistors on all pins by default
25 - const: adi,adp5585
64 const: adi,adp5585-01
[all …]
/linux/drivers/pwm/
H A Dpwm-adp5585.c3 * Analog Devices ADP5585 PWM driver
20 #include <linux/mfd/adp5585.h>
151 struct adp5585_dev *adp5585 = dev_get_drvdata(dev->parent); in adp5585_pwm_probe() local
161 pwmchip_set_drvdata(chip, adp5585->regmap); in adp5585_pwm_probe()
172 { "adp5585-pwm" },
179 .name = "adp5585-pwm",
187 MODULE_DESCRIPTION("ADP5585 PWM Driver");
H A DMakefile4 obj-$(CONFIG_PWM_ADP5585) += pwm-adp5585.o
H A DKconfig51 tristate "ADP5585 PWM support"
55 Devices ADP5585.
/linux/drivers/gpio/
H A Dgpio-adp5585.c3 * Analog Devices ADP5585 GPIO driver
11 #include <linux/mfd/adp5585.h>
175 struct adp5585_dev *adp5585 = dev_get_drvdata(pdev->dev.parent); in adp5585_gpio_probe() local
185 adp5585_gpio->regmap = adp5585->regmap; in adp5585_gpio_probe()
213 { "adp5585-gpio" },
220 .name = "adp5585-gpio",
228 MODULE_DESCRIPTION("GPIO ADP5585 Driver");
H A DMakefile29 obj-$(CONFIG_GPIO_ADP5585) += gpio-adp5585.o
H A DKconfig1237 tristate "GPIO Support for ADP5585"
1241 Devices ADP5585.
/linux/drivers/input/keyboard/
H A Dadp5589-keys.c3 * Description: keypad driver for ADP5589, ADP5585
26 /* ADP5589/ADP5585 Common Registers */
109 /* ADP5585 Registers */
203 #define ADP5585_MAXGPIO 11 /* 10 on the ADP5585-01, 11 on ADP5585-02 */
251 * ADP5589 / ADP5585 derivative / variant handling
292 /* ADP5585 */
1049 {"adp5585-keys", ADP5585_01},
1050 {"adp5585-02-keys", ADP5585_02}, /* Adds ROW5 to ADP5585 */
1069 MODULE_DESCRIPTION("ADP5589/ADP5585 Keypad driver");
H A DKconfig54 tristate "ADP5585/ADP5589 I2C QWERTY Keypad and IO Expander"
57 Say Y here if you want to use a ADP5585/ADP5589 attached to your
/linux/include/linux/input/
H A Dadp5589.h3 * Analog Devices ADP5589/ADP5585 I/O Expander and QWERTY Keypad Controller
50 * ADP5585 specific GPI and Keymap defines
127 /* ADP5585 Mask Bits:
/linux/include/linux/mfd/
H A Dadp5585.h3 * Analog Devices ADP5585 I/O expander, PWM controller and keypad controller
113 * 10. Some variants of the ADP5585 don't support "GPIO 6/R5". As the driver
/linux/arch/arm64/boot/dts/freescale/
H A Dimx93-11x11-evk.dts95 pwms = <&adp5585 0 100000 0>;
100 enable-gpios = <&adp5585 9 GPIO_ACTIVE_HIGH>;
326 adp5585: io-expander@34 { label
327 compatible = "adi,adp5585-00", "adi,adp5585";
/linux/
H A DMAINTAINERS536 ADP5585 GPIO EXPANDER, PWM AND KEYPAD CONTROLLER DRIVER
541 F: Documentation/devicetree/bindings/*/adi,adp5585*.yaml
542 F: drivers/gpio/gpio-adp5585.c
543 F: drivers/mfd/adp5585.c
544 F: drivers/pwm/pwm-adp5585.c
545 F: include/linux/mfd/adp5585.h