Home
last modified time | relevance | path

Searched +full:twl6030 +full:- +full:charger (Results 1 – 14 of 14) sorted by relevance

/linux/Documentation/devicetree/bindings/mfd/
H A Dti,twl.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andreas Kemnade <andreas@kemnade.info>
19 - if:
26 "^regulator-":
30 - ti,twl4030-vaux1
31 - ti,twl4030-vaux2
32 - ti,twl4030-vaux3
33 - ti,twl4030-vaux4
[all …]
/linux/Documentation/devicetree/bindings/power/supply/
H A Dti,twl6030-charger.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/power/supply/ti,twl6030-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TWL6030/32 BCI (Battery Charger Interface)
10 The battery charger needs to be configured to do any charging besides of
15 - Andreas Kemnade <andreas@kemnade.info>
18 - $ref: power-supply.yaml#
23 - const: ti,twl6030-charger
24 - items:
[all …]
/linux/drivers/power/supply/
H A Dtwl6030_charger.c1 // SPDX-License-Identifier: GPL-2.0
3 * TWL6030 charger
26 #include <linux/devm-helpers.h>
48 /* TWL6032 registers 0xDA to 0xDE - TWL6032_MODULE_CHARGER */
139 #define UA_TO_VITERM(x) (((x) / 50000 - 1) << 5)
149 #define UV_TO_VOREG(x) (((x) - 3500000) / 20000)
161 #define UA_TO_VICHRG(x) (((x) / 100000) - 1)
218 static int twl6030_config_cinlimit_reg(struct twl6030_charger_info *charger, in twl6030_config_cinlimit_reg() argument
222 ua = (ua - 50000) / 50000; in twl6030_config_cinlimit_reg()
223 } else if ((ua > 750000) && (ua <= 1500000) && charger->extended_current_range) { in twl6030_config_cinlimit_reg()
[all …]
H A Dcpcap-battery.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * Copyright (C) 2009-2010 Motorola, Inc.
23 #include <linux/nvmem-consumer.h>
28 #include <linux/mfd/motorola-cpcap.h>
32 * map to MC13783UG.pdf "Table 5-19. Register 13, Power Control 0"
48 * Register bit defines for CPCAP_REG_CCC1. These seem similar to the twl6030
49 * coulomb counter registers rather than the mc13892 registers. Both twl6030
51 * sets bit 0 to start the coulomb counter while twl6030 sets bit 0 to stop
52 * the coulomb counter like cpcap does. So for now, we use the twl6030 style
141 #define CPCAP_NO_BATTERY -400
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
51 which include a battery charger and a boost converter.
54 tristate "MAX8925 battery charger support"
57 Say Y here to enable support for the battery charger in the Maxim
61 tristate "WM831X backup battery charger support"
64 Say Y here to enable support for the backup battery charger
93 tristate "ADP5061 battery charger driver"
98 charger.
104 tristate "Active-semi ACT8945A charger driver"
108 Active-semi ActivePath ACT8945A charger.
[all …]
/linux/drivers/mfd/
H A Dtwl6030-irq.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * twl6030-irq.c - TWL6030 irq support
5 * Copyright (C) 2005-2009 Texas Instruments, Inc.
16 * TWL6030 specific code and IRQ handling changes by
17 * Jagadeesh Bhaskar Pakaravoor <j-pakaravoor@ti.com>
32 #include "twl-core.h"
35 * TWL6030 (unlike its predecessors, which had two level interrupt handling)
41 * We set up IRQs starting at a platform-specified base. An interrupt map table,
104 /*----------------------------------------------------------------------*/
128 chained_wakeups = atomic_read(&pdata->wakeirqs); in twl6030_irq_pm_notifier()
[all …]
H A Dtwl-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * twl_core.c - driver for TWL4030/TWL5030/TWL60X0/TPS659x0 PM
6 * Copyright (C) 2005-2006 Texas Instruments, Inc.
39 #include <linux/mfd/twl4030-audio.h>
41 #include "twl-core.h"
44 * The TWL4030 "Triton 2" is one of a family of a multi-function "Power
62 /* subchip/slave 0 - USB ID */
65 /* subchip/slave 1 - AUD ID */
72 /* subchip/slave 2 - AUX ID */
85 /* subchip/slave 3 - POWER ID */
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
57 tristate "Active-semi ACT8945A"
62 Support for the ACT8945A PMIC from Active-semi. This device
63 features three step-down DC/DC converters and four low-dropout
65 charger.
79 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
82 called sun4i-gpadc.
113 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
144 over at91-usart-serial driver and usart-spi-driver. Only one function
160 tristate "Atmel HLCDC (High-end LCD Controller)"
[all …]
/linux/include/linux/mfd/
H A Dtwl.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * twl4030.h - header for TWL4030 PM and audio CODEC device
5 * Copyright (C) 2005-2006 Texas Instruments, Inc.
28 /* Module IDs for similar functionalities found in twl4030/twl6030 */
64 /* Modules only available in twl6030 series */
91 * Offset from TWL6030_IRQ_BASE / pdata->irq_base
169 * Read and write several 8-bit registers at once.
175 * Read and write single 8-bit registers
226 return -EIO; in twl6030_mmc_card_detect()
229 /*----------------------------------------------------------------------*/
[all …]
/linux/drivers/iio/adc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 bool "ST-Ericsson AB8500 GPADC driver"
16 internal voltages, convert accessory and battery, AC (charger, mains)
45 Say yes here to build support for Analog Devices AD4130-8 SPI analog
73 Say yes here to build support for Analog Devices AD7091R-5 ADC.
81 Say yes here to build support for Analog Devices AD7091R-2, AD7091R-4,
82 and AD7091R-8 ADC.
88 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
92 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8
107 - AD7172-2
[all …]
/linux/drivers/regulator/
H A Dtwl-regulator.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * twl-regulator.c -- support regulators in twl4030/twl6030 family chips
24 * include an audio codec, battery charger, and more voltage regulators.
25 * These chips are often used in OMAP-based systems.
27 * This driver implements software-based resource control for various
39 /* voltage in mV = table[VSEL]; table_len must be a power-of-two */
68 /* TWL6030 register offsets */
81 &value, info->base + offset); in twlreg_read()
90 value, info->base + offset); in twlreg_write()
93 /*----------------------------------------------------------------------*/
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
38 managed regulators and simple non-configurable regulators.
64 the netlink mechanism. User-space applications can subscribe to these events
65 for real-time updates on various regulator events.
75 They provide two I2C-controlled DC/DC step-down converters with
101 tristate "Active-semi act8865 voltage regulator"
106 This driver controls a active-semi act8865 voltage output
110 tristate "Active-semi ACT8945A voltage regulator"
113 This driver controls a active-semi ACT8945A voltage regulator
114 via I2C bus. The ACT8945A features three step-down DC/DC converters
[all …]
/linux/drivers/rtc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
44 This clock should be battery-backed, so that it reads the correct
45 time when the system boots from a power-off state. Otherwise, your
141 once-per-second update interrupts, used for synchronization.
159 will be called rtc-test.
173 will be called rtc-88pm860x.
183 will be called rtc-88pm80x.
193 will be called rtc-88pm886.
197 tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3"
200 AB-RTCMC-32.768kHz-B5ZE-S3 I2C RTC chip.
[all …]
/linux/
H A DMAINTAINERS5 ---------------------------------------------------
21 W: *Web-page* with status/info
23 B: URI for where to file *bugs*. A web-page with detailed bug
28 patches to the given subsystem. This is either an in-tree file,
29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst
46 N: [^a-z]tegra all files whose path contains tegra
64 ----------------
83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS)
85 L: linux-scsi@vger.kernel.org
88 F: drivers/scsi/3w-*
[all …]