| /linux/Documentation/devicetree/bindings/iio/adc/ |
| H A D | adi,ad7606.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7605-4.pdf 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606_7606-6_7606-4.pdf 16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7606B.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606c-16.pdf 18 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606c-18.pdf 19 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7607.pdf [all …]
|
| H A D | adi,ad7768-1.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/adi,ad7768-1.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AD7768-1 ADC device driver 10 - Michael Hennerich <michael.hennerich@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7768-1.pdf 18 const: adi,ad7768-1 26 clock-names: 29 trigger-sources: [all …]
|
| /linux/Documentation/devicetree/bindings/display/bridge/ |
| H A D | thine,thc63lvd1024.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacopo Mondi <jacopo+renesas@jmondi.org> 11 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 15 streams to parallel data outputs. The chip supports single/dual input/output 19 Single or dual operation mode, output data mapping and DDR output modes are 34 even-numbered pixels are received on port@0 and odd-numbered pixels on 37 When operating in single output mode all pixels are output from the first 45 description: First LVDS input port [all …]
|
| H A D | ti,sn65dsi86.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Douglas Anderson <dianders@chromium.org> 23 enable-gpios: 27 suspend-gpios: 31 no-hpd: 37 vccio-supply: 40 vpll-supply: 43 vcca-supply: [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 8 * paths. However, for e.g. remote development, it may be useful to get a first 11 * Copyright (C) Wolfram Sang <wsa@sang-engineering.com> 34 #define GPIO_LA_NAME "gpio-sloppy-logic-analyzer" 41 struct mutex blob_lock; /* serialize access to the blob (data) */ 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() [all …]
|
| H A D | gpio-syscon.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 /* SYSCON driver is designed to use 32-bit wide registers */ 25 * struct syscon_gpio_data - Configuration for the device. 27 * GPIO_SYSCON_FEAT_IN: GPIOs supports input, 28 * GPIO_SYSCON_FEAT_OUT: GPIOs supports output, 29 * GPIO_SYSCON_FEAT_DIR: GPIOs supports switch direction. 30 * @bit_count: Number of bits used as GPIOs. 31 * @dat_bit_offset: Offset (in bits) to the first GPIO bit. 32 * @dir_bit_offset: Optional offset (in bits) to the first bit to switch 50 const struct syscon_gpio_data *data; member [all …]
|
| H A D | gpio-davinci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2006-2007 David Brownell 43 #define BINTEN 0x8 /* GPIO Interrupt Per-Bank Enable Register */ 73 /*--------------------------------------------------------------------------*/ 86 g = d->regs[bank]; in __davinci_direction() 87 spin_lock_irqsave(&d->lock, flags); in __davinci_direction() 88 temp = readl_relaxed(&g->dir); in __davinci_direction() 91 writel_relaxed(mask, value ? &g->set_data : &g->clr_data); in __davinci_direction() 95 writel_relaxed(temp, &g->dir); in __davinci_direction() 96 spin_unlock_irqrestore(&d->lock, flags); in __davinci_direction() [all …]
|
| H A D | gpio-ich.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Intel ICH6-10, Series 5 and 6, Atom C2000 (Avoton/Rangeley) GPIO driver 19 * Each chunk of 32 GPIOs is manipulated via its own USE_SELx, IO_SELx, and 34 {0x00, 0x30, 0x40}, /* USE_SEL[1-3] offsets */ 35 {0x04, 0x34, 0x44}, /* IO_SEL[1-3] offsets */ 36 {0x0c, 0x38, 0x48}, /* LVL[1-3] offsets */ 54 #define ICHX_WRITE(val, reg, base_res) outl(val, (reg) + (base_res)->start) 55 #define ICHX_READ(reg, base_res) inl((reg) + (base_res)->start) 91 struct ichx_desc *desc; /* Pointer to chipset-specific description */ 97 static int modparam_gpiobase = -1; /* dynamic */ [all …]
|
| /linux/Documentation/devicetree/bindings/mmc/ |
| H A D | arm,pl18x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 11 - Ulf Hansson <ulf.hansson@linaro.org> 20 - $ref: /schemas/arm/primecell.yaml# 21 - $ref: mmc-controller.yaml# 29 - arm,pl180 30 - arm,pl181 31 - arm,pl18x [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 26 may need to temporarily remove that protection, first importing a GPIO, 27 then changing its output state, then updating the code before re-enabling 32 userspace GPIO can be used to determine system configuration data that 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/firmware-guide/acpi/ |
| H A D | gpio-properties.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 allows names to be given to GPIOs (and other things as well) returned 13 With _DSD we can now query GPIOs using a name instead of an integer 16 // Bluetooth device with reset and shutdown GPIOs 31 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), 34 Package () { "reset-gpios", Package () { ^BTH, 1, 1, 0 } }, 35 Package () { "shutdown-gpios", Package () { ^BTH, 0, 0, 0 } }, 52 If 1, the GPIO is marked as active-low. 55 active-low or active-high, the "active_low" argument can be used here. 56 Setting it to 1 marks the GPIO as active-low. [all …]
|
| /linux/Documentation/devicetree/bindings/media/i2c/ |
| H A D | thine,thp7312.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Paul Elder <paul.elder@@ideasonboard.com> 17 MIPI CSI-2 and parallel interfaces. It can also output on either MIPI CSI-2 19 interleaved data streams with data types or multiple virtual channel 23 - $ref: /schemas/media/video-interface-devices.yaml# 36 thine,boot-mode: 43 0 is for the SPI/2-wire slave boot, 1 is for the SPI master boot (from 46 reset-gpios: [all …]
|
| /linux/drivers/pinctrl/renesas/ |
| H A D | gpio.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2009 - 2012 Paul Mundt 40 return chip->pfc; in gpio_to_pfc() 47 int idx = sh_pfc_get_pin_index(chip->pfc, offset); in gpio_get_data_reg() 48 struct sh_pfc_gpio_pin *gpio_pin = &chip->pins[idx]; in gpio_get_data_reg() 50 *reg = &chip->regs[gpio_pin->dreg]; in gpio_get_data_reg() 51 *bit = gpio_pin->dbit; in gpio_get_data_reg() 57 phys_addr_t address = dreg->reg; in gpio_read_data_reg() 58 void __iomem *mem = address - chip->mem->phys + chip->mem->virt; in gpio_read_data_reg() 60 return sh_pfc_read_raw_reg(mem, dreg->reg_width); in gpio_read_data_reg() [all …]
|
| /linux/Documentation/driver-api/gpio/ |
| H A D | consumer.rst | 8 Guidelines for GPIOs consumers 13 obtain and use GPIOs are available by including the following file:: 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 35 All the functions that work with the descriptor-based GPIO interface are 42 Obtaining and Disposing GPIOs 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 [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | ti,tlv320adcx140.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Texas Instruments TLV320ADCX140 Quad Channel Analog-to-Digital Converter 11 - Andrew Davis <afd@ti.com> 14 The TLV320ADCX140 are multichannel (4-ch analog recording or 8-ch digital 15 PDM microphones recording), high-performance audio, analog-to-digital 28 - ti,tlv320adc3140 29 - ti,tlv320adc5140 30 - ti,tlv320adc6140 [all …]
|
| H A D | mt8186-mt6366-rt1019-rt5682s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/mt8186-mt6366-rt1019-rt5682s.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jiaxin Yu <jiaxin.yu@mediatek.com> 16 - $ref: sound-card-common.yaml# 21 - mediatek,mt8186-mt6366-rt1019-rt5682s-sound 22 - mediatek,mt8186-mt6366-rt5682s-max98360-sound 23 - mediatek,mt8186-mt6366-rt5650-sound 25 audio-routing: [all …]
|
| /linux/Documentation/devicetree/bindings/display/ |
| H A D | solomon,ssd1307fb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Maxime Ripard <mripard@kernel.org> 11 - Javier Martinez Canillas <javierm@redhat.com> 17 - enum: 18 - solomon,ssd1305fb-i2c 19 - solomon,ssd1306fb-i2c 20 - solomon,ssd1307fb-i2c 21 - solomon,ssd1309fb-i2c [all …]
|
| /linux/Documentation/devicetree/bindings/net/bluetooth/ |
| H A D | ti,bluetooth.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Lechner <david@lechnology.com> 32 - ti,cc2560 33 - ti,wl1271-st 34 - ti,wl1273-st 35 - ti,wl1281-st 36 - ti,wl1283-st 37 - ti,wl1285-st [all …]
|
| /linux/include/linux/gpio/ |
| H A D | machine.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 22 * struct gpiod_lookup - lookup table 25 * so this will use the first match found! 29 * @idx: index of the GPIO in case several GPIOs share the same name 32 * gpiod_lookup is a lookup table for associating GPIOs to specific devices and 33 * functions using platform data. 50 * struct gpiod_hog - GPIO line hog table 85 * Use this macro if you need to have several GPIOs under the same con_id.
|
| /linux/arch/arm64/boot/dts/renesas/ |
| H A D | gray-hawk-single.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 6 * Copyright (C) 2024-2025 Glider bv 11 * Because R-Car V4M has only 1 SSI, it cannot handle both Playback/Capture 28 #include <dt-bindings/gpio/gpio.h> 29 #include <dt-bindings/input/input.h> 30 #include <dt-bindings/leds/common.h> 31 #include <dt-bindings/media/video-interfaces.h> 35 compatible = "renesas,gray-hawk-single"; 49 can_transceiver0: can-phy0 { 51 #phy-cells = <0>; [all …]
|
| H A D | white-hawk-cpu-common.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 27 stdout-path = "serial0:921600n8"; 30 sn65dsi86_refclk: clk-x6 { 31 compatible = "fixed-clock"; 32 #clock-cells = <0>; 33 clock-frequency = <38400000>; 37 compatible = "gpio-keys"; [all …]
|
| /linux/drivers/tty/serial/ |
| H A D | sa1100.c | 1 // SPDX-License-Identifier: GPL-2.0+ 15 #include <linux/platform_data/sa11x0-serial.h> 29 /* We've been assigned a range on the "Low-density serial ports" major */ 45 #define UART_GET_UTCR0(sport) __raw_readl((sport)->port.membase + UTCR0) 46 #define UART_GET_UTCR1(sport) __raw_readl((sport)->port.membase + UTCR1) 47 #define UART_GET_UTCR2(sport) __raw_readl((sport)->port.membase + UTCR2) 48 #define UART_GET_UTCR3(sport) __raw_readl((sport)->port.membase + UTCR3) 49 #define UART_GET_UTSR0(sport) __raw_readl((sport)->port.membase + UTSR0) 50 #define UART_GET_UTSR1(sport) __raw_readl((sport)->port.membase + UTSR1) 51 #define UART_GET_CHAR(sport) __raw_readl((sport)->port.membase + UTDR) [all …]
|
| /linux/drivers/mfd/ |
| H A D | arizona-spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * arizona-spi.c -- Arizona SPI bus interface 21 #include <uapi/linux/input-event-codes.h> 32 { "reset-gpios", &reset_gpios, 1, }, 33 { "wlf,ldoena-gpios", &ldoena_gpios, 1 }, 38 * The ACPI resources for the device only describe external GPIO-s. They do 39 * not provide mappings for the GPIO-s coming from the Arizona codec itself. 42 { "arizona", 2, "wlf,spkvdd-ena", 0, GPIO_ACTIVE_HIGH }, 43 { "arizona", 4, "wlf,micd-pol", 0, GPIO_ACTIVE_LOW }, 58 /* Add mappings for the 2 ACPI declared GPIOs used for reset and ldo-ena */ in arizona_spi_acpi_windows_probe() [all …]
|
| /linux/include/linux/mfd/ |
| H A D | tps65010.h | 18 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 34 * ---------------------------------------------------------------------------- 36 * ---------------------------------------------------------------------------- 109 * ---------------------------------------------------------------------------- 111 * ---------------------------------------------------------------------------- 127 * ---------------------------------------------------------------------------- 129 * ---------------------------------------------------------------------------- 133 * 0 mA -- DON'T DRAW (might supply power instead) 134 * 100 mA -- usb unit load (slowest charge rate) 135 * 500 mA -- usb high power (fast battery charge) [all …]
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | renesas,r9a09g077-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/renesas,r9a09g077-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> 14 Pin multiplexing and GPIO configuration are performed on a per-pin basis. 22 - renesas,r9a09g077-pinctrl # RZ/T2H 23 - renesas,r9a09g087-pinctrl # RZ/N2H 28 - description: Non-safety I/O Port base 29 - description: Safety I/O Port safety region base [all …]
|