Home
last modified time | relevance | path

Searched +full:axp209 +full:- +full:battery +full:- +full:power +full:- +full:supply (Results 1 – 4 of 4) sorted by relevance

/linux/Documentation/devicetree/bindings/mfd/
H A Dx-powers,axp152.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mfd/x-powers,axp152.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: X-Powers AXP PMIC
10 - Chen-Yu Tsai <wens@csie.org>
13 - if:
18 - x-powers,axp152
19 - x-powers,axp202
20 - x-powers,axp209
[all …]
/linux/arch/arm/boot/dts/allwinner/
H A Daxp209.dtsi2 * Copyright 2015 Chen-Yu Tsai
4 * Chen-Yu Tsai <wens@csie.org>
6 * This file is dual-licensed: you can use it either under the terms
46 * AXP202/209 Integrated Power Management Chip
47 * http://www.x-powers.com/product/AXP20X.php
48 * http://dl.linux-sunxi.org/AXP/AXP209%20Datasheet%20v1.0_cn.pdf
52 pmic-temp {
53 compatible = "iio-hwmon";
54 io-channels = <&axp_adc 4>; /* Internal temperature */
58 &axp209 {
[all …]
H A Dsun4i-a10-gemei-g9.dts6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun4i-a10.dtsi"
47 #include "sunxi-common-regulators.dtsi"
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/input.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
54 compatible = "gemei,g9", "allwinner,sun4i-a10";
61 stdout-path = "serial0:115200n8";
68 * AXP battery management
[all …]
/linux/drivers/power/supply/
H A Daxp20x_battery.c2 * Battery power supply driver for X-Powers AXP20X and AXP22X PMICs
5 * Quentin Schulz <quentin.schulz@free-electrons.com>
8 * Bruno Prémont <bonbons@linux-vserver.org>
130 ret = regmap_read(axp20x_batt->regmap, AXP20X_CHRG_CTRL1, &reg); in axp20x_battery_get_max_voltage()
148 return -EINVAL; in axp20x_battery_get_max_voltage()
159 ret = regmap_read(axp20x_batt->regmap, AXP20X_CHRG_CTRL1, &reg); in axp22x_battery_get_max_voltage()
177 return -EINVAL; in axp22x_battery_get_max_voltage()
188 ret = regmap_read(axp20x_batt->regmap, AXP717_CV_CHG_SET, &reg); in axp717_battery_get_max_voltage()
212 return -EINVAL; in axp717_battery_get_max_voltage()
221 ret = regmap_read(axp20x_batt->regmap, AXP20X_CHRG_CTRL1, &reg); in axp813_battery_get_max_voltage()
[all …]