Home
last modified time | relevance | path

Searched refs:da9063 (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v6.1/drivers/mfd/
Dda9063-core.c113 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 …]
Dda9063-i2c.c105 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 …]
Dda9063-irq.c171 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()
DMakefile159 da9063-objs := da9063-core.o da9063-irq.o da9063-i2c.o
160 obj-$(CONFIG_MFD_DA9063) += da9063.o
/Linux-v6.1/drivers/watchdog/
Dda9063_wdt.c56 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 …]
/Linux-v6.1/include/linux/mfd/da9063/
Dcore.h75 struct da9063 { struct
91 int da9063_device_init(struct da9063 *da9063, unsigned int irq); argument
92 int da9063_irq_init(struct da9063 *da9063);
/Linux-v6.1/Documentation/devicetree/bindings/input/
Dda9062-onkey.txt5 For DA9063 see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
14 "dlg,da9063-onkey"
24 pmic0: da9063@58 {
26 compatible = "dlg,da9063-onkey";
/Linux-v6.1/drivers/regulator/
Dda9063-regulator.c144 struct da9063 *hw;
691 struct da9063 *hw = regulators->regulator[0].hw; in da9063_ldo_lim_event()
756 struct da9063 *da9063 = dev_get_drvdata(pdev->dev.parent); in da9063_parse_regulators_dt() local
763 if (da9063->type == PMIC_TYPE_DA9063L) in da9063_parse_regulators_dt()
809 struct da9063 *da9063 = dev_get_drvdata(pdev->dev.parent); in da9063_regulator_probe() local
829 if (model->type == da9063->type) in da9063_regulator_probe()
834 da9063->type); in da9063_regulator_probe()
838 ret = regmap_read(da9063->regmap, DA9063_REG_CONFIG_H, &val); in da9063_regulator_probe()
902 regl->hw = da9063; in da9063_regulator_probe()
910 da9063->regmap, regl->info->mode); in da9063_regulator_probe()
[all …]
DMakefile41 obj-$(CONFIG_REGULATOR_DA9063) += da9063-regulator.o
/Linux-v6.1/arch/riscv/boot/dts/sifive/
Dhifive-unmatched-a00.dts121 compatible = "dlg,da9063";
128 compatible = "dlg,da9063-onkey";
132 compatible = "dlg,da9063-rtc";
136 compatible = "dlg,da9063-watchdog";
/Linux-v6.1/arch/arm/boot/dts/
Dr8a7790-stout.dts330 compatible = "dlg,da9063";
337 compatible = "dlg,da9063-onkey";
341 compatible = "dlg,da9063-rtc";
345 compatible = "dlg,da9063-watchdog";
Dimx6qdl-phytec-pfla02.dtsi131 compatible = "dlg,da9063";
210 compatible = "dlg,da9063-rtc";
214 compatible = "dlg,da9063-watchdog";
218 compatible = "dlg,da9063-onkey";
Dr8a7792-blanche.dts326 compatible = "dlg,da9063";
335 compatible = "dlg,da9063-rtc";
339 compatible = "dlg,da9063-watchdog";
Dr8a7794-silk.dts422 compatible = "dlg,da9063";
429 compatible = "dlg,da9063-onkey";
433 compatible = "dlg,da9063-rtc";
437 compatible = "dlg,da9063-watchdog";
Dimx6qdl-emcon.dtsi221 da9063: pmic@58 { label
222 compatible = "dlg,da9063";
231 compatible = "dlg,da9063-onkey";
236 compatible = "dlg,da9063-watchdog";
Dr8a7794-alt.dts456 compatible = "dlg,da9063";
463 compatible = "dlg,da9063-rtc";
467 compatible = "dlg,da9063-watchdog";
Dr8a7793-gose.dts733 compatible = "dlg,da9063";
740 compatible = "dlg,da9063-rtc";
744 compatible = "dlg,da9063-watchdog";
Dr8a7790-lager.dts435 compatible = "dlg,da9063";
442 compatible = "dlg,da9063-rtc";
446 compatible = "dlg,da9063-watchdog";
Dr8a7791-koelsch.dts798 compatible = "dlg,da9063";
805 compatible = "dlg,da9063-rtc";
809 compatible = "dlg,da9063-watchdog";
Dimx6q-ba16.dtsi219 compatible = "dlg,da9063";
227 compatible = "dlg,da9063-onkey";
Dimx6qdl-phytec-phycore-som.dtsi8 #include <dt-bindings/regulator/dlg,da9063-regulator.h>
Dr8a7791-porter.dts394 compatible = "dlg,da9063-watchdog";
/Linux-v6.1/Documentation/devicetree/bindings/mfd/
Dda9062.txt80 from include/dt-bindings/regulator/dlg,da9063-regulator.h.
/Linux-v6.1/drivers/rtc/
Drtc-da9063.c396 struct da9063 *chip = dev_get_drvdata(pdev->dev.parent); in da9063_rtc_probe()
DMakefile46 obj-$(CONFIG_RTC_DRV_DA9063) += rtc-da9063.o

12