/linux/drivers/mfd/ |
H A D | da9063-core.c | 3 * 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 D | da9063-irq.c | 2 /* 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 D | da9063-i2c.c | 2 /* 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 D | Makefile | 161 da9063-objs := da9063-core.o da9063-irq.o da9063-i2c.o 162 obj-$(CONFIG_MFD_DA9063) += da9063.o
|
/linux/drivers/watchdog/ |
H A D | da9063_wdt.c | 3 * Watchdog driver for DA9063 PMICs. 19 #include <linux/mfd/da9063/registers.h> 20 #include <linux/mfd/da9063/core.h> 55 static unsigned int da9063_wdt_read_timeout(struct da9063 *da9063) in da9063_wdt_read_timeout() argument 59 regmap_read(da9063->regmap, DA9063_REG_CONTROL_D, &val); in da9063_wdt_read_timeout() 64 static int da9063_wdt_disable_timer(struct da9063 *da9063) in da9063_wdt_disable_timer() argument 66 return regmap_update_bits(da9063->regmap, DA9063_REG_CONTROL_D, in da9063_wdt_disable_timer() 72 da9063_wdt_update_timeout(struct da9063 *da9063, unsigned int timeout) in da9063_wdt_update_timeout() argument 85 ret = da9063_wdt_disable_timer(da9063); in da9063_wdt_update_timeout() 92 return regmap_update_bits(da9063->regmap, DA9063_REG_CONTROL_D, in da9063_wdt_update_timeout() [all …]
|
H A D | Kconfig | 232 tristate "Dialog DA9063 Watchdog" 237 Support for the watchdog in the DA9063 PMIC.
|
/linux/include/linux/mfd/da9063/ |
H A D | core.h | 3 * 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 …]
|
H A D | registers.h | 3 * Registers definition for DA9063 modules 211 /* DA9063 Configuration registers */
|
/linux/drivers/regulator/ |
H A D | da9063-regulator.c | 3 // 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 …]
|
H A D | Kconfig | 342 tristate "Dialog Semiconductor DA9063 regulators" 346 DA9063 PMICs. 349 will be called da9063-regulator.
|
H A D | Makefile | 45 obj-$(CONFIG_REGULATOR_DA9063) += da9063-regulator.o
|
/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 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/arch/arm/mach-shmobile/ |
H A D | regulator-quirk-rcar-gen2.c | 3 * 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/Documentation/devicetree/bindings/input/ |
H A D | dlg,da9062-onkey.yaml | 13 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/drivers/input/misc/ |
H A D | da9063_onkey.c | 3 * 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");
|
H A D | Kconfig | 693 tristate "Dialog DA9063/62/61 OnKey" 696 Support the ONKEY of Dialog DA9063, DA9062 and DA9061 Power
|
/linux/drivers/rtc/ |
H A D | rtc-da9063.c | 3 * 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");
|
H A D | Makefile | 49 obj-$(CONFIG_RTC_DRV_DA9063) += rtc-da9063.o
|
H A D | Kconfig | 1180 tristate "Dialog Semiconductor DA9063/DA9062 RTC" 1184 for the Dialog Semiconductor PMIC chips DA9063 and DA9062. 1187 will be called "rtc-da9063".
|
/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";
|
/linux/Documentation/devicetree/bindings/thermal/ |
H A D | dlg,da9062-thermal.yaml | 14 DA906{1,2} chips see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
|
/linux/Documentation/devicetree/bindings/watchdog/ |
H A D | dlg,da9062-watchdog.yaml | 20 - dlg,da9063-watchdog
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-phytec-phycore-som.dtsi | 8 #include <dt-bindings/regulator/dlg,da9063-regulator.h>
|
H A D | imx6ull-dhcor-som.dtsi | 11 #include <dt-bindings/regulator/dlg,da9063-regulator.h>
|
H A D | imx6qdl-aristainetos2.dtsi | 149 compatible = "dlg,da9063";
|