/linux/Documentation/devicetree/bindings/mfd/ |
H A D | x-powers,axp152.yaml | 1 # 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 …]
|
/linux/Documentation/devicetree/bindings/gpio/ |
H A D | x-powers,axp209-gpio.yaml | 1 # 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 …]
|
/linux/arch/arm/boot/dts/allwinner/ |
H A D | axp209.dtsi | 2 * 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 D | sun5i-a13-pocketbook-614-plus.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 7 #include "sun5i-a13.dtsi" 8 #include "sunxi-common-regulators.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/leds/common.h> 17 compatible = "pocketbook,614-plus", "allwinner,sun5i-a13"; 24 stdout-path = "serial0:115200n8"; [all …]
|
H A D | sun5i-a13-licheepi-one.dts | 4 * 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 D | sun4i-a10-a1000.dts | 6 * 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 D | sun4i-a10-dserve-dsrv9703c.dts | 4 * 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 D | sun4i-a10-pov-protab2-ips9.dts | 4 * 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 D | sun4i-a10-hyundai-a7hd.dts | 4 * 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 D | sun8i-v3-sl631.dtsi | 1 // 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 D | sun4i-a10-mk802ii.dts | 4 * 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 D | sun7i-a20-m3.dts | 6 * 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 D | sun4i-a10-ba10-tvbox.dts | 4 * 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 D | sun7i-a20-i12-tvbox.dts | 4 * 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 D | sun7i-a20-orangepi.dts | 6 * 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 D | sun7i-a20-pcduino3.dts | 5 * 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 …]
|
H A D | sun4i-a10-jesurun-q5.dts | 6 * 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 = "jesurun,q5", "allwinner,sun4i-a10"; 60 stdout-path = "serial0:115200n8"; 64 compatible = "gpio-leds"; 73 reg_emac_3v3: emac-3v3 { 74 compatible = "regulator-fixed"; [all …]
|
H A D | sun5i-a13-pocketbook-touch-lux-3.dts | 1 // 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 D | sun7i-a20-haoyu-marsboard.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include "sun7i-a20.dtsi" 9 #include "sunxi-common-regulators.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 16 compatible = "haoyu,a20-marsboard", "allwinner,sun7i-a20"; 23 stdout-path = "serial0:115200n8"; 26 hdmi-connector { 27 compatible = "hdmi-connector"; [all …]
|
H A D | sun5i-a10s-wobo-i5.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun5i-a10s.dtsi" 45 #include "sunxi-common-regulators.dtsi" 47 #include <dt-bindings/gpio/gpio.h> 48 #include <dt-bindings/interrupt-controller/irq.h> 51 model = "A10s-Wobo i5"; 52 compatible = "wobo,a10s-wobo-i5", "allwinner,sun5i-a10s"; 59 stdout-path = "serial0:115200n8"; 63 compatible = "gpio-leds"; [all …]
|
H A D | sun7i-a20-pcduino3-nano.dts | 2 * Copyright 2015-2020 Adam Sampson <ats@offog.org> 4 * 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" 46 #include <dt-bindings/gpio/gpio.h> 47 #include <dt-bindings/interrupt-controller/arm-gic.h> 51 compatible = "linksprite,pcduino3-nano", "allwinner,sun7i-a20"; 58 stdout-path = "serial0:115200n8"; 61 hdmi-connector { [all …]
|
H A D | sun4i-a10-pcduino.dts | 5 * 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"; 66 led-0 { [all …]
|
H A D | sun4i-a10-mini-xplus.dts | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * 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> 52 model = "PineRiver Mini X-Plus"; 53 compatible = "pineriver,mini-xplus", "allwinner,sun4i-a10"; 60 stdout-path = "serial0:115200n8"; 75 axp209: pmic@34 { label [all …]
|
H A D | sun7i-a20-orangepi-mini.dts | 6 * 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-mini", "allwinner,sun7i-a20"; 61 stdout-path = "serial0:115200n8"; 64 hdmi-connector { 65 compatible = "hdmi-connector"; [all …]
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-axp209.c | 1 // 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() 133 /* AXP209 has GPIO3 status sharing the settings register */ in axp20x_gpio_get() 135 ret = regmap_read(pctl->regmap, AXP20X_GPIO3_CTRL, &val); in axp20x_gpio_get() 141 ret = regmap_read(pctl->regmap, AXP20X_GPIO20_SS, &val); in axp20x_gpio_get() [all …]
|