Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/mfd/
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 …]
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 …]
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 …]
DMakefile160 da9063-objs := da9063-core.o da9063-irq.o da9063-i2c.o
161 obj-$(CONFIG_MFD_DA9063) += da9063.o
/linux-6.12.1/drivers/watchdog/
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 …]
/linux-6.12.1/include/linux/mfd/da9063/
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 …]
/linux-6.12.1/drivers/regulator/
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 …]
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Ddlg,da9063.yaml4 $id: http://devicetree.org/schemas/mfd/dlg,da9063.yaml#
17 moment where all voltage monitors are disabled. Next, as da9063 only supports
22 - https://www.dialog-semiconductor.com/products/da9063
31 - dlg,da9063
76 - dlg,da9063-rtc
101 - dlg,da9063
164 compatible = "dlg,da9063";
172 compatible = "dlg,da9063-rtc";
176 compatible = "dlg,da9063-watchdog";
180 compatible = "dlg,da9063-onkey";
[all …]
/linux-6.12.1/arch/arm/mach-shmobile/
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 },
/linux-6.12.1/Documentation/devicetree/bindings/input/
Ddlg,da9062-onkey.yaml13 This module is part of the DA9061/DA9062/DA9063. For more details about entire
14 DA906{1,2,3} chips see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
23 - dlg,da9063-onkey
/linux-6.12.1/drivers/input/misc/
Dda9063_onkey.c3 * OnKey device driver for DA9063, DA9062 and DA9061 PMICs
18 #include <linux/mfd/da9063/core.h>
19 #include <linux/mfd/da9063/registers.h>
250 { .compatible = "dlg,da9063-onkey", .data = &da9063_regs },
266 MODULE_DESCRIPTION("Onkey device driver for Dialog DA9063, DA9062 and DA9061");
/linux-6.12.1/drivers/rtc/
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 },
392 if (of_device_is_compatible(pdev->dev.of_node, "dlg,da9063-rtc")) { in da9063_rtc_probe()
393 struct da9063 *chip = dev_get_drvdata(pdev->dev.parent); in da9063_rtc_probe()
514 MODULE_DESCRIPTION("Real time clock device driver for Dialog DA9063");
/linux-6.12.1/arch/riscv/boot/dts/sifive/
Dhifive-unmatched-a00.dts121 compatible = "dlg,da9063";
129 compatible = "dlg,da9063-onkey";
133 compatible = "dlg,da9063-rtc";
137 compatible = "dlg,da9063-watchdog";
/linux-6.12.1/arch/arm/boot/dts/renesas/
Dr8a7790-stout.dts345 compatible = "dlg,da9063";
353 compatible = "dlg,da9063-onkey";
357 compatible = "dlg,da9063-rtc";
361 compatible = "dlg,da9063-watchdog";
Dr8a7794-silk.dts437 compatible = "dlg,da9063";
445 compatible = "dlg,da9063-onkey";
449 compatible = "dlg,da9063-rtc";
453 compatible = "dlg,da9063-watchdog";
Dr8a7792-blanche.dts377 compatible = "dlg,da9063";
387 compatible = "dlg,da9063-rtc";
391 compatible = "dlg,da9063-watchdog";
Dr8a7794-alt.dts451 compatible = "dlg,da9063";
459 compatible = "dlg,da9063-rtc";
463 compatible = "dlg,da9063-watchdog";
Dr8a7793-gose.dts757 compatible = "dlg,da9063";
765 compatible = "dlg,da9063-rtc";
769 compatible = "dlg,da9063-watchdog";
Dr8a7791-koelsch.dts817 compatible = "dlg,da9063";
825 compatible = "dlg,da9063-rtc";
829 compatible = "dlg,da9063-watchdog";
Dr8a7790-lager.dts445 compatible = "dlg,da9063";
453 compatible = "dlg,da9063-rtc";
457 compatible = "dlg,da9063-watchdog";
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/
Dimx6qdl-phytec-pfla02.dtsi123 compatible = "dlg,da9063";
203 compatible = "dlg,da9063-rtc";
207 compatible = "dlg,da9063-watchdog";
211 compatible = "dlg,da9063-onkey";
Dimx6qdl-emcon.dtsi221 da9063: pmic@58 { label
222 compatible = "dlg,da9063";
230 compatible = "dlg,da9063-onkey";
235 compatible = "dlg,da9063-watchdog";
Dimx6q-ba16.dtsi219 compatible = "dlg,da9063";
227 compatible = "dlg,da9063-onkey";
/linux-6.12.1/Documentation/devicetree/bindings/thermal/
Ddlg,da9062-thermal.yaml14 DA906{1,2} chips see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
/linux-6.12.1/Documentation/devicetree/bindings/watchdog/
Ddlg,da9062-watchdog.yaml20 - dlg,da9063-watchdog

12