Searched refs:da9063 (Results 1 – 11 of 11) sorted by relevance
/drivers/mfd/ |
D | da9063-core.c | 113 static int da9063_clear_fault_log(struct da9063 *da9063) in da9063_clear_fault_log() argument 118 ret = regmap_read(da9063->regmap, DA9063_REG_FAULT_LOG, &fault_log); in da9063_clear_fault_log() 120 dev_err(da9063->dev, "Cannot read FAULT_LOG.\n"); in da9063_clear_fault_log() 126 dev_dbg(da9063->dev, in da9063_clear_fault_log() 129 dev_dbg(da9063->dev, in da9063_clear_fault_log() 132 dev_dbg(da9063->dev, in da9063_clear_fault_log() 135 dev_dbg(da9063->dev, in da9063_clear_fault_log() 138 dev_dbg(da9063->dev, in da9063_clear_fault_log() 141 dev_dbg(da9063->dev, in da9063_clear_fault_log() 144 dev_dbg(da9063->dev, in da9063_clear_fault_log() [all …]
|
D | da9063-i2c.c | 105 static int da9063_get_device_type(struct i2c_client *i2c, struct da9063 *da9063) in da9063_get_device_type() argument 116 dev_err(da9063->dev, in da9063_get_device_type() 122 dev_info(da9063->dev, in da9063_get_device_type() 126 da9063->variant_code = in da9063_get_device_type() 357 struct da9063 *da9063; in da9063_i2c_probe() local 360 da9063 = devm_kzalloc(&i2c->dev, sizeof(struct da9063), GFP_KERNEL); in da9063_i2c_probe() 361 if (da9063 == NULL) in da9063_i2c_probe() 364 i2c_set_clientdata(i2c, da9063); in da9063_i2c_probe() 365 da9063->dev = &i2c->dev; in da9063_i2c_probe() 366 da9063->chip_irq = i2c->irq; in da9063_i2c_probe() [all …]
|
D | da9063-irq.c | 171 int da9063_irq_init(struct da9063 *da9063) in da9063_irq_init() argument 176 if (!da9063->chip_irq) { in da9063_irq_init() 177 dev_err(da9063->dev, "No IRQ configured\n"); in da9063_irq_init() 181 if (da9063->type == PMIC_TYPE_DA9063) in da9063_irq_init() 186 ret = devm_regmap_add_irq_chip(da9063->dev, da9063->regmap, in da9063_irq_init() 187 da9063->chip_irq, in da9063_irq_init() 189 da9063->irq_base, irq_chip, &da9063->regmap_irq); in da9063_irq_init() 191 dev_err(da9063->dev, "Failed to reguest IRQ %d: %d\n", in da9063_irq_init() 192 da9063->chip_irq, ret); in da9063_irq_init()
|
D | Makefile | 155 da9063-objs := da9063-core.o da9063-irq.o da9063-i2c.o 156 obj-$(CONFIG_MFD_DA9063) += da9063.o
|
/drivers/watchdog/ |
D | da9063_wdt.c | 56 static unsigned int da9063_wdt_read_timeout(struct da9063 *da9063) in da9063_wdt_read_timeout() argument 60 regmap_read(da9063->regmap, DA9063_REG_CONTROL_D, &val); in da9063_wdt_read_timeout() 65 static int da9063_wdt_disable_timer(struct da9063 *da9063) in da9063_wdt_disable_timer() argument 67 return regmap_update_bits(da9063->regmap, DA9063_REG_CONTROL_D, in da9063_wdt_disable_timer() 73 da9063_wdt_update_timeout(struct da9063 *da9063, unsigned int timeout) in da9063_wdt_update_timeout() argument 86 ret = da9063_wdt_disable_timer(da9063); in da9063_wdt_update_timeout() 93 return regmap_update_bits(da9063->regmap, DA9063_REG_CONTROL_D, in da9063_wdt_update_timeout() 99 struct da9063 *da9063 = watchdog_get_drvdata(wdd); in da9063_wdt_start() local 102 ret = da9063_wdt_update_timeout(da9063, wdd->timeout); in da9063_wdt_start() 104 dev_err(da9063->dev, "Watchdog failed to start (err = %d)\n", in da9063_wdt_start() [all …]
|
/drivers/regulator/ |
D | da9063-regulator.c | 147 struct da9063 *hw; 736 struct da9063 *hw = regulators->regulator[0].hw; in da9063_ldo_lim_event() 836 struct da9063 *da9063 = dev_get_drvdata(pdev->dev.parent); in da9063_parse_regulators_dt() local 843 if (da9063->type == PMIC_TYPE_DA9063L) in da9063_parse_regulators_dt() 889 struct da9063 *da9063 = dev_get_drvdata(pdev->dev.parent); in da9063_regulator_probe() local 909 if (model->type == da9063->type) in da9063_regulator_probe() 914 da9063->type); in da9063_regulator_probe() 918 ret = regmap_read(da9063->regmap, DA9063_REG_CONFIG_H, &val); in da9063_regulator_probe() 982 regl->hw = da9063; in da9063_regulator_probe() 990 da9063->regmap, regl->info->mode); in da9063_regulator_probe() [all …]
|
D | Makefile | 42 obj-$(CONFIG_REGULATOR_DA9063) += da9063-regulator.o
|
D | Kconfig | 321 will be called da9063-regulator.
|
/drivers/rtc/ |
D | Makefile | 47 obj-$(CONFIG_RTC_DRV_DA9063) += rtc-da9063.o
|
D | rtc-da9063.c | 397 struct da9063 *chip = dev_get_drvdata(pdev->dev.parent); in da9063_rtc_probe()
|
D | Kconfig | 1131 will be called "rtc-da9063".
|