/linux-3.3/drivers/gpio/ |
D | Kconfig | 8 Select this config option from the architecture Kconfig, if 11 Select this instead of ARCH_REQUIRE_GPIOLIB, if your architecture does 12 not depend on GPIOs being available, but rather let the user 17 select GPIOLIB 19 Platforms select gpiolib if they use this infrastructure 20 for all their GPIOs, usually starting with ones integrated 30 select GENERIC_GPIO 45 These checks help ensure that GPIOs have been properly initialized 47 non-sleeping contexts. They can make bitbanged serial protocols 55 Say Y here to add a sysfs interface for GPIOs. [all …]
|
/linux-3.3/Documentation/devicetree/bindings/gpio/ |
D | gpio.txt | 4 1) gpios property 5 ----------------- 7 Nodes that makes use of GPIOs should specify them using one or more 8 properties, each containing a 'gpio-list': 10 gpio-list ::= <single-gpio> [gpio-list] 11 single-gpio ::= <gpio-phandle> <gpio-specifier> 12 gpio-phandle : phandle to gpio controller node 13 gpio-specifier : Array of #gpio-cells specifying specific gpio 16 GPIO properties should be named "[<name>-]gpios". Exact 17 meaning of each gpios property must be documented in the device tree [all …]
|
/linux-3.3/Documentation/devicetree/bindings/mtd/ |
D | fsl-upm-nand.txt | 4 - compatible : "fsl,upm-nand". 5 - reg : should specify localbus chip select and size used for the chip. 6 - fsl,upm-addr-offset : UPM pattern offset for the address latch. 7 - fsl,upm-cmd-offset : UPM pattern offset for the command latch. 10 - fsl,upm-wait-flags : add chip-dependent short delays after running the 13 - fsl,upm-addr-line-cs-offsets : address offsets for multi-chip support. 14 The corresponding address lines are used to select the chip. 15 - gpios : may specify optional GPIOs connected to the Ready-Not-Busy pins 16 (R/B#). For multi-chip devices, "n" GPIO definitions are required 18 - chip-delay : chip dependent delay for transferring data from array to [all …]
|
D | gpio-control-nand.txt | 8 - compatible : "gpio-control-nand" 9 - reg : should specify localbus chip select and size used for the chip. The 12 - #address-cells, #size-cells : Must be present if the device has sub-nodes 14 - gpios : specifies the gpio pins to control the NAND device. nwp is an 18 - bank-width : Width (in bytes) of the device. If not present, the width 20 - chip-delay : chip dependent delay for transferring data from array to 22 - gpio-control-nand,io-sync-reg : A 64-bit physical address for a read 30 gpio-nand@1,0 { 31 compatible = "gpio-control-nand"; 33 #address-cells = <1>; [all …]
|
/linux-3.3/arch/avr32/boards/atstk1000/ |
D | Kconfig | 11 select CPU_AT32AP7000 15 select CPU_AT32AP7001 19 select CPU_AT32AP7002 23 select CPU_AT32AP7000 29 bool "Non-default STK1002/STK1003/STK1004 jumper settings" 41 and means you can't initialize the on-board QVGA display. 44 bool "SW2: use IRDA or TIMER0 (not UART-A, MMC/SD, and PS2-A)" 47 the console on UART-C not UART-A. 55 bool "SW4: use ISI/Camera (not GPIOs, SPI1, and PS2-B)" 58 PCI-format connector) connect a video sensor. [all …]
|
/linux-3.3/arch/arm/plat-s3c24xx/ |
D | Kconfig | 9 select NO_IOPORT 10 select ARCH_REQUIRE_GPIOLIB 11 select S3C_DEV_NAND 17 # low-level serial option nodes 31 low-level implementation needed 37 low-level implementation needed 71 available for boards that need extra gpios for external devices. 77 available for boards that need extra gpios for external devices. 88 select S3C_DMA 129 Internal node to select io timing code that is common to the s3c2410 [all …]
|
/linux-3.3/Documentation/devicetree/bindings/spi/ |
D | spi_pl022.txt | 4 - compatible : "arm,pl022", "arm,primecell" 5 - reg : Offset and length of the register set for the device 6 - interrupts : Should contain SPI controller interrupt 9 - cs-gpios : should specify GPIOs used for chipselects. 10 The gpios will be referred to as reg = <index> in the SPI child nodes. 11 If unspecified, a single SPI device without a chip select can be used.
|
D | fsl-spi.txt | 4 - cell-index : QE SPI subblock index. 7 - compatible : should be "fsl,spi". 8 - mode : the SPI operation mode, it can be "cpu" or "cpu-qe". 9 - reg : Offset and length of the register set for the device 10 - interrupts : <a b> where a is the interrupt number and b is a 15 - interrupt-parent : the phandle for the interrupt controller that 19 - gpios : specifies the gpio pins to be used for chipselects. 20 The gpios will be referred to as reg = <index> in the SPI child nodes. 21 If unspecified, a single SPI device without a chip select can be used. 25 cell-index = <0>; [all …]
|
/linux-3.3/arch/powerpc/platforms/ |
D | Kconfig | 29 ---help--- 41 a hypervisor. This option is not user-selectable but should 64 Select this opton if your platform supports SMP and your 165 select GENERIC_IOMAP 169 select PPC_INDIRECT_IO 173 select PPC_INDIRECT_IO 186 select CPU_FREQ_TABLE 195 select CPU_FREQ_TABLE 204 select CPU_FREQ_TABLE 232 bool "On-chip CPU temperature sensor support" [all …]
|
/linux-3.3/arch/mips/include/asm/mach-au1x00/ |
D | gpio.h | 4 * With CONFIG_GPIOLIB=y different types of on-chip GPIO can be supported within 6 * With CONFIG_GPIOLIB=n, your board must select ALCHEMY_GPIOINT_AU1XXX for the 13 #include <asm/mach-au1x00/au1000.h> 14 #include <asm/mach-au1x00/gpio-au1000.h> 15 #include <asm/mach-au1x00/gpio-au1300.h> 17 /* On Au1000, Au1500 and Au1100 GPIOs won't work as inputs before 19 * register enables use of GPIOs as wake source. 31 * 4 use cases of Alchemy GPIOS: 35 * A gpiochip for the 75 GPIOs is registered. 42 * Au1300 gpios only by using the numbers straight out of the data- [all …]
|
/linux-3.3/Documentation/devicetree/bindings/mmc/ |
D | mmc-spi-slot.txt | 4 - compatible : should be "mmc-spi-slot". 5 - reg : should specify SPI address (chip-select number). 6 - spi-max-frequency : maximum frequency for this device (Hz). 7 - voltage-ranges : two cells are required, first cell specifies minimum 12 - gpios : may specify GPIOs in this order: Card-Detect GPIO, 13 Write-Protect GPIO. 14 - interrupts : the interrupt of a card detect interrupt. 15 - interrupt-parent : the phandle for the interrupt controller that 20 mmc-slot@0 { 21 compatible = "fsl,mpc8323rdb-mmc-slot", [all …]
|
/linux-3.3/Documentation/ |
D | gpio.txt | 11 A "General Purpose Input/Output" (GPIO) is a flexible software-controlled 16 which GPIOs. Drivers can be written generically, so that board setup code 19 System-on-Chip (SOC) processors heavily rely on GPIOs. In some cases, every 20 non-dedicated pin can be configured as a GPIO; and most chips have at least 22 provide GPIOs; multifunction chips like power managers, and audio codecs 25 Most PC southbridges have a few dozen GPIO-capable pins (with only the BIOS 28 The exact capabilities of GPIOs vary between systems. Common options: 30 - Output values are writable (high=1, low=0). Some chips also have 32 value might be driven ... supporting "wire-OR" and similar schemes 35 - Input values are likewise readable (1, 0). Some chips support readback [all …]
|
/linux-3.3/drivers/mfd/ |
D | Kconfig | 15 select REGMAP_I2C 16 select MFD_CORE 20 select individual components like voltage regulators, RTC and 21 battery-charger under the corresponding menus. 25 ---help--- 36 ---help--- 44 select MFD_CORE 45 ---help--- 51 select MFD_CORE 64 select MFD_CORE [all …]
|
/linux-3.3/drivers/mtd/maps/ |
D | gpio-addr-flash.c | 2 * drivers/mtd/maps/gpio-addr-flash.c 5 * line and supplemented by GPIOs. This way you can hook up say a 8MiB flash 6 * to a 2MiB memory range and use the GPIOs to select a particular range. 9 * Copyright © 2005-2009 Analog Devices Inc. 13 * Licensed under the GPL-2 or later. 31 #define DRIVER_NAME "gpio-addr-flash" 35 * struct async_state - keep GPIO flash state 38 * @gpio_count: number of GPIOs used to address 39 * @gpio_addrs: array of GPIOs to twiddle 41 * @win_size: dedicated memory size (if no GPIOs) [all …]
|
/linux-3.3/arch/arm/mach-pxa/ |
D | am300epd.c | 2 * am300epd.c -- Platform device for AM300 EPD kit 10 * This work was made possible by help and equipment support from E-Ink 14 * on the AM300 EPD prototype kit/development kit with an E-Ink 800x600 32 #include <mach/mfp-pxa25x.h> 55 /* this is the 16-bit hdb bus 58-73 */ 93 static int gpios[] = { PWR_GPIO_PIN, CFG_GPIO_PIN, RDY_GPIO_PIN, DC_GPIO_PIN, variable 102 wait_event(par->waitq, gpio_get_value(RDY_GPIO_PIN)); in am300_wait_event() 112 for (i = 0; i < ARRAY_SIZE(gpios); i++) { in am300_init_gpio_regs() 113 err = gpio_request(gpios[i], gpio_names[i]); in am300_init_gpio_regs() 115 dev_err(&am300_device->dev, "failed requesting " in am300_init_gpio_regs() [all …]
|
D | am200epd.c | 2 * am200epd.c -- Platform device for AM200 EPD kit 12 * This work was made possible by help and equipment support from E-Ink 16 * on the AM200 EPD prototype kit/development kit with an E-Ink 800x600 101 static int gpios[] = { LED_GPIO_PIN , STDBY_GPIO_PIN , RST_GPIO_PIN, variable 110 for (i = 0; i < ARRAY_SIZE(gpios); i++) { in am200_init_gpio_regs() 111 err = gpio_request(gpios[i], gpio_names[i]); in am200_init_gpio_regs() 113 dev_err(&am200_device->dev, "failed requesting " in am200_init_gpio_regs() 131 while (--i >= 0) in am200_init_gpio_regs() 132 gpio_free(gpios[i]); in am200_init_gpio_regs() 143 for (i = 0; i < ARRAY_SIZE(gpios); i++) in am200_cleanup() [all …]
|
/linux-3.3/drivers/regulator/ |
D | Kconfig | 46 managed regulators and simple non-configurable regulators. 72 controlled via gpios. 74 and the platform has to provide a mapping of GPIO-states 78 tristate "TI bq24022 Dual Input 1-Cell Li-Ion Charger IC" 81 GPIOs. The provided current regulator can enable/disable 82 charging select between 100 mA and 500 mA charging current 96 select REGMAP_I2C 128 S5PV210, and Exynos-4 chips to control VCC_CORE and 185 This driver supports the voltage regulators of DA9052-BC and 186 DA9053-AA/Bx PMIC. [all …]
|
/linux-3.3/drivers/spi/ |
D | spi-ppc4xx.c | 44 #include <asm/dcr-regs.h> 46 /* bits in mode register - bit 0 is MSb */ 59 * SPI_PPC4XX_MODE_RD = 0 means "MSB first" - this is the normal mode 60 * SPI_PPC4XX_MODE_RD = 1 means "LSB first" - this is bit-reversed mode 108 * CDM = (OPBCLK/4*SCPClkOut) - 1 133 int *gpios; member 150 dev_dbg(&spi->dev, "txrx: tx %p, rx %p, len %d\n", in spi_ppc4xx_txrx() 151 t->tx_buf, t->rx_buf, t->len); in spi_ppc4xx_txrx() 153 hw = spi_master_get_devdata(spi->master); in spi_ppc4xx_txrx() 155 hw->tx = t->tx_buf; in spi_ppc4xx_txrx() [all …]
|
/linux-3.3/arch/arm/mach-davinci/include/mach/ |
D | spi.h | 32 * davinci_spi_platform_data - Platform data for SPI master device on DaVinci 39 * @chip_sel: list of GPIOs which can act as chip-selects for the SPI. 40 * SPI_INTERN_CS denotes internal SPI chip-select. Not necessary 41 * to populate if all chip-selects are internal. 57 * davinci_spi_config - Per-chip-select configuration for SPI slave devices 62 * 0 - odd parity, 1 - even parity. 66 * @timer_disable: disable chip-select timers (setup and hold) 67 * @c2tdelay: chip-select setup time. Measured in number of SPI module clocks. 68 * @t2cdelay: chip-select hold time. Measured in number of SPI module clocks. 71 * @c2edelay: chip-select active to SPI ENAn signal active time. Measured in
|
/linux-3.3/arch/arm/mach-s3c64xx/include/mach/ |
D | gpio.h | 1 /* arch/arm/mach-s3c6400/include/mach/gpio.h 8 * S3C6400 - GPIO lib support 36 /* CONFIG_S3C_GPIO_SPACE allows the user to select extra 84 /* the end of the S3C64XX specific gpios */ 88 /* define the number of gpios we need to the one after the GPQ() range */
|
/linux-3.3/drivers/mtd/nand/ |
D | ppchameleonevb.c | 17 * - BA model: no NAND 18 * - ME model: 32MB (Samsung K9F5608U0B) 19 * - HI model: 128MB (Samsung K9F1G08UOM) 21 * - 32MB (Samsung K9F5608U0B) 42 #define NAND_MTD_NAME "ppchameleon-nand" 43 #define NAND_EVB_MTD_NAME "ppchameleonevb-nand" 103 * hardware specific access to control-lines 108 struct nand_chip *chip = mtd->priv; in ppchameleon_hwcontrol() 111 #error Missing headerfiles. No way to fix this. -tglx in ppchameleon_hwcontrol() 134 writeb(cmd, chip->IO_ADDR_W); in ppchameleon_hwcontrol() [all …]
|
/linux-3.3/drivers/input/keyboard/ |
D | Kconfig | 23 be called adp5520-keys. 33 module will be called adp5588-keys. 43 module will be called adp5589-keys. 61 select ATARI_KBD_CORE 72 select SERIO 73 select SERIO_LIBPS2 74 select SERIO_I8042 if X86 75 select SERIO_GSCPS2 if GSC 92 Say Y here if you have a PA-RISC machine and want to use an AT or 94 PA-RISC keyboards. [all …]
|
/linux-3.3/arch/arm/mach-pxa/include/mach/ |
D | corgi.h | 2 * Hardware specific definitions for SL-C7xx series of PDAs 4 * Copyright (c) 2004-2005 Richard Purdie 34 #define CORGI_GPIO_LCDCON_CS (19) /* LCD Control Chip Select */ 35 #define CORGI_GPIO_MAX1111_CS (20) /* MAX1111 Chip Select */ 36 #define CORGI_GPIO_ADC_TEMP_ON (21) /* Select battery voltage or temperature */ 38 #define CORGI_GPIO_ADS7846_CS (24) /* ADS7846 Chip Select */ 84 * Corgi SCOOP GPIOs and Config
|
/linux-3.3/arch/arm/mach-s5p64x0/include/mach/ |
D | gpio.h | 1 /* linux/arch/arm/mach-s5p64x0/include/mach/gpio.h 3 * Copyright (c) 2009-2010 Samsung Electronics Co., Ltd. 6 * S5P64X0 - GPIO lib support 48 /* CONFIG_S3C_GPIO_SPACE allows the user to select extra 118 /* the end of the S5P64X0 specific gpios */ 128 /* define the number of gpios we need to the one after the last GPIO range */
|
/linux-3.3/drivers/sh/ |
D | pfc.c | 29 for (k = 0; k < pip->num_resources; k++) in pfc_iounmap() 30 if (pip->window[k].virt) in pfc_iounmap() 31 iounmap(pip->window[k].virt); in pfc_iounmap() 33 kfree(pip->window); in pfc_iounmap() 34 pip->window = NULL; in pfc_iounmap() 42 if (!pip->num_resources) in pfc_ioremap() 45 pip->window = kzalloc(pip->num_resources * sizeof(*pip->window), in pfc_ioremap() 47 if (!pip->window) in pfc_ioremap() 50 for (k = 0; k < pip->num_resources; k++) { in pfc_ioremap() 51 res = pip->resource + k; in pfc_ioremap() [all …]
|