1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
15 #include <linux/types.h>
17 #include <asm/arch/gpio-switch.h>
19 #define OMAP_TAG_CLOCK 0x4f01
20 #define OMAP_TAG_MMC 0x4f02
21 #define OMAP_TAG_SERIAL_CONSOLE 0x4f03
22 #define OMAP_TAG_USB 0x4f04
23 #define OMAP_TAG_LCD 0x4f05
24 #define OMAP_TAG_GPIO_SWITCH 0x4f06
25 #define OMAP_TAG_UART 0x4f07
26 #define OMAP_TAG_FBMEM 0x4f08
27 #define OMAP_TAG_STI_CONSOLE 0x4f09
28 #define OMAP_TAG_CAMERA_SENSOR 0x4f0a
29 #define OMAP_TAG_BT 0x4f0b
31 #define OMAP_TAG_BOOT_REASON 0x4f80
32 #define OMAP_TAG_FLASH_PART 0x4f81
33 #define OMAP_TAG_VERSION_STR 0x4f82
35 struct omap_clock_config {
40 struct omap_mmc_conf {
53 struct omap_mmc_config {
54 struct omap_mmc_conf mmc[2];
57 struct omap_serial_console_config {
62 struct omap_sti_console_config {
67 struct omap_camera_sensor_config {
69 int (*power_on)(void * data);
70 int (*power_off)(void * data);
73 struct omap_usb_config {
75 unsigned register_host:1;
76 unsigned register_dev:1;
86 struct omap_lcd_config {
95 struct omap_backlight_config {
96 int default_intensity;
97 int (*set_power)(struct device *dev, int state);
98 int (*check_fb)(struct fb_info *fb);
101 struct omap_fbmem_config {
106 struct omap_pwm_led_platform_data {
110 void (*set_power)(struct omap_pwm_led_platform_data *self, int on_off);
113 struct omap_gpio_switch_config {
121 struct omap_uart_config {
123 unsigned int enabled_uarts;
126 struct omap_flash_part_config {
130 struct omap_boot_reason_config {
134 struct omap_version_config {
139 struct omap_board_config_entry {
145 struct omap_board_config_kernel {
150 struct omap_bluetooth_config {
156 int host_wakeup_gpio;
160 #define omap_get_config(tag, type) ((const type *) __omap_get_config((tag), sizeof(type), 0))
161 #define omap_get_nr_config(tag, type, nr) ((const type *) __omap_get_config((tag), sizeof(type), (nr)))