/linux/Documentation/driver-api/gpio/ |
H A D | intro.rst | 17 A "General Purpose Input/Output" (GPIO) is a flexible software-controlled 25 System-on-Chip (SOC) processors heavily rely on GPIOs. In some cases, every 26 non-dedicated pin can be configured as a GPIO; and most chips have at least 31 Most PC southbridges have a few dozen GPIO-capable pins (with only the BIOS 36 - Output values are writable (high=1, low=0). Some chips also have 38 value might be driven, supporting "wire-OR" and similar schemes for the 39 other value (notably, "open drain" signaling). 41 - Input values are likewise readable (1, 0). Some chips support readback 42 of pins configured as "output", which is very useful in such "wire-OR" 44 input de-glitch/debounce logic, sometimes with software controls. [all …]
|
H A D | driver.rst | 26 between 0 and n-1, n being the number of GPIOs managed by the chip. 29 example if a system uses a memory-mapped set of I/O-registers where 32 GPIO 30 lines are handled by one bit per line in a 32-bit register, it makes sense to 44 So for example one platform could use global numbers 32-159 for GPIOs, with a 46 global numbers 0..63 with one set of GPIO controllers, 64-79 with another type 47 of GPIO controller, and on one particular board 80-95 with an FPGA. The legacy 49 2000-2063 to identify GPIO lines in a bank of I2C GPIO expanders. 60 - methods to establish GPIO line direction 61 - methods used to access GPIO line values 62 - method to set electrical configuration for a given GPIO line [all …]
|
H A D | consumer.rst | 21 - Simple compile coverage with e.g. COMPILE_TEST - it does not matter that 25 - Truly optional GPIOLIB support - where the driver does not really make use 26 of the GPIOs on certain compile-time configurations for certain systems, but 27 will use it under other compile-time configurations. In this case the 33 some open coding of error handling should be expected when you do this. 35 All the functions that work with the descriptor-based GPIO interface are 45 With the descriptor-based interface, GPIOs are identified with an opaque, 46 non-forgeable handler that must be obtained through a call to one of the 62 see Documentation/driver-api/gpio/board.rst 73 to be electrically used with open drain. [all …]
|
/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra210-p2894.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/input/input.h> 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/mfd/max77620.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 16 stdout-path = "serial0:115200n8"; 26 pinctrl-names = "boot"; 27 pinctrl-0 = <&state_boot>; 35 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 36 nvidia,open-drain = <TEGRA_PIN_DISABLE>; [all …]
|
/linux/include/dt-bindings/gpio/ |
H A D | gpio.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */ 17 /* Bit 1 express single-endedness */ 21 /* Bit 2 express Open drain or open source */ 26 * Open Drain/Collector is the combination of single-ended open drain interface. 27 * Open Source/Emitter is the combination of single-ended open source interface.
|
/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | open-pic.txt | 1 * Open PIC Binding 4 representation of an Open PIC compliant interrupt controller. This binding is 5 based on the binding defined for Open PIC in [1] and is a superset of that 13 - compatible: Specifies the compatibility list for the PIC. The type 14 shall be <string> and the value shall include "open-pic". 16 - reg: Specifies the base physical address(s) and size(s) of this 17 PIC's addressable register space. The type shall be <prop-encoded-array>. 19 - interrupt-controller: The presence of this property identifies the node 20 as an Open PIC. No property value shall be defined. 22 - #interrupt-cells: Specifies the number of cells needed to encode an [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-iio-adc-hi8435 | 4 Contact: source@cogentembedded.com 7 Could be either "GND-Open" or "Supply-Open" mode. Y is a 14 Contact: source@cogentembedded.com 19 is separately set for "GND-Open" and "Supply-Open" modes. 33 Contact: source@cogentembedded.com 38 is separately set for "GND-Open" and "Supply-Open" modes.
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | pincfg-node.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/pincfg-node.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 21 bias-disable: 25 bias-high-impedance: 27 description: high impedance mode ("third-state", "floating") 29 bias-bus-hold: 33 bias-pull-up: [all …]
|
/linux/Documentation/arch/arc/ |
H A D | arc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 ARC processors and relevant open source projects. 12 - `<https://embarc.org>`_ - Community portal for open source on ARC. 16 - `<https://github.com/foss-for-synopsys-dwc-arc-processors>`_ - 17 Home for all development activities regarding open source projects for 21 as open source for use on ARC Processors. 23 - `Official Synopsys ARC Processors website 24 <https://www.synopsys.com/designware-ip/processor-solutions.html>`_ - 27 <https://www.synopsys.com/dw/doc.php/ds/cc/programmers-reference-manual-ARC-HS.pdf>`_) 29 <https://www.synopsys.com/cgi-bin/dwarcnsim/req1.cgi>`_ and [all …]
|
/linux/Documentation/userspace-api/media/dvb/ |
H A D | legacy_dvb_audio.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later OR GPL-2.0 35 ----- 39 --------------------- 46 .. code-block:: c 56 .. flat-table:: 57 :header-rows: 0 58 :stub-columns: 0 60 - .. 62 - ``AUDIO_SOURCE_DEMUX`` 64 - :cspan:`1` Selects the demultiplexer (fed either by the frontend [all …]
|
H A D | legacy_dvb_video.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later OR GPL-2.0 40 -------------- 45 .. code-block:: c 56 .. flat-table:: 57 :header-rows: 0 58 :stub-columns: 0 60 - .. 62 - ``VIDEO_FORMAT_4_3`` 64 - Select 4:3 format. 66 - .. [all …]
|
/linux/tools/lib/perf/Documentation/ |
H A D | libperf-sampling.txt | 1 libperf-sampling(7) 5 ---- 6 libperf-sampling - sampling interface 10 ----------- 19 [source,bash] 20 -- 21 $ gcc -o sampling sampling.c -lperf 32 -- 39 - creates events 40 - adds them to the event list [all …]
|
H A D | libperf-counting.txt | 1 libperf-counting(7) 5 ---- 6 libperf-counting - counting interface 9 ----------- 18 [source,bash] 19 -- 20 $ gcc -o counting counting.c -lperf 24 -- 42 [source,c] 43 -- [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | flow_dissector.c | 1 // SPDX-License-Identifier: GPL-2.0 107 .tcp.source = 80, 128 .tcp.source = 80, 143 .name = "802.1q-ipv4", 151 .tcp.source = 80, 166 .name = "802.1ad-ipv6", 174 .tcp.source = 80, 190 .name = "ipv4-frag", 198 .tcp.source = 80, 217 .name = "ipv4-no-frag", [all …]
|
/linux/include/linux/pinctrl/ |
H A D | pinconf-generic.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2011 ST-Ericsson SA 6 * Written on behalf of Linaro for ST-Ericsson 24 * enum pin_config_param - possible pin configuration parameters 31 * transition from say pull-up to pull-down implies that you disable 32 * pull-up in the process, this setting disables all biasing. 34 * mode, also know as "third-state" (tristate) or "high-Z" or "floating". 40 * impedance to GROUND). If the argument is != 0 pull-down is enabled, 52 * impedance to VDD). If the argument is != 0 pull-up is enabled, 55 * @PIN_CONFIG_DRIVE_OPEN_DRAIN: the pin will be driven with open drain (open [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-tc3589x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 5 * Author: Hanumath Prasad <hanumath.prasad@stericsson.com> for ST-Ericsson 6 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson 40 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_get() 55 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_set() 67 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_direction_output() 80 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_direction_input() 91 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_get_direction() 110 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_set_config() [all …]
|
/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | gpio-restart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/gpio-restart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 17 'open-source' is not found, the GPIO line will be driven in the inactive state. Otherwise its 22 This will also cause an inactive->active edge condition, triggering positive edge triggered 23 reset. After a delay specified by active-delay, the GPIO is set to inactive, thus causing an 24 active->inactive edge, triggering negative edge triggered reset. After a delay specified by 25 inactive-delay, the GPIO is driven active again. After a delay specified by wait-delay, the [all …]
|
/linux/Documentation/userspace-api/media/rc/ |
H A D | rc-tables.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 30 .. flat-table:: IR default keymapping 31 :header-rows: 0 32 :stub-columns: 0 36 - .. row 1 38 - Key code 40 - Meaning 42 - Key examples on IR 44 - .. row 2 46 - **Numeric keys** [all …]
|
/linux/drivers/pinctrl/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 66 will be called pinctrl-apple-gpio. 69 bool "Axis ARTPEC-6 pin controller driver" 74 This is the driver for the Axis ARTPEC-6 pin controller. This driver 77 found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt 86 functionality. This driver supports the pinmux, push-pull and 87 open drain configuration for the GPIO pins of AS3722 devices. It also 117 tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support" 141 The Awinic AW9523/AW9523B is a multi-function I2C GPIO 168 called pinctrl-cy8c95x0. [all …]
|
/linux/Documentation/input/ |
H A D | input-programming.rst | 34 return -EBUSY; 40 error = -ENOMEM; 44 button_dev->evbit[0] = BIT_MASK(EV_KEY); 45 button_dev->keybit[BIT_WORD(BTN_0)] = BIT_MASK(BTN_0); 83 parts of the input systems what it is - what events can be generated or 88 set_bit(EV_KEY, button_dev->evbit); 89 set_bit(BTN_0, button_dev->keybit); 126 dev->open() and dev->close() 132 can use the open and close callback to know when it can stop polling or 140 return -EBUSY; [all …]
|
/linux/drivers/pps/clients/ |
H A D | pps-ldisc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pps-ldisc.c -- PPS line discipline 35 dev_dbg(&pps->dev, "PPS %s at %lu\n", in pps_tty_dcd_change() 44 struct tty_driver *drv = tty->drive in pps_tty_open() [all...] |
/linux/net/bluetooth/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 Bluetooth is low-cost, low-power, short-range wireless technology. 21 It was designed as a replacement for cables and other short-range 42 To use Linux Bluetooth subsystem, you will need several user-space 57 source "net/bluetooth/rfcomm/Kconfig" 59 source "net/bluetooth/bnep/Kconfig" 61 source "net/bluetooth/cmtp/Kconfig" 63 source "net/bluetooth/hidp/Kconfig" 70 Bluetooth Low Energy includes support low-energy physical 107 bool "Enable Android Open Source Project extensions" [all …]
|
/linux/Documentation/process/ |
H A D | contribution-maturity-model.rst | 1 .. SPDX-License-Identifier: GPL-2.0 29 The TAB urges organizations to continuously evaluate their Open Source 33 levels. In the spirit of Open Source, we encourage organizations to 56 * Software Engineers will be supported to attend Linux-related 67 * Contributing presentations or papers to Linux-related or academic 72 * Organizations will regularly report metrics of their open source 86 * The number of out-of-tree commits present in internal kernels. 96 * Software Engineers are supported in helping to organize Linux-related
|
/linux/arch/mips/dec/ |
H A D | int-handler.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * Rewritten extensively for controller-driven IRQ support 51 * off, nothing in between like BSD spl() brain-damage. 58 * MIPS IRQ Source 59 * -------- ------ 71 * MIPS IRQ Source 72 * -------- ------ 84 * MIPS IRQ Source 85 * -------- ------ 97 * MIPS IRQ Source [all …]
|
/linux/drivers/scsi/isci/ |
H A D | scu_remote_node_context.h | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 29 * Redistribution and use in source and binary forms, with or without 33 * * Redistributions of source code must retain the above copyright 67 * struct ssp_remote_node_context - This structure contains the SCU hardware 119 /* WORD 1 - 2 */ 168 * the open address frame. See the SAS spec for valid values. 174 * open address frame. See the SAS spec for valid values. 179 * This field tells the SCU hardware what to use for the source zone group in [all …]
|