board.h 645 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * arch/arm/plat-omap/include/mach/board.h
  3. *
  4. * Information structures for board-specific data
  5. *
  6. * Copyright (C) 2004 Nokia Corporation
  7. * Written by Juha Yrjölä <juha.yrjola@nokia.com>
  8. */
  9. #ifndef _OMAP_BOARD_H
  10. #define _OMAP_BOARD_H
  11. #include <linux/types.h>
  12. struct omap_lcd_config {
  13. char panel_name[16];
  14. char ctrl_name[16];
  15. s16 nreset_gpio;
  16. u8 data_lines;
  17. };
  18. struct device;
  19. struct fb_info;
  20. struct omap_backlight_config {
  21. int default_intensity;
  22. int (*set_power)(struct device *dev, int state);
  23. };
  24. /* for TI reference platforms sharing the same debug card */
  25. extern int debug_card_init(u32 addr, unsigned gpio);
  26. #endif