Home
last modified time | relevance | path

Searched refs:adp5585 (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/mfd/
H A Dadp5585.c116 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()
129 return dev_err_probe(&i2c->dev, PTR_ERR(adp5585->regmap), in adp5585_i2c_probe()
132 ret = regmap_read(adp5585->regmap, ADP5585_ID, &id); in adp5585_i2c_probe()
153 struct adp5585_dev *adp5585 = dev_get_drvdata(dev); in adp5585_suspend() local
155 regcache_cache_only(adp5585->regmap, true); in adp5585_suspend()
[all …]
H A DMakefile197 obj-$(CONFIG_MFD_ADP5585) += adp5585.o
/linux/arch/arm64/boot/dts/freescale/
H A Dimx93-11x11-evk.dts86 gpio = <&adp5585 1 GPIO_ACTIVE_HIGH>;
95 gpio = <&adp5585 6 GPIO_ACTIVE_LOW>;
112 pwms = <&adp5585 0 100000 0>;
117 enable-gpios = <&adp5585 9 GPIO_ACTIVE_HIGH>;
387 adp5585: io-expander@34 { label
388 compatible = "adi,adp5585-00", "adi,adp5585";
405 compatible = "adi,adp5585-01", "adi,adp5585";
/linux/drivers/pwm/
H A Dpwm-adp5585.c151 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()
H A DMakefile4 obj-$(CONFIG_PWM_ADP5585) += pwm-adp5585.o
/linux/drivers/gpio/
H A Dgpio-adp5585.c175 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()
H A DMakefile29 obj-$(CONFIG_GPIO_ADP5585) += gpio-adp5585.o
/linux/
H A DMAINTAINERS541 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