/linux-6.8/Documentation/driver-api/gpio/ |
D | intro.rst | 16 - The descriptor-based interface is the preferred way to manipulate GPIOs, 18 - The legacy integer-based interface which is considered deprecated (but still 21 The remainder of this document applies to the new descriptor-based interface. 23 integer-based interface. 29 A "General Purpose Input/Output" (GPIO) is a flexible software-controlled 37 System-on-Chip (SOC) processors heavily rely on GPIOs. In some cases, every 38 non-dedicated pin can be configured as a GPIO; and most chips have at least 43 Most PC southbridges have a few dozen GPIO-capable pins (with only the BIOS 48 - Output values are writable (high=1, low=0). Some chips also have 50 value might be driven, supporting "wire-OR" and similar schemes for the [all …]
|
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-6.8/arch/arm64/boot/dts/nvidia/ |
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 …]
|
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-6.8/include/dt-bindings/gpio/ |
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-6.8/Documentation/devicetree/bindings/interrupt-controller/ |
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-6.8/Documentation/ABI/testing/ |
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-6.8/arch/powerpc/platforms/ |
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-6.8/Documentation/devicetree/bindings/pinctrl/ |
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-6.8/Documentation/arch/arc/ |
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-6.8/tools/lib/perf/Documentation/ |
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 …]
|
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-6.8/drivers/pinctrl/ |
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" 150 called pinctrl-cy8c95x0. 153 tristate "TI DA850/OMAP-L138/AM18XX pull-up and pull-down groups" [all …]
|
/linux-6.8/Documentation/devicetree/bindings/power/reset/ |
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-6.8/include/linux/pinctrl/ |
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-6.8/drivers/gpio/ |
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-6.8/Documentation/userspace-api/media/rc/ |
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-6.8/drivers/pps/clients/ |
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-6.8/Documentation/input/ |
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-6.8/net/bluetooth/ |
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" 69 Bluetooth High Speed includes support for off-loading 78 Bluetooth Low Energy includes support low-energy physical [all …]
|
/linux-6.8/Documentation/gpu/ |
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-6.8/Documentation/process/ |
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-6.8/include/uapi/linux/ |
D | landlock.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * Landlock - User space API 5 * Copyright © 2017-2020 Mickaël Salaün <mic@digikod.net> 6 * Copyright © 2018-2020 ANSSI 15 * struct landlock_ruleset_attr - Ruleset definition 24 * rule explicitly allow them: it is a deny-by-default list that should 45 * - %LANDLOCK_CREATE_RULESET_VERSION: Get the highest supported Landlock ABI 48 /* clang-format off */ 50 /* clang-format on */ 53 * enum landlock_rule_type - Landlock rule type [all …]
|
/linux-6.8/arch/mips/dec/ |
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-6.8/Documentation/devicetree/bindings/sifive/ |
D | sifive-blocks-ip-versioning.txt | 1 DT compatible string versioning for SiFive open-source IP blocks 4 strings for open-source SiFive IP blocks. HDL for these IP blocks 7 https://github.com/sifive/sifive-blocks 9 IP block-specific DT compatible strings are contained within the HDL, 10 in the form "sifive,<ip-block-name><integer version number>". 14 https://github.com/sifive/sifive-blocks/blob/v1.0/src/main/scala/devices/uart/UART.scala#L43 17 auto-discovery, the maintainers of these IP blocks intend to increment 25 upstream sifive-blocks commits. It is expected that most drivers will 26 match on these IP block-specific compatible strings. 29 continue to specify an SoC-specific compatible string value, such as [all …]
|