Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/watchdog/
Dda9063_wdt.c3 * Watchdog driver for DA9063 PMICs.
18 #include <linux/mfd/da9063/registers.h>
19 #include <linux/mfd/da9063/core.h>
52 static unsigned int da9063_wdt_read_timeout(struct da9063 *da9063) in da9063_wdt_read_timeout() argument
56 regmap_read(da9063->regmap, DA9063_REG_CONTROL_D, &val); in da9063_wdt_read_timeout()
61 static int da9063_wdt_disable_timer(struct da9063 *da9063) in da9063_wdt_disable_timer() argument
63 return regmap_update_bits(da9063->regmap, DA9063_REG_CONTROL_D, in da9063_wdt_disable_timer()
69 da9063_wdt_update_timeout(struct da9063 *da9063, unsigned int timeout) in da9063_wdt_update_timeout() argument
82 ret = da9063_wdt_disable_timer(da9063); in da9063_wdt_update_timeout()
89 return regmap_update_bits(da9063->regmap, DA9063_REG_CONTROL_D, in da9063_wdt_update_timeout()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dda9063.txt1 * Dialog DA9063/DA9063L Power Management Integrated Circuit (PMIC)
7 da9063-regulator : : LDOs & BUCKs
8 da9063-onkey : : On Key
9 da9063-rtc : : Real-Time Clock (DA9063 only)
10 da9063-watchdog : : Watchdog
16 - compatible : Should be "dlg,da9063" or "dlg,da9063l"
25 The DA9063(L) regulators are bound using their names listed below:
33 ldo1 : LDO_1 (DA9063 only)
34 ldo2 : LDO_2 (DA9063 only)
36 ldo4 : LDO_4 (DA9063 only)
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 */
144 struct da9063 *hw;
160 /* BUCK modes for DA9063 */
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/
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/da9063.txt
14 "dlg,da9063-onkey"
22 Example: DA9063
24 pmic0: da9063@58 {
26 compatible = "dlg,da9063-onkey";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/
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";
/kernel/linux/linux-6.6/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 },
/kernel/linux/linux-5.10/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 },
/kernel/linux/linux-5.10/drivers/input/misc/
Dda9063_onkey.c3 * OnKey device driver for DA9063, DA9062 and DA9061 PMICs
15 #include <linux/mfd/da9063/core.h>
16 #include <linux/mfd/da9063/registers.h>
76 { .compatible = "dlg,da9063-onkey", .data = &da9063_regs },
281 MODULE_DESCRIPTION("Onkey device driver for Dialog DA9063, DA9062 and DA9061");
/kernel/linux/linux-6.6/drivers/input/misc/
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");
/kernel/linux/linux-6.6/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 },
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");
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-da9063.c3 * Real time clock device driver for DA9063
19 #include <linux/mfd/da9063/registers.h>
20 #include <linux/mfd/da9063/core.h>
160 { .compatible = "dlg,da9063-rtc", .data = &da9063_bb_regs },
395 if (of_device_is_compatible(pdev->dev.of_node, "dlg,da9063-rtc")) { in da9063_rtc_probe()
396 struct da9063 *chip = dev_get_drvdata(pdev->dev.parent); in da9063_rtc_probe()
511 MODULE_DESCRIPTION("Real time clock device driver for Dialog DA9063");
/kernel/linux/linux-6.6/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";
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dr8a7790-stout.dts328 compatible = "dlg,da9063";
335 compatible = "dlg,da9063-onkey";
339 compatible = "dlg,da9063-rtc";
343 compatible = "dlg,da9063-watchdog";
/kernel/linux/linux-6.6/arch/arm/boot/dts/renesas/
Dr8a7790-stout.dts330 compatible = "dlg,da9063";
338 compatible = "dlg,da9063-onkey";
342 compatible = "dlg,da9063-rtc";
346 compatible = "dlg,da9063-watchdog";

123