|
Linux Kernel
3.7.1
|
#include <linux/irq.h>#include <linux/platform_device.h>#include <linux/delay.h>#include <linux/dm9000.h>#include <linux/rtc-v3020.h>#include <linux/mtd/nand.h>#include <linux/mtd/partitions.h>#include <linux/mtd/physmap.h>#include <linux/input.h>#include <linux/gpio_keys.h>#include <linux/gpio.h>#include <linux/mfd/da903x.h>#include <linux/regulator/machine.h>#include <linux/spi/spi.h>#include <linux/spi/tdo24m.h>#include <linux/spi/libertas_spi.h>#include <linux/spi/pxa2xx_spi.h>#include <linux/power_supply.h>#include <linux/apm-emulation.h>#include <linux/i2c.h>#include <linux/i2c/pca953x.h>#include <linux/i2c/pxa-i2c.h>#include <linux/regulator/userspace-consumer.h>#include <media/soc_camera.h>#include <asm/mach-types.h>#include <asm/mach/arch.h>#include <mach/pxa27x.h>#include <mach/pxa27x-udc.h>#include <mach/audio.h>#include <linux/platform_data/video-pxafb.h>#include <linux/platform_data/usb-ohci-pxa27x.h>#include <linux/platform_data/mmc-pxamci.h>#include <linux/platform_data/keypad-pxa27x.h>#include <linux/platform_data/camera-pxa.h>#include "generic.h"#include "devices.h"Go to the source code of this file.
Macros | |
| #define | GPIO13_MMC_CD (13) |
| #define | GPIO95_MMC_WP (95) |
| #define | GPIO56_NAND_RB (56) |
| #define | GPIO93_CAM_RESET (93) |
| #define | GPIO16_USB_HUB_RESET (16) |
| #define | GPIO114_MMC_CD (114) |
| #define | GPIO20_NAND_RB (20) |
| #define | GPIO38_SD_PWEN (38) |
| #define | GPIO37_WLAN_RST (37) |
| #define | GPIO95_TOUCHPAD_INT (95) |
| #define | GPIO130_CAM_RESET (130) |
| #define | GPIO10_USB_HUB_RESET (10) |
| #define | GPIO11_NAND_CS (11) |
| #define | GPIO41_ETHIRQ (41) |
| #define | EM_X270_ETHIRQ PXA_GPIO_TO_IRQ(GPIO41_ETHIRQ) |
| #define | GPIO115_WLAN_PWEN (115) |
| #define | GPIO19_WLAN_STRAP (19) |
| #define | GPIO9_USB_VBUS_EN (9) |
| #define | REGULATOR_CONSUMER(_name, _dev_name, _supply) |
| #define | REGULATOR_INIT(_ldo, _min_uV, _max_uV, _ops_mask) |
| #define | DA9030_SUBDEV(_name, _id, _pdata) |
| #define | DA9030_LDO(num) DA9030_SUBDEV(regulator, LDO##num, &ldo##num##_data) |
Functions | |
| REGULATOR_CONSUMER (ldo3,"reg-userspace-consumer.0","vcc gps") | |
| REGULATOR_CONSUMER (ldo5, NULL,"vcc cam") | |
| REGULATOR_CONSUMER (ldo10,"pxa2xx-mci","vcc sdio") | |
| REGULATOR_CONSUMER (ldo12, NULL,"vcc usb") | |
| REGULATOR_CONSUMER (ldo19,"reg-userspace-consumer.1","vcc gprs") | |
| REGULATOR_CONSUMER (buck2, NULL,"vcc_core") | |
| REGULATOR_INIT (ldo3, 3200000, 3200000, REGULATOR_CHANGE_STATUS) | |
| REGULATOR_INIT (ldo5, 3000000, 3000000, REGULATOR_CHANGE_STATUS) | |
| REGULATOR_INIT (ldo10, 2000000, 3200000, REGULATOR_CHANGE_STATUS|REGULATOR_CHANGE_VOLTAGE) | |
| REGULATOR_INIT (ldo12, 3000000, 3000000, REGULATOR_CHANGE_STATUS) | |
| REGULATOR_INIT (ldo19, 3200000, 3200000, REGULATOR_CHANGE_STATUS) | |
| REGULATOR_INIT (buck2, 1000000, 1650000, REGULATOR_CHANGE_VOLTAGE) | |
| #define DA9030_SUBDEV | ( | _name, | |
| _id, | |||
| _pdata | |||
| ) |
| #define EM_X270_ETHIRQ PXA_GPIO_TO_IRQ(GPIO41_ETHIRQ) |
| #define REGULATOR_CONSUMER | ( | _name, | |
| _dev_name, | |||
| _supply | |||
| ) |
| #define REGULATOR_INIT | ( | _ldo, | |
| _min_uV, | |||
| _max_uV, | |||
| _ops_mask | |||
| ) |
| REGULATOR_CONSUMER | ( | ldo3 | , |
| "reg-userspace-consumer.0" | , | ||
| "vcc gps" | |||
| ) |
| REGULATOR_CONSUMER | ( | ldo10 | , |
| "pxa2xx-mci" | , | ||
| "vcc sdio" | |||
| ) |
| REGULATOR_CONSUMER | ( | ldo19 | , |
| "reg-userspace-consumer.1" | , | ||
| "vcc gprs" | |||
| ) |
| REGULATOR_CONSUMER | ( | buck2 | , |
| NULL | , | ||
| "vcc_core" | |||
| ) |
| REGULATOR_INIT | ( | ldo3 | , |
| 3200000 | , | ||
| 3200000 | , | ||
| REGULATOR_CHANGE_STATUS | |||
| ) |
| REGULATOR_INIT | ( | ldo5 | , |
| 3000000 | , | ||
| 3000000 | , | ||
| REGULATOR_CHANGE_STATUS | |||
| ) |
| REGULATOR_INIT | ( | ldo10 | , |
| 2000000 | , | ||
| 3200000 | , | ||
| REGULATOR_CHANGE_STATUS| | REGULATOR_CHANGE_VOLTAGE | ||
| ) |
| REGULATOR_INIT | ( | ldo12 | , |
| 3000000 | , | ||
| 3000000 | , | ||
| REGULATOR_CHANGE_STATUS | |||
| ) |
| REGULATOR_INIT | ( | ldo19 | , |
| 3200000 | , | ||
| 3200000 | , | ||
| REGULATOR_CHANGE_STATUS | |||
| ) |
| REGULATOR_INIT | ( | buck2 | , |
| 1000000 | , | ||
| 1650000 | , | ||
| REGULATOR_CHANGE_VOLTAGE | |||
| ) |
| MACHINE_END atag_offset = 0x100 |
| struct da9030_battery_info em_x270_batterty_info |
| struct da903x_subdev_info em_x270_da9030_subdevs[] |
| struct power_supply_info em_x270_psy_info |
| MACHINE_END handle_irq = pxa27x_handle_irq |
| MACHINE_END init_irq = pxa27x_init_irq |
| MACHINE_END init_machine = em_x270_init |
| MACHINE_END map_io = pxa27x_map_io |
| MACHINE_END nr_irqs = PXA_NR_IRQS |
| MACHINE_END restart = pxa_restart |
1.8.2