blob: 4c4ef6a6166ba28b768ee46580b7f35dbafb7885 [file] [log] [blame]
Mike Rapoport96974a22011-04-25 01:09:05 +03001#ifndef __OMAP_COMMON_BOARD_DEVICES__
2#define __OMAP_COMMON_BOARD_DEVICES__
3
Peter Ujfalusia53b8e32011-06-04 08:16:41 +03004#include "twl-common.h"
5
Igor Grinberg1704bf12011-05-30 00:11:45 -07006#define NAND_BLOCK_SIZE SZ_128K
Zumeng Chen16aced82012-06-20 17:14:53 +08007#define OMAP3_EVM_TS_GPIO 175
Igor Grinberg1704bf12011-05-30 00:11:45 -07008
Mike Rapoport9a3f39f2011-04-25 01:09:07 +03009struct mtd_partition;
Mike Rapoport96974a22011-04-25 01:09:05 +030010struct ads7846_platform_data;
11
12void omap_ads7846_init(int bus_num, int gpio_pendown, int gpio_debounce,
13 struct ads7846_platform_data *board_pdata);
Mike Rapoport9a3f39f2011-04-25 01:09:07 +030014void omap_nand_flash_init(int opts, struct mtd_partition *parts, int n_parts);
Mike Rapoport96974a22011-04-25 01:09:05 +030015
16#endif /* __OMAP_COMMON_BOARD_DEVICES__ */