Home
last modified time | relevance | path

Searched +full:axp209 +full:- +full:gpio (Results 1 – 25 of 115) sorted by relevance

12345

/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":
16 The first cell is the pin number and the second is the GPIO flags.
20 - enum:
21 - x-powers,axp209-gpio
[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
47 * http://www.x-powers.com/product/AXP20X.php
48 * http://dl.linux-sunxi.org/AXP/AXP209%20Datasheet%20v1.0_cn.pdf
51 &axp209 {
52 compatible = "x-powers,axp209";
53 interrupt-controller;
54 #interrupt-cells = <1>;
56 ac_power_supply: ac-power-supply {
[all …]
H A Dsun4i-a10-a1000.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"
49 #include <dt-bindings/gpio/gpio.h>
53 compatible = "mele,a1000", "allwinner,sun4i-a10";
60 stdout-path = "serial0:115200n8";
64 compatible = "gpio-leds";
74 default-state = "on";
78 reg_emac_3v3: emac-3v3 {
[all …]
H A Dsun4i-a10-pov-protab2-ips9.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun4i-a10.dtsi"
45 #include "sunxi-common-regulators.dtsi"
46 #include <dt-bindings/gpio/gpio.h>
47 #include <dt-bindings/input/input.h>
48 #include <dt-bindings/interrupt-controller/irq.h>
49 #include <dt-bindings/pwm/pwm.h>
52 model = "Point of View Protab2-IPS9";
53 compatible = "pov,protab2-ips9", "allwinner,sun4i-a10";
[all …]
H A Dsun4i-a10-dserve-dsrv9703c.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun4i-a10.dtsi"
45 #include "sunxi-common-regulators.dtsi"
46 #include <dt-bindings/gpio/gpio.h>
47 #include <dt-bindings/input/input.h>
48 #include <dt-bindings/interrupt-controller/irq.h>
49 #include <dt-bindings/pwm/pwm.h>
53 compatible = "dserve,dsrv9703c", "allwinner,sun4i-a10";
60 compatible = "pwm-backlight";
[all …]
H A Dsun4i-a10-hyundai-a7hd.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun4i-a10.dtsi"
45 #include "sunxi-common-regulators.dtsi"
46 #include <dt-bindings/gpio/gpio.h>
50 compatible = "hyundai,a7hd", "allwinner,sun4i-a10";
57 stdout-path = "serial0:115200n8";
68 axp209: pmic@34 { label
69 compatible = "x-powers,axp209";
73 interrupt-controller;
[all …]
H A Dsun4i-a10-mk802ii.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun4i-a10.dtsi"
45 #include "sunxi-common-regulators.dtsi"
46 #include <dt-bindings/gpio/gpio.h>
50 compatible = "allwinner,mk802ii", "allwinner,sun4i-a10";
57 stdout-path = "serial0:115200n8";
72 axp209: pmic@34 { label
73 compatible = "x-powers,axp209";
77 interrupt-controller;
[all …]
H A Dsun4i-a10-ba10-tvbox.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun4i-a10.dtsi"
45 #include "sunxi-common-regulators.dtsi"
47 #include <dt-bindings/gpio/gpio.h>
51 compatible = "allwinner,ba10-tvbox", "allwinner,sun4i-a10";
58 stdout-path = "serial0:115200n8";
82 axp209: pmic@34 { label
83 compatible = "x-powers,axp209";
87 interrupt-controller;
[all …]
H A Dsun4i-a10-pcduino.dts5 * This file is dual-licensed: you can use it either under the terms
44 /dts-v1/;
45 #include "sun4i-a10.dtsi"
46 #include "sunxi-common-regulators.dtsi"
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/input.h>
53 compatible = "linksprite,a10-pcduino", "allwinner,sun4i-a10";
60 stdout-path = "serial0:115200n8";
64 compatible = "gpio-leds";
77 gpio-keys {
[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/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
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 …]
H A Dsun5i-a13-licheepi-one.dts4 * Based on sun5i-a13-olinuxino.dts, which is
5 * Copyright 2012 Maxime Ripard <maxime.ripard@free-electrons.com>
8 * This file is dual-licensed: you can use it either under the terms
47 /dts-v1/;
48 #include "sun5i-a13.dtsi"
49 #include "sunxi-common-regulators.dtsi"
51 #include <dt-bindings/gpio/gpio.h>
52 #include <dt-bindings/input/input.h>
56 compatible = "licheepi,licheepi-one", "allwinner,sun5i-a13";
63 stdout-path = "serial0:115200n8";
[all …]
H A Dsun4i-a10-a1000.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"
49 #include <dt-bindings/gpio/gpio.h>
53 compatible = "mele,a1000", "allwinner,sun4i-a10";
60 stdout-path = "serial0:115200n8";
63 hdmi-connector {
64 compatible = "hdmi-connector";
69 remote-endpoint = <&hdmi_out_con>;
[all …]
H A Dsun4i-a10-dserve-dsrv9703c.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun4i-a10.dtsi"
45 #include "sunxi-common-regulators.dtsi"
46 #include <dt-bindings/gpio/gpio.h>
47 #include <dt-bindings/input/input.h>
48 #include <dt-bindings/interrupt-controller/irq.h>
49 #include <dt-bindings/pwm/pwm.h>
53 compatible = "dserve,dsrv9703c", "allwinner,sun4i-a10";
60 compatible = "pwm-backlight";
[all …]
H A Dsun4i-a10-pov-protab2-ips9.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun4i-a10.dtsi"
45 #include "sunxi-common-regulators.dtsi"
46 #include <dt-bindings/gpio/gpio.h>
47 #include <dt-bindings/input/input.h>
48 #include <dt-bindings/interrupt-controller/irq.h>
49 #include <dt-bindings/pwm/pwm.h>
52 model = "Point of View Protab2-IPS9";
53 compatible = "pov,protab2-ips9", "allwinner,sun4i-a10";
[all …]
H A Dsun4i-a10-hyundai-a7hd.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun4i-a10.dtsi"
45 #include "sunxi-common-regulators.dtsi"
46 #include <dt-bindings/gpio/gpio.h>
50 compatible = "hyundai,a7hd", "allwinner,sun4i-a10";
57 stdout-path = "serial0:115200n8";
68 axp209: pmic@34 { label
69 compatible = "x-powers,axp209";
73 interrupt-controller;
[all …]
H A Dsun8i-v3-sl631.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR X11)
6 /dts-v1/;
8 #include "sun8i-v3.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
15 compatible = "allwinner,sl631", "allwinner,sun8i-v3";
22 stdout-path = "serial0:115200n8";
29 axp209: pmic@34 { label
31 interrupt-parent = <&nmi_intc>;
37 pinctrl-names = "default";
[all …]
H A Dsun4i-a10-mk802ii.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun4i-a10.dtsi"
45 #include "sunxi-common-regulators.dtsi"
46 #include <dt-bindings/gpio/gpio.h>
50 compatible = "allwinner,mk802ii", "allwinner,sun4i-a10";
57 stdout-path = "serial0:115200n8";
72 axp209: pmic@34 { label
73 compatible = "x-powers,axp209";
77 interrupt-controller;
[all …]
H A Dsun7i-a20-m3.dts6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun7i-a20.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
54 compatible = "mele,m3", "allwinner,sun7i-a20";
61 stdout-path = "serial0:115200n8";
65 compatible = "gpio-leds";
83 pinctrl-names = "default";
[all …]
H A Dsun4i-a10-ba10-tvbox.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun4i-a10.dtsi"
45 #include "sunxi-common-regulators.dtsi"
47 #include <dt-bindings/gpio/gpio.h>
51 compatible = "allwinner,ba10-tvbox", "allwinner,sun4i-a10";
58 stdout-path = "serial0:115200n8";
71 phy-handle = <&phy1>;
82 axp209: pmic@34 { label
83 compatible = "x-powers,axp209";
[all …]
H A Dsun5i-a13-pocketbook-touch-lux-3.dts1 // SPDX-License-Identifier: GPL-2.0 OR MIT
6 /dts-v1/;
7 #include "sun5i-a13.dtsi"
8 #include "sunxi-common-regulators.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/pwm/pwm.h>
16 compatible = "pocketbook,touch-lux-3", "allwinner,sun5i-a13";
26 compatible = "pwm-backlight";
[all …]
H A Dsun7i-a20-i12-tvbox.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun7i-a20.dtsi"
45 #include "sunxi-common-regulators.dtsi"
47 #include <dt-bindings/gpio/gpio.h>
48 #include <dt-bindings/interrupt-controller/irq.h>
52 compatible = "allwinner,i12-tvbox", "allwinner,sun7i-a20";
59 stdout-path = "serial0:115200n8";
63 compatible = "gpio-leds";
65 led-0 {
[all …]
H A Dsun7i-a20-orangepi.dts6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun7i-a20.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
54 compatible = "xunlong,orangepi", "allwinner,sun7i-a20";
61 stdout-path = "serial0:115200n8";
65 compatible = "gpio-leds";
73 reg_gmac_3v3: gmac-3v3 {
[all …]
H A Dsun7i-a20-pcduino3.dts5 * This file is dual-licensed: you can use it either under the terms
44 /dts-v1/;
45 #include "sun7i-a20.dtsi"
46 #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 = "linksprite,pcduino3", "allwinner,sun7i-a20";
61 stdout-path = "serial0:115200n8";
65 compatible = "gpio-leds";
[all …]
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-axp209.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * AXP20x pinctrl and GPIO driver
5 * Copyright (C) 2016 Maxime Ripard <maxime.ripard@free-electrons.com>
6 * Copyright (C) 2017 Quentin Schulz <quentin.schulz@free-electrons.com>
11 #include <linux/gpio/driver.h>
23 #include <linux/pinctrl/pinconf-generic.h>
124 return -EINVAL; in axp20x_gpio_get_reg()
129 return pinctrl_gpio_direction_input(chip->base + offset); in axp20x_gpio_input()
138 /* AXP209 has GPIO3 status sharing the settings register */ in axp20x_gpio_get()
140 ret = regmap_read(pctl->regmap, AXP20X_GPIO3_CTRL, &val); in axp20x_gpio_get()
[all …]

12345