diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2012-03-16 09:05:30 -0400 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2012-03-16 09:05:46 -0400 |
| commit | 2a9f23d82a79d2785429aba43b02683abf103c0b (patch) | |
| tree | 16fc44dc26a0af5b08ac668ee02f4022737c33ae /include/linux/platform_data | |
| parent | cdc3df6f44f72c5924a16a47e1663c3fb0e57820 (diff) | |
| parent | 62c5553ab7ecf23e7b5464a59d728ab94479adbb (diff) | |
Merge branch 'at91-3.4-cleanup2-DT2' of git://github.com/at91linux/linux-at91 into next/dt
* 'at91-3.4-cleanup2-DT2' of git://github.com/at91linux/linux-at91: (23 commits)
ARM: at91: dt: enable usb ehci for sam9g45 and sam9x5
ARM: at91: usb ehci add dt support
ARM: at91: dt: enable usb ohci for sam9g20, sam9g45 amd sam9x5
ARM: at91: usb ohci add dt support
ARM: at91: add Shutdown Controller (SHDWC) DT support
ARM: at91: add ram controller DT support
ARM: at91: add RSTC (Reset Controller) dt support
ARM: at91: always enable sam9 restart
ARM: at91: add pmc DT support
ARM: at91/dt: add specific DT soc init
ARM: at91/dt: add Calao DAB-MMX daugther board support for USB-A9G20
ARM: at91: sam9x5 add i2c DT support
ARM: at91: sam9g45 add i2c DT support
ARM: at91: usb_a9g20 add DT i2c support
ARM: at91: sam9g20 add i2c DT support
i2c/gpio: add DT support
ARM: at91: sam9x5 add nand support
atmel/nand: add DT support
of/mtd/nand: add generic bindings and helpers
of: introduce helper to manage boolean
...
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/atmel.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/linux/platform_data/atmel.h b/include/linux/platform_data/atmel.h new file mode 100644 index 000000000000..d056263545b1 --- /dev/null +++ b/include/linux/platform_data/atmel.h | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | /* | ||
| 2 | * atmel platform data | ||
| 3 | * | ||
| 4 | * GPL v2 Only | ||
| 5 | */ | ||
| 6 | |||
| 7 | #ifndef __ATMEL_NAND_H__ | ||
| 8 | #define __ATMEL_NAND_H__ | ||
| 9 | |||
| 10 | #include <linux/mtd/nand.h> | ||
| 11 | |||
| 12 | /* NAND / SmartMedia */ | ||
| 13 | struct atmel_nand_data { | ||
| 14 | int enable_pin; /* chip enable */ | ||
| 15 | int det_pin; /* card detect */ | ||
| 16 | int rdy_pin; /* ready/busy */ | ||
| 17 | u8 rdy_pin_active_low; /* rdy_pin value is inverted */ | ||
| 18 | u8 ale; /* address line number connected to ALE */ | ||
| 19 | u8 cle; /* address line number connected to CLE */ | ||
| 20 | u8 bus_width_16; /* buswidth is 16 bit */ | ||
| 21 | u8 ecc_mode; /* ecc mode */ | ||
| 22 | u8 on_flash_bbt; /* bbt on flash */ | ||
| 23 | struct mtd_partition *parts; | ||
| 24 | unsigned int num_parts; | ||
| 25 | }; | ||
| 26 | |||
| 27 | #endif /* __ATMEL_NAND_H__ */ | ||
