Skip to content

Commit

Permalink
ARM: OMAP: Add OMAP_TAG_CAMERA_SENSOR
Browse files Browse the repository at this point in the history
Add platform config data for camera sensors.  Since it includes pointers,
it should not be passed from the bootloader.

Signed-off-by: Samuel Ortiz <samuel.ortiz@solidboot.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Samuel Ortiz authored and Tony Lindgren committed Jun 26, 2006
1 parent 22a16f3 commit c6e5980
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/asm-arm/arch-omap/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#define OMAP_TAG_UART 0x4f07
#define OMAP_TAG_FBMEM 0x4f08
#define OMAP_TAG_STI_CONSOLE 0x4f09
#define OMAP_TAG_CAMERA_SENSOR 0x4f0a

#define OMAP_TAG_BOOT_REASON 0x4f80
#define OMAP_TAG_FLASH_PART 0x4f81
Expand Down Expand Up @@ -61,6 +62,12 @@ struct omap_sti_console_config {
u8 channel;
};

struct omap_camera_sensor_config {
u16 reset_gpio;
int (*power_on)(void * data);
int (*power_off)(void * data);
};

struct omap_usb_config {
/* Configure drivers according to the connectors on your board:
* - "A" connector (rectagular)
Expand Down

0 comments on commit c6e5980

Please sign in to comment.