Home
last modified time | relevance | path

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

/openbmc/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 …]
/openbmc/u-boot/arch/arm/dts/
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 compatible = "x-powers,axp209";
53 interrupt-controller;
54 #interrupt-cells = <1>;
56 ac_power_supply: ac-power-supply {
[all …]
/openbmc/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 */
59 compatible = "x-powers,axp209";
[all …]
/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A Dx-powers,axp20x-usb-power-supply.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-usb-power-supply.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: AXP20x USB power-supply
11 variations such as the former being able to set the VBUS power supply max
15 - Chen-Yu Tsai <wens@csie.org>
16 - Sebastian Reichel <sre@kernel.org>
19 - $ref: power-supply.yaml#
24 - enum:
[all …]
/openbmc/linux/drivers/mfd/
H A 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
38 "AXP202",
824 .name = "axp192-adc",
825 .of_compatible = "x-powers,axp192-adc",
827 .name = "axp20x-battery-power-supply",
828 .of_compatible = "x-powers,axp192-battery-power-supply",
830 .name = "axp20x-ac-power-supply",
[all …]
/openbmc/linux/drivers/power/supply/
H A Daxp20x_usb_power.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * AXP20x PMIC USB power supply status driver
6 * Copyright (C) 2014 Bruno Prémont <bonbons@linux-vserver.org>
11 #include <linux/devm-helpers.h>
26 #define DRVNAME "axp20x-usb-power-supply"
68 struct power_supply *supply; member
79 static bool axp20x_usb_vbus_needs_polling(struct axp20x_usb_power *power) in axp20x_usb_vbus_needs_polling() argument
83 * present->absent transition implies an online->offline transition in axp20x_usb_vbus_needs_polling()
86 if (power->axp_data->vbus_needs_polling && !power->online) in axp20x_usb_vbus_needs_polling()
94 struct axp20x_usb_power *power = devid; in axp20x_usb_power_irq() local
[all …]