/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 …]
|
/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 …]
|
H A D | tegra210-smaug.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/mfd/max77620.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 12 compatible = "google,smaug-rev8", "google,smaug-rev7", 13 "google,smaug-rev6", "google,smaug-rev5", 14 "google,smaug-rev4", "google,smaug-rev3", 15 "google,smaug-rev2", "google,smaug-rev1", 25 stdout-path = "serial0:115200n8"; [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/arch/powerpc/platforms/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 source "arch/powerpc/platforms/powernv/Kconfig" 5 source "arch/powerpc/platforms/pseries/Kconfig" 6 source "arch/powerpc/platforms/chrp/Kconfig" 7 source "arch/powerpc/platforms/512x/Kconfig" 8 source "arch/powerpc/platforms/52xx/Kconfig" 9 source "arch/powerpc/platforms/powermac/Kconfig" 10 source "arch/powerpc/platforms/maple/Kconfig" 11 source "arch/powerpc/platforms/pasemi/Kconfig" 12 source "arch/powerpc/platforms/ps3/Kconfig" [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/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/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/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/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/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/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/gpu/ |
H A D | drm-uapi.rst | 9 addition, drivers export device-specific interfaces for use by userspace 10 drivers & device-aware applications through ioctls and sysfs files. 16 Cover generic ioctls and sysfs layout here. We only need high-level 22 .. kernel-doc:: drivers/gpu/drm/drm_ioctl.c 31 .. kernel-doc:: drivers/gpu/drm/drm_auth.c 34 .. kernel-doc:: drivers/gpu/drm/drm_auth.c 37 .. kernel-doc:: include/drm/drm_auth.h 46 .. kernel-doc:: drivers/gpu/drm/drm_lease.c 49 Open-Source Userspace Requirements 57 open-sourced userspace patches, and those patches must be reviewed and ready for [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/net/ethernet/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 18 source "drivers/net/ethernet/3com/Kconfig" 19 source "drivers/net/ethernet/actions/Kconfig" 20 source "drivers/net/ethernet/adaptec/Kconfig" 21 source "drivers/net/ethernet/aeroflex/Kconfig" 22 source "drivers/net/ethernet/agere/Kconfig" 23 source "drivers/net/ethernet/alacritech/Kconfig" 24 source "drivers/net/ethernet/allwinner/Kconfig" 25 source "drivers/net/ethernet/alteon/Kconfig" 26 source "drivers/net/ethernet/altera/Kconfig" [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->driver; in pps_tty_open() 45 int index = tty->index + drv->name_base; in pps_tty_open() 51 snprintf(info.name, PPS_MAX_NAME_LEN, "%s%d", drv->driver_name, index); in pps_tty_open() 52 snprintf(info.path, PPS_MAX_NAME_LEN, "/dev/%s%d", drv->name, index); in pps_tty_open() 60 pr_err("cannot register PPS source \"%s\"\n", info.path); in pps_tty_open() 63 pps->lookup_cookie = tty; in pps_tty_open() 65 /* Now open the base class N_TTY ldisc */ 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
|