Home
last modified time | relevance | path

Searched full:da9063 (Results 1 – 25 of 48) sorted by relevance

12

/openbmc/linux/drivers/mfd/
H A Dda9063-core.c3 * Device access for Dialog DA9063 modules
24 #include <linux/mfd/da9063/core.h>
25 #include <linux/mfd/da9063/registers.h>
85 .of_compatible = "dlg,da9063-watchdog",
96 .of_compatible = "dlg,da9063-onkey",
103 /* Only present on DA9063 , not on DA9063L */
109 .of_compatible = "dlg,da9063-rtc",
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()
[all …]
H A Dda9063-irq.c2 /* Interrupt support for Dialog DA9063
16 #include <linux/mfd/da9063/core.h>
24 /* DA9063 event A register */
35 /* DA9063 event B register */
52 /* DA9063 event C register */
69 /* DA9063 event D register */
89 .name = "da9063-irq",
100 /* DA9063 event A register */
107 /* DA9063 event B register */
124 /* DA9063 event C register */
[all …]
H A Dda9063-i2c.c2 /* I2C support for Dialog DA9063
19 #include <linux/mfd/da9063/core.h>
20 #include <linux/mfd/da9063/registers.h>
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()
349 { .compatible = "dlg,da9063", },
357 struct da9063 *da9063; in da9063_i2c_probe() local
360 da9063 = devm_kzalloc(&i2c->dev, sizeof(struct da9063), GFP_KERNEL); in da9063_i2c_probe()
[all …]
H A DMakefile155 da9063-objs := da9063-core.o da9063-irq.o da9063-i2c.o
156 obj-$(CONFIG_MFD_DA9063) += da9063.o
/openbmc/linux/drivers/watchdog/
H A Dda9063_wdt.c3 * Watchdog driver for DA9063 PMICs.
19 #include <linux/mfd/da9063/registers.h>
20 #include <linux/mfd/da9063/core.h>
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()
[all …]
/openbmc/linux/include/linux/mfd/da9063/
H A Dcore.h3 * Definitions for DA9063 MFD driver
15 #include <linux/mfd/da9063/registers.h>
17 /* DA9063 modules */
18 #define DA9063_DRVNAME_CORE "da9063-core"
19 #define DA9063_DRVNAME_REGULATORS "da9063-regulators"
20 #define DA9063_DRVNAME_LEDS "da9063-leds"
21 #define DA9063_DRVNAME_WATCHDOG "da9063-watchdog"
22 #define DA9063_DRVNAME_HWMON "da9063-hwmon"
23 #define DA9063_DRVNAME_ONKEY "da9063-onkey"
24 #define DA9063_DRVNAME_RTC "da9063-rtc"
[all …]
/openbmc/linux/drivers/regulator/
H A Dda9063-regulator.c3 // Regulator driver for DA9063 PMIC series
21 #include <linux/mfd/da9063/core.h>
22 #include <linux/mfd/da9063/registers.h>
30 /* DA9063 and DA9063L regulator IDs */
46 /* LDOs on both DA9063 and DA9063L */
53 /* DA9063-only LDOs */
77 /* DA9063 main register fields */
84 /* DA9063 event detection bit */
87 /* DA9063 voltage monitor bit */
147 struct da9063 *hw;
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Ddlg,da9063.yaml4 $id: http://devicetree.org/schemas/mfd/dlg,da9063.yaml#
7 title: Dialog DA9063/DA9063L Power Management Integrated Circuit (PMIC)
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";
[all …]
H A Dda9062.txt81 from include/dt-bindings/regulator/dlg,da9063-regulator.h.
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Dda9062-onkey.txt3 This module is part of the DA9061/DA9062/DA9063. For more details about entire
5 For DA9063 see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
14 "dlg,da9063-onkey"
22 Example: DA9063
24 pmic0: da9063@58 {
26 compatible = "dlg,da9063-onkey";
/openbmc/linux/arch/arm/mach-shmobile/
H A Dregulator-quirk-rcar-gen2.c3 * R-Car Generation 2 da9063(L)/da9210 regulator quirk
5 * Certain Gen2 development boards have an da9063 and one or more da9210
9 * After cold boot or da9063-induced restart, both the da9063 and da9210 seem
16 * da9063 and da9210. This quirk has to run after the i2c master driver has
30 #include <linux/mfd/da9063/registers.h>
67 { .compatible = "dlg,da9063", .data = &da9063_msg },
/openbmc/linux/drivers/input/misc/
H A Dda9063_onkey.c3 * OnKey device driver for DA9063, DA9062 and DA9061 PMICs
17 #include <linux/mfd/da9063/core.h>
18 #include <linux/mfd/da9063/registers.h>
78 { .compatible = "dlg,da9063-onkey", .data = &da9063_regs },
283 MODULE_DESCRIPTION("Onkey device driver for Dialog DA9063, DA9062 and DA9061");
/openbmc/linux/drivers/rtc/
H A Drtc-da9063.c3 * Real time clock device driver for DA9063
20 #include <linux/mfd/da9063/registers.h>
21 #include <linux/mfd/da9063/core.h>
161 { .compatible = "dlg,da9063-rtc", .data = &da9063_bb_regs },
396 if (of_device_is_compatible(pdev->dev.of_node, "dlg,da9063-rtc")) { in da9063_rtc_probe()
397 struct da9063 *chip = dev_get_drvdata(pdev->dev.parent); in da9063_rtc_probe()
522 MODULE_DESCRIPTION("Real time clock device driver for Dialog DA9063");
/openbmc/linux/arch/riscv/boot/dts/sifive/
H A Dhifive-unmatched-a00.dts121 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 Dr8a7790-stout.dts330 compatible = "dlg,da9063";
338 compatible = "dlg,da9063-onkey";
342 compatible = "dlg,da9063-rtc";
346 compatible = "dlg,da9063-watchdog";
H A Dr8a7792-blanche.dts326 compatible = "dlg,da9063";
336 compatible = "dlg,da9063-rtc";
340 compatible = "dlg,da9063-watchdog";
H A Dr8a7794-silk.dts422 compatible = "dlg,da9063";
430 compatible = "dlg,da9063-onkey";
434 compatible = "dlg,da9063-rtc";
438 compatible = "dlg,da9063-watchdog";
H A Dr8a7794-alt.dts456 compatible = "dlg,da9063";
464 compatible = "dlg,da9063-rtc";
468 compatible = "dlg,da9063-watchdog";
H A Dr8a7793-gose.dts733 compatible = "dlg,da9063";
741 compatible = "dlg,da9063-rtc";
745 compatible = "dlg,da9063-watchdog";
H A Dr8a7791-koelsch.dts798 compatible = "dlg,da9063";
806 compatible = "dlg,da9063-rtc";
810 compatible = "dlg,da9063-watchdog";
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-phytec-pfla02.dtsi123 compatible = "dlg,da9063";
203 compatible = "dlg,da9063-rtc";
207 compatible = "dlg,da9063-watchdog";
211 compatible = "dlg,da9063-onkey";
H A Dimx6qdl-emcon.dtsi221 da9063: pmic@58 { label
222 compatible = "dlg,da9063";
230 compatible = "dlg,da9063-onkey";
235 compatible = "dlg,da9063-watchdog";
/openbmc/u-boot/arch/arm/dts/
H A Dr8a7790-stout.dts315 compatible = "dlg,da9063";
322 compatible = "dlg,da9063-rtc";
326 compatible = "dlg,da9063-watchdog";
H A Dr8a7793-gose.dts714 compatible = "dlg,da9063";
721 compatible = "dlg,da9063-rtc";
725 compatible = "dlg,da9063-watchdog";
H A Dr8a7790-lager.dts432 compatible = "dlg,da9063";
439 compatible = "dlg,da9063-rtc";
443 compatible = "dlg,da9063-watchdog";

12