/openbmc/linux/drivers/mfd/ |
H A D | da9063-core.c | 113 static int da9063_clear_fault_log(struct da9063 *da9063) in da9063_clear_fault_log() argument 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() 155 dev_err(da9063->dev, in da9063_clear_fault_log() 161 int da9063_device_init(struct da9063 *da9063, unsigned int irq) in da9063_device_init() argument 169 da9063->flags = 0; in da9063_device_init() [all …]
|
H A 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() 365 da9063->dev = &i2c->dev; in da9063_i2c_probe() 373 switch (da9063->type) { in da9063_i2c_probe() 403 dev_err(da9063->dev, in da9063_i2c_probe() [all …]
|
H A 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()
|
H A D | Makefile | 155 da9063-objs := da9063-core.o da9063-irq.o da9063-i2c.o 156 obj-$(CONFIG_MFD_DA9063) += da9063.o
|
/openbmc/linux/drivers/watchdog/ |
H A D | da9063_wdt.c | 56 static unsigned int da9063_wdt_read_timeout(struct da9063 *da9063) in da9063_wdt_read_timeout() argument 65 static int da9063_wdt_disable_timer(struct da9063 *da9063) in da9063_wdt_disable_timer() argument 73 da9063_wdt_update_timeout(struct da9063 *da9063, unsigned int timeout) in da9063_wdt_update_timeout() argument 99 struct da9063 *da9063 = watchdog_get_drvdata(wdd); in da9063_wdt_start() local 112 struct da9063 *da9063 = watchdog_get_drvdata(wdd); in da9063_wdt_stop() local 125 struct da9063 *da9063 = watchdog_get_drvdata(wdd); in da9063_wdt_ping() local 147 struct da9063 *da9063 = watchdog_get_drvdata(wdd); in da9063_wdt_set_timeout() local 175 struct da9063 *da9063 = watchdog_get_drvdata(wdd); in da9063_wdt_restart() local 218 struct da9063 *da9063; in da9063_wdt_probe() local 226 if (!da9063) in da9063_wdt_probe() [all …]
|
/openbmc/linux/include/linux/mfd/da9063/ |
H A D | core.h | 75 struct da9063 { struct 91 int da9063_device_init(struct da9063 *da9063, unsigned int irq); argument 92 int da9063_irq_init(struct da9063 *da9063);
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | dlg,da9063.yaml | 4 $id: http://devicetree.org/schemas/mfd/dlg,da9063.yaml# 17 moment where all voltage monitors are disabled. Next, as da9063 only supports 24 - dlg,da9063 51 const: dlg,da9063-watchdog 59 const: dlg,da9063-rtc 67 const: dlg,da9063-onkey 100 compatible = "dlg,da9063"; 108 compatible = "dlg,da9063-rtc"; 112 compatible = "dlg,da9063-watchdog"; 116 compatible = "dlg,da9063-onkey";
|
H A D | da9062.txt | 81 from include/dt-bindings/regulator/dlg,da9063-regulator.h.
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | da9062-onkey.txt | 5 For DA9063 see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml 14 "dlg,da9063-onkey" 24 pmic0: da9063@58 { 26 compatible = "dlg,da9063-onkey";
|
/openbmc/linux/drivers/regulator/ |
H A D | da9063-regulator.c | 147 struct da9063 *hw; 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() 982 regl->hw = da9063; in da9063_regulator_probe() 990 da9063->regmap, regl->info->mode); in da9063_regulator_probe() 1004 da9063->regmap, regl->info->sleep); in da9063_regulator_probe() 1017 da9063->regmap, regl->info->vmon); in da9063_regulator_probe() [all …]
|
/openbmc/linux/arch/riscv/boot/dts/sifive/ |
H A D | hifive-unmatched-a00.dts | 121 compatible = "dlg,da9063"; 129 compatible = "dlg,da9063-onkey"; 133 compatible = "dlg,da9063-rtc"; 137 compatible = "dlg,da9063-watchdog";
|
/openbmc/linux/arch/arm/boot/dts/renesas/ |
H A D | r8a7790-stout.dts | 330 compatible = "dlg,da9063"; 338 compatible = "dlg,da9063-onkey"; 342 compatible = "dlg,da9063-rtc"; 346 compatible = "dlg,da9063-watchdog";
|
H A D | r8a7792-blanche.dts | 326 compatible = "dlg,da9063"; 336 compatible = "dlg,da9063-rtc"; 340 compatible = "dlg,da9063-watchdog";
|
H A D | r8a7794-silk.dts | 422 compatible = "dlg,da9063"; 430 compatible = "dlg,da9063-onkey"; 434 compatible = "dlg,da9063-rtc"; 438 compatible = "dlg,da9063-watchdog";
|
H A D | r8a7794-alt.dts | 456 compatible = "dlg,da9063"; 464 compatible = "dlg,da9063-rtc"; 468 compatible = "dlg,da9063-watchdog";
|
H A D | r8a7793-gose.dts | 733 compatible = "dlg,da9063"; 741 compatible = "dlg,da9063-rtc"; 745 compatible = "dlg,da9063-watchdog";
|
H A D | r8a7791-koelsch.dts | 798 compatible = "dlg,da9063"; 806 compatible = "dlg,da9063-rtc"; 810 compatible = "dlg,da9063-watchdog";
|
H A D | r8a7790-lager.dts | 435 compatible = "dlg,da9063"; 443 compatible = "dlg,da9063-rtc"; 447 compatible = "dlg,da9063-watchdog";
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-phytec-pfla02.dtsi | 123 compatible = "dlg,da9063"; 203 compatible = "dlg,da9063-rtc"; 207 compatible = "dlg,da9063-watchdog"; 211 compatible = "dlg,da9063-onkey";
|
H A D | imx6qdl-emcon.dtsi | 221 da9063: pmic@58 { label 222 compatible = "dlg,da9063"; 230 compatible = "dlg,da9063-onkey"; 235 compatible = "dlg,da9063-watchdog";
|
H A D | imx6q-ba16.dtsi | 219 compatible = "dlg,da9063"; 227 compatible = "dlg,da9063-onkey";
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | r8a7790-stout.dts | 315 compatible = "dlg,da9063"; 322 compatible = "dlg,da9063-rtc"; 326 compatible = "dlg,da9063-watchdog";
|
H A D | r8a7793-gose.dts | 714 compatible = "dlg,da9063"; 721 compatible = "dlg,da9063-rtc"; 725 compatible = "dlg,da9063-watchdog";
|
H A D | r8a7791-koelsch.dts | 785 compatible = "dlg,da9063"; 792 compatible = "dlg,da9063-rtc"; 796 compatible = "dlg,da9063-watchdog";
|
H A D | r8a7790-lager.dts | 432 compatible = "dlg,da9063"; 439 compatible = "dlg,da9063-rtc"; 443 compatible = "dlg,da9063-watchdog";
|