Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: OMAP: Add OMAP_TAG_CAMERA_SENSOR

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>

authored by

Samuel Ortiz and committed by
Tony Lindgren
c6e5980e 22a16f39

+7
+7
include/asm-arm/arch-omap/board.h
··· 22 22 #define OMAP_TAG_UART 0x4f07 23 23 #define OMAP_TAG_FBMEM 0x4f08 24 24 #define OMAP_TAG_STI_CONSOLE 0x4f09 25 + #define OMAP_TAG_CAMERA_SENSOR 0x4f0a 25 26 26 27 #define OMAP_TAG_BOOT_REASON 0x4f80 27 28 #define OMAP_TAG_FLASH_PART 0x4f81 ··· 60 59 struct omap_sti_console_config { 61 60 unsigned enable:1; 62 61 u8 channel; 62 + }; 63 + 64 + struct omap_camera_sensor_config { 65 + u16 reset_gpio; 66 + int (*power_on)(void * data); 67 + int (*power_off)(void * data); 63 68 }; 64 69 65 70 struct omap_usb_config {