/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/arch/arm64/boot/dts/amlogic/ |
H A D | meson-axg-s400.dts | 1 // 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 …]
|
H A D | meson-sm1-sei610.dts | 1 // 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 …]
|
H A D | meson-khadas-vim3.dtsi | 1 // 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 …]
|
H A D | meson-g12b-bananapi.dtsi | 1 // 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 …]
|
H A D | meson-g12b-odroid-go-ultra.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12b-s922x.dtsi" 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-toacodec.h> 13 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 16 compatible = "hardkernel,odroid-go-ultra", "amlogic,s922x", "amlogic,g12b"; 17 model = "Hardkernel ODROID-GO-Ultra"; [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/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-sabreauto.dtsi | 1 // 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/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 | gpiolib-of.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (c) 2007-2008 MontaVista Software, Inc. 26 #include "gpiolib-of.h" 29 * This is Linux-specific flags. By default controllers' and Linux' mapping 31 * Linux-specific in their .xlate callback. Though, 1:1 mapping is recommended. 44 * of_gpio_named_count() - Count GPIOs for a device 45 * @np: device node to count GPIOs for 48 * The function returns the count of GPIOs specified for a node. 52 * Either number of GPIOs defined in the property, or 53 * * %-EINVAL for an incorrectly formed "gpios" property, or [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 18 int "Maximum number of GPIOs for fast path" 47 this symbol, but new drivers should use the generic gpio-regmap 55 These checks help ensure that GPIOs have been properly initialized 57 non-sleeping contexts. They can make bitbanged serial protocols 66 Say Y here to add the legacy sysfs interface for GPIOs. 77 for GPIOs. The character device allows userspace to control GPIOs 126 Enables support for the idio-16 library functions. The idio-16 library 128 ACCES IDIO-16 family such as the 104-IDIO-16 and the PCI-IDIO-16. 130 If built as a module its name will be gpio-idio-16. [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 | 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 …]
|
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 …]
|
/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 …]
|
/linux/drivers/nfc/s3fwrn5/ |
H A D | i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 35 mutex_lock(&phy->common.mutex); in s3fwrn5_i2c_set_mode() 37 if (s3fwrn5_phy_power_ctrl(&phy->common, mode) == false) in s3fwrn5_i2c_set_mode() 38 goto out; in s3fwrn5_i2c_set_mode() 40 phy->irq_skip = true; in s3fwrn5_i2c_set_mode() 42 out: in s3fwrn5_i2c_set_mode() 43 mutex_unlock(&phy->common.mutex); in s3fwrn5_i2c_set_mode() 51 mutex_lock(&phy->common.mutex); in s3fwrn5_i2c_write() 53 phy->irq_skip = false; in s3fwrn5_i2c_write() 55 ret = i2c_master_send(phy->i2c_dev, skb->data, skb->len); in s3fwrn5_i2c_write() [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/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 …]
|