Home
last modified time | relevance | path

Searched +full:axp202 +full:- +full:ac +full:- +full:power +full:- +full:supply (Results 1 – 5 of 5) sorted by relevance

/linux-6.14.4/Documentation/devicetree/bindings/mfd/
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 <[email protected]>
13 - if:
18 - x-powers,axp152
19 - x-powers,axp202
20 - x-powers,axp209
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/power/supply/
Dx-powers,axp20x-ac-power-supply.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-ac-power-supply.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: AXP20x AC power-supply
10 The AXP20X can read the current current and voltage supplied by AC by
12 tell if an AC power supply is present and usable. AXP813/AXP803 are
13 able to limit current and supply voltage
16 - Chen-Yu Tsai <[email protected]>
17 - Sebastian Reichel <[email protected]>
[all …]
/linux-6.14.4/arch/arm/boot/dts/allwinner/
Daxp209.dtsi2 * Copyright 2015 Chen-Yu Tsai
4 * Chen-Yu Tsai <[email protected]>
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 */
59 compatible = "x-powers,axp209";
[all …]
/linux-6.14.4/drivers/power/supply/
Daxp20x_ac_power.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * AXP20X and AXP22X PMICs' ACIN power supply driver
6 * Quentin Schulz <quentin.schulz@free-electrons.com>
30 #define AXP813_VHOLD_UV_TO_BIT(x) ((((x) / 100000) - 40) << 3)
35 #define AXP813_CURR_LIMIT_UA_TO_BIT(x) (((x) / 500000) - 3)
39 #define DRVNAME "axp20x-ac-power-supply"
43 struct power_supply *supply; member
53 struct axp20x_ac_power *power = devid; in axp20x_ac_power_irq() local
55 power_supply_changed(power->supply); in axp20x_ac_power_irq()
64 struct axp20x_ac_power *power = power_supply_get_drvdata(psy); in axp20x_ac_power_get_property() local
[all …]
/linux-6.14.4/drivers/mfd/
Daxp20x.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * MFD core driver for the X-Powers' Power Management ICs
5 * AXP20x typically comprises an adaptive USB-Compatible PWM charger, BUCK DC-DC
6 * converters, LDOs, multiple 12-bit ADCs of voltage, current and temperature
39 [AXP202_ID] = "AXP202",
940 .name = "axp192-adc",
941 .of_compatible = "x-powers,axp192-adc",
943 .name = "axp20x-battery-power-supply",
944 .of_compatible = "x-powers,axp192-battery-power-supply",
946 .name = "axp20x-ac-power-supply",
[all …]