Home
last modified time | relevance | path

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

12345678910>>...33

/linux-6.12.1/Documentation/devicetree/bindings/usb/
Dbrcm,usb-pinmap.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/usb/brcm,usb-pinmap.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Al Cooper <alcooperx@gmail.com>
15 - const: brcm,usb-pinmap
22 description: Interrupt for signals mirrored to out-gpios.
24 in-gpios:
29 brcm,in-functions:
30 $ref: /schemas/types.yaml#/definitions/string-array
[all …]
/linux-6.12.1/drivers/platform/x86/siemens/
Dsimatic-ipc-batt.c1 // SPDX-License-Identifier: GPL-2.0
20 #include <linux/hwmon-sysfs.h>
25 #include <linux/platform_data/x86/simatic-ipc-base.h>
28 #include "simatic-ipc-batt.h"
39 struct gpio_desc *gpios[3]; member
47 if (priv.gpios[2]) { in simatic_ipc_batt_read_gpio()
48 gpiod_set_value(priv.gpios[2], 1); in simatic_ipc_batt_read_gpio()
52 if (gpiod_get_value_cansleep(priv.gpios[0])) in simatic_ipc_batt_read_gpio()
54 else if (gpiod_get_value_cansleep(priv.gpios[1])) in simatic_ipc_batt_read_gpio()
57 if (priv.gpios[2]) in simatic_ipc_batt_read_gpio()
[all …]
/linux-6.12.1/arch/arm/boot/dts/ti/omap/
Dam3517-evm-ui.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2018 Logic PD, Inc - https://www.logicpd.com/
6 #include <dt-bindings/input/input.h>
10 compatible = "simple-audio-card";
11 simple-audio-card,name = "tlv320aic23-hifi";
13 simple-audio-card,widgets =
16 "Line", "Line Out";
18 simple-audio-card,routing =
19 "Line Out", "LOUT",
20 "Line Out", "ROUT",
[all …]
Ddra7-evm-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/
6 #include "dra74-ipu-dsp-common.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/clock/ti-dra7-atl.h>
9 #include <dt-bindings/input/input.h>
13 stdout-path = &uart1;
17 compatible = "linux,extcon-usb-gpio";
18 id-gpios = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>;
22 compatible = "linux,extcon-usb-gpio";
[all …]
Domap4-panda-es.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
5 /dts-v1/;
8 #include "omap4-panda-common.dtsi"
11 model = "TI OMAP4 PandaBoard-ES";
12 compatible = "ti,omap4-panda-es", "ti,omap4-panda", "ti,omap4460", "ti,omap4430", "ti,omap4";
20 ti,audio-routing =
25 "Line Out", "AUXL",
26 "Line Out", "AUXR",
33 pinctrl-single,pins = <
[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
18 * amixer set "DVC Out" 100%
23 * amixer set "DVC Out Mute" on
28 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
29 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
30 * amixer set "DVC Out Ramp" on
32 * amixer set "DVC Out" 80% // Volume Down
33 * amixer set "DVC Out" 100% // Volume Up
[all …]
Dr8a7791-koelsch.dts1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2013-2014 Renesas Solutions Corp.
11 * SSI-AK4643
20 * amixer set "DVC Out" 100%
25 * amixer set "DVC Out Mute" on
30 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
31 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
32 * amixer set "DVC Out Ramp" on
34 * amixer set "DVC Out" 80% // Volume Down
35 * amixer set "DVC Out" 100% // Volume Up
[all …]
Dr8a7742-iwg21d-q7.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the iWave-RZ/G1H Qseven board
9 * SSI-SGTL5000
13 * amixer set "DVC Out" 100%
18 * amixer set "DVC Out Mute" on
23 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
24 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
25 * amixer set "DVC Out Ramp" on
27 * amixer set "DVC Out" 80% // Volume Down
28 * amixer set "DVC Out" 100% // Volume Up
[all …]
Dr8a7790-lager.dts1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2013-2014 Renesas Solutions Corp.
7 * Copyright (C) 2015-2016 Renesas Electronics Corporation
11 * SSI-AK4643
20 * amixer set "DVC Out" 100%
25 * amixer set "DVC Out Mute" on
30 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
31 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
32 * amixer set "DVC Out Ramp" on
34 * amixer set "DVC Out" 80% // Volume Down
[all …]
Diwg20d-q7-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the iWave-RZ/G1M/G1N Qseven carrier board
9 * SSI-SGTL5000
13 * amixer set "DVC Out" 100%
18 * amixer set "DVC Out Mute" on
23 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
24 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
25 * amixer set "DVC Out Ramp" on
27 * amixer set "DVC Out" 80% // Volume Down
28 * amixer set "DVC Out" 100% // Volume Up
[all …]
/linux-6.12.1/arch/arm64/boot/dts/amlogic/
Dmeson-axg-s400.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "meson-axg.dtsi"
9 #include <dt-bindings/input/input.h>
12 compatible = "amlogic,s400", "amlogic,a113d", "amlogic,meson-axg";
16 compatible = "adc-keys";
17 io-channels = <&saradc 0>;
18 io-channel-names = "buttons";
19 keyup-threshold-microvolt = <1800000>;
21 button-next {
[all …]
Dmeson-sm1-sei610.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "meson-sm1.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/gpio/meson-g12a-gpio.h>
12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
23 mono_dac: audio-codec-0 {
25 #sound-dai-cells = <0>;
26 sound-name-prefix = "U16";
[all …]
Dmeson-khadas-vim3.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/gpio/meson-g12a-gpio.h>
11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
22 stdout-path = "serial0:115200n8";
30 adc-keys {
31 compatible = "adc-keys";
32 io-channels = <&saradc 2>;
33 io-channel-names = "buttons";
[all …]
Dmeson-g12b-bananapi.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/gpio/meson-g12a-gpio.h>
11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
21 stdout-path = "serial0:115200n8";
29 adc-keys {
30 compatible = "adc-keys";
31 io-channels = <&saradc 2>;
32 io-channel-names = "buttons";
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/proximity/
Ddevantech-srf04.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/iio/proximity/devantech-srf04.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andreas Klinger <ak@it-klinger.de>
13 Bit-banging driver using two GPIOs:
14 - trigger-gpio is raised by the driver to start sending out an ultrasonic
16 - echo-gpio is held high by the sensor after sending ultrasonic burst
20 https://www.robot-electronics.co.uk/htm/srf04tech.htm
22 https://www.maxbotix.com/documents/LV-MaxSonar-EZ_Datasheet.pdf
[all …]
/linux-6.12.1/arch/arm64/boot/dts/renesas/
Dsalvator-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for common parts of Salvator-X board variants
5 * Copyright (C) 2015-2016 Renesas Electronics Corp.
9 * SSI-AK4613
13 * amixer set "DVC Out" 100%
18 * amixer set "DVC Out Mute" on
23 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
24 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
25 * amixer set "DVC Out Ramp" on
27 * amixer set "DVC Out" 80% // Volume Down
[all …]
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/
Dimx6qdl-sabreauto.dtsi1 // SPDX-License-Identifier: GPL-2.0+
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
11 stdout-path = &uart4;
20 compatible = "gpio-leds";
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_gpio_leds>;
24 led-user {
26 gpios = <&gpio5 15 GPIO_ACTIVE_HIGH>;
30 gpio-keys {
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/
Davia-hx711.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/avia-hx711.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andreas Klinger <ak@it-klinger.de>
13 Bit-banging driver using two GPIOs:
14 - sck-gpio gives a clock to the sensor with 24 cycles for data retrieval
17 - dout-gpio is the sensor data the sensor responds to the clock
25 - avia,hx711
27 sck-gpios:
[all …]
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dmsm8916-wingtech-wt86528.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-wingtech-wt865x8.dtsi"
10 chassis-type = "handset";
13 speaker_amp_left: audio-amplifier-left {
16 pinctrl-0 = <&spk_ext_pa_left_default>;
17 pinctrl-names = "default";
19 mode-gpios = <&tlmm 119 GPIO_ACTIVE_HIGH>;
20 sound-name-prefix = "Speaker Amp L";
25 speaker_amp_right: audio-amplifier-right {
[all …]
/linux-6.12.1/drivers/gpio/
Dgpio-sloppy-logic-analyzer.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Sloppy logic analyzer using GPIOs (to be run on an isolated CPU)
5 * Use the 'gpio-sloppy-logic-analyzer' script in the 'tools/gpio' folder for
7 * analyzer which can be affected by latencies and non-deterministic code
11 * Copyright (C) Wolfram Sang <wsa@sang-engineering.com>
34 #define GPIO_LA_NAME "gpio-sloppy-logic-analyzer"
61 ret = gpiod_get_array_value(d->ndescs, d->desc, d->info, sptr); in gpio_la_get_array()
63 ret = -EINTR; in gpio_la_get_array()
71 u8 *la_buf = priv->blob.data; in fops_capture_set()
82 return -ENOMEM; in fops_capture_set()
[all …]
/linux-6.12.1/arch/arm/boot/dts/st/
Dste-ux500-samsung-codina.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung Galaxy Ace 2 GT-I8160 also known as Codina.
11 * The Samsung tree further talks about GT-I8160P and GT-I8160chn (China).
12 * The GT-I8160 plain is known as the "europe" variant.
13 * The GT-I8160P is the CDMA version and it appears to not use the ST
15 * The GT-I8160chn appears to be the same as the europe variant.
17 * There is also the Codina-TMO, Samsung SGH-T599, which has its own device
21 /dts-v1/;
22 #include "ste-db8500.dtsi"
23 #include "ste-ab8500.dtsi"
[all …]
/linux-6.12.1/drivers/input/misc/
Drotary_encoder.c1 // SPDX-License-Identifier: GPL-2.0-only
11 * See file:Documentation/input/devices/rotary-encoder.rst for more information
26 #define DRV_NAME "rotary-encoder"
46 struct gpio_descs *gpios; member
51 signed char dir; /* 1 - clockwise, -1 - CCW */
61 for (i = 0; i < encoder->gpios->ndescs; ++i) { in rotary_encoder_get_state()
62 int val = gpiod_get_value_cansleep(encoder->gpios->desc[i]); in rotary_encoder_get_state()
65 if (encoder->encoding == ROTENC_GRAY && ret & 1) in rotary_encoder_get_state()
76 if (encoder->relative_axis) { in rotary_encoder_report_event()
77 input_report_rel(encoder->input, in rotary_encoder_report_event()
[all …]
/linux-6.12.1/Documentation/userspace-api/gpio/
Dsysfs.rst6 been moved to Documentation/ABI/obsolete/sysfs-gpio.
16 ----------------------
18 configure a sysfs user interface to GPIOs. This is different from the
27 then changing its output state, then updating the code before re-enabling
38 Please read Documentation/driver-api/gpio/drivers-on-gpio.rst
44 --------------
47 - Control interfaces used to get userspace control over GPIOs;
49 - GPIOs themselves; and
51 - GPIO controllers ("gpio_chip" instances).
55 The control interfaces are write-only:
[all …]
/linux-6.12.1/arch/arm/boot/dts/allwinner/
Dsun8i-h3-beelink-x2.dts4 * This file is dual-licensed: you can use it either under the terms
39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
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 = "roofull,beelink-x2", "allwinner,sun8i-h3";
61 compatible = "cec-gpio";
62 cec-gpios = <&pio 0 14 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PA14 */
[all …]
/linux-6.12.1/arch/arm/mach-mvebu/
Dpm-board.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Board-level suspend/resume support.
5 * Copyright (C) 2014-2015 Marvell
7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
31 /* Put 001 as value on the GPIOs */ in mvebu_armada_pm_enter()
38 /* Prepare writing 111 to the GPIOs */ in mvebu_armada_pm_enter()
82 if (!of_machine_is_compatible("marvell,axp-gp")) in mvebu_armada_pm_init()
83 return -ENODEV; in mvebu_armada_pm_init()
87 return -ENODEV; in mvebu_armada_pm_init()
93 name = kasprintf(GFP_KERNEL, "pic-pin%d", i); in mvebu_armada_pm_init()
[all …]

12345678910>>...33