Home
last modified time | relevance | path

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

123456789

/linux-6.12.1/Documentation/devicetree/bindings/regulator/
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-6.12.1/include/linux/regulator/
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-6.12.1/drivers/mux/
Dgpio.c1 // SPDX-License-Identifier: GPL-2.0
3 * GPIO-controlled multiplexer driver
20 struct gpio_descs *gpios; member
25 struct mux_gpio *mux_gpio = mux_chip_priv(mux->chip); in mux_gpio_set()
31 gpiod_set_array_value_cansleep(mux_gpio->gpios->ndescs, in mux_gpio_set()
32 mux_gpio->gpios->desc, in mux_gpio_set()
33 mux_gpio->gpios->info, values); in mux_gpio_set()
43 { .compatible = "gpio-mux", },
50 struct device *dev = &pdev->dev; in mux_gpio_probe()
66 mux_chip->ops = &mux_gpio_ops; in mux_gpio_probe()
[all …]
/linux-6.12.1/drivers/regulator/
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-6.12.1/Documentation/devicetree/bindings/phy/
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 - nxp,tjr1443
19 - ti,tcan1042
20 - ti,tcan1043
22 '#phy-cells':
[all …]
/linux-6.12.1/arch/arm/boot/dts/renesas/
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 …]
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 …]
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 …]
Dr8a7791-porter.dts1 // SPDX-License-Identifier: GPL-2.0
9 * SSI-AK4642
11 * JP3: 2-1: AK4642
12 * 2-3: ADV7511
19 /dts-v1/;
21 #include <dt-bindings/gpio/gpio.h>
37 stdout-path = "serial0:115200n8";
50 reg_1p8v: regulator-1v8 {
51 compatible = "regulator-fixed";
52 regulator-name = "fixed-1.8V";
[all …]
/linux-6.12.1/arch/arm/boot/dts/aspeed/
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-6.12.1/arch/arm64/boot/dts/marvell/
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 …]
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";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
[all …]
/linux-6.12.1/arch/arm/boot/dts/allwinner/
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 …]
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 …]
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 …]
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 …]
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 …]
Dsun8i-h2-plus-orangepi-zero.dts4 * Based on sun8i-h3-orangepi-one.dts, which is:
7 * This file is dual-licensed: you can use it either under the terms
46 /dts-v1/;
47 #include "sun8i-h3.dtsi"
48 #include "sunxi-common-regulators.dtsi"
50 #include <dt-bindings/gpio/gpio.h>
51 #include <dt-bindings/input/input.h>
55 compatible = "xunlong,orangepi-zero", "allwinner,sun8i-h2-plus";
59 /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */
65 stdout-path = "serial0:115200n8";
[all …]
/linux-6.12.1/arch/arm64/boot/dts/renesas/
Drzg3s-smarc.dtsi1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 * Device Tree Source for the RZ SMARC Carrier-II Board.
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
20 compatible = "gpio-keys";
22 key-1 {
24 interrupt-parent = <&pinctrl>;
27 wakeup-source;
28 debounce-interval = <20>;
[all …]
Drzg3s-smarc-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 * Device Tree Source for the R9A08G045S33 SMARC Carrier-II's SoM board.
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
12 * On-board switches' states:
20 * SW_CONFIG[x] switches' states:
22 * SW_OFF - SD0 is connected to eMMC
23 * SW_ON - SD0 is connected to uSD0 card
25 * SW_OFF - SD2 is connected to SoC
26 * SW_ON - SCIF1, SSI0, IRQ0, IRQ1 connected to SoC
[all …]
/linux-6.12.1/arch/arm64/boot/dts/allwinner/
Dsun50i-h5-nanopi-r1s-h5.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 * Based on sun50i-h5-nanopi-neo-plus2.dts, which is:
10 /dts-v1/;
11 #include "sun50i-h5.dtsi"
12 #include "sun50i-h5-cpu-opp.dtsi"
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/leds/common.h>
20 compatible = "friendlyarm,nanopi-r1s-h5", "allwinner,sun50i-h5";
29 stdout-path = "serial0:115200n8";
[all …]
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 …]
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-6.12.1/arch/arm64/boot/dts/amlogic/
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 …]
/linux-6.12.1/Documentation/devicetree/bindings/mux/
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 …]

123456789