Home
last modified time | relevance | path

Searched +full:cpcap +full:- +full:battery (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/power/supply/
Dcpcap-battery.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 $id: http://devicetree.org/schemas/power/supply/cpcap-battery.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Motorola CPCAP PMIC battery
11 - Tony Lindgren <tony@atomide.com>
12 - Sebastian Reichel <sre@kernel.org>
15 Motorola CPCAP is a PMIC found in some mobile phones, e.g.
16 the Droid 4. This binding describes its battery fuel gauge
17 sub-function.
[all …]
Dcpcap-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 $id: http://devicetree.org/schemas/power/supply/cpcap-charger.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Motorola CPCAP PMIC charger
11 - Tony Lindgren <tony@atomide.com>
12 - Sebastian Reichel <sre@kernel.org>
15 Motorola CPCAP is a PMIC found in some mobile phones, e.g.
16 the Droid 4. This binding describes its battery charger
17 sub-function.
[all …]
/linux-6.12.1/arch/arm/boot/dts/ti/omap/
Dmotorola-cpcap-mapphone.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Common CPCAP configuration used on Motorola phones
7 cpcap: pmic@0 { label
8 compatible = "motorola,cpcap", "st,6556002";
10 interrupt-parent = <&gpio1>;
12 interrupt-controller;
13 #interrupt-cells = <2>;
14 #address-cells = <1>;
15 #size-cells = <0>;
16 spi-max-frequency = <9600000>;
[all …]
Dmotorola-mapphone-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
6 #include "motorola-cpcap-mapphone.dtsi"
10 * We seem to have only 1021 MB accessible, 1021 - 1022 is locked,
11 * then 1023 - 1024 seems to contain mbm.
18 /* Poweroff GPIO probably connected to CPCAP */
19 gpio-poweroff {
20 compatible = "gpio-poweroff";
21 pinctrl-0 = <&poweroff_gpio>;
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/
Dmotorola,cpcap-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/motorola,cpcap-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Motorola CPCAP PMIC ADC
10 - Tony Lindgren <tony@atomide.com>
13 On Motorola phones like droid 4 there is a custom CPCAP PMIC. This PMIC
14 has ADCs that are used for battery charging and USB PHY VBUS and ID pin
20 - motorola,cpcap-adc
21 - motorola,mapphone-cpcap-adc
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Dmotorola-cpcap.txt1 Motorola CPCAP PMIC device tree binding
4 - compatible : One or both of "motorola,cpcap" or "ste,6556002"
5 - reg : SPI chip select
6 - interrupts : The interrupt line the device is connected to
7 - interrupt-controller : Marks the device node as an interrupt controller
8 - #interrupt-cells : The number of cells to describe an IRQ, should be 2
9 - #address-cells : Child device offset number of cells, should be 1
10 - #size-cells : Child device size number of cells, should be 0
11 - spi-max-frequency : Typically set to 3000000
12 - spi-cs-high : SPI chip select direction
[all …]
/linux-6.12.1/drivers/power/supply/
Dcpcap-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Motorola CPCAP PMIC battery charger driver
10 * Copyright (C) 2009-2010 Motorola, Inc.
30 #include <linux/mfd/motorola-cpcap.h>
35 * MC13783UG.pdf chapter "8.5 Battery Interface Register Summary". The registers
36 * and values for CPCAP are different, but some of the internal components seem
37 * similar. Also see the Motorola Linux kernel cpcap-regbits.h. CPCAP_REG_CHRGR_1
89 * values in "Table 8-3. Charge Path Regulator Current Limit
180 channel = ddata->channels[CPCAP_CHARGER_IIO_VOLTAGE]; in cpcap_charger_get_charge_voltage()
183 dev_warn(ddata->dev, "%s failed: %i\n", __func__, error); in cpcap_charger_get_charge_voltage()
[all …]
Dcpcap-battery.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Battery driver for CPCAP PMIC
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"
44 #define CPCAP_REG_BPEOL_BIT_BATTDETEN BIT(1) /* Enable battery detect */
52 * the coulomb counter like cpcap does. So for now, we use the twl6030 style
141 #define CPCAP_NO_BATTERY -400
153 return &ddata->state[state]; in cpcap_battery_get_state()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 subdir-ccflags-$(CONFIG_POWER_SUPPLY_DEBUG) := -DDEBUG
4 power_supply-y := power_supply_core.o
5 power_supply-$(CONFIG_SYSFS) += power_supply_sysfs.o
6 power_supply-$(CONFIG_LEDS_TRIGGERS) += power_supply_leds.o
8 obj-$(CONFIG_POWER_SUPPLY) += power_supply.o
9 obj-$(CONFIG_POWER_SUPPLY_HWMON) += power_supply_hwmon.o
10 obj-$(CONFIG_GENERIC_ADC_BATTERY) += generic-adc-battery.o
12 obj-$(CONFIG_APM_POWER) += apm_power.o
13 obj-$(CONFIG_AXP20X_POWER) += axp20x_usb_power.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
36 battery class devices.
39 tristate "Generic battery support using IIO"
42 Say Y here to enable support for the generic battery driver
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
87 tristate "Marvell 88PM860x battery driver"
[all …]
/linux-6.12.1/drivers/mfd/
Dmotorola-cpcap.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Motorola CPCAP PMIC core driver
19 #include <linux/mfd/motorola-cpcap.h>
43 return -EINVAL; in cpcap_sense_irq()
57 return cpcap_sense_irq(regmap, virq - irq_base); in cpcap_sense_virq()
61 static int cpcap_check_revision(struct cpcap_ddata *cpcap) in cpcap_check_revision() argument
66 ret = cpcap_get_vendor(&cpcap->spi->dev, cpcap->regmap, &vendor); in cpcap_check_revision()
70 ret = cpcap_get_revision(&cpcap->spi->dev, cpcap->regmap, &rev); in cpcap_check_revision()
74 dev_info(&cpcap->spi->dev, "CPCAP vendor: %s rev: %i.%i (%x)\n", in cpcap_check_revision()
80 dev_info(&cpcap->spi->dev, in cpcap_check_revision()
[all …]
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
64 linear regulators, along with a complete ActivePath battery
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
114 controllers, 11 LDOs, RTC, automatic battery, temperature and
144 over at91-usart-serial driver and usart-spi-driver. Only one function
[all …]
/linux-6.12.1/drivers/iio/adc/
Dcpcap-adc.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Copyright (C) 2009-2010 Motorola, Inc.
27 #include <linux/mfd/motorola-cpcap.h>
86 * struct cpcap_adc_ato - timing settings for cpcap adc
88 * Unfortunately no cpcap documentation available, please document when
103 * struct cpcap_adc - cpcap adc device driver data
104 * @reg: cpcap regmap
106 * @vendor: cpcap vendor
125 * enum cpcap_adc_channel - cpcap adc channels
129 CPCAP_ADC_AD0, /* Battery temperature */
[all …]
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-6.12.1/drivers/rtc/
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
48 If the clock you specify here is not battery backed, it may still
92 Say yes here to add support for the non volatile (often battery
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.
187 tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3"
[all …]
/linux-6.12.1/drivers/regulator/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
15 output in order to save power and prolong battery life. This applies
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
[all …]