Home
last modified time | relevance | path

Searched +full:axp209 +full:- +full:adc (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/contrib/device-tree/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.
14 Device is a child of an axp209 multifunction device
15 ADC channels and their indexes per variant:
17 AXP209
[all …]
H A Daxp20x_adc.txt1 * X-Powers AXP ADC bindings
4 - compatible: should be one of:
5 - "x-powers,axp209-adc",
6 - "x-powers,axp221-adc",
7 - "x-powers,axp813-adc",
8 - #io-channel-cells: should be 1,
13 adc {
14 compatible = "x-powers,axp221-adc";
15 #io-channel-cells = <1>;
19 ADC channels and their indexes per variant:
[all …]
/freebsd/sys/contrib/device-tree/Bindings/gpio/
H A Dgpio-axp209.txt1 AXP209 GPIO & pinctrl controller
7 Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
9 This driver employs the per-pin muxing pattern.
12 - compatible: Should be one of:
13 - "x-powers,axp209-gpio"
14 - "x-powers,axp813-gpio"
15 - #gpio-cells: Should be two. The first cell is the pin number and the
17 - gpio-controller: Marks the device node as a GPIO controller.
24 axp209: pmic@34 {
25 compatible = "x-powers,axp209";
[all …]
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-schema
[all...]
/freebsd/sys/contrib/device-tree/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 …]
/freebsd/sys/contrib/device-tree/Bindings/power/supply/
H A Daxp20x_battery.txt4 - compatible, one of:
5 "x-powers,axp209-battery-power-supply"
6 "x-powers,axp221-battery-power-supply"
7 "x-powers,axp813-battery-power-supply"
12 currents of the battery by reading ADC channels from the ADC.
16 &axp209 {
17 battery_power_supply: battery-power-supply {
18 compatible = "x-powers,axp209-battery-power-supply";
H A Daxp20x_ac_power.txt4 - compatible: One of:
5 "x-powers,axp202-ac-power-supply"
6 "x-powers,axp221-ac-power-supply"
7 "x-powers,axp813-ac-power-supply"
12 reading ADC channels from the AXP20X ADC.
21 &axp209 {
22 ac_power_supply: ac-power-supply {
23 compatible = "x-powers,axp202-ac-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 …]
/freebsd/sys/contrib/device-tree/src/arm/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
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 {
59 compatible = "x-powers,axp209";
[all …]
/freebsd/sys/arm/allwinner/
H A Daxp209.c1 /*-
2 * Copyright (c) 2015-2016 Emmanuel Vadot <manu@freebsd.org>
29 * X-Power AXP209/AXP211 PMU for Allwinner SoCs
525 .value_convert = -(AXP209_TEMPMON_MIN - AXP209_0C_TO_K),
589 .value_convert = -(AXP221_TEMPMON_MIN - AXP209_0C_TO_K),
594 AXP209 = 1, enumerator
622 { "x-powers,axp209", AXP209 },
623 { "x-powers,axp221", AXP221 },
629 { -1, 0, 0 }
632 #define AXP_LOCK(sc) mtx_lock(&(sc)->mtx)
[all …]