Home
last modified time | relevance | path

Searched +full:gpios +full:- +full:states (Results 1 – 25 of 140) sorted by relevance

123456

/linux/Documentation/devicetree/bindings/regulator/
H A Dgpio-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/regulator/gpio-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liam Girdwood <lgirdwood@gmail.com>
11 - Mark Brown <broonie@kernel.org>
18 - $ref: regulator.yaml#
22 const: regulator-gpio
24 regulator-name: true
26 enable-gpios:
[all …]
/linux/include/linux/regulator/
H A Dgpio-regulator.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * gpio-regulator.h
14 * Roger Quadros <ext-roger.quadros@nokia.com>
27 * struct gpio_regulator_state - state description
29 * @gpios: bitfield of gpio target-states for the value
32 * and the necessary gpio-state to achieve it.
34 * The n-th bit in the bitfield describes the state of the n-th GPIO
35 * from the gpios-array defined in gpio_regulator_config below.
39 int gpios; member
43 * struct gpio_regulator_config - config structure
[all …]
/linux/drivers/regulator/
H A Dgpio-regulator.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * gpio-regulator.c
14 * Roger Quadros <ext-roger.quadros@nokia.com>
17 * non-controllable regulators, as well as for allowing testing on
28 #include <linux/regulator/gpio-regulator.h>
39 struct gpio_regulator_state *states; member
50 for (ptr = 0; ptr < data->nr_states; ptr++) in gpio_regulator_get_value()
51 if (data->states[ptr].gpios == data->state) in gpio_regulator_get_value()
52 return data->states[ptr].value; in gpio_regulator_get_value()
54 return -EINVAL; in gpio_regulator_get_value()
[all …]
/linux/drivers/mux/
H A Dgpio.c1 // SPDX-License-Identifier: GPL-2.0
3 * GPIO-controlled multiplexer driver
21 struct gpio_descs *gpios; member
26 struct mux_gpio *mux_gpio = mux_chip_priv(mux->chip); in mux_gpio_set()
32 gpiod_multi_set_value_cansleep(mux_gpio->gpios, values); in mux_gpio_set()
42 { .compatible = "gpio-mux", },
49 struct device *dev = &pdev->dev; in mux_gpio_probe()
65 mux_chip->ops = &mux_gpio_ops; in mux_gpio_probe()
67 mux_gpio->gpios = devm_gpiod_get_array(dev, "mux", GPIOD_OUT_LOW); in mux_gpio_probe()
68 if (IS_ERR(mux_gpio->gpios)) in mux_gpio_probe()
[all …]
/linux/Documentation/devicetree/bindings/gpio/
H A Dnxp,pcf8575.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: PCF857x-compatible I/O expanders
10 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
13 The PCF857x-compatible chips have "quasi-bidirectional" I/O lines that can be
14 driven high by a pull-up current source or driven low to ground. This
25 - maxim,max7328
26 - maxim,max7329
27 - nxp,pca8574
[all …]
/linux/arch/arm/boot/dts/renesas/
H A Dr8a7793-gose.dts1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2014-2015 Renesas Electronics Corporation
9 * SSI-AK4643
36 /dts-v1/;
38 #include <dt-bindings/gpio/gpio.h>
39 #include <dt-bindings/input/input.h>
59 stdout-path = "serial0:115200n8";
68 compatible = "gpio-keys";
70 pinctrl-0 = <&keyboard_pins>;
71 pinctrl-names = "default";
[all …]
H A Dr8a7791-koelsch.dts1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2013-2014 Renesas Solutions Corp.
11 * SSI-AK4643
38 /dts-v1/;
40 #include <dt-bindings/gpio/gpio.h>
41 #include <dt-bindings/input/input.h>
63 stdout-path = "serial0:115200n8";
77 compatible = "gpio-keys";
79 pinctrl-0 = <&keyboard_pins>;
80 pinctrl-names = "default";
[all …]
H A Dr8a7794-alt.dts1 // SPDX-License-Identifier: GPL-2.0
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
30 stdout-path = "serial0:115200n8";
38 d3_3v: regulator-d3-3v {
39 compatible = "regulator-fixed";
40 regulator-name = "D3.3V";
41 regulator-min-microvolt = <3300000>;
42 regulator-max-microvolt = <3300000>;
[all …]
/linux/Documentation/devicetree/bindings/phy/
H A Dti,tcan104x-can.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/phy/ti,tcan104x-can.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Aswath Govindraju <a-govindraju@ti.com>
14 pattern: "^can-phy"
18 - items:
19 - enum:
20 - microchip,ata6561
21 - ti,tcan1051
[all …]
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-ast2600-evb.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 /dts-v1/;
6 #include "aspeed-g6.dtsi"
7 #include <dt-bindings/gpio/aspeed-gpio.h>
11 compatible = "aspeed,ast2600-evb", "aspeed,ast2600";
26 reserved-memory {
27 #address-cells = <1>;
28 #size-cells = <1>;
34 compatible = "shared-dma-pool";
41 compatible = "shared-dma-pool";
[all …]
/linux/arch/arm64/boot/dts/marvell/
H A Darmada-7040-db.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <dt-bindings/gpio/gpio.h>
9 #include "armada-7040.dtsi"
13 compatible = "marvell,armada7040-db", "marvell,armada7040",
14 "marvell,armada-ap806-quad", "marvell,armada-ap806";
17 stdout-path = "serial0:115200n8";
31 cp0_exp_usb3_0_current_regulator: gpio-regulator {
32 compatible = "regulator-gpio";
33 regulator-name = "cp0-usb3-0-current-regulator";
34 regulator-type = "current";
[all …]
H A Darmada-3720-gl-mv1000.dts1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 /dts-v1/;
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include "armada-372x.dtsi"
9 model = "GL.iNet GL-MV1000";
10 compatible = "glinet,gl-mv1000", "marvell,armada3720", "marvell,armada3710";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
[all …]
H A Darmada-3720-espressobin.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 * Romain Perier <romain.perier@free-electrons.com>
10 #include <dt-bindings/gpio/gpio.h>
11 #include "armada-372x.dtsi"
23 stdout-path = "serial0:115200n8";
32 compatible = "regulator-gpio";
33 regulator-name = "vcc_sd1";
34 regulator-min-microvolt = <1800000>;
35 regulator-max-microvolt = <3300000>;
36 regulator-boot-on;
[all …]
/linux/arch/arm/boot/dts/allwinner/
H A Dsun8i-h3-nanopi-duo2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include "sun8i-h3.dtsi"
8 #include "sunxi-common-regulators.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
15 compatible = "friendlyarm,nanopi-duo2", "allwinner,sun8i-h3";
22 stdout-path = "serial0:115200n8";
26 compatible = "gpio-leds";
28 led-0 {
[all …]
H A Dsun8i-h3-nanopi-r1.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 * Copyright (C) 2020 Yu-Tung Chang <mtwget@gmail.com>
8 #include "sun8i-h3-nanopi.dtsi"
9 #include <dt-bindings/leds/common.h>
13 compatible = "friendlyarm,nanopi-r1", "allwinner,sun8i-h3";
21 reg_gmac_3v3: gmac-3v3 {
22 compatible = "regulator-fixed";
23 regulator-name = "gmac-3v3";
24 regulator-min-microvolt = <3300000>;
25 regulator-max-microvolt = <3300000>;
[all …]
H A Dsunxi-bananapi-m2-plus-v1.2.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (C) 2018 Chen-Yu Tsai <wens@csie.org>
6 #include "sunxi-bananapi-m2-plus.dtsi"
13 reg_vdd_cpux: vdd-cpux {
14 compatible = "regulator-gpio";
15 regulator-name = "vdd-cpux";
16 regulator-type = "voltage";
17 regulator-boot-on;
18 regulator-always-on;
19 regulator-min-microvolt = <1108475>;
[all …]
H A Dsun8i-h3-orangepi-one.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun8i-h3.dtsi"
45 #include "sunxi-common-regulators.dtsi"
47 #include <dt-bindings/gpio/gpio.h>
48 #include <dt-bindings/input/input.h>
52 compatible = "xunlong,orangepi-one", "allwinner,sun8i-h3";
60 stdout-path = "serial0:115200n8";
64 compatible = "hdmi-connector";
69 remote-endpoint = <&hdmi_out_con>;
[all …]
H A Dsun8i-h3-emlid-neutis-n5h3-devboard.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
8 /dts-v1/;
10 #include "sun8i-h3-emlid-neutis-n5h3.dtsi"
14 compatible = "emlid,neutis-n5h3-devboard",
15 "emlid,neutis-n5h3",
16 "allwinner,sun8i-h3";
18 vdd_cpux: gpio-regulator {
19 compatible = "regulator-gpio";
20 regulator-name = "vdd-cpux";
21 regulator-type = "voltage";
[all …]
/linux/arch/arm64/boot/dts/renesas/
H A Drzv2-evk-cn15-sd.dtso1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
20 vqmmc_sdhi0: regulator-vqmmc-sdhi0 {
21 compatible = "regulator-gpio";
22 regulator-name = "SDHI0 VqmmC";
23 gpios = <&pinctrl RZG2L_GPIO(10, 0) GPIO_ACTIVE_HIGH>;
24 regulator-min-microvolt = <1800000>;
25 regulator-max-microvolt = <3300000>;
[all …]
/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-gxl-s905x-hwacom-amazetv.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include "meson-gxl-s905x.dtsi"
13 compatible = "hwacom,amazetv", "amlogic,s905x", "amlogic,meson-gxl";
22 stdout-path = "serial0:115200n8";
30 vddio_card: gpio-regulator {
31 compatible = "regulator-gpio";
33 regulator-name = "VDDIO_CARD";
34 regulator-min-microvolt = <1800000>;
35 regulator-max-microvolt = <3300000>;
[all …]
H A Dmeson-gxl-s905x-nexbox-a95x.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include "meson-gxl-s905x.dtsi"
13 compatible = "nexbox,a95x", "amlogic,s905x", "amlogic,meson-gxl";
22 stdout-path = "serial0:115200n8";
30 vddio_card: gpio-regulator {
31 compatible = "regulator-gpio";
33 regulator-name = "VDDIO_CARD";
34 regulator-min-microvolt = <1800000>;
35 regulator-max-microvolt = <3300000>;
[all …]
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h5-emlid-neutis-n5-devboard.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
8 /dts-v1/;
10 #include "sun50i-h5-emlid-neutis-n5.dtsi"
14 compatible = "emlid,neutis-n5-devboard",
15 "emlid,neutis-n5",
16 "allwinner,sun50i-h5";
19 compatible = "hdmi-connector";
24 remote-endpoint = <&hdmi_out_con>;
29 vdd_cpux: gpio-regulator {
30 compatible = "regulator-gpio";
[all …]
H A Dsun50i-h5-nanopi-neo-plus2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 /dts-v1/;
6 #include "sun50i-h5.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/pinctrl/sun4i-a10.h>
14 compatible = "friendlyarm,nanopi-neo-plus2", "allwinner,sun50i-h5";
22 stdout-path = "serial0:115200n8";
26 compatible = "gpio-leds";
28 led-0 {
[all …]
/linux/Documentation/devicetree/bindings/mux/
H A Dmux-controller.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mux/mux-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Peter Rosin <peda@axentia.se>
19 A mux controller provides a number of states to its consumers, and the state
20 space is a simple zero-based enumeration. I.e. 0-1 for a 2-way multiplexer,
21 0-7 for an 8-way multiplexer, etc.
25 --------------------
28 specifier using the '#mux-control-cells' or '#mux-state-cells' property.
[all …]
/linux/arch/arm/mach-pxa/
H A Dspitz.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Hardware specific definitions for SL-Cx000 series of PDAs
17 /* Spitz/Akita GPIOs */
48 /* Spitz Only GPIOs */
88 /* Spitz Scoop Device (No. 1) GPIOs */
89 /* Suspend States in comments */
118 /* Spitz Scoop Device (No. 2) GPIOs */
119 /* Suspend States in comments */
150 /* Akita IO Expander GPIOs */

123456