/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | ti,am3359-tsc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/ti,am3359-tsc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Miquel Raynal <miquel.raynal@bootlin.com> 14 const: ti,am3359-tsc 16 ti,wires: 17 description: Wires refer to application modes i.e. 4/5/8 wire touchscreen 22 ti,x-plate-resistance: 26 ti,coordinate-readouts: [all …]
|
H A D | fsl-mx25-tcq.txt | 3 mx25 touchscreen conversion queue module which controls the ADC unit of the 7 - compatible: Should be "fsl,imx25-tcq". 8 - reg: Memory range of the device. 9 - interrupts: Should be the interrupt number associated with this module within 11 - fsl,wires: Should be '<4>' or '<5>' 14 - fsl,pen-debounce-ns: Pen debounce time in nanoseconds. 15 - fsl,pen-threshold: Pen-down threshold for the touchscreen. This is a value 20 - fsl,settling-time-ns: Settling time in nanoseconds. The settling time is before 29 compatible = "fsl,imx25-tcq"; 31 interrupt-parent = <&tscadc>; [all …]
|
/linux/include/linux/platform_data/ |
H A D | mmc-davinci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Board-specific MMC configuration 19 /* wires == 0 is equivalent to wires == 4 (4-bit parallel) */ 20 u8 wires; member 24 /* any additional host capabilities: OR'd in to mmc->f_caps */ 27 /* Number of sg segments */
|
H A D | mmc-omap.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 /* back-link to device */ 16 /* number of slots per controller */ 23 /* initialize board-specific MMC functionality, can be NULL if 41 * 4/8 wires and any additional host capabilities 44 u8 wires; /* Used for the MMC driver on omap1 and 2420 */ member 46 u32 pm_caps; /* PM capabilities of the mmc */ 50 * that board-specific code handled it before common init logic. 101 * 0 - closed 102 * 1 - open
|
/linux/Documentation/devicetree/bindings/display/tilcdc/ |
H A D | tilcdc.txt | 1 Device-Tree bindings for tilcdc DRM driver 4 - compatible: value should be one of the following: 5 - "ti,am33xx-tilcdc" for AM335x based boards 6 - "ti,da850-tilcdc" for DA850/AM18x/OMAP-L138 based boards 7 - interrupts: the interrupt number 8 - reg: base address and size of the LCDC device 11 - ti,hwmods: Name of the hwmod associated to the LCDC 14 - max-bandwidth: The maximum pixels per second that the memory 16 - max-width: The maximum horizontal pixel width supported by 18 - max-pixelclock: The maximum pixel clock that can be supported [all …]
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | atmel,sama9260-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/atmel,sama9260-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandre Belloni <alexandre.belloni@bootlin.com> 15 - atmel,at91sam9260-adc 16 - atmel,at91sam9rl-adc 17 - atmel,at91sam9g45-adc 18 - atmel,at91sam9x5-adc 19 - atmel,at91sama5d3-adc [all …]
|
/linux/drivers/input/touchscreen/ |
H A D | fsl-imx25-tcq.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2014-2015 Pengutronix, Markus Pargmann <mpa@pengutronix.de> 14 #include <linux/mfd/imx25-tsadc.h> 16 #include <linux/of.h> 20 static const char mx25_tcq_name[] = "mx25-tcq"; 50 { .compatible = "fsl,imx25-tcq", }, 53 MODULE_DEVICE_TABLE(of, mx25_tcq_ids); 103 regmap_write(priv->core_regs, MX25_TSC_TICR, precharge_cfg); in imx25_setup_queue_cfgs() 106 regmap_write(priv->regs, MX25_ADCQ_CFG(MX25_CFG_PRECHARGE), in imx25_setup_queue_cfgs() 110 regmap_write(priv->regs, MX25_ADCQ_CFG(MX25_CFG_TOUCH_DETECT), in imx25_setup_queue_cfgs() [all …]
|
/linux/Documentation/driver-api/gpio/ |
H A D | drivers-on-gpio.rst | 6 the right in-kernel and userspace APIs/ABIs for the job, and that these 10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO 13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger, 15 (and that LED may in turn use the leds-gpio as per above). 17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line 20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your 24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with 26 mouse cable and connect the wires to GPIO lines or solder a mouse connector 27 to the lines for a more permanent solution of this type. 29 - gpio-beeper: drivers/input/misc/gpio-beeper.c is used to provide a beep from [all …]
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | aptina,mt9v111.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@jmondi.org> 13 The Aptina MT9V111 is a 1/4-Inch VGA-format digital image sensor with a core 16 The sensor has an active pixel array of 640x480 pixels and can output a number 17 of image resolutions and formats controllable through a simple two-wires 30 enable-gpios: 34 standby-gpios: 39 reset-gpios: [all …]
|
/linux/drivers/mfd/ |
H A D | mxs-lradc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Freescale MXS Low Resolution Analog-to-Digital Converter driver 16 #include <linux/mfd/mxs-lradc.h> 18 #include <linux/of.h> 57 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH0_IRQ, "mxs-lradc-channel0"), 58 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH1_IRQ, "mxs-lradc-channel1"), 59 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH2_IRQ, "mxs-lradc-channel2"), 60 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH3_IRQ, "mxs-lradc-channel3"), 61 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH4_IRQ, "mxs-lradc-channel4"), 62 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH5_IRQ, "mxs-lradc-channel5"), [all …]
|
H A D | ti_am335x_tscadc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 16 #include <linux/of.h> 33 spin_lock_irqsave(&tscadc->reg_lock, flags); in am335x_tsc_se_set_cache() 34 tscadc->reg_se_cache |= val; in am335x_tsc_se_set_cache() 35 if (tscadc->adc_waiting) in am335x_tsc_se_set_cache() 36 wake_up(&tscadc->reg_se_wait); in am335x_tsc_se_set_cache() 37 else if (!tscadc->adc_in_use) in am335x_tsc_se_set_cache() 38 regmap_write(tscadc->regmap, REG_SE, tscadc->reg_se_cache); in am335x_tsc_se_set_cache() 40 spin_unlock_irqrestore(&tscadc->reg_lock, flags); in am335x_tsc_se_set_cache() [all …]
|
/linux/Documentation/w1/ |
H A D | w1-generic.rst | 2 Introduction to the 1-wire (w1) subsystem 5 The 1-wire bus is a simple master-slave bus that communicates via a single 6 signal wire (plus ground, so two wires). 9 drain output and by sampling the logic level of the signal line. 18 - DS9490 usb device 19 - W1-over-GPIO 20 - DS2482 (i2c to w1 bridge) 21 - Emulated devices, such as a RS232 converter, parallel port adapter, etc 25 ------------------------------ 29 - sysfs entries for that w1 master are created [all …]
|
/linux/Documentation/dev-tools/ |
H A D | gpio-sloppy-logic-analyzer.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 This document briefly describes how to run the GPIO based in-kernel sloppy 19 connected to these GPIO lines with wires (i.e. digital probes), acting as a 22 Another feature is to snoop on on-chip peripherals if the I/O cells of these 26 control subsystem such pin controllers are called "non-strict": a certain pin 31 non-deterministic code paths and non-maskable interrupts. It is called 'sloppy' 39 runtime environment does not utilize cpusets otherwise, then isolation of a CPU 47 i2c-analyzer { 48 compatible = "gpio-sloppy-logic-analyzer"; 49 probe-gpios = <&gpio6 21 GPIO_OPEN_DRAIN>, <&gpio6 4 GPIO_OPEN_DRAIN>; [all …]
|
/linux/drivers/input/mouse/ |
H A D | vsxxxaa.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for DEC VSXXX-AA mouse (hockey-puck mouse, ball or two rollers) 4 * DEC VSXXX-GA mouse (rectangular mouse, with ball) 5 * DEC VSXXX-AB tablet (digitizer with hair cross or stylus) 7 * Copyright (C) 2003-2004 by Jan-Benedict Glaw <jbglaw@lug-owl.de> 24 * supply at +5V and -12V. 30 * | 4 --- 3 | 32 * ------- 35 * 1 (GND) 5 7 - 36 * 2 (RxD) 2 3 - [all …]
|
/linux/Documentation/input/devices/ |
H A D | joystick-parport.rst | 3 .. _joystick-parport: 9 :Copyright: |copy| 1998-2000 Vojtech Pavlik <vojtech@ucw.cz> 10 :Copyright: |copy| 1998 Andree Borrmann <a.borrmann@tu-bs.de> 18 Any information in this file is provided as-is, without any guarantee that 27 originally designed for PCs and other computers Linux runs on. Because of 29 port, because of its ability to change single bits at will, and providing 36 Many console and 8-bit computer gamepads and joysticks are supported. The 37 following subsections discuss usage of each. 40 ------------ 51 the output lines of the parallel port are shared, while one of 5 available [all …]
|
/linux/drivers/spi/ |
H A D | spi-sprd.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/dma-mapping.h> 7 #include <linux/dma/sprd-dma.h> 13 #include <linux/of.h> 176 * The time spent on transmission of the full FIFO data is the maximum in sprd_spi_transfer_max_timeout() 179 u32 size = t->bits_per_word * SPRD_SPI_FIFO_SIZE; in sprd_spi_transfer_max_timeout() 180 u32 bit_time_us = DIV_ROUND_UP(USEC_PER_SEC, ss->hw_speed_hz); in sprd_spi_transfer_max_timeout() 186 u32 interval_cycle = SPRD_SPI_FIFO_SIZE * ss->word_delay; in sprd_spi_transfer_max_timeout() 188 ss->src_clk); in sprd_spi_transfer_max_timeout() 199 ret = readl_relaxed_poll_timeout(ss->base + SPRD_SPI_INT_RAW_STS, val, in sprd_spi_wait_for_tx_end() [all …]
|
/linux/Documentation/spi/ |
H A D | spi-summary.rst | 2 Overview of Linux kernel SPI support 5 02-Feb-2012 8 ------------ 14 The three signal wires hold a clock (SCK, often on the order of 10 MHz), 17 clocking modes through which data is exchanged; mode-0 and mode-3 are most 23 device, so those three signal wires may be connected to several chips 32 - SPI may be used for request/response style device protocols, as with 35 - It may also be used to stream data in either direction (half duplex), 36 or both of them at the same time (full duplex). 38 - Some devices may use eight bit words. Others may use different word [all …]
|
/linux/drivers/iio/temperature/ |
H A D | ltc2983.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System 60 (((chan - 1) * 4) + LTC2983_CHAN_ASSIGN_START_REG) 62 (((chan - 1) * 4) + LTC2983_TEMP_RES_START_REG) 309 * Convert to Q format numbers. These number's are integers where 310 * the number of integer and fractional bits are specified. The resolution 311 * is given by 1/@resolution and tell us the number of fractional bits. For 312 * instance a resolution of 2^-10 means we have 10 fractional bits. 326 s64 __res = -(s32)val; in __convert_to_raw_sign() 330 return (u32)-__res; in __convert_to_raw_sign() [all …]
|
/linux/Documentation/driver-api/ |
H A D | edac.rst | 5 ---------------------------------------- 7 There are several things to be aware of that aren't at all obvious, like 8 *sockets, *socket sets*, *banks*, *rows*, *chip-select rows*, *channels*, 11 These are some of the many terms that are thrown about that don't always 12 mean what people think they mean (Inconceivable!). In the interest of 19 output 4 and 8 bits each (x4, x8). Grouping several of these in parallel 20 provides the number of bits that the memory controller expects: 21 typically 72 bits, in order to provide 64 bits + 8 bits of ECC data. 27 gets replaced, in the case of excessive errors. Most often it is also 37 A memory controller channel, responsible to communicate with a group of [all …]
|
H A D | xillybus.rst | 10 - Introduction 11 -- Background 12 -- Xillybus Overview 14 - Usage 15 -- User interface 16 -- Synchronization 17 -- Seekable pipes 19 - Internals 20 -- Source code organization 21 -- Pipe attributes [all …]
|
/linux/drivers/iio/adc/ |
H A D | at91_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 #include <linux/of.h> 69 #define AT91_ADC_CH(n) (1 << (n)) /* Channel Number */ 72 #define AT91_ADC_EOC(n) (1 << (n)) /* End of Conversion on Channel N */ 76 #define AT91_ADC_ENDRX (1 << 18) /* End of RX Buffer */ 103 #define AT91_ADC_ACR_PENDETSENS (0x3 << 0) /* pull-up resistor */ 137 (st->registers->channel_base + (ch * 4)) 139 (readl_relaxed(st->reg_base + reg)) 141 (writel_relaxed(val, st->reg_base + reg)) 161 * struct at91_adc_trigger - description of triggers [all …]
|
/linux/drivers/mmc/host/ |
H A D | davinci_mmc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * davinci_mmc.c - TI DaVinci MMC/SD/SDIO driver 13 #include <linux/dma-mapping.h> 22 #include <linux/mmc/slot-gpio.h> 24 #include <linux/platform_data/mmc-davinci.h> 36 #define DAVINCI_MMCTOR 0x14 /* Response Time-Out Register */ 37 #define DAVINCI_MMCTOD 0x18 /* Data Read Time-Out Register */ 39 #define DAVINCI_MMCNBLK 0x20 /* Number of Blocks Register */ 40 #define DAVINCI_MMCNBLC 0x24 /* Number of Blocks Counter Register */ 118 #define MMCFIFOCTL_ACCWD_4 (0 << 3) /* access width of 4 bytes */ [all …]
|
/linux/arch/arm/mach-omap2/ |
H A D | board-n8x0.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-omap2/board-n8x0.c 5 * Copyright (C) 2005-2009 Nokia Corporation 8 * Modified from mach-omap2/board-generic.c 23 #include <linux/platform_data/spi-omap2-mcspi.h> 24 #include <linux/platform_data/mmc-omap.h> 28 #include <asm/mach-types.h> 32 #include "usb-tusb6010.h" 34 #include "common-board-devices.h" 56 else if (of_machine_is_compatible("nokia,n810-wimax")) in board_check_revision() [all …]
|
/linux/Documentation/networking/device_drivers/wifi/intel/ |
H A D | ipw2200.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 - Intel(R) PRO/Wireless 2200BG Network Connection 12 - Intel(R) PRO/Wireless 2915ABG Network Connection 20 Copyright |copy| 2004-2006, Intel Corporation 32 1.1. Overview of features 37 2. Ad-Hoc Networking 69 of the software provided in binary format with the wireless WLAN 75 ensuring the regulatory compliance of the products, (ii) Intel will bear 76 no liability, under any theory of liability for any issues associated 78 the warranty and/or issues arising from regulatory non-compliance, and [all …]
|
/linux/drivers/usb/host/ |
H A D | pci-quirks.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Some of it includes work-arounds for PCI hardware and BIOS quirks. 5 * It may need to run early during booting -- before USB would normally 6 * initialize -- to ensure that Linux doesn't use any legacy modes. 19 #include <linux/of.h> 22 #include "pci-quirks.h" 23 #include "xhci-ext-caps.h" 146 * amd_chipset_sb_type_init - initialize amd chipset southbridge type 156 pinfo->sb_type.gen = AMD_CHIPSET_UNKNOWN; in amd_chipset_sb_type_init() 158 pinfo->smbus_dev = pci_get_device(PCI_VENDOR_ID_ATI, in amd_chipset_sb_type_init() [all …]
|