Home
last modified time | relevance | path

Searched +full:axp221 +full:- +full:adc (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/iio/adc/
H A Dx-powers,axp209-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/x-powers,axp209-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: X-Powers AXP ADC
10 - Chen-Yu Tsai <wens@csie.org>
13 ADC is frequently used as a provider to consumers of the ADC channels.
15 ADC channels and their indexes per variant:
18 ------
33 ------
[all …]
/openbmc/linux/arch/arm/boot/dts/allwinner/
H A Daxp22x.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 * AXP221/221s/223 Integrated Power Management Chip
47 * http://www.x-powers.com/product/AXP22X.php
48 * http://dl.linux-sunxi.org/AXP/AXP221%20Datasheet%20V1.2%2020130326%20.pdf
52 interrupt-controller;
53 #interrupt-cells = <1>;
55 ac_power_supply: ac-power {
56 compatible = "x-powers,axp221-ac-power-supply";
[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
40 "AXP221",
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/Documentation/devicetree/bindings/gpio/
H A Dx-powers,axp209-gpio.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/gpio/x-powers,axp209-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: X-Powers AXP209 GPIO
10 - Chen-Yu Tsai <wens@csie.org>
13 "#gpio-cells":
20 - enum:
21 - x-powers,axp209-gpio
22 - x-powers,axp221-gpio
[all …]
/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A Dx-powers,axp20x-battery-power-supply.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-battery-power-supply.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: AXP20x Battery power-supply
11 currents of the battery by reading ADC channels from the ADC.
14 - Chen-Yu Tsai <wens@csie.org>
15 - Sebastian Reichel <sre@kernel.org>
18 - $ref: power-supply.yaml#
23 - const: x-powers,axp202-battery-power-supply
[all …]
H A 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
11 reading ADC channels from the AXP20X ADC. The AXP22X is only able to
16 - Chen-Yu Tsai <wens@csie.org>
17 - Sebastian Reichel <sre@kernel.org>
20 - $ref: power-supply.yaml#
25 - const: x-powers,axp202-ac-power-supply
[all …]
/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/drivers/power/
H A DKconfig19 ---help---
27 ---help---
36 ---help---
41 bool "axp221 / axp223 pmic support"
45 ---help---
46 Select this to enable support for the axp221/axp223 pmic found on most
54 ---help---
62 ---help---
69 ---help---
80 ---help---
[all …]
/openbmc/linux/drivers/iio/adc/
H A Daxp20x_adc.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* ADC driver for AXP20X and AXP22X PMICs
5 * Quentin Schulz <quentin.schulz@free-electrons.com>
109 .consumer_dev_name = "axp20x-usb-power-supply",
113 .consumer_dev_name = "axp20x-usb-power-supply",
117 .consumer_dev_name = "axp20x-ac-power-supply",
121 .consumer_dev_name = "axp20x-ac-power-supply",
125 .consumer_dev_name = "axp20x-battery-power-supply",
129 .consumer_dev_name = "axp20x-battery-power-supply",
133 .consumer_dev_name = "axp20x-battery-power-supply",
[all …]
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-axp209.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2016 Maxime Ripard <maxime.ripard@free-electrons.com>
6 * Copyright (C) 2017 Quentin Schulz <quentin.schulz@free-electrons.com>
23 #include <linux/pinctrl/pinconf-generic.h>
54 /* Stores the pins supporting ADC function. Bit offset is pin number. */
124 return -EINVAL; in axp20x_gpio_get_reg()
129 return pinctrl_gpio_direction_input(chip->base + offset); in axp20x_gpio_input()
140 ret = regmap_read(pctl->regmap, AXP20X_GPIO3_CTRL, &val); in axp20x_gpio_get()
146 ret = regmap_read(pctl->regmap, AXP20X_GPIO20_SS, &val); in axp20x_gpio_get()
150 return !!(val & BIT(offset + pctl->desc->gpio_status_offset)); in axp20x_gpio_get()
[all …]
/openbmc/linux/
H A Dopengrok0.0.log1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz'
2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz'
3 2024-12-2
[all...]