| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | motorola,mapphone-mdm6600.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/motorola,mapphone-mdm6600.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tony Lindgren <tony@atomide.com> 15 - const: motorola,mapphone-mdm6600 17 enable-gpios: 21 power-gpios: 25 reset-gpios: 29 motorola,mode-gpios: [all …]
|
| /linux/Documentation/devicetree/bindings/display/ |
| H A D | repaper.txt | 1 Pervasive Displays RePaper branded e-ink displays 4 - compatible: "pervasive,e1144cs021" for 1.44" display 9 - panel-on-gpios: Timing controller power control 10 - discharge-gpios: Discharge control 11 - reset-gpios: RESET pin 12 - busy-gpios: BUSY pin 15 - border-gpios: Border control 18 all mandatory properties described in ../spi/spi-bus.txt must be specified. 21 - pervasive,thermal-zone: name of thermometer's thermal zone 28 #thermal-sensor-cells = <0>; [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 19 debugfs interface, since it provides control over GPIO direction and 27 then changing its output state, then updating the code before re-enabling 37 Do NOT abuse sysfs to control hardware that has proper kernel drivers. 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 [all …]
|
| /linux/Documentation/devicetree/bindings/mux/ |
| H A D | gpio-mux.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mux/gpio-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO-based multiplexer controller 10 - Peter Rosin <peda@axentia.se> 13 Define what GPIO pins are used to control a multiplexer. Or several 14 multiplexers, if the same pins control more than one multiplexer. 22 const: gpio-mux 24 mux-gpios: [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | sirf-audio.txt | 4 - compatible: "sirf,sirf-audio-card" 5 - sirf,audio-platform: phandle for the platform node 6 - sirf,audio-codec: phandle for the SiRF internal codec node 9 - hp-pa-gpios: Need to be present if the board need control external 11 - spk-pa-gpios: Need to be present if the board need control external 13 - hp-switch-gpios: Need to be present if the board capable to detect jack 16 Available audio endpoints for the audio-routing table: 34 compatible = "sirf,sirf-audio-card"; 35 sirf,audio-codec = <&audiocodec>; 36 sirf,audio-platform = <&audioport>; [all …]
|
| H A D | awinic,aw8738.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Stephan Gerhold <stephan@gerhold.net> 14 (set using one-wire pulse control). The mode configures the speaker-guard 18 - $ref: dai-common.yaml# 24 mode-gpios: 26 GPIO used for one-wire pulse control. The pin is typically called SHDN 27 (active-low), but this is misleading since it is actually more than 28 just a simple shutdown/enable control. [all …]
|
| H A D | nokia,rx51.txt | 4 - compatible: Should contain "nokia,n900-audio" 5 - nokia,cpu-dai: phandle for the McBSP node 6 - nokia,audio-codec: phandles for the main TLV320AIC3X node and the 8 - nokia,headphone-amplifier: phandle for the TPA6130A2 node 9 - tvout-selection-gpios: GPIO for tvout selection 10 - jack-detection-gpios: GPIO for jack detection 11 - eci-switch-gpios: GPIO for ECI (Enhancement Control Interface) switch 12 - speaker-amplifier-gpios: GPIO for speaker amplifier 17 compatible = "nokia,n900-audio"; 19 nokia,cpu-dai = <&mcbsp2>; [all …]
|
| /linux/Documentation/devicetree/bindings/iio/amplifiers/ |
| H A D | adi,hmc425a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 15 ADRF5750 2 dB LSB, 4-Bit, Silicon Digital Attenuator, 10 MHz to 60 GHz 16 https://www.analog.com/media/en/technical-documentation/data-sheets/adrf5740.pdf 18 HMC425A 0.5 dB LSB GaAs MMIC 6-BIT DIGITAL POSITIVE CONTROL ATTENUATOR, 2.2 - 8.0 GHz 19 https://www.analog.com/media/en/technical-documentation/data-sheets/hmc425A.pdf 21 HMC540S 1 dB LSB Silicon MMIC 4-Bit Digital Positive Control Attenuator, 0.1 - 8 GHz 22 https://www.analog.com/media/en/technical-documentation/data-sheets/hmc540s.pdf [all …]
|
| /linux/Documentation/devicetree/bindings/serial/ |
| H A D | st,stm32-uart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/serial/st,stm32-uart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 - Erwan Le Ray <erwan.leray@foss.st.com> 15 - st,stm32-uart 16 - st,stm32f7-uart 17 - st,stm32h7-uart 34 st,hw-flow-ctrl: 35 description: enable hardware flow control (deprecated) [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | simple-amplifier.c | 1 // SPDX-License-Identifier: GPL-2.0-only 60 struct gpio_descs *gpios; member 94 struct snd_kcontrol *control, int event) in simple_amp_power_event() argument 96 struct snd_soc_component *c = snd_soc_dapm_to_component(w->dapm); in simple_amp_power_event() 109 return -EINVAL; in simple_amp_power_event() 112 gpiod_set_value_cansleep(simple_amp->gpiod_enable, val); in simple_amp_power_event() 173 gpio_val = single->is_inverted ? !kctrl_val : kctrl_val; in simple_amp_single_kctrl_write_gpio() 175 return gpiod_set_value_cansleep(single->gpio, gpio_val); in simple_amp_single_kctrl_write_gpio() 181 uinfo->count = 1; in simple_amp_single_kctrl_info() 182 uinfo->value.integer.min = 0; in simple_amp_single_kctrl_info() [all …]
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | richtek,rtmv20-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/regulator/richtek,rtmv20-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 16 There're still four pins for camera control, two inputs (strobe and vsync), 27 wakeup-source: true 32 enable-gpios: 36 richtek,ld-pulse-delay-us: 43 richtek,ld-pulse-width-us: [all …]
|
| /linux/Documentation/devicetree/bindings/i2c/ |
| H A D | i2c-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Wolfram Sang <wsa@kernel.org> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 18 - const: i2c-gpio 20 sda-gpios: 24 from <dt-bindings/gpio/gpio.h> since the signal is by definition 28 scl-gpios: [all …]
|
| /linux/Documentation/devicetree/bindings/extcon/ |
| H A D | extcon-ptn5150.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/extcon/extcon-ptn5150.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 13 PTN5150 is a small thin low power CC logic chip supporting the USB Type-C 14 connector application with CC control logic detection and indication 21 int-gpios: 34 vbus-gpios: 37 GPIO pin (output) used to control VBUS. If skipped, no such control [all …]
|
| /linux/arch/arm64/boot/dts/ti/ |
| H A D | k3-am62p-verdin-ivy.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62p 8 * https://www.toradex.com/products/carrier-board/ivy-carrier-board 11 #include <dt-bindings/mux/mux.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/net/ti-dp83867.h> 20 /* AIN1 Voltage w/o AIN1_MODE gpio control */ 21 ain1_voltage_unmanaged: voltage-divider-ain1 { 22 compatible = "voltage-divider"; 23 #io-channel-cells = <1>; [all …]
|
| H A D | k3-am62-verdin-ivy.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 8 * https://www.toradex.com/products/carrier-board/ivy-carrier-board 11 #include <dt-bindings/mux/mux.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/net/ti-dp83867.h> 16 /* AIN1 Voltage w/o AIN1_MODE gpio control */ 17 ain1_voltage_unmanaged: voltage-divider-ain1 { 18 compatible = "voltage-divider"; 19 #io-channel-cells = <1>; [all …]
|
| /linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
| H A D | serial.txt | 4 - fsl,cpm1-smc-uart 5 - fsl,cpm2-smc-uart 6 - fsl,cpm1-scc-uart 7 - fsl,cpm2-scc-uart 8 - fsl,qe-uart 10 Modem control lines connected to GPIO controllers are listed in the gpios 11 property as described in booting-without-of.txt, section IX.1 in the following 16 The gpios property is optional and can be left out when control lines are 23 compatible = "fsl,mpc8272-scc-uart", 24 "fsl,cpm2-scc-uart"; [all …]
|
| /linux/Documentation/devicetree/bindings/gpio/ |
| H A D | gpio-consumer-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/gpio/gpio-consumer-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bartosz Golaszewski <brgl@bgdev.pl> 11 - Linus Walleij <linusw@kernel.org> 14 Pay attention to using proper GPIO flag (e.g. GPIO_ACTIVE_LOW) for the GPIOs 20 enable-gpios: 23 GPIO connected to the enable control pin. 25 reset-gpios: [all …]
|
| /linux/Documentation/devicetree/bindings/net/nfc/ |
| H A D | samsung,s3fwrn5.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 15 - samsung,s3fwrn5-i2c 16 - samsung,s3fwrn82 18 en-gpios: 32 wake-gpios: 35 Output GPIO pin used to enter firmware mode and sleep/wakeup control 37 s3fwrn5,en-gpios: [all …]
|
| /linux/Documentation/devicetree/bindings/display/panel/ |
| H A D | tpo,tpg110.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linusw@kernel.org> 11 - Thierry Reding <thierry.reding@gmail.com> 17 and other properties, and has a control interface over 3WIRE 20 self-describing. 22 +--------+ 23 SPI -> | TPO | -> physical display 24 RGB -> | TPG110 | [all …]
|
| /linux/Documentation/devicetree/bindings/net/bluetooth/ |
| H A D | mediatek,bluetooth.txt | 13 - compatible: Must be 14 "mediatek,mt7663u-bluetooth": for MT7663U device 15 "mediatek,mt7668u-bluetooth": for MT7668U device 16 - vcc-supply: Main voltage regulator 19 control such as the most of MediaTek platform. Please use below properties. 21 - pinctrl-names: Should be "default", "runtime" 22 - pinctrl-0: Should contain UART RXD low when the device is powered up to 24 - pinctrl-1: Should contain UART mode pin ctrl 26 Else, the pin controller on the platform only can support pinmux control and 27 the GPIO control still has to rely on the dedicated GPIO controller such as [all …]
|
| /linux/drivers/iio/amplifiers/ |
| H A D | adl8113.c | 1 // SPDX-License-Identifier: GPL-2.0 34 struct gpio_descs *gpios; member 70 return -EINVAL; in adl8113_set_path() 73 ret = gpiod_set_array_value_cansleep(st->gpios->ndescs, st->gpios->desc, in adl8113_set_path() 74 st->gpios->info, values); in adl8113_set_path() 78 st->current_path = path; in adl8113_set_path() 86 for (i = 0; i < st->num_gain_configs; i++) { in adl8113_find_gain_config() 87 if (st->gain_configs[i].gain_db == gain_db) in adl8113_find_gain_config() 90 return -EINVAL; in adl8113_find_gain_config() 110 for (i = 0; i < st->num_gain_configs; i++) { in adl8113_read_raw() [all …]
|
| /linux/Documentation/devicetree/bindings/mtd/ |
| H A D | gpio-control-nand.txt | 4 read/write the NAND commands and data and GPIO pins for the control 8 - compatible : "gpio-control-nand" 9 - reg : should specify localbus chip select and size used for the chip. The 12 - #address-cells, #size-cells : Must be present if the device has sub-nodes 14 - gpios : Specifies the GPIO pins to control the NAND device. The order of 18 - bank-width : Width (in bytes) of the device. If not present, the width 20 - chip-delay : chip dependent delay for transferring data from array to 22 - gpio-control-nand,io-sync-reg : A 64-bit physical address for a read 28 The device tree may optionally contain sub-nodes describing partitions of the 33 gpio-nand@1,0 { [all …]
|
| /linux/arch/arm/boot/dts/intel/ixp/ |
| H A D | intel-ixp42x-goramo-multilink.dts | 1 // SPDX-License-Identifier: ISC 5 * - MultiLink Basic (a box) 6 * - MultiLink Max (19" rack mount) 9 * This is one of the few devices supporting the IXP4xx High-Speed Serial 14 /dts-v1/; 16 #include "intel-ixp42x.dtsi" 17 #include <dt-bindings/input/input.h> 21 compatible = "goramo,multilink-router", "intel,ixp42x"; 22 #address-cells = <1>; 23 #size-cells = <1>; [all …]
|
| /linux/Documentation/admin-guide/gpio/ |
| H A D | gpio-aggregator.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 6 The GPIO Aggregator provides a mechanism to aggregate GPIOs, and expose them as 10 Aggregating GPIOs using Sysfs 11 ----------------------------- 14 devices. Access control to these devices is provided by standard UNIX file 15 system permissions, on an all-or-nothing basis: either a GPIO controller is 18 The GPIO Aggregator provides access control for a set of one or more GPIOs, by 21 simplifies and hardens exporting GPIOs to a virtual machine, as the VM can just 22 grab the full GPIO controller, and no longer needs to care about which GPIOs to 26 write-only attribute files in sysfs. [all …]
|
| /linux/Documentation/devicetree/bindings/hsi/ |
| H A D | nokia-modem.txt | 8 - compatible: Should be one of 9 "nokia,n900-modem" 10 "nokia,n950-modem" 11 "nokia,n9-modem" 12 - hsi-channel-names: Should contain the following strings 13 "mcsaab-control" 14 "speech-control" 15 "speech-data" 16 "mcsaab-data" 17 - gpios: Should provide a GPIO handler for each GPIO listed in [all …]
|