| /linux/Documentation/devicetree/bindings/usb/ |
| H A D | brcm,usb-pinmap.yaml | 1 # 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/arch/arm/boot/dts/ti/omap/ |
| H A D | am3517-evm-ui.dtsi | 1 // 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 …]
|
| H A D | dra7-evm-common.dtsi | 1 // 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 …]
|
| H A D | omap4-panda-es.dts | 1 // 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/Documentation/devicetree/bindings/iio/proximity/ |
| H A D | devantech-srf04.yaml | 1 # 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/Documentation/ABI/obsolete/ |
| H A D | sysfs-gpio | 8 userspace. GPIOs are only made available to userspace by an explicit 13 GPIOs are identified as they are inside the kernel, using integers in 14 the range 0..INT_MAX. See Documentation/admin-guide/gpio for more information. 22 /value ... always readable, writes fail for input GPIOs 23 /direction ... r/w as: in, out (default low); write: high, low 29 /ngpio ... (r/o) number of GPIOs; numbered N to N + (ngpio - 1) 31 /value ... always readable, writes fail for input GPIOs 32 /direction ... r/w as: in, out (default low); write: high, low 37 /ngpio ... (r/o) number of GPIOs exposed by the chip 39 This ABI is obsoleted by Documentation/ABI/testing/gpio-cdev and will be
|
| /linux/Documentation/devicetree/bindings/iio/adc/ |
| H A D | avia-hx711.yaml | 1 # 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/drivers/gpio/ |
| H A D | gpio-sloppy-logic-analyzer.c | 1 // 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 …]
|
| H A D | gpio-reg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * gpio-reg: single register individually fixed-direction GPIOs 19 #include <linux/gpio/gpio-reg.h> 25 u32 out; member 37 return r->direction & BIT(offset) ? GPIO_LINE_DIRECTION_IN : in gpio_reg_get_direction() 46 if (r->direction & BIT(offset)) in gpio_reg_direction_output() 47 return -ENOTSUPP; in gpio_reg_direction_output() 49 gc->set(gc, offset, value); in gpio_reg_direction_output() 57 return r->direction & BIT(offset) ? 0 : -ENOTSUPP; in gpio_reg_direction_input() 66 spin_lock_irqsave(&r->lock, flags); in gpio_reg_set() [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | msm8916-wingtech-wt86528.dts | 1 // 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/Documentation/userspace-api/gpio/ |
| H A D | sysfs.rst | 6 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/arch/arm/boot/dts/allwinner/ |
| H A D | sun7i-a20-cubietruck.dts | 6 * This file is dual-licensed: you can use it either under the terms 41 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 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 = "cubietech,cubietruck", "allwinner,sun7i-a20"; 61 stdout-path = "serial0:115200n8"; 64 hdmi-connector { [all …]
|
| H A D | sun8i-h3-beelink-x2.dts | 4 * 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/arch/arm/mach-mvebu/ |
| H A D | pm-board.c | 1 // 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 …]
|
| /linux/arch/arm/boot/dts/microchip/ |
| H A D | at91-tse850-3.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91-tse850-3.dts - Device Tree file for the Axentia TSE-850 3.0 board 9 /dts-v1/; 10 #include <dt-bindings/pwm/pwm.h> 11 #include "at91-linea.dtsi" 14 model = "Axentia TSE-850 3.0"; 19 compatible = "fixed-clock"; 21 #clock-cells = <0>; 22 clock-frequency = <16000000>; 23 clock-output-names = "sck"; [all …]
|
| H A D | lan966x-pcb8309.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * lan966x_pcb8309.dts - Device Tree file for PCB8309 5 /dts-v1/; 7 #include "dt-bindings/phy/phy-lan966x-serdes.h" 10 model = "Microchip EVB - LAN9662"; 11 compatible = "microchip,lan9662-pcb8309", "microchip,lan9662", "microchip,lan966"; 20 stdout-path = "serial0:115200n8"; 23 gpio-restart { 24 compatible = "gpio-restart"; 25 gpios = <&gpio 56 GPIO_ACTIVE_LOW>; [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | samsung,aries-wm8994.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/samsung,aries-wm8994.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jonathan Bakker <xc-racer2@live.ca> 13 - $ref: sound-card-common.yaml# 19 - samsung,aries-wm8994 21 - samsung,fascinate4g-wm8994 27 sound-dai: 34 - sound-dai [all …]
|
| H A D | axentia,tse850-pcm5142.txt | 1 Devicetree bindings for the Axentia TSE-850 audio complex 4 - compatible: "axentia,tse850-pcm5142" 5 - axentia,cpu-dai: The phandle of the cpu dai. 6 - axentia,audio-codec: The phandle of the PCM5142 codec. 7 - axentia,add-gpios: gpio specifier that controls the mixer. 8 - axentia,loop1-gpios: gpio specifier that controls loop relays on channel 1. 9 - axentia,loop2-gpios: gpio specifier that controls loop relays on channel 2. 10 - axentia,ana-supply: Regulator that supplies the output amplifier. Must 11 support voltages in the 2V - 20V range, in 1V steps. 13 The schematics explaining the gpios are as follows: [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx95-tqma9596sa-mb-smarc-2.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright (c) 2024 TQ-Systems GmbH <linux@ew.tq-group.com>, 4 * D-82229 Seefeld, Germany. 8 /dts-v1/; 10 #include <dt-bindings/phy/phy-imx8-pcie.h> 11 #include "imx95-tqma9596sa.dtsi" 14 model = "TQ-Systems i.MX95 TQMa95xxSA on MB-SMARC-2"; 15 compatible = "tq,imx95-tqma9596sa-mb-smarc-2", "tq,imx95-tqma9596sa", "fsl,imx95"; 47 stdout-path = &lpuart7; 50 backlight_lvds0: backlight-lvds0 { [all …]
|
| H A D | fsl-lx2160a-rdb.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 // Copyright 2018-2020 NXP 7 /dts-v1/; 9 #include "fsl-lx2160a-rev2.dtsi" 13 compatible = "fsl,lx2160a-rdb", "fsl,lx2160a"; 23 stdout-path = "serial0:115200n8"; 26 sb_3v3: regulator-sb3v3 { 27 compatible = "regulator-fixed"; 28 regulator-name = "MC34717-3.3VSB"; 29 regulator-min-microvolt = <3300000>; [all …]
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | ti,tps65132.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - devicetree@vger.kernel.org 21 - ti,tps65132 26 vin-supply: true 29 "^out[pn]$": 37 enable-gpios: 42 active-discharge-gpios: 47 ti,active-discharge-time-us: [all …]
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6qdl-wandboard.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/gpio/gpio.h> 12 stdout-path = &uart1; 16 compatible = "fsl,imx6-wandboard-sgtl5000", 17 "fsl,imx-audio-sgtl5000"; 18 model = "imx6-wandboard-sgtl5000"; 19 ssi-controller = <&ssi1>; 20 audio-codec = <&codec>; 21 audio-routing = 25 mux-int-port = <1>; [all …]
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-mdm9615-wp8548-mangoh-green.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 13 #include "qcom-mdm9615-wp8548.dtsi" 17 compatible = "swir,mangoh-green-wp8548", "swir,wp8548", "qcom,mdm9615"; 28 stdout-path = "serial1:115200n8"; 34 * - 2 : GPIOEXP_INT2 35 * - 7 : IOT1_GPIO2 36 * - 8 : IOT0_GPIO4 [all …]
|
| /linux/arch/arm/boot/dts/marvell/ |
| H A D | orion5x-linkstation-lschl.dts | 2 * Device Tree file for Buffalo Linkstation LS-CHLv3 5 * Copyright (C) 2015-2017 8 * This file is dual-licensed: you can use it either under the terms 43 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 47 /dts-v1/; 49 #include "orion5x-linkstation.dtsi" 50 #include "mvebu-linkstation-gpio-simple.dtsi" 51 #include "mvebu-linkstation-fan.dtsi" 52 #include <dt-bindings/gpio/gpio.h> 55 model = "Buffalo Linkstation LiveV3 (LS-CHL)"; [all …]
|
| /linux/Documentation/devicetree/bindings/display/panel/ |
| H A D | panel-mipi-dbi-spi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-mipi-dbi-spi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Noralf Trønnes <noralf@tronnes.org> 23 - Power: 24 - Vdd: Power supply for display module 25 Called power-supply in this binding. 26 - Vddi: Logic level supply for interface signals 27 Called io-supply in this binding. [all …]
|