summaryrefslogtreecommitdiff
path: root/recipes/linux
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-06-26 16:02:07 +0200
committerKoen Kooi <koen@openembedded.org>2010-06-26 16:51:48 +0200
commit3af603f108e78a8ba867fdcfab40dc1dbe2b0060 (patch)
treee804aa08332f13c08e0470402e7207f3231e3bab /recipes/linux
parent2286da60bd6fab66f4dfef92d97609b3b8685a8a (diff)
linux-omap-psp 2.6.32: add WIP camera drivers for the beagleboard xM
Diffstat (limited to 'recipes/linux')
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/beagleboard/configs/cpuidle1
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/beagleboard/defconfig2
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0001-mt9t111-first-stab-at-merging-sensor-driver-based-on.patch2394
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0002-mt9t111-Fix-all-checkpatch-errors.patch398
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0003-mt9t111-Pass-v4l2_int_device-data.patch40
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0004-omap3beagle-Add-camera-support.patch352
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0005-TEMP-omap3beagle-camera-Add-defconfig.patch3070
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0006-omap3beagle-camera-Add-support-for-regulators.patch238
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0007-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch37
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0008-omap3beagle-camera-Fix-null-pointer-dereference.patch54
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0009-Revert-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch42
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0010-omap3beagle-camera-Change-arch-late_initcall.patch25
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0011-omap3beagle-camera-Move-i2c-registration-to-the-main.patch107
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0012-ARM-OMAP3-make-camera-code-build-if-MT9T111-is-built.patch38
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0013-DEBUG-omap3beagle-camera-Force-mode0-in-cam_xclka.patch41
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0014-OMAP3-CLOCK-Add-capability-to-change-rate-of-dpll4_m.patch33
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0015-Revert-DEBUG-omap3beagle-camera-Force-mode0-in-cam_x.patch41
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0016-omap3beagle-camera-Fix-wrong-XCLKA-selection.patch30
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0017-omap3isp-set-CAM_MCLK-to-172.8-MHz-allows-exact-9.6-.patch91
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0018-Fix-Moved-MCLK-setting-to-the-board-file.patch209
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0019-omap3isp-core-Do-smarter-MCLK-setting.patch47
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0020-omap3beagle-camera-set-mclk-for-mt9t111.patch36
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0021-mt9t111-Fix-max-supported-xclk.patch28
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0022-omap3beagle-camera-Clarify-regulators-names.patch103
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0023-omap3beagle-camera-Fix-powerup-sequence.patch103
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0024-omap3beagle-camera-Change-vaux4-to-1.8v.patch32
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0025-omap3beagle-camera-Rename-regulators-to-match-actual.patch110
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0026-omap3beagle-camera-Complement-remainig-sensor-hw-con.patch37
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0027-mt9t111-Fix-detect-function-retval-and-cleanup-print.patch48
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0028-omap3beagle-camera-Set-padconf-settings-in-cam-init.patch66
-rw-r--r--recipes/linux/linux-omap-psp_2.6.32.bb28
31 files changed, 7880 insertions, 1 deletions
diff --git a/recipes/linux/linux-omap-psp-2.6.32/beagleboard/configs/cpuidle b/recipes/linux/linux-omap-psp-2.6.32/beagleboard/configs/cpuidle
index ebf395a383..c46702eba1 100644
--- a/recipes/linux/linux-omap-psp-2.6.32/beagleboard/configs/cpuidle
+++ b/recipes/linux/linux-omap-psp-2.6.32/beagleboard/configs/cpuidle
@@ -1738,6 +1738,7 @@ CONFIG_VIDEO_WM8775=m
CONFIG_VIDEO_MT9V011=m
# CONFIG_VIDEO_TCM825X is not set
CONFIG_VIDEO_MT9P012=m
+CONFIG_VIDEO_MT9T111=m
# CONFIG_VIDEO_DW9710 is not set
# CONFIG_VIDEO_OV3640 is not set
# CONFIG_VIDEO_IMX046 is not set
diff --git a/recipes/linux/linux-omap-psp-2.6.32/beagleboard/defconfig b/recipes/linux/linux-omap-psp-2.6.32/beagleboard/defconfig
index 0841f486d0..4ace02414c 100644
--- a/recipes/linux/linux-omap-psp-2.6.32/beagleboard/defconfig
+++ b/recipes/linux/linux-omap-psp-2.6.32/beagleboard/defconfig
@@ -1737,7 +1737,7 @@ CONFIG_VIDEO_WM8775=m
CONFIG_VIDEO_MT9V011=m
# CONFIG_VIDEO_TCM825X is not set
CONFIG_VIDEO_MT9P012=m
-# CONFIG_VIDEO_MT9T111 is not set
+CONFIG_VIDEO_MT9T111=m
# CONFIG_VIDEO_DW9710 is not set
# CONFIG_VIDEO_OV3640 is not set
# CONFIG_VIDEO_IMX046 is not set
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0001-mt9t111-first-stab-at-merging-sensor-driver-based-on.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0001-mt9t111-first-stab-at-merging-sensor-driver-based-on.patch
new file mode 100644
index 0000000000..00dc101add
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0001-mt9t111-first-stab-at-merging-sensor-driver-based-on.patch
@@ -0,0 +1,2394 @@
+From 4a505672e75774854a02bf5c2a6c17f0789b1c93 Mon Sep 17 00:00:00 2001
+From: OpenEmbedded User <oe@OE-builder.(none)>
+Date: Tue, 9 Feb 2010 17:16:13 +0100
+Subject: [PATCH 01/28] mt9t111: first stab at merging sensor driver based on a patch by Leopard Imaging
+
+---
+ drivers/media/video/Kconfig | 8 +
+ drivers/media/video/Makefile | 1 +
+ drivers/media/video/mt9t111.c | 883 ++++++++++++++++++++++++
+ drivers/media/video/mt9t111_reg.h | 1364 +++++++++++++++++++++++++++++++++++++
+ include/media/mt9t111.h | 79 +++
+ 5 files changed, 2335 insertions(+), 0 deletions(-)
+ create mode 100644 drivers/media/video/mt9t111.c
+ create mode 100644 drivers/media/video/mt9t111_reg.h
+ create mode 100644 include/media/mt9t111.h
+
+diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
+index 41e39a7..f67ed46 100644
+--- a/drivers/media/video/Kconfig
++++ b/drivers/media/video/Kconfig
+@@ -344,6 +344,14 @@ config VIDEO_MT9P012
+ MT9P012 camera. It is currently working with the TI OMAP3
+ camera controller.
+
++config VIDEO_MT9T111
++ tristate "Micron MT9T111 raw sensor driver (3MP)"
++ depends on I2C && VIDEO_V4L2
++ ---help---
++ This is a Video4Linux2 sensor-level driver for the Micron
++ MT9T111 camera. It is currently working with the TI OMAP3
++ camera controller.
++
+ config VIDEO_DW9710
+ tristate "Lens driver for DW9710"
+ depends on I2C && VIDEO_V4L2
+diff --git a/drivers/media/video/Makefile b/drivers/media/video/Makefile
+index 88e8ec1..31688bf 100644
+--- a/drivers/media/video/Makefile
++++ b/drivers/media/video/Makefile
+@@ -127,6 +127,7 @@ obj-$(CONFIG_VIDEO_CAFE_CCIC) += cafe_ccic.o
+ obj-y += isp/
+ obj-$(CONFIG_VIDEO_OMAP3) += omap34xxcam.o
+ obj-$(CONFIG_VIDEO_MT9P012) += mt9p012.o
++obj-$(CONFIG_VIDEO_MT9T111) += mt9t111.o
+ obj-$(CONFIG_VIDEO_DW9710) += dw9710.o
+ obj-$(CONFIG_VIDEO_TPS61059) += tps61059.o
+ obj-$(CONFIG_VIDEO_OV3640) += ov3640.o
+diff --git a/drivers/media/video/mt9t111.c b/drivers/media/video/mt9t111.c
+new file mode 100644
+index 0000000..ecc5115
+--- /dev/null
++++ b/drivers/media/video/mt9t111.c
+@@ -0,0 +1,883 @@
++/*
++ * drivers/media/video/mt9t111.c
++ *
++ * mt9t111 sensor driver
++ *
++ * Copyright (C) 2009 Leopard Imaging
++ *
++ * This file is licensed under the terms of the GNU General Public License
++ * version 2. This program is licensed "as is" without any warranty of any
++ * kind, whether express or implied.
++ */
++
++#include <linux/i2c.h>
++#include <linux/delay.h>
++#include <media/v4l2-int-device.h>
++
++#include <media/mt9t111.h>
++#include "mt9t111_reg.h"
++
++#define USE_RAW // YCbCr mode does not work yet
++//#define COLOR_BAR // Create a Color bar test pattern, Blue, Green, Red, Grey
++
++#define SENSOR_DETECTED 1
++#define SENSOR_NOT_DETECTED 0
++
++static void mt9t111_loaddefault(struct i2c_client *client);
++
++/*
++* as a place holder for further development
++*/
++static void debug_dummy(char *in_msg)
++{
++
++}
++
++/* list of image formats supported by mt9t111 sensor */
++const static struct v4l2_fmtdesc mt9t111_formats[] = {
++#ifdef USE_RAW
++ {
++ .description = "RAW ",
++ .pixelformat = V4L2_PIX_FMT_SGRBG10,
++ },
++#else
++ {
++ .description = "YUV 422 ",
++ .pixelformat = V4L2_PIX_FMT_YUYV,
++ },
++#endif
++};
++
++#define NUM_CAPTURE_FORMATS ARRAY_SIZE(mt9t111_formats)
++
++/*
++ * Array of image sizes supported by MT9T111. These must be ordered from
++ * smallest image size to largest.
++ */
++const static struct capture_size mt9t111_sizes[] = {
++ { 640, 480 },
++// { 2048, 1536}
++};
++
++#define NUM_CAPTURE_SIZE ARRAY_SIZE(mt9t111_sizes)
++
++
++const struct v4l2_fract mt9t111_frameintervals[] = {
++ { .numerator = 1, .denominator = 10 }
++};
++
++#define NUM_CAPTURE_FRAMEINTERVALS ARRAY_SIZE(mt9t111_frameintervals)
++
++/**
++ * struct mt9t111_sensor - main structure for storage of sensor information
++ * @pdata: access functions and data for platform level information
++ * @v4l2_int_device: V4L2 device structure structure
++ * @i2c_client: iic client device structure
++ * @pix: V4L2 pixel format information structure
++ * @timeperframe: time per frame expressed as V4L fraction
++ * @scaler:
++ * @ver: mt9t111 chip version
++ * @fps: frames per second value
++ */
++struct mt9t111_sensor {
++ const struct mt9t111_platform_data *pdata;
++ struct v4l2_int_device *v4l2_int_device;
++ struct i2c_client *i2c_client;
++ struct v4l2_pix_format pix;
++ struct v4l2_fract timeperframe;
++ int scaler;
++ int ver;
++ int fps;
++ int state;
++};
++
++static struct mt9t111_sensor mt9t111 = {
++ .timeperframe = {
++ .numerator = 1,
++ .denominator = 10,
++ },
++ .state = SENSOR_NOT_DETECTED,
++};
++
++/**
++ * mt9t111_read_reg - Read a value from a register in an mt9t111 sensor device
++ * @client: i2c driver client structure
++ * @data_length: length of data to be read
++ * @reg: register address / offset
++ * @val: stores the value that gets read
++ *
++ * Read a value from a register in an mt9t111 sensor device.
++ * The value is returned in 'val'.
++ * Returns zero if successful, or non-zero otherwise.
++ */
++static int
++mt9t111_read_reg(struct i2c_client *client, u16 reg, u16 *val)
++{
++ struct i2c_msg msg[1];
++ u8 data[4];
++ int err;
++
++ msg->addr = client->addr;
++ msg->flags = 0;
++ msg->len = 2;
++ msg->buf = data;
++ data[0] = (reg & 0xff00) >> 8;
++ data[1] = (reg & 0x00ff);
++ err = i2c_transfer(client->adapter, msg, 1);
++ if (err >= 0) {
++ msg->flags = I2C_M_RD;
++ msg->len = 2; /* 2 byte read */
++ err = i2c_transfer(client->adapter, msg, 1);
++ if (err >= 0) {
++ *val = ((data[0] & 0x00ff) << 8)
++ | (data[1] & 0x00ff);
++ return 0;
++ }
++ }
++ return err;
++}
++
++/**
++ * mt9t111_write_reg - Write a value to a register in an mt9t111 sensor device
++ * @client: i2c driver client structure
++ * @data_length: length of data to be read
++ * @reg: register address / offset
++ * @val: value to be written to specified register
++ *
++ * Write a value to a register in an mt9t111 sensor device.
++ * Returns zero if successful, or non-zero otherwise.
++ */
++static int
++mt9t111_write_reg(struct i2c_client *client, u16 reg, u16 val)
++{
++ struct i2c_msg msg[1];
++ u8 data[20];
++ int err;
++
++ msg->addr = client->addr;
++ msg->flags = 0;
++ msg->len = 4;
++ msg->buf = data;
++ data[0] = (u8)((reg & 0xff00) >> 8);
++ data[1] = (u8)(reg & 0x00ff);
++ data[2] = (u8)((val & 0xff00) >> 8);
++ data[3] = (u8)(val & 0x00ff);
++ err = i2c_transfer(client->adapter, msg, 1);
++
++ return err;
++}
++
++/**
++ * mt9t111_write_regs - Write registers to an mt9t111 sensor device
++ * @client: i2c driver client structure
++ * @reg_in: pointer to registers to write
++ * @cnt: the number of registers
++ *
++ * Write registers .
++ * Returns zero if successful, or non-zero otherwise.
++ */
++static int
++mt9t111_write_regs(struct i2c_client *client, mt9t111_regs *reg_in, int cnt)
++{
++ int err = 0;
++ int i;
++ mt9t111_regs *reg = reg_in;
++
++ for (i=0;i<cnt;i++) {
++ if (reg->delay_time == 0) {
++ err |= mt9t111_write_reg(client, reg->addr, reg->data);
++ } else if (reg->addr != 0 || reg->data != 0) {
++ err |= mt9t111_write_reg(client, reg->addr, reg->data);
++ mdelay(reg->delay_time);
++ } else
++ mdelay(reg->delay_time);
++
++ if (err < 0) {
++ dev_warn(&client->dev, "write reg error, addr = 0x%x, data = 0x%x \n", \
++ reg->addr, reg->data);
++ return err;
++ }
++ reg++;
++ }
++ return err;
++}
++
++/**
++ * mt9t111_detect - Detect if an mt9t111 is present, and if so which revision
++ * @client: pointer to the i2c client driver structure
++ *
++ * Detect if an mt9t111 is present
++ * Returns a negative error number if no device is detected, or the
++ * non-negative value of the version ID register if a device is detected.
++ */
++static int
++mt9t111_detect(struct i2c_client *client)
++{
++ u16 val;
++
++ /* chip ID is at address 0 */
++ if (mt9t111_read_reg(client, MT9T111_CHIP_ID, &val) < 0)
++ return -ENODEV;
++ dev_info(&client->dev, "model id detected 0x%x\n", val);
++
++ if (val != MT9T111_CHIP_ID_VALUE) {
++ dev_warn(&client->dev, "model id mismatch received 0x%x expecting 0x%x\n",
++ val, MT9T111_CHIP_ID_VALUE);
++
++ return -ENODEV;
++ }
++
++ return 0;
++
++}
++
++/**
++ * mt9t111_configure - Configure the mt9t111 for the specified image mode
++ * @s: pointer to standard V4L2 device structure
++ *
++ * Configure the mt9t111 for a specified image size, pixel format, and frame
++ * period. xclk is the frequency (in Hz) of the xclk input to the mt9t111.
++ * fper is the frame period (in seconds) expressed as a fraction.
++ * Returns zero if successful, or non-zero otherwise.
++ * The actual frame period is returned in fper.
++ */
++static int mt9t111_configure(struct v4l2_int_device *s)
++{
++ debug_dummy("debug_dummy -- to set imager mode");
++
++ return 0;
++}
++
++/**
++ * ioctl_enum_framesizes - V4L2 sensor if handler for vidioc_int_enum_framesizes
++ * @s: pointer to standard V4L2 device structure
++ * @frms: pointer to standard V4L2 framesizes enumeration structure
++ *
++ * Returns possible framesizes depending on choosen pixel format
++ **/
++static int ioctl_enum_framesizes(struct v4l2_int_device *s,
++ struct v4l2_frmsizeenum *frms)
++{
++ int ifmt;
++
++ for (ifmt = 0; ifmt < NUM_CAPTURE_FORMATS; ifmt++) {
++ if (frms->pixel_format == mt9t111_formats[ifmt].pixelformat)
++ break;
++ }
++ /* Is requested pixelformat not found on sensor? */
++ if (ifmt == NUM_CAPTURE_FORMATS)
++ return -EINVAL;
++
++ /* Do we already reached all discrete framesizes? */
++ if (frms->index >= NUM_CAPTURE_SIZE)
++ return -EINVAL;
++
++ frms->type = V4L2_FRMSIZE_TYPE_DISCRETE;
++ frms->discrete.width = mt9t111_sizes[frms->index].width;
++ frms->discrete.height = mt9t111_sizes[frms->index].height;
++
++ return 0;
++
++}
++
++static int ioctl_enum_frameintervals(struct v4l2_int_device *s,
++ struct v4l2_frmivalenum *frmi)
++{
++ int ifmt;
++
++printk(KERN_INFO "entering ioctl_enum_frameintervals\n");
++printk(KERN_INFO "index = %d, pixel_format = 0x%x, width = %d, height = %d\n",
++ frmi->index, frmi->pixel_format, frmi->width, frmi->height);
++printk(KERN_INFO "mt9t111 format = 0x%x\n", mt9t111_formats[0].pixelformat);
++
++ if (frmi->index >= NUM_CAPTURE_FRAMEINTERVALS)
++ return -EINVAL;
++
++ for (ifmt = 0; ifmt < NUM_CAPTURE_FORMATS; ifmt++) {
++ if (frmi->pixel_format == mt9t111_formats[ifmt].pixelformat)
++ break;
++ }
++ /* Is requested pixelformat not found on sensor? */
++ if (ifmt == NUM_CAPTURE_FORMATS)
++ return -EINVAL;
++
++ frmi->type = V4L2_FRMSIZE_TYPE_DISCRETE;
++ frmi->discrete.numerator =
++ mt9t111_frameintervals[frmi->index].numerator;
++ frmi->discrete.denominator =
++ mt9t111_frameintervals[frmi->index].denominator;
++ return 0;
++}
++
++/**
++ * ioctl_init - V4L2 sensor interface handler for VIDIOC_INT_INIT
++ * @s: pointer to standard V4L2 device structure
++ *
++ * Initialize the sensor device (call mt9t111_configure())
++ */
++static int ioctl_init(struct v4l2_int_device *s)
++{
++ return 0;
++}
++
++/**
++ * ioctl_dev_exit - V4L2 sensor interface handler for vidioc_int_dev_exit_num
++ * @s: pointer to standard V4L2 device structure
++ *
++ * Delinitialise the dev. at slave detach. The complement of ioctl_dev_init.
++ */
++static int ioctl_dev_exit(struct v4l2_int_device *s)
++{
++ return 0;
++}
++
++/**
++ * ioctl_dev_init - V4L2 sensor interface handler for vidioc_int_dev_init_num
++ * @s: pointer to standard V4L2 device structure
++ *
++ * Initialise the device when slave attaches to the master. Returns 0 if
++ * mt9t111 device could be found, otherwise returns appropriate error.
++ */
++static int ioctl_dev_init(struct v4l2_int_device *s)
++{
++ return 0;
++}
++
++/**
++ * ioctl_s_power - V4L2 sensor interface handler for vidioc_int_s_power_num
++ * @s: pointer to standard V4L2 device structure
++ * @on: power state to which device is to be set
++ *
++ * Sets devices power state to requrested state, if possible.
++ */
++static int ioctl_s_power(struct v4l2_int_device *s, enum v4l2_power on)
++{
++ struct mt9t111_sensor *sensor = s->priv;
++ struct i2c_client *c = sensor->i2c_client;
++ int rval;
++
++ if ((on == V4L2_POWER_STANDBY) && (sensor->state == SENSOR_DETECTED))
++ debug_dummy("debug_dummy -- put to standby\n");
++
++ if (on != V4L2_POWER_ON)
++ debug_dummy("debug_dummy -- stop master clock\n");
++ else
++ debug_dummy("debug_dummy -- enable clock\n");;
++
++ rval = sensor->pdata->power_set(on);
++ if (rval < 0) {
++ dev_err(&c->dev, "Unable to set the power state: " "mt9t111"
++ " sensor\n");
++ //sensor->pdata->set_xclk(0);
++ return rval;
++ }
++
++ if ((on == V4L2_POWER_ON) && (sensor->state == SENSOR_DETECTED))
++ mt9t111_configure(s);
++
++ if ((on == V4L2_POWER_ON) && (sensor->state == SENSOR_NOT_DETECTED)) {
++ rval = mt9t111_detect(c);
++ if (rval < 0) {
++ dev_err(&c->dev, "Unable to detect " "mt9t111"
++ " sensor\n");
++ sensor->state = SENSOR_NOT_DETECTED;
++ return rval;
++ }
++ mt9t111_loaddefault(c);
++ sensor->state = SENSOR_DETECTED;
++ sensor->ver = rval;
++ pr_info("mt9t111" " chip version 0x%02x detected\n",
++ sensor->ver);
++ }
++ return 0;
++}
++
++/**
++ * ioctl_g_priv - V4L2 sensor interface handler for vidioc_int_g_priv_num
++ * @s: pointer to standard V4L2 device structure
++ * @p: void pointer to hold sensor's private data address
++ *
++ * Returns device's (sensor's) private data area address in p parameter
++ */
++static int ioctl_g_priv(struct v4l2_int_device *s, void *p)
++{
++ struct mt9t111_sensor *sensor = s->priv;
++
++ return sensor->pdata->priv_data_set(p);
++}
++
++/**
++ * ioctl_s_parm - V4L2 sensor interface handler for VIDIOC_S_PARM ioctl
++ * @s: pointer to standard V4L2 device structure
++ * @a: pointer to standard V4L2 VIDIOC_S_PARM ioctl structure
++ *
++ * Configures the sensor to use the input parameters, if possible. If
++ * not possible, reverts to the old parameters and returns the
++ * appropriate error code.
++ */
++static int ioctl_s_parm(struct v4l2_int_device *s,
++ struct v4l2_streamparm *a)
++{
++ //TODO: set paramters
++ debug_dummy("debug_dummy -- VIDIOC_S_PARM ");
++ return 0;
++}
++
++/**
++ * ioctl_g_parm - V4L2 sensor interface handler for VIDIOC_G_PARM ioctl
++ * @s: pointer to standard V4L2 device structure
++ * @a: pointer to standard V4L2 VIDIOC_G_PARM ioctl structure
++ *
++ * Returns the sensor's video CAPTURE parameters.
++ */
++static int ioctl_g_parm(struct v4l2_int_device *s,
++ struct v4l2_streamparm *a)
++{
++ struct mt9t111_sensor *sensor = s->priv;
++ struct v4l2_captureparm *cparm = &a->parm.capture;
++
++ if (a->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
++ return -EINVAL;
++
++ memset(a, 0, sizeof(*a));
++ a->type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
++
++ cparm->capability = V4L2_CAP_TIMEPERFRAME;
++ cparm->timeperframe = sensor->timeperframe;
++
++ return 0;
++}
++
++/**
++ * ioctl_g_fmt_cap - V4L2 sensor interface handler for ioctl_g_fmt_cap
++ * @s: pointer to standard V4L2 device structure
++ * @f: pointer to standard V4L2 v4l2_format structure
++ *
++ * Returns the sensor's current pixel format in the v4l2_format
++ * parameter.
++ */
++static int ioctl_g_fmt_cap(struct v4l2_int_device *s,
++ struct v4l2_format *f)
++{
++ struct mt9t111_sensor *sensor = s->priv;
++ f->fmt.pix = sensor->pix;
++
++ return 0;
++}
++
++/**
++ * ioctl_try_fmt_cap - Implement the CAPTURE buffer VIDIOC_TRY_FMT ioctl
++ * @s: pointer to standard V4L2 device structure
++ * @f: pointer to standard V4L2 VIDIOC_TRY_FMT ioctl structure
++ *
++ * Implement the VIDIOC_TRY_FMT ioctl for the CAPTURE buffer type. This
++ * ioctl is used to negotiate the image capture size and pixel format
++ * without actually making it take effect.
++ */
++static int ioctl_try_fmt_cap(struct v4l2_int_device *s,
++ struct v4l2_format *f)
++{
++ struct v4l2_pix_format *pix = &f->fmt.pix;
++ struct mt9t111_sensor *sensor = s->priv;
++ struct v4l2_pix_format *pix2 = &sensor->pix;
++
++ pix->width = 640;
++ pix->height = 480;
++#ifdef USE_RAW
++ pix->pixelformat = V4L2_PIX_FMT_SGRBG10;
++ pix->bytesperline = pix->width;
++ pix->colorspace = V4L2_COLORSPACE_SRGB;
++#else
++ pix->pixelformat = V4L2_PIX_FMT_YUYV;
++ pix->bytesperline = pix->width * 2;
++ pix->colorspace = V4L2_COLORSPACE_JPEG;
++#endif
++ pix->field = V4L2_FIELD_NONE;
++
++ pix->sizeimage = pix->bytesperline * pix->height;
++ pix->priv = 0;
++ *pix2 = *pix;
++ return 0;
++}
++
++/**
++ * ioctl_s_fmt_cap - V4L2 sensor interface handler for VIDIOC_S_FMT ioctl
++ * @s: pointer to standard V4L2 device structure
++ * @f: pointer to standard V4L2 VIDIOC_S_FMT ioctl structure
++ *
++ * If the requested format is supported, configures the HW to use that
++ * format, returns error code if format not supported or HW can't be
++ * correctly configured.
++ */
++static int ioctl_s_fmt_cap(struct v4l2_int_device *s,
++ struct v4l2_format *f)
++{
++ struct mt9t111_sensor *sensor = s->priv;
++ struct v4l2_pix_format *pix = &f->fmt.pix;
++ int rval;
++
++ rval = ioctl_try_fmt_cap(s, f);
++ if (!rval)
++ sensor->pix = *pix;
++
++ return rval;
++}
++
++/**
++ * ioctl_enum_fmt_cap - Implement the CAPTURE buffer VIDIOC_ENUM_FMT ioctl
++ * @s: pointer to standard V4L2 device structure
++ * @fmt: standard V4L2 VIDIOC_ENUM_FMT ioctl structure
++ *
++ * Implement the VIDIOC_ENUM_FMT ioctl for the CAPTURE buffer type.
++ */
++static int ioctl_enum_fmt_cap(struct v4l2_int_device *s,
++ struct v4l2_fmtdesc *fmt)
++{
++ int index = fmt->index;
++ enum v4l2_buf_type type = fmt->type;
++
++ memset(fmt, 0, sizeof(*fmt));
++ fmt->index = index;
++ fmt->type = type;
++
++ switch (fmt->type) {
++ case V4L2_BUF_TYPE_VIDEO_CAPTURE:
++ if (index >= NUM_CAPTURE_FORMATS)
++ return -EINVAL;
++ break;
++ default:
++ return -EINVAL;
++ }
++
++ fmt->flags = mt9t111_formats[index].flags;
++ strlcpy(fmt->description, mt9t111_formats[index].description,
++ sizeof(fmt->description));
++ fmt->pixelformat = mt9t111_formats[index].pixelformat;
++
++ return 0;
++}
++
++/**
++ * ioctl_s_ctrl - V4L2 sensor interface handler for VIDIOC_S_CTRL ioctl
++ * @s: pointer to standard V4L2 device structure
++ * @vc: standard V4L2 VIDIOC_S_CTRL ioctl structure
++ *
++ * If the requested control is supported, sets the control's current
++ * value in HW (and updates the video_control[] array). Otherwise,
++ * returns -EINVAL if the control is not supported.
++ */
++static int ioctl_s_ctrl(struct v4l2_int_device *s,
++ struct v4l2_control *vc)
++{
++ debug_dummy("debug_dummy -- s ctrl\n");
++ return 0;
++}
++
++/**
++ * ioctl_g_ctrl - V4L2 sensor interface handler for VIDIOC_G_CTRL ioctl
++ * @s: pointer to standard V4L2 device structure
++ * @vc: standard V4L2 VIDIOC_G_CTRL ioctl structure
++ *
++ * If the requested control is supported, returns the control's current
++ * value from the video_control[] array. Otherwise, returns -EINVAL
++ * if the control is not supported.
++ */
++static int ioctl_g_ctrl(struct v4l2_int_device *s,
++ struct v4l2_control *vc)
++{
++ debug_dummy("debug_dummy -- g ctrl\n");
++ return 0;
++}
++
++/**
++ * ioctl_queryctrl - V4L2 sensor interface handler for VIDIOC_QUERYCTRL ioctl
++ * @s: pointer to standard V4L2 device structure
++ * @qc: standard V4L2 VIDIOC_QUERYCTRL ioctl structure
++ *
++ * If the requested control is supported, returns the control information
++ * from the video_control[] array. Otherwise, returns -EINVAL if the
++ * control is not supported.
++ */
++static int ioctl_queryctrl(struct v4l2_int_device *s,
++ struct v4l2_queryctrl *qc)
++{
++ debug_dummy("debug_dummy -- query ctrl\n");
++ return-EINVAL;
++}
++
++/**
++ * ioctl_s_routing - V4L2 decoder interface handler for VIDIOC_S_INPUT ioctl
++ * @s: pointer to standard V4L2 device structure
++ * @index: number of the input
++ *
++ * If index is valid, selects the requested input. Otherwise, returns -EINVAL if
++ * the input is not supported or there is no active signal present in the
++ * selected input.
++ */
++static int ioctl_s_routing(struct v4l2_int_device *s,
++ struct v4l2_routing *route)
++{
++ return 0;
++}
++
++/**
++ * ioctl_g_ifparm - V4L2 decoder interface handler for vidioc_int_g_ifparm_num
++ * @s: pointer to standard V4L2 device structure
++ * @p: pointer to standard V4L2 vidioc_int_g_ifparm_num ioctl structure
++ *
++ * Gets slave interface parameters.
++ * Calculates the required xclk value to support the requested
++ * clock parameters in p. This value is returned in the p
++ * parameter.
++ */
++static int ioctl_g_ifparm(struct v4l2_int_device *s, struct v4l2_ifparm *p)
++{
++ struct mt9t111_sensor *sensor = s->priv;
++ int rval;
++
++ if (p == NULL)
++ return -EINVAL;
++
++ if (NULL == sensor->pdata->ifparm)
++ return -EINVAL;
++
++ rval = sensor->pdata->ifparm(p);
++ if (rval) {
++ v4l_err(sensor->i2c_client, "g_ifparm.Err[%d]\n", rval);
++ return rval;
++ }
++
++ p->u.ycbcr.clock_curr = 40*1000000; // temporal value
++
++ return 0;
++}
++
++
++static struct v4l2_int_ioctl_desc mt9t111_ioctl_desc[] = {
++ { .num = vidioc_int_enum_framesizes_num,
++ .func = (v4l2_int_ioctl_func *)ioctl_enum_framesizes },
++ { .num = vidioc_int_enum_frameintervals_num,
++ .func = (v4l2_int_ioctl_func *)ioctl_enum_frameintervals },
++ { .num = vidioc_int_dev_init_num,
++ .func = (v4l2_int_ioctl_func *)ioctl_dev_init },
++ { .num = vidioc_int_dev_exit_num,
++ .func = (v4l2_int_ioctl_func *)ioctl_dev_exit },
++ { .num = vidioc_int_s_power_num,
++ .func = (v4l2_int_ioctl_func *)ioctl_s_power },
++ { .num = vidioc_int_g_priv_num,
++ .func = (v4l2_int_ioctl_func *)ioctl_g_priv },
++ {vidioc_int_g_ifparm_num,
++ .func = (v4l2_int_ioctl_func*) ioctl_g_ifparm},
++ { .num = vidioc_int_init_num,
++ .func = (v4l2_int_ioctl_func *)ioctl_init },
++ { .num = vidioc_int_enum_fmt_cap_num,
++ .func = (v4l2_int_ioctl_func *)ioctl_enum_fmt_cap },
++ { .num = vidioc_int_try_fmt_cap_num,
++ .func = (v4l2_int_ioctl_func *)ioctl_try_fmt_cap },
++ { .num = vidioc_int_g_fmt_cap_num,
++ .func = (v4l2_int_ioctl_func *)ioctl_g_fmt_cap },
++ { .num = vidioc_int_s_fmt_cap_num,
++ .func = (v4l2_int_ioctl_func *)ioctl_s_fmt_cap },
++ { .num = vidioc_int_g_parm_num,
++ .func = (v4l2_int_ioctl_func *)ioctl_g_parm },
++ { .num = vidioc_int_s_parm_num,
++ .func = (v4l2_int_ioctl_func *)ioctl_s_parm },
++ { .num = vidioc_int_queryctrl_num,
++ .func = (v4l2_int_ioctl_func *)ioctl_queryctrl },
++ { .num = vidioc_int_g_ctrl_num,
++ .func = (v4l2_int_ioctl_func *)ioctl_g_ctrl },
++ { .num = vidioc_int_s_ctrl_num,
++ .func = (v4l2_int_ioctl_func *)ioctl_s_ctrl },
++ {.num = vidioc_int_s_video_routing_num,
++ .func = (v4l2_int_ioctl_func *) ioctl_s_routing},
++};
++
++static void mt9t111_refresh(struct i2c_client *client){
++ int i;
++ unsigned short value;
++ // MCU_ADDRESS [SEQ_CMD] -- refresh
++ mt9t111_write_reg(client, 0x098E, 0x8400);
++ mt9t111_write_reg(client, 0x0990, 0x0006);
++ for (i=0;i<100;i++){
++ mt9t111_write_reg(client, 0x098E, 0x8400);
++ mt9t111_read_reg(client,0x0990,&value);
++ if ( value == 0)
++ break;
++ mdelay(5);
++ }
++}
++
++#ifdef COLOR_BAR
++static void mt9t111_color_bar(struct i2c_client *client)
++{
++ mt9t111_write_reg(client, 0x3210, 0x01B0); // disable lens correction
++
++ mt9t111_write_reg(client, 0x098E, 0x6003);
++ mt9t111_write_reg(client, 0x0990, 0x0100);
++ mt9t111_write_reg(client, 0x098E, 0x6025);
++ mt9t111_write_reg(client, 0x0990, 0x0003);
++}
++#endif
++
++static void mt9t111_bayer_format(struct i2c_client *client)
++{
++ mt9t111_write_regs(client, bayer_pattern_regs, sizeof(bayer_pattern_regs)/sizeof(mt9t111_regs));
++}
++
++static void mt9t111_enable_pll(struct i2c_client *client)
++{
++ int i;
++ unsigned short value;
++
++ mt9t111_write_regs(client, pll_regs1, sizeof(pll_regs1)/sizeof(mt9t111_regs));
++ for (i=0;i<100;i++){
++ mt9t111_read_reg(client,0x0014,&value);
++ if (( value & 0x8000) != 0)
++ break;
++ mdelay(2);
++ }
++ mt9t111_write_regs(client, pll_regs2, sizeof(pll_regs2)/sizeof(mt9t111_regs));
++}
++
++
++static void mt9t111_loaddefault(struct i2c_client *client)
++{
++ mt9t111_write_reg(client, 0x001A, 0x0219);
++ mt9t111_write_reg(client, 0x001A, 0x0218);
++
++ mt9t111_enable_pll(client);
++ mt9t111_write_regs(client, def_regs1, sizeof(def_regs1)/sizeof(mt9t111_regs));
++ mt9t111_write_regs(client, patch_rev6, sizeof(patch_rev6)/sizeof(mt9t111_regs));
++ mt9t111_write_regs(client, def_regs2, sizeof(def_regs2)/sizeof(mt9t111_regs));
++
++#ifdef USE_RAW
++ mt9t111_bayer_format(client);
++#endif
++
++#ifdef COLOR_BAR
++ mt9t111_color_bar(client);
++#endif
++
++ mt9t111_refresh(client);
++}
++
++static struct v4l2_int_slave mt9t111_slave = {
++ .ioctls = mt9t111_ioctl_desc,
++ .num_ioctls = ARRAY_SIZE(mt9t111_ioctl_desc),
++};
++
++static struct v4l2_int_device mt9t111_int_device = {
++ .module = THIS_MODULE,
++ .name = "mt9t111",
++ .priv = &mt9t111,
++ .type = v4l2_int_type_slave,
++ .u = {
++ .slave = &mt9t111_slave,
++ },
++};
++
++/**
++ * mt9t111_probe - sensor driver i2c probe handler
++ * @client: i2c driver client device structure
++ *
++ * Register sensor as an i2c client device and V4L2
++ * device.
++ */
++static int
++mt9t111_probe(struct i2c_client *client, const struct i2c_device_id *id)
++{
++ struct mt9t111_sensor *sensor = &mt9t111;
++ int err;
++
++ if (i2c_get_clientdata(client))
++ return -EBUSY;
++
++ sensor->pdata = client->dev.platform_data;
++
++ if (!sensor->pdata) {
++ dev_err(&client->dev, "no platform data?\n");
++ return -ENODEV;
++ }
++
++ sensor->v4l2_int_device = &mt9t111_int_device;
++ sensor->i2c_client = client;
++
++ i2c_set_clientdata(client, sensor);
++
++ sensor->pix.width = 640;
++ sensor->pix.height = 480;
++#ifdef USE_RAW
++ sensor->pix.pixelformat = V4L2_PIX_FMT_SGRBG10;
++#else
++ sensor->pix.pixelformat = V4L2_PIX_FMT_YUYV;
++#endif
++ err = v4l2_int_device_register(sensor->v4l2_int_device);
++ if (err)
++ i2c_set_clientdata(client, NULL);
++ return err;
++}
++
++/**
++ * mt9t111_remove - sensor driver i2c remove handler
++ * @client: i2c driver client device structure
++ *
++ * Unregister sensor as an i2c client device and V4L2
++ * device. Complement of mt9t111_probe().
++ */
++static int __exit
++mt9t111_remove(struct i2c_client *client)
++{
++ struct mt9t111_sensor *sensor = i2c_get_clientdata(client);
++
++ if (!client->adapter)
++ return -ENODEV; /* our client isn't attached */
++
++ v4l2_int_device_unregister(sensor->v4l2_int_device);
++ i2c_set_clientdata(client, NULL);
++
++ return 0;
++}
++
++static const struct i2c_device_id mt9t111_id[] = {
++ { "mt9t111", 0 },
++ { },
++};
++MODULE_DEVICE_TABLE(i2c, mt9t111_id);
++
++static struct i2c_driver mt9t111sensor_i2c_driver = {
++ .driver = {
++ .name = "mt9t111",
++ .owner = THIS_MODULE,
++ },
++ .probe = mt9t111_probe,
++ .remove = __exit_p(mt9t111_remove),
++ .id_table = mt9t111_id,
++};
++
++/**
++ * mt9t111sensor_init - sensor driver module_init handler
++ *
++ * Registers driver as an i2c client driver. Returns 0 on success,
++ * error code otherwise.
++ */
++static int __init mt9t111sensor_init(void)
++{
++printk(KERN_INFO "entering mt9t111sensor_init\n");
++ return i2c_add_driver(&mt9t111sensor_i2c_driver);
++}
++module_init(mt9t111sensor_init);
++
++/**
++ * mt9t111sensor_cleanup - sensor driver module_exit handler
++ *
++ * Unregisters/deletes driver as an i2c client driver.
++ * Complement of mt9t111sensor_init.
++ */
++static void __exit mt9t111sensor_cleanup(void)
++{
++ i2c_del_driver(&mt9t111sensor_i2c_driver);
++}
++module_exit(mt9t111sensor_cleanup);
++
++MODULE_LICENSE("GPL");
++MODULE_DESCRIPTION("mt9t111 camera sensor driver");
+diff --git a/drivers/media/video/mt9t111_reg.h b/drivers/media/video/mt9t111_reg.h
+new file mode 100644
+index 0000000..e012eeb
+--- /dev/null
++++ b/drivers/media/video/mt9t111_reg.h
+@@ -0,0 +1,1364 @@
++/*
++ * drivers/media/video/mt9t111_reg.h
++ *
++ * mt9t111 sensor driver header file
++ *
++ * Copyright (C) 2009 Leopard Imaging
++ *
++ * This file is licensed under the terms of the GNU General Public License
++ * version 2. This program is licensed "as is" without any warranty of any
++ * kind, whether express or implied.
++ */
++
++#ifndef MT9T111_REG_H
++#define MT9T111_REG_H
++
++/* register addr */
++#define MT9T111_CHIP_ID (0x0000)
++
++/* register value */
++#define MT9T111_CHIP_ID_VALUE (0x2680)
++
++typedef struct {
++ u16 delay_time;
++ u16 addr;
++ u16 data;
++} mt9t111_regs;
++
++mt9t111_regs patch_rev6[] ={
++ {0, 0x0982, 0x0},
++ {0, 0x098A, 0xCE7},
++ {0, 0x0990, 0x3C3C},
++ {0, 0x0992, 0x3C3C},
++ {0, 0x0994, 0x3C5F},
++ {0, 0x0996, 0x4F30},
++ {0, 0x0998, 0xED08},
++ {0, 0x099a, 0xBD61},
++ {0, 0x099c, 0xD5CE},
++ {0, 0x099e, 0x4CD},
++ {0, 0x098A, 0xCF7},
++ {0, 0x0990, 0x1F17},
++ {0, 0x0992, 0x211},
++ {0, 0x0994, 0xCC33},
++ {0, 0x0996, 0x2E30},
++ {0, 0x0998, 0xED02},
++ {0, 0x099a, 0xCCFF},
++ {0, 0x099c, 0xFDED},
++ {0, 0x099e, 0xCC},
++ {0, 0x098A, 0xD07},
++ {0, 0x0990, 0x2},
++ {0, 0x0992, 0xBD70},
++ {0, 0x0994, 0x6D18},
++ {0, 0x0996, 0xDE1F},
++ {0, 0x0998, 0x181F},
++ {0, 0x099a, 0x8E01},
++ {0, 0x099c, 0x10CC},
++ {0, 0x099e, 0x3C52},
++ {0, 0x098A, 0xD17},
++ {0, 0x0990, 0x30ED},
++ {0, 0x0992, 0x18},
++ {0, 0x0994, 0xECA0},
++ {0, 0x0996, 0xC4FD},
++ {0, 0x0998, 0xBD70},
++ {0, 0x099a, 0x2120},
++ {0, 0x099c, 0x1ECC},
++ {0, 0x099e, 0x3C52},
++ {0, 0x098A, 0xD27},
++ {0, 0x0990, 0x30ED},
++ {0, 0x0992, 0xDE},
++ {0, 0x0994, 0x1FEC},
++ {0, 0x0996, 0xA0BD},
++ {0, 0x0998, 0x7021},
++ {0, 0x099a, 0xCC3C},
++ {0, 0x099c, 0x5230},
++ {0, 0x099e, 0xED02},
++ {0, 0x098A, 0xD37},
++ {0, 0x0990, 0xCCFF},
++ {0, 0x0992, 0xFCED},
++ {0, 0x0994, 0xCC},
++ {0, 0x0996, 0x2},
++ {0, 0x0998, 0xBD70},
++ {0, 0x099a, 0x6DFC},
++ {0, 0x099c, 0x4E1},
++ {0, 0x099e, 0x1A83},
++ {0, 0x098A, 0xD47},
++ {0, 0x0990, 0x1},
++ {0, 0x0992, 0x2720},
++ {0, 0x0994, 0x1A83},
++ {0, 0x0996, 0x4},
++ {0, 0x0998, 0x271E},
++ {0, 0x099a, 0x1A83},
++ {0, 0x099c, 0x8},
++ {0, 0x099e, 0x271C},
++ {0, 0x098A, 0xD57},
++ {0, 0x0990, 0x1A83},
++ {0, 0x0992, 0x10},
++ {0, 0x0994, 0x271A},
++ {0, 0x0996, 0x1A83},
++ {0, 0x0998, 0x20},
++ {0, 0x099a, 0x2718},
++ {0, 0x099c, 0x1A83},
++ {0, 0x099e, 0x40},
++ {0, 0x098A, 0xD67},
++ {0, 0x0990, 0x2716},
++ {0, 0x0992, 0x2019},
++ {0, 0x0994, 0xC61E},
++ {0, 0x0996, 0x2012},
++ {0, 0x0998, 0xC622},
++ {0, 0x099a, 0x200E},
++ {0, 0x099c, 0xC621},
++ {0, 0x099e, 0x200A},
++ {0, 0x098A, 0xD77},
++ {0, 0x0990, 0xC620},
++ {0, 0x0992, 0x2006},
++ {0, 0x0994, 0xC62A},
++ {0, 0x0996, 0x2002},
++ {0, 0x0998, 0xC62B},
++ {0, 0x099a, 0x30ED},
++ {0, 0x099c, 0x8CC},
++ {0, 0x099e, 0x3400},
++ {0, 0x098A, 0xD87},
++ {0, 0x0990, 0x30ED},
++ {0, 0x0992, 0x34},
++ {0, 0x0994, 0xBD6F},
++ {0, 0x0996, 0xD184},
++ {0, 0x0998, 0x330},
++ {0, 0x099a, 0xED07},
++ {0, 0x099c, 0xA60A},
++ {0, 0x099e, 0x4848},
++ {0, 0x098A, 0xD97},
++ {0, 0x0990, 0x5FED},
++ {0, 0x0992, 0x5EA},
++ {0, 0x0994, 0x8AA},
++ {0, 0x0996, 0x731},
++ {0, 0x0998, 0xBD70},
++ {0, 0x099a, 0x2130},
++ {0, 0x099c, 0xC60A},
++ {0, 0x099e, 0x3A35},
++ {0, 0x098A, 0xDA7},
++ {0, 0x0990, 0x3937},
++ {0, 0x0992, 0x3C3C},
++ {0, 0x0994, 0x3C34},
++ {0, 0x0996, 0xDE2F},
++ {0, 0x0998, 0xEE0E},
++ {0, 0x099a, 0xAD00},
++ {0, 0x099c, 0x7D13},
++ {0, 0x099e, 0xEF27},
++ {0, 0x098A, 0xDB7},
++ {0, 0x0990, 0x7CCE},
++ {0, 0x0992, 0x13E0},
++ {0, 0x0994, 0x1E05},
++ {0, 0x0996, 0x1060},
++ {0, 0x0998, 0xE60E},
++ {0, 0x099a, 0x4FC3},
++ {0, 0x099c, 0x13F0},
++ {0, 0x099e, 0x8FE6},
++ {0, 0x098A, 0xDC7},
++ {0, 0x0990, 0x30},
++ {0, 0x0992, 0xE107},
++ {0, 0x0994, 0x2216},
++ {0, 0x0996, 0xF613},
++ {0, 0x0998, 0xEE4F},
++ {0, 0x099a, 0xC313},
++ {0, 0x099c, 0xF38F},
++ {0, 0x099e, 0xE600},
++ {0, 0x098A, 0xDD7},
++ {0, 0x0990, 0x30E1},
++ {0, 0x0992, 0x725},
++ {0, 0x0994, 0x7F6},
++ {0, 0x0996, 0x13EE},
++ {0, 0x0998, 0xC103},
++ {0, 0x099a, 0x253C},
++ {0, 0x099c, 0x7F13},
++ {0, 0x099e, 0xEEF6},
++ {0, 0x098A, 0xDE7},
++ {0, 0x0990, 0x13EF},
++ {0, 0x0992, 0xE706},
++ {0, 0x0994, 0xCC13},
++ {0, 0x0996, 0xF0ED},
++ {0, 0x0998, 0x4CC},
++ {0, 0x099a, 0x13F3},
++ {0, 0x099c, 0x200F},
++ {0, 0x099e, 0x7C13},
++ {0, 0x098A, 0xDF7},
++ {0, 0x0990, 0xEEEC},
++ {0, 0x0992, 0x4C3},
++ {0, 0x0994, 0x1},
++ {0, 0x0996, 0xED04},
++ {0, 0x0998, 0xEC02},
++ {0, 0x099a, 0xC300},
++ {0, 0x099c, 0x1ED},
++ {0, 0x099e, 0x2F6},
++ {0, 0x098A, 0xE07},
++ {0, 0x0990, 0x13EE},
++ {0, 0x0992, 0xE106},
++ {0, 0x0994, 0x2412},
++ {0, 0x0996, 0xEE04},
++ {0, 0x0998, 0xE600},
++ {0, 0x099a, 0x30E1},
++ {0, 0x099c, 0x722},
++ {0, 0x099e, 0xDFEE},
++ {0, 0x098A, 0xE17},
++ {0, 0x0990, 0x2E6},
++ {0, 0x0992, 0x30},
++ {0, 0x0994, 0xE107},
++ {0, 0x0996, 0x25D6},
++ {0, 0x0998, 0xDE49},
++ {0, 0x099a, 0xEE08},
++ {0, 0x099c, 0xAD00},
++ {0, 0x099e, 0xCC13},
++ {0, 0x098A, 0xE27},
++ {0, 0x0990, 0xF630},
++ {0, 0x0992, 0xED00},
++ {0, 0x0994, 0xDE2F},
++ {0, 0x0996, 0xEE10},
++ {0, 0x0998, 0xCC13},
++ {0, 0x099a, 0xFAAD},
++ {0, 0x099c, 0x38},
++ {0, 0x099e, 0x3838},
++ {0, 0x098A, 0xE37},
++ {0, 0x0990, 0x3839},
++ {0, 0x098A, 0x1000},
++ {0, 0x0990, 0xCC10},
++ {0, 0x0992, 0x9BD},
++ {0, 0x0994, 0x4224},
++ {0, 0x0996, 0x7E10},
++ {0, 0x0998, 0x9C6},
++ {0, 0x099a, 0x1F7},
++ {0, 0x099c, 0x18A},
++ {0, 0x099e, 0xC606},
++ {0, 0x098A, 0x1010},
++ {0, 0x0990, 0xF701},
++ {0, 0x0992, 0x8BDE},
++ {0, 0x0994, 0x3F18},
++ {0, 0x0996, 0xCE0B},
++ {0, 0x0998, 0xF1CC},
++ {0, 0x099a, 0x11},
++ {0, 0x099c, 0xBDD7},
++ {0, 0x099e, 0xCC},
++ {0, 0x098A, 0x1020},
++ {0, 0x0990, 0xBF1},
++ {0, 0x0992, 0xDD3F},
++ {0, 0x0994, 0xDE35},
++ {0, 0x0996, 0x18CE},
++ {0, 0x0998, 0xC03},
++ {0, 0x099a, 0xCC00},
++ {0, 0x099c, 0x3FBD},
++ {0, 0x099e, 0xD700},
++ {0, 0x098A, 0x1030},
++ {0, 0x0990, 0xCC0C},
++ {0, 0x0992, 0x3DD},
++ {0, 0x0994, 0x35DE},
++ {0, 0x0996, 0x4718},
++ {0, 0x0998, 0xCE0C},
++ {0, 0x099a, 0x43CC},
++ {0, 0x099c, 0x15},
++ {0, 0x099e, 0xBDD7},
++ {0, 0x098A, 0x1040},
++ {0, 0x0990, 0xCC},
++ {0, 0x0992, 0xC43},
++ {0, 0x0994, 0xDD47},
++ {0, 0x0996, 0xFE00},
++ {0, 0x0998, 0x3318},
++ {0, 0x099a, 0xCE0C},
++ {0, 0x099c, 0x59CC},
++ {0, 0x099e, 0x9},
++ {0, 0x098A, 0x1050},
++ {0, 0x0990, 0xBDD7},
++ {0, 0x0992, 0xCC},
++ {0, 0x0994, 0xC59},
++ {0, 0x0996, 0xFD00},
++ {0, 0x0998, 0x33DE},
++ {0, 0x099a, 0x4118},
++ {0, 0x099c, 0xCE0C},
++ {0, 0x099e, 0x63CC},
++ {0, 0x098A, 0x1060},
++ {0, 0x0990, 0xD},
++ {0, 0x0992, 0xBDD7},
++ {0, 0x0994, 0xCC},
++ {0, 0x0996, 0xC63},
++ {0, 0x0998, 0xDD41},
++ {0, 0x099a, 0xFE00},
++ {0, 0x099c, 0x3118},
++ {0, 0x099e, 0xCE0C},
++ {0, 0x098A, 0x1070},
++ {0, 0x0990, 0x71CC},
++ {0, 0x0992, 0x29},
++ {0, 0x0994, 0xBDD7},
++ {0, 0x0996, 0xCC},
++ {0, 0x0998, 0xC71},
++ {0, 0x099a, 0xFD00},
++ {0, 0x099c, 0x31DE},
++ {0, 0x099e, 0x3918},
++ {0, 0x098A, 0x1080},
++ {0, 0x0990, 0xCE0C},
++ {0, 0x0992, 0x9BCC},
++ {0, 0x0994, 0x23},
++ {0, 0x0996, 0xBDD7},
++ {0, 0x0998, 0xCC},
++ {0, 0x099a, 0xC9B},
++ {0, 0x099c, 0xDD39},
++ {0, 0x099e, 0xDE49},
++ {0, 0x098A, 0x1090},
++ {0, 0x0990, 0x18CE},
++ {0, 0x0992, 0xCBF},
++ {0, 0x0994, 0xCC00},
++ {0, 0x0996, 0xDBD},
++ {0, 0x0998, 0xD700},
++ {0, 0x099a, 0xCC0C},
++ {0, 0x099c, 0xBFDD},
++ {0, 0x099e, 0x49CC},
++ {0, 0x098A, 0x10A0},
++ {0, 0x0990, 0x1162},
++ {0, 0x0992, 0xFD0B},
++ {0, 0x0994, 0xFDCC},
++ {0, 0x0996, 0xCE7},
++ {0, 0x0998, 0xFD0C},
++ {0, 0x099a, 0x1FCC},
++ {0, 0x099c, 0x1245},
++ {0, 0x099e, 0xFD0C},
++ {0, 0x098A, 0x10B0},
++ {0, 0x0990, 0x51CC},
++ {0, 0x0992, 0x110B},
++ {0, 0x0994, 0xFD0C},
++ {0, 0x0996, 0x5BCC},
++ {0, 0x0998, 0x1108},
++ {0, 0x099a, 0xFD0C},
++ {0, 0x099c, 0x65CC},
++ {0, 0x099e, 0x10D0},
++ {0, 0x098A, 0x10C0},
++ {0, 0x0990, 0xFD0C},
++ {0, 0x0992, 0x7BCC},
++ {0, 0x0994, 0x12DE},
++ {0, 0x0996, 0xFD0C},
++ {0, 0x0998, 0xA7CC},
++ {0, 0x099a, 0xDA8},
++ {0, 0x099c, 0xFD0C},
++ {0, 0x099e, 0xCB39},
++ {0, 0x098A, 0x10D0},
++ {0, 0x0990, 0x37DE},
++ {0, 0x0992, 0x1DEC},
++ {0, 0x0994, 0xC5F},
++ {0, 0x0996, 0x8402},
++ {0, 0x0998, 0x4416},
++ {0, 0x099a, 0x4FF7},
++ {0, 0x099c, 0xCCD},
++ {0, 0x099e, 0xE60B},
++ {0, 0x098A, 0x10E0},
++ {0, 0x0990, 0xC407},
++ {0, 0x0992, 0xF70C},
++ {0, 0x0994, 0xCE7F},
++ {0, 0x0996, 0x30C4},
++ {0, 0x0998, 0xEC25},
++ {0, 0x099a, 0xFD30},
++ {0, 0x099c, 0xC5FC},
++ {0, 0x099e, 0x6D6},
++ {0, 0x098A, 0x10F0},
++ {0, 0x0990, 0xFD30},
++ {0, 0x0992, 0xC701},
++ {0, 0x0994, 0xFC30},
++ {0, 0x0996, 0xC0FD},
++ {0, 0x0998, 0xBED},
++ {0, 0x099a, 0xFC30},
++ {0, 0x099c, 0xC2FD},
++ {0, 0x099e, 0xBEF},
++ {0, 0x098A, 0x1100},
++ {0, 0x0990, 0x30E6},
++ {0, 0x0992, 0xBD},
++ {0, 0x0994, 0x5203},
++ {0, 0x0996, 0x3139},
++ {0, 0x0998, 0x7E9E},
++ {0, 0x099a, 0x143C},
++ {0, 0x099c, 0x3C3C},
++ {0, 0x099e, 0x2101},
++ {0, 0x098A, 0x1110},
++ {0, 0x0990, 0xCC00},
++ {0, 0x0992, 0x18BD},
++ {0, 0x0994, 0x6FD1},
++ {0, 0x0996, 0xC504},
++ {0, 0x0998, 0x26F5},
++ {0, 0x099a, 0xDC25},
++ {0, 0x099c, 0x30ED},
++ {0, 0x099e, 0x420},
++ {0, 0x098A, 0x1120},
++ {0, 0x0990, 0x12EE},
++ {0, 0x0992, 0x43C},
++ {0, 0x0994, 0x1838},
++ {0, 0x0996, 0xE621},
++ {0, 0x0998, 0x18E7},
++ {0, 0x099a, 0xBE30},
++ {0, 0x099c, 0xEE04},
++ {0, 0x099e, 0xEC1D},
++ {0, 0x098A, 0x1130},
++ {0, 0x0990, 0x30ED},
++ {0, 0x0992, 0x4EC},
++ {0, 0x0994, 0x426},
++ {0, 0x0996, 0xEACC},
++ {0, 0x0998, 0x1A},
++ {0, 0x099a, 0xED02},
++ {0, 0x099c, 0xCCFB},
++ {0, 0x099e, 0xFFED},
++ {0, 0x098A, 0x1140},
++ {0, 0x0990, 0xCC},
++ {0, 0x0992, 0x400},
++ {0, 0x0994, 0xBD70},
++ {0, 0x0996, 0x6DCC},
++ {0, 0x0998, 0x1A},
++ {0, 0x099a, 0x30ED},
++ {0, 0x099c, 0x2CC},
++ {0, 0x099e, 0xFBFF},
++ {0, 0x098A, 0x1150},
++ {0, 0x0990, 0xED00},
++ {0, 0x0992, 0x5F4F},
++ {0, 0x0994, 0xBD70},
++ {0, 0x0996, 0x6D5F},
++ {0, 0x0998, 0xBD5B},
++ {0, 0x099a, 0x17BD},
++ {0, 0x099c, 0x558B},
++ {0, 0x099e, 0x3838},
++ {0, 0x098A, 0x1160},
++ {0, 0x0990, 0x3839},
++ {0, 0x0992, 0x3C3C},
++ {0, 0x0994, 0xC640},
++ {0, 0x0996, 0xF730},
++ {0, 0x0998, 0xC4FC},
++ {0, 0x099a, 0xBED},
++ {0, 0x099c, 0xFD30},
++ {0, 0x099e, 0xC0FC},
++ {0, 0x098A, 0x1170},
++ {0, 0x0990, 0xBEF},
++ {0, 0x0992, 0xFD30},
++ {0, 0x0994, 0xC2DE},
++ {0, 0x0996, 0x1DEC},
++ {0, 0x0998, 0x25FD},
++ {0, 0x099a, 0x30C5},
++ {0, 0x099c, 0x101},
++ {0, 0x099e, 0x1FC},
++ {0, 0x098A, 0x1180},
++ {0, 0x0990, 0x30C2},
++ {0, 0x0992, 0xFD06},
++ {0, 0x0994, 0xD6EC},
++ {0, 0x0996, 0xC5F},
++ {0, 0x0998, 0x8402},
++ {0, 0x099a, 0x4416},
++ {0, 0x099c, 0x4F30},
++ {0, 0x099e, 0xE703},
++ {0, 0x098A, 0x1190},
++ {0, 0x0990, 0xF10C},
++ {0, 0x0992, 0xCD27},
++ {0, 0x0994, 0x15F1},
++ {0, 0x0996, 0xCCD},
++ {0, 0x0998, 0x2309},
++ {0, 0x099a, 0xFC06},
++ {0, 0x099c, 0xD604},
++ {0, 0x099e, 0xFD06},
++ {0, 0x098A, 0x11A0},
++ {0, 0x0990, 0xD620},
++ {0, 0x0992, 0x7FC},
++ {0, 0x0994, 0x6D6},
++ {0, 0x0996, 0x5FD},
++ {0, 0x0998, 0x6D6},
++ {0, 0x099a, 0xDE1D},
++ {0, 0x099c, 0xE60B},
++ {0, 0x099e, 0xC407},
++ {0, 0x098A, 0x11B0},
++ {0, 0x0990, 0x30E7},
++ {0, 0x0992, 0x2F1},
++ {0, 0x0994, 0xCCE},
++ {0, 0x0996, 0x272C},
++ {0, 0x0998, 0x7D0C},
++ {0, 0x099a, 0xCE27},
++ {0, 0x099c, 0x275D},
++ {0, 0x099e, 0x2724},
++ {0, 0x098A, 0x11C0},
++ {0, 0x0990, 0x7F30},
++ {0, 0x0992, 0xC4FC},
++ {0, 0x0994, 0x6D6},
++ {0, 0x0996, 0xFD30},
++ {0, 0x0998, 0xC5F6},
++ {0, 0x099a, 0xCCE},
++ {0, 0x099c, 0x4FFD},
++ {0, 0x099e, 0x30C7},
++ {0, 0x098A, 0x11D0},
++ {0, 0x0990, 0xC640},
++ {0, 0x0992, 0xF730},
++ {0, 0x0994, 0xC4E6},
++ {0, 0x0996, 0x24F},
++ {0, 0x0998, 0xFD30},
++ {0, 0x099a, 0xC501},
++ {0, 0x099c, 0x101},
++ {0, 0x099e, 0xFC30},
++ {0, 0x098A, 0x11E0},
++ {0, 0x0990, 0xC2FD},
++ {0, 0x0992, 0x6D6},
++ {0, 0x0994, 0x7D06},
++ {0, 0x0996, 0xCB27},
++ {0, 0x0998, 0x2EC6},
++ {0, 0x099a, 0x40F7},
++ {0, 0x099c, 0x30C4},
++ {0, 0x099e, 0xFC06},
++ {0, 0x098A, 0x11F0},
++ {0, 0x0990, 0xC104},
++ {0, 0x0992, 0xF306},
++ {0, 0x0994, 0xD6ED},
++ {0, 0x0996, 0x5F},
++ {0, 0x0998, 0x6D00},
++ {0, 0x099a, 0x2A01},
++ {0, 0x099c, 0x5317},
++ {0, 0x099e, 0xFD30},
++ {0, 0x098A, 0x1200},
++ {0, 0x0990, 0xC0EC},
++ {0, 0x0992, 0xFD},
++ {0, 0x0994, 0x30C2},
++ {0, 0x0996, 0xFC06},
++ {0, 0x0998, 0xC1FD},
++ {0, 0x099a, 0x30C5},
++ {0, 0x099c, 0x101},
++ {0, 0x099e, 0x1FC},
++ {0, 0x098A, 0x1210},
++ {0, 0x0990, 0x30C2},
++ {0, 0x0992, 0xFD06},
++ {0, 0x0994, 0xC720},
++ {0, 0x0996, 0x227F},
++ {0, 0x0998, 0x30C4},
++ {0, 0x099a, 0xDE1D},
++ {0, 0x099c, 0xEC25},
++ {0, 0x099e, 0xFD30},
++ {0, 0x098A, 0x1220},
++ {0, 0x0990, 0xC5FC},
++ {0, 0x0992, 0x6D6},
++ {0, 0x0994, 0xFD30},
++ {0, 0x0996, 0xC701},
++ {0, 0x0998, 0xFC30},
++ {0, 0x099a, 0xC0FD},
++ {0, 0x099c, 0x6D0},
++ {0, 0x099e, 0xFC30},
++ {0, 0x098A, 0x1230},
++ {0, 0x0990, 0xC2FD},
++ {0, 0x0992, 0x6D2},
++ {0, 0x0994, 0xEC25},
++ {0, 0x0996, 0xFD06},
++ {0, 0x0998, 0xC3BD},
++ {0, 0x099a, 0x953C},
++ {0, 0x099c, 0xDE3F},
++ {0, 0x099e, 0xEE10},
++ {0, 0x098A, 0x1240},
++ {0, 0x0990, 0xAD00},
++ {0, 0x0992, 0x3838},
++ {0, 0x0994, 0x3930},
++ {0, 0x0996, 0x8FC3},
++ {0, 0x0998, 0xFFE9},
++ {0, 0x099a, 0x8F35},
++ {0, 0x099c, 0xBDAD},
++ {0, 0x099e, 0x1530},
++ {0, 0x098A, 0x1250},
++ {0, 0x0990, 0x6F16},
++ {0, 0x0992, 0x18DE},
++ {0, 0x0994, 0x1918},
++ {0, 0x0996, 0x8FC3},
++ {0, 0x0998, 0x14B},
++ {0, 0x099a, 0x188F},
++ {0, 0x099c, 0x18EC},
++ {0, 0x099e, 0xFD},
++ {0, 0x098A, 0x1260},
++ {0, 0x0990, 0x50E},
++ {0, 0x0992, 0x18EC},
++ {0, 0x0994, 0x2FD},
++ {0, 0x0996, 0x510},
++ {0, 0x0998, 0xE616},
++ {0, 0x099a, 0x4FED},
++ {0, 0x099c, 0x418},
++ {0, 0x099e, 0x8FC3},
++ {0, 0x098A, 0x1270},
++ {0, 0x0990, 0xFFCB},
++ {0, 0x0992, 0xE304},
++ {0, 0x0994, 0x8FE6},
++ {0, 0x0996, 0xF7},
++ {0, 0x0998, 0x514},
++ {0, 0x099a, 0x18DE},
++ {0, 0x099c, 0x1930},
++ {0, 0x099e, 0xE616},
++ {0, 0x098A, 0x1280},
++ {0, 0x0990, 0x4FED},
++ {0, 0x0992, 0x418},
++ {0, 0x0994, 0x8FC3},
++ {0, 0x0996, 0x119},
++ {0, 0x0998, 0xE304},
++ {0, 0x099a, 0x8FE6},
++ {0, 0x099c, 0xF7},
++ {0, 0x099e, 0x515},
++ {0, 0x098A, 0x1290},
++ {0, 0x0990, 0xFC05},
++ {0, 0x0992, 0x5BFD},
++ {0, 0x0994, 0x512},
++ {0, 0x0996, 0xDE37},
++ {0, 0x0998, 0xEE08},
++ {0, 0x099a, 0xAD00},
++ {0, 0x099c, 0x30E6},
++ {0, 0x099e, 0x164F},
++ {0, 0x098A, 0x12A0},
++ {0, 0x0990, 0x5ED},
++ {0, 0x0992, 0x48F},
++ {0, 0x0994, 0xC300},
++ {0, 0x0996, 0x630},
++ {0, 0x0998, 0xE304},
++ {0, 0x099a, 0x8FF6},
++ {0, 0x099c, 0x516},
++ {0, 0x099e, 0x4FED},
++ {0, 0x098A, 0x12B0},
++ {0, 0x0990, 0x30},
++ {0, 0x0992, 0x6C16},
++ {0, 0x0994, 0xE616},
++ {0, 0x0996, 0xC103},
++ {0, 0x0998, 0x2598},
++ {0, 0x099a, 0xCC32},
++ {0, 0x099c, 0x8EED},
++ {0, 0x099e, 0xEC},
++ {0, 0x098A, 0x12C0},
++ {0, 0x0990, 0x6BD},
++ {0, 0x0992, 0x7021},
++ {0, 0x0994, 0xCC32},
++ {0, 0x0996, 0x6C30},
++ {0, 0x0998, 0xED02},
++ {0, 0x099a, 0xCCF8},
++ {0, 0x099c, 0xED},
++ {0, 0x099e, 0xA6},
++ {0, 0x098A, 0x12D0},
++ {0, 0x0990, 0x9E3},
++ {0, 0x0992, 0xA84},
++ {0, 0x0994, 0x7BD},
++ {0, 0x0996, 0x706D},
++ {0, 0x0998, 0x30C6},
++ {0, 0x099a, 0x173A},
++ {0, 0x099c, 0x3539},
++ {0, 0x099e, 0x3CBD},
++ {0, 0x098A, 0x12E0},
++ {0, 0x0990, 0x776D},
++ {0, 0x0992, 0xCC32},
++ {0, 0x0994, 0x5C30},
++ {0, 0x0996, 0xED00},
++ {0, 0x0998, 0xFC13},
++ {0, 0x099a, 0x8683},
++ {0, 0x099c, 0x1},
++ {0, 0x099e, 0xBD70},
++ {0, 0x098A, 0x12F0},
++ {0, 0x0990, 0x21CC},
++ {0, 0x0992, 0x325E},
++ {0, 0x0994, 0x30ED},
++ {0, 0x0996, 0xFC},
++ {0, 0x0998, 0x1388},
++ {0, 0x099a, 0x8300},
++ {0, 0x099c, 0x1BD},
++ {0, 0x099e, 0x7021},
++ {0, 0x098A, 0x1300},
++ {0, 0x0990, 0x3839},
++ {0, 0x098E, 0x0010},
++ {0, 0x0990, 0x1000},
++ {0, 0x098E, 0x0003},
++ {100, 0x0990, 0x0004}
++};
++
++mt9t111_regs def_regs1[] ={
++ {0, 0x001A, 0x0218},
++ {0, 0x001E, 0x0777},
++ {0, 0x3084, 0x2409},
++ {0, 0x3092, 0x0A49},
++ {0, 0x3094, 0x4949},
++ {0, 0x3096, 0x4950},
++ {0, 0x0018, 0x402D},
++ {100, 0x0018, 0x402C},
++ {0, 0x098E, 0x6800},
++ {0, 0x0990, 0x0280},
++ {0, 0x098E, 0x6802},
++ {0, 0x0990, 0x01E0},
++ {0, 0x098E, 0xE88E},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0x68A0},
++ {0, 0x0990, 0x082D},
++ {0, 0x098E, 0x4802},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0x4804},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0x4806},
++ {0, 0x0990, 0x060D},
++ {0, 0x098E, 0x4808},
++ {0, 0x0990, 0x080D},
++ {0, 0x098E, 0x480A},
++ {0, 0x0990, 0x0111},
++ {0, 0x098E, 0x480C},
++ {0, 0x0990, 0x046C},
++ {0, 0x098E, 0x480F},
++ {0, 0x0990, 0x00CC},
++ {0, 0x098E, 0x4811},
++ {0, 0x0990, 0x0381},
++ {0, 0x098E, 0x4813},
++ {0, 0x0990, 0x024F},
++ {0, 0x098E, 0x481D},
++ {0, 0x0990, 0x05AE},
++ {0, 0x098E, 0x481F},
++ {0, 0x0990, 0x05D0},
++ {0, 0x098E, 0x4825},
++ {0, 0x0990, 0x07AC},
++ {0, 0x098E, 0x6C00},
++ {0, 0x0990, 0x0800},
++ {0, 0x098E, 0x6C02},
++ {0, 0x0990, 0x0600},
++ {0, 0x098E, 0xEC8E},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0x6CA0},
++ {0, 0x0990, 0x082D},
++ {0, 0x098E, 0x484A},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0x484C},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0x484E},
++ {0, 0x0990, 0x060D},
++ {0, 0x098E, 0x4850},
++ {0, 0x0990, 0x080D},
++ {0, 0x098E, 0x4852},
++ {0, 0x0990, 0x0111},
++ {0, 0x098E, 0x4854},
++ {0, 0x0990, 0x146C},
++ {0, 0x098E, 0x4857},
++ {0, 0x0990, 0x00CC},
++ {0, 0x098E, 0x4859},
++ {0, 0x0990, 0x0381},
++ {0, 0x098E, 0x485B},
++ {0, 0x0990, 0x024F},
++ {0, 0x098E, 0x4865},
++ {0, 0x0990, 0x05AE},
++ {0, 0x098E, 0x4867},
++ {0, 0x0990, 0x05D0},
++ {0, 0x098E, 0x486D},
++ {0, 0x0990, 0x07AC},
++ {0, 0x098E, 0xC8A5},
++ {0, 0x0990, 0x001D},
++ {0, 0x098E, 0xC8A6},
++ {0, 0x0990, 0x0020},
++ {0, 0x098E, 0xC8A7},
++ {0, 0x0990, 0x0023},
++ {0, 0x098E, 0xC8A8},
++ {0, 0x0990, 0x0026},
++ {0, 0x098E, 0xC844},
++ {0, 0x0990, 0x0091},
++ {0, 0x098E, 0xC92F},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0xC845},
++ {0, 0x0990, 0x0079},
++ {0, 0x098E, 0xC92D},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0xC88C},
++ {0, 0x0990, 0x0091},
++ {0, 0x098E, 0xC930},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0xC88D},
++ {0, 0x0990, 0x0079},
++ {0, 0x098E, 0xC92E},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0xA002},
++ {0, 0x0990, 0x0010},
++ {0, 0x098E, 0xA009},
++ {0, 0x0990, 0x0002},
++ {0, 0x098E, 0xA00A},
++ {0, 0x0990, 0x0003},
++ {0, 0x098E, 0xA00C},
++ {0, 0x0990, 0x000A},
++ {0, 0x098E, 0x4846},
++ {0, 0x0990, 0x0014},
++ {0, 0x098E, 0x68AA},
++ {0, 0x0990, 0x0278},
++ {0, 0x098E, 0x488E},
++ {0, 0x0990, 0x0014},
++ {0, 0x098E, 0x6CAA},
++ {0, 0x0990, 0x0218},
++ {0, 0x098E, 0x8400},
++ {0, 0x0990, 0x0006},
++ {0, 0x098E, 0x8400},
++ {0, 0x0990, 0x0005},
++ {0, 0x3C20, 0x0001},
++ {0, 0x364A, 0x7D2F},
++ {0, 0x364C, 0x79EB},
++ {0, 0x364E, 0x18D2},
++ {0, 0x3650, 0x9F8F},
++ {0, 0x3652, 0xA7D2},
++ {0, 0x368A, 0x460C},
++ {0, 0x368C, 0x14F0},
++ {0, 0x368E, 0x946F},
++ {0, 0x3690, 0xC471},
++ {0, 0x3692, 0x04B1},
++ {0, 0x36CA, 0x0433},
++ {0, 0x36CC, 0x680D},
++ {0, 0x36CE, 0xEEF3},
++ {0, 0x36D0, 0x4850},
++ {0, 0x36D2, 0xF233},
++ {0, 0x370A, 0xB2AF},
++ {0, 0x370C, 0x2CF0},
++ {0, 0x370E, 0x3F10},
++ {0, 0x3710, 0xC673},
++ {0, 0x3712, 0xA972},
++ {0, 0x374A, 0x0590},
++ {0, 0x374C, 0xAFB3},
++ {0, 0x374E, 0x93D7},
++ {0, 0x3750, 0x8D12},
++ {0, 0x3752, 0x2539},
++ {0, 0x3640, 0x0350},
++ {0, 0x3642, 0x322C},
++ {0, 0x3644, 0x77D1},
++ {0, 0x3646, 0xA26F},
++ {0, 0x3648, 0xC872},
++ {0, 0x3680, 0x0C4C},
++ {0, 0x3682, 0x9510},
++ {0, 0x3684, 0x110E},
++ {0, 0x3686, 0x4331},
++ {0, 0x3688, 0xC1CF},
++ {0, 0x36C0, 0x6152},
++ {0, 0x36C2, 0x038E},
++ {0, 0x36C4, 0x9AF4},
++ {0, 0x36C6, 0xE12F},
++ {0, 0x36C8, 0x09F3},
++ {0, 0x3700, 0xC5AF},
++ {0, 0x3702, 0xCA90},
++ {0, 0x3704, 0x5D0F},
++ {0, 0x3706, 0x3293},
++ {0, 0x3708, 0x2B92},
++ {0, 0x3740, 0xC590},
++ {0, 0x3742, 0x8133},
++ {0, 0x3744, 0xE0F6},
++ {0, 0x3746, 0x0254},
++ {0, 0x3748, 0x10B9},
++ {0, 0x3654, 0x7F8F},
++ {0, 0x3656, 0x6F6C},
++ {0, 0x3658, 0x5971},
++ {0, 0x365A, 0x9A0F},
++ {0, 0x365C, 0xA1B2},
++ {0, 0x3694, 0xB00C},
++ {0, 0x3696, 0xEBCF},
++ {0, 0x3698, 0x06AD},
++ {0, 0x369A, 0x4D31},
++ {0, 0x369C, 0x2A4E},
++ {0, 0x36D4, 0x4752},
++ {0, 0x36D6, 0x724D},
++ {0, 0x36D8, 0xAD34},
++ {0, 0x36DA, 0x1350},
++ {0, 0x36DC, 0x4E94},
++ {0, 0x3714, 0xA06E},
++ {0, 0x3716, 0x9152},
++ {0, 0x3718, 0x1F53},
++ {0, 0x371A, 0x3933},
++ {0, 0x371C, 0xBA94},
++ {0, 0x3754, 0x1233},
++ {0, 0x3756, 0xA032},
++ {0, 0x3758, 0xE936},
++ {0, 0x375A, 0xBE34},
++ {0, 0x375C, 0x02D9},
++ {0, 0x365E, 0x7DEF},
++ {0, 0x3660, 0x434B},
++ {0, 0x3662, 0x69F1},
++ {0, 0x3664, 0x8A0F},
++ {0, 0x3666, 0xBDB2},
++ {0, 0x369E, 0x290D},
++ {0, 0x36A0, 0x42CF},
++ {0, 0x36A2, 0xDC6D},
++ {0, 0x36A4, 0x91B1},
++ {0, 0x36A6, 0x9DE9},
++ {0, 0x36DE, 0x70B2},
++ {0, 0x36E0, 0x02AC},
++ {0, 0x36E2, 0x9714},
++ {0, 0x36E4, 0xF3CF},
++ {0, 0x36E6, 0x6BD1},
++ {0, 0x371E, 0xE42E},
++ {0, 0x3720, 0x1D32},
++ {0, 0x3722, 0xCC31},
++ {0, 0x3724, 0xAE94},
++ {0, 0x3726, 0x6413},
++ {0, 0x375E, 0xE290},
++ {0, 0x3760, 0x8F53},
++ {0, 0x3762, 0xF936},
++ {0, 0x3764, 0x4614},
++ {0, 0x3766, 0x1B59},
++ {0, 0x3784, 0x0404},
++ {0, 0x3782, 0x0304},
++ {0, 0x3210, 0x01B8},
++ {0, 0x098E, 0xC913},
++ {0, 0x0990, 0x000A},
++ {0, 0x098E, 0x686B},
++ {0, 0x0990, 0x05DC},
++ {0, 0x098E, 0x686D},
++ {0, 0x0990, 0x0BB8},
++ {0, 0x098E, 0x6C6B},
++ {0, 0x0990, 0x05DC},
++ {0, 0x098E, 0x6C6D},
++ {0, 0x0990, 0x0BB8},
++ {0, 0x098E, 0x3439},
++ {0, 0x0990, 0x05DC},
++ {0, 0x098E, 0x343B},
++ {0, 0x0990, 0x0BB8},
++ {0, 0x098E, 0x4926},
++ {0, 0x0990, 0x0001},
++ {0, 0x098E, 0x4928},
++ {0, 0x0990, 0x0002},
++ {0, 0x098E, 0x492A},
++ {0, 0x0990, 0x0656},
++ {0, 0x098E, 0x4D26},
++ {0, 0x0990, 0x0001},
++ {0, 0x098E, 0x4D28},
++ {0, 0x0990, 0x0002},
++ {0, 0x098E, 0x4D2A},
++ {0, 0x0990, 0x0656},
++ {0, 0x33F4, 0x040B},
++ {0, 0x098E, 0xC916},
++ {0, 0x0990, 0x0014},
++ {0, 0x098E, 0xC919},
++ {0, 0x0990, 0x0028},
++ {0, 0x098E, 0xC917},
++ {0, 0x0990, 0x0004},
++ {0, 0x098E, 0xC918},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0xC91A},
++ {0, 0x0990, 0x0001},
++ {0, 0x098E, 0xC91B},
++ {0, 0x0990, 0x0009},
++ {0, 0x326C, 0x0C00},
++ {0, 0x098E, 0x494B},
++ {0, 0x0990, 0x0042},
++ {0, 0x098E, 0x494D},
++ {0, 0x0990, 0x012C},
++ {0, 0x098E, 0xC91E},
++ {0, 0x0990, 0x0012},
++ {0, 0x098E, 0xC91F},
++ {0, 0x0990, 0x000A},
++ {0, 0x098E, 0xC920},
++ {0, 0x0990, 0x0012},
++ {0, 0x098E, 0xC921},
++ {0, 0x0990, 0x000A},
++ {0, 0x098E, 0xC922},
++ {0, 0x0990, 0x0026},
++ {0, 0x098E, 0xC923},
++ {0, 0x0990, 0x001E},
++ {0, 0x098E, 0xC924},
++ {0, 0x0990, 0x0026},
++ {0, 0x098E, 0xC925},
++ {0, 0x0990, 0x0026},
++ {0, 0x098E, 0xBC02},
++ {0, 0x0990, 0x0003},
++ {0, 0x098E, 0xBC05},
++ {0, 0x0990, 0x000E},
++ {0, 0x098E, 0xC950},
++ {0, 0x0990, 0x0064},
++ {0, 0x098E, 0xC94F},
++ {0, 0x0990, 0x0038},
++ {0, 0x098E, 0xC952},
++ {0, 0x0990, 0x0064},
++ {0, 0x098E, 0xC951},
++ {0, 0x0990, 0x0051},
++ {0, 0x098E, 0xC954},
++ {0, 0x0990, 0x0010},
++ {0, 0x098E, 0xC953},
++ {0, 0x0990, 0x0020},
++ {0, 0x098E, 0xC956},
++ {0, 0x0990, 0x0010},
++ {0, 0x098E, 0xC955},
++ {0, 0x0990, 0x0020},
++ {0, 0x098E, 0xC958},
++ {0, 0x0990, 0x0020},
++ {0, 0x098E, 0xC957},
++ {0, 0x0990, 0x0014},
++ {0, 0x098E, 0xC95A},
++ {0, 0x0990, 0x001D},
++ {0, 0x098E, 0xC959},
++ {0, 0x0990, 0x0020},
++ {0, 0x098E, 0xC95C},
++ {0, 0x0990, 0x000C},
++ {0, 0x098E, 0xC95B},
++ {0, 0x0990, 0x0008},
++ {0, 0x098E, 0xC95E},
++ {0, 0x0990, 0x000C},
++ {0, 0x098E, 0xC95D},
++ {0, 0x0990, 0x0008},
++ {0, 0x098E, 0xC95F},
++ {0, 0x0990, 0x0064},
++ {0, 0x098E, 0x48DC},
++ {0, 0x0990, 0x004D},
++ {0, 0x098E, 0x48DE},
++ {0, 0x0990, 0x0096},
++ {0, 0x098E, 0x48E0},
++ {0, 0x0990, 0x001D},
++ {0, 0x098E, 0x48E2},
++ {0, 0x0990, 0x004D},
++ {0, 0x098E, 0x48E4},
++ {0, 0x0990, 0x0096},
++ {0, 0x098E, 0x48E6},
++ {0, 0x0990, 0x001D},
++ {0, 0x098E, 0x48E8},
++ {0, 0x0990, 0x004D},
++ {0, 0x098E, 0x48EA},
++ {0, 0x0990, 0x0096},
++ {0, 0x098E, 0x48EC},
++ {0, 0x0990, 0x001D},
++ {0, 0x098E, 0xDC2A},
++ {0, 0x0990, 0x000B},
++ {0, 0x098E, 0xDC2B},
++ {0, 0x0990, 0x0017},
++ {0, 0x098E, 0xBC0B},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0xBC0C},
++ {0, 0x0990, 0x001B},
++ {0, 0x098E, 0xBC0D},
++ {0, 0x0990, 0x002A},
++ {0, 0x098E, 0xBC0E},
++ {0, 0x0990, 0x003E},
++ {0, 0x098E, 0xBC0F},
++ {0, 0x0990, 0x005A},
++ {0, 0x098E, 0xBC10},
++ {0, 0x0990, 0x0070},
++ {0, 0x098E, 0xBC11},
++ {0, 0x0990, 0x0081},
++ {0, 0x098E, 0xBC12},
++ {0, 0x0990, 0x0090},
++ {0, 0x098E, 0xBC13},
++ {0, 0x0990, 0x009E},
++ {0, 0x098E, 0xBC14},
++ {0, 0x0990, 0x00AB},
++ {0, 0x098E, 0xBC15},
++ {0, 0x0990, 0x00B6},
++ {0, 0x098E, 0xBC16},
++ {0, 0x0990, 0x00C1},
++ {0, 0x098E, 0xBC17},
++ {0, 0x0990, 0x00CB},
++ {0, 0x098E, 0xBC18},
++ {0, 0x0990, 0x00D5},
++ {0, 0x098E, 0xBC19},
++ {0, 0x0990, 0x00DE},
++ {0, 0x098E, 0xBC1A},
++ {0, 0x0990, 0x00E7},
++ {0, 0x098E, 0xBC1B},
++ {0, 0x0990, 0x00EF},
++ {0, 0x098E, 0xBC1C},
++ {0, 0x0990, 0x00F7},
++ {0, 0x098E, 0xBC1D},
++ {0, 0x0990, 0x00FF},
++ {0, 0x098E, 0xBC1E},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0xBC1F},
++ {0, 0x0990, 0x001B},
++ {0, 0x098E, 0xBC20},
++ {0, 0x0990, 0x002A},
++ {0, 0x098E, 0xBC21},
++ {0, 0x0990, 0x003E},
++ {0, 0x098E, 0xBC22},
++ {0, 0x0990, 0x005A},
++ {0, 0x098E, 0xBC23},
++ {0, 0x0990, 0x0070},
++ {0, 0x098E, 0xBC24},
++ {0, 0x0990, 0x0081},
++ {0, 0x098E, 0xBC25},
++ {0, 0x0990, 0x0090},
++ {0, 0x098E, 0xBC26},
++ {0, 0x0990, 0x009E},
++ {0, 0x098E, 0xBC27},
++ {0, 0x0990, 0x00AB},
++ {0, 0x098E, 0xBC28},
++ {0, 0x0990, 0x00B6},
++ {0, 0x098E, 0xBC29},
++ {0, 0x0990, 0x00C1},
++ {0, 0x098E, 0xBC2A},
++ {0, 0x0990, 0x00CB},
++ {0, 0x098E, 0xBC2B},
++ {0, 0x0990, 0x00D5},
++ {0, 0x098E, 0xBC2C},
++ {0, 0x0990, 0x00DE},
++ {0, 0x098E, 0xBC2D},
++ {0, 0x0990, 0x00E7},
++ {0, 0x098E, 0xBC2E},
++ {0, 0x0990, 0x00EF},
++ {0, 0x098E, 0xBC2F},
++ {0, 0x0990, 0x00F7},
++ {0, 0x098E, 0xBC30},
++ {0, 0x0990, 0x00FF},
++ {0, 0x098E, 0xBC31},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0xBC32},
++ {0, 0x0990, 0x000D},
++ {0, 0x098E, 0xBC33},
++ {0, 0x0990, 0x0019},
++ {0, 0x098E, 0xBC34},
++ {0, 0x0990, 0x0030},
++ {0, 0x098E, 0xBC35},
++ {0, 0x0990, 0x0056},
++ {0, 0x098E, 0xBC36},
++ {0, 0x0990, 0x0070},
++ {0, 0x098E, 0xBC37},
++ {0, 0x0990, 0x0081},
++ {0, 0x098E, 0xBC38},
++ {0, 0x0990, 0x0090},
++ {0, 0x098E, 0xBC39},
++ {0, 0x0990, 0x009E},
++ {0, 0x098E, 0xBC3A},
++ {0, 0x0990, 0x00AB},
++ {0, 0x098E, 0xBC3B},
++ {0, 0x0990, 0x00B6},
++ {0, 0x098E, 0xBC3C},
++ {0, 0x0990, 0x00C1},
++ {0, 0x098E, 0xBC3D},
++ {0, 0x0990, 0x00CB},
++ {0, 0x098E, 0xBC3E},
++ {0, 0x0990, 0x00D5},
++ {0, 0x098E, 0xBC3F},
++ {0, 0x0990, 0x00DE},
++ {0, 0x098E, 0xBC40},
++ {0, 0x0990, 0x00E7},
++ {0, 0x098E, 0xBC41},
++ {0, 0x0990, 0x00EF},
++ {0, 0x098E, 0xBC42},
++ {0, 0x0990, 0x00F7},
++ {0, 0x098E, 0xBC43},
++ {0, 0x0990, 0x00FF},
++ {0, 0x098E, 0x6865},
++ {0, 0x0990, 0x00E0},
++ {0, 0x098E, 0x6867},
++ {0, 0x0990, 0x00F4},
++ {0, 0x098E, 0x8400},
++ {0, 0x0990, 0x0006},
++ {0, 0x098E, 0xBC4A},
++ {0, 0x0990, 0x007F},
++ {0, 0x098E, 0xBC4B},
++ {0, 0x0990, 0x007F},
++ {0, 0x098E, 0xBC4C},
++ {0, 0x0990, 0x007F},
++ {0, 0x3542, 0x0010},
++ {0, 0x3544, 0x0030},
++ {0, 0x3546, 0x0040},
++ {0, 0x3548, 0x0080},
++ {0, 0x354A, 0x0100},
++ {0, 0x354C, 0x0200},
++ {0, 0x354E, 0x0300},
++ {0, 0x3550, 0x0010},
++ {0, 0x3552, 0x0030},
++ {0, 0x3554, 0x0040},
++ {0, 0x3556, 0x0080},
++ {0, 0x3558, 0x012C},
++ {0, 0x355A, 0x0320},
++ {0, 0x355C, 0x03E8},
++ {0, 0x3560, 0x0040},
++ {0, 0x3562, 0x0020},
++ {0, 0x3564, 0x0040},
++ {0, 0x3566, 0x0010},
++ {0, 0x3568, 0x0008},
++ {0, 0x356A, 0x0004},
++ {0, 0x356C, 0x0004},
++ {0, 0x356E, 0x0004},
++ {0, 0x098E, 0x3C4D},
++ {0, 0x0990, 0x0DAC},
++ {0, 0x098E, 0x3C4F},
++ {0, 0x0990, 0x148A},
++ {0, 0x098E, 0xC911},
++ {0, 0x0990, 0x00C8},
++ {0, 0x098E, 0xC8F4},
++ {0, 0x0990, 0x0004},
++ {0, 0x098E, 0xC8F5},
++ {0, 0x0990, 0x0002},
++ {0, 0x098E, 0x48F6},
++ {0, 0x0990, 0x3B4D},
++ {0, 0x098E, 0x48F8},
++ {0, 0x0990, 0x6380},
++ {0, 0x098E, 0x48FA},
++ {0, 0x0990, 0x9B18},
++ {0, 0x098E, 0x48FC},
++ {0, 0x0990, 0x5D51},
++ {0, 0x098E, 0x48FE},
++ {0, 0x0990, 0xEDE8},
++ {0, 0x098E, 0x4900},
++ {0, 0x0990, 0xE515},
++ {0, 0x098E, 0x4902},
++ {0, 0x0990, 0xBFF4},
++ {0, 0x098E, 0x4904},
++ {0, 0x0990, 0x001E},
++ {0, 0x098E, 0x4906},
++ {0, 0x0990, 0x0026},
++ {0, 0x098E, 0x4908},
++ {0, 0x0990, 0x0033},
++ {0, 0x098E, 0xE84A},
++ {0, 0x0990, 0x0083},
++ {0, 0x098E, 0xE84D},
++ {0, 0x0990, 0x0083},
++ {0, 0x098E, 0xE84C},
++ {0, 0x0990, 0x0080},
++ {0, 0x098E, 0xE84F},
++ {0, 0x0990, 0x0080},
++ {0, 0x098E, 0x8400},
++ {0, 0x0990, 0x0006},
++ {0, 0x098E, 0x48B0},
++ {0, 0x0990, 0x0180},
++ {0, 0x098E, 0x48B2},
++ {0, 0x0990, 0xFF7A},
++ {0, 0x098E, 0x48B4},
++ {0, 0x0990, 0x0018},
++ {0, 0x098E, 0x48B6},
++ {0, 0x0990, 0xFFCA},
++ {0, 0x098E, 0x48B8},
++ {0, 0x0990, 0x017C},
++ {0, 0x098E, 0x48BA},
++ {0, 0x0990, 0xFFCC},
++ {0, 0x098E, 0x48BC},
++ {0, 0x0990, 0x000C},
++ {0, 0x098E, 0x48BE},
++ {0, 0x0990, 0xFF1F},
++ {0, 0x098E, 0x48C0},
++ {0, 0x0990, 0x01E8},
++ {0, 0x098E, 0x48C2},
++ {0, 0x0990, 0x0020},
++ {0, 0x098E, 0x48C4},
++ {0, 0x0990, 0x0044},
++ {0, 0x098E, 0x48C6},
++ {0, 0x0990, 0x0079},
++ {0, 0x098E, 0x48C8},
++ {0, 0x0990, 0xFFAD},
++ {0, 0x098E, 0x48CA},
++ {0, 0x0990, 0xFFE2},
++ {0, 0x098E, 0x48CC},
++ {0, 0x0990, 0x0033},
++ {0, 0x098E, 0x48CE},
++ {0, 0x0990, 0x002A},
++ {0, 0x098E, 0x48D0},
++ {0, 0x0990, 0xFFAA},
++ {0, 0x098E, 0x48D2},
++ {0, 0x0990, 0x0017},
++ {0, 0x098E, 0x48D4},
++ {0, 0x0990, 0x004B},
++ {0, 0x098E, 0x48D6},
++ {0, 0x0990, 0xFFA5},
++ {0, 0x098E, 0x48D8},
++ {0, 0x0990, 0x0015},
++ {0, 0x098E, 0x48DA},
++ {0, 0x0990, 0xFFE2},
++ {0, 0x35A2, 0x0014},
++ {0, 0x098E, 0xC949},
++ {0, 0x0990, 0x0024},
++ {0, 0x35A4, 0x0596},
++ {0, 0x098E, 0xC94A},
++ {0, 0x0990, 0x0062},
++ {0, 0x098E, 0xC948},
++ {0, 0x0990, 0x0006},
++ {0, 0x098E, 0xC914},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0xC915},
++ {0, 0x0990, 0x00FF},
++ {0, 0x098E, 0xE86F},
++ {0, 0x0990, 0x0060},
++ {0, 0x098E, 0xE870},
++ {0, 0x0990, 0x003C},
++ {0, 0x098E, 0xEC6F},
++ {0, 0x0990, 0x0060},
++ {0, 0x098E, 0xEC70},
++ {0, 0x0990, 0x003C},
++ {0, 0x098E, 0xE883},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0xEC83},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0x8400},
++ {0, 0x0990, 0x0006},
++ {0, 0x098E, 0xE885},
++ {0, 0x0990, 0x001E},
++ {0, 0x098E, 0xE886},
++ {0, 0x0990, 0x00D8},
++ {0, 0x098E, 0xEC85},
++ {0, 0x0990, 0x001E},
++ {0, 0x098E, 0xEC86},
++ {0, 0x0990, 0x00D8},
++ {0, 0x098E, 0xE884},
++ {0, 0x0990, 0x005C},
++ {0, 0x098E, 0xEC84},
++ {0, 0x0990, 0x005C},
++ {0, 0x098E, 0x490A},
++ {0, 0x0990, 0x0666},
++ {0, 0x098E, 0x490C},
++ {0, 0x0990, 0x0140},
++ {0, 0x098E, 0x6857},
++ {0, 0x0990, 0x0014},
++ {0, 0x098E, 0x685C},
++ {0, 0x0990, 0x0005},
++ {0, 0x098E, 0x490E},
++ {0, 0x0990, 0x00A4},
++ {0, 0x098E, 0xB43D},
++ {0, 0x0990, 0x0031},
++ {0, 0x098E, 0xB43E},
++ {0, 0x0990, 0x001B},
++ {0, 0x098E, 0xB43F},
++ {0, 0x0990, 0x0028},
++ {0, 0x098E, 0xB440},
++ {0, 0x0990, 0x0003},
++ {0, 0x098E, 0xB441},
++ {0, 0x0990, 0x00CD},
++ {0, 0x098E, 0xB442},
++ {0, 0x0990, 0x0064},
++ {0, 0x098E, 0xB443},
++ {0, 0x0990, 0x000F},
++ {0, 0x098E, 0xB444},
++ {0, 0x0990, 0x0007},
++ {0, 0x098E, 0x300D},
++ {0, 0x0990, 0x000F},
++ {0, 0x098E, 0x3017},
++ {0, 0x0990, 0x0F0F},
++ {0, 0x098E, 0x8400},
++ {0, 0x0990, 0x0006},
++ {0, 0x098E, 0xE81F},
++ {0, 0x0990, 0x0020},
++ {0, 0x098E, 0x68A0},
++ {0, 0x0990, 0x082E},
++ {0, 0x098E, 0x6CA0},
++ {0, 0x0990, 0x082E},
++ {0, 0x098E, 0x70A0},
++ {0, 0x0990, 0x082E},
++ {0, 0x098E, 0x74A0},
++ {0, 0x0990, 0x082E},
++ {0, 0x3C52, 0x082E},
++ {0, 0x098E, 0x488E},
++ {0, 0x0990, 0x0020},
++ {0, 0x098E, 0xECAC},
++ {0, 0x0990, 0x0000}
++};
++
++mt9t111_regs def_regs2[] = {
++ {100, 0x0018, 0x0028},
++ {0, 0x316C, 0x350F},
++ {0, 0x098E, 0x6817},
++ {0, 0x0990, 0x000C},
++ {0, 0x0034, 0x0000}
++};
++
++mt9t111_regs pll_regs1[] = {
++ {0, 0x0014, 0x2425},
++ {0, 0x0014, 0x2425},
++ {0, 0x0014, 0x2145},
++ {0, 0x0010, 0x0219},
++ {0, 0x0012, 0x0090},
++ {0, 0x002A, 0x79DD},
++ {0, 0x0014, 0x2545},
++ {0, 0x0014, 0x2547},
++ {0, 0x0014, 0x3447},
++ {0, 0x0014, 0x3047}
++};
++
++mt9t111_regs pll_regs2[] = {
++ {0, 0x0014, 0x3046},
++ {0, 0x0022, 0x01E0},
++ {0, 0x001E, 0x0707},
++ {0, 0x3B84, 0x011D}
++};
++
++mt9t111_regs bayer_pattern_regs[] = {
++ {0, 0x098E, 0x6807},
++ {0, 0x0990, 0x0100},
++ {0, 0x098E, 0x6809},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0xE88E},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0x6C07},
++ {0, 0x0990, 0x0100},
++ {0, 0x098E, 0x6C09},
++ {0, 0x0990, 0x0000},
++ {0, 0x098E, 0xEC8E},
++ {0, 0x0990, 0x0000}
++};
++
++#endif
+diff --git a/include/media/mt9t111.h b/include/media/mt9t111.h
+new file mode 100644
+index 0000000..7acbeed
+--- /dev/null
++++ b/include/media/mt9t111.h
+@@ -0,0 +1,79 @@
++/*
++ * include/media/mt9t111.h
++ *
++ * mt9t111 sensor driver
++ *
++ * Copyright (C) 2009 Leopard Imaging
++ *
++ * This file is licensed under the terms of the GNU General Public License
++ * version 2. This program is licensed "as is" without any warranty of any
++ * kind, whether express or implied.
++ */
++
++#ifndef MT9T111_H
++#define MT9T111_H
++
++/*********************************
++ * Defines and Macros and globals
++ ********************************/
++
++#ifdef TRUE
++#undef TRUE
++#endif
++
++#ifdef FALSE
++#undef FALSE
++#endif
++
++#define TRUE 1
++#define FALSE 0
++
++#ifdef DEBUG
++#undef DEBUG
++#endif
++
++#ifndef TYPES
++#define TYPES
++#endif
++
++#define MT9T111_I2C_REGISTERED (1)
++#define MT9T111_I2C_UNREGISTERED (0)
++
++/*i2c adress for MT9T111*/
++#define MT9T111_I2C_ADDR (0x78 >>1)
++
++#define MT9T111_CLK_MAX (75000000) /* 75MHz */
++#define MT9T111_CLK_MIN (6000000) /* 6Mhz */
++
++#define MT9T111_I2C_CONFIG (1)
++#define I2C_ONE_BYTE_TRANSFER (1)
++#define I2C_TWO_BYTE_TRANSFER (2)
++#define I2C_THREE_BYTE_TRANSFER (3)
++#define I2C_FOUR_BYTE_TRANSFER (4)
++#define I2C_TXRX_DATA_MASK (0x00FF)
++#define I2C_TXRX_DATA_MASK_UPPER (0xFF00)
++#define I2C_TXRX_DATA_SHIFT (8)
++
++struct mt9t111_platform_data {
++ char *master;
++ int (*power_set) (enum v4l2_power on);
++ int (*ifparm) (struct v4l2_ifparm *p);
++ int (*priv_data_set) (void *);
++ /* Interface control params */
++ bool clk_polarity;
++ bool hs_polarity;
++ bool vs_polarity;
++};
++
++/**
++ * struct capture_size - image capture size information
++ * @width: image width in pixels
++ * @height: image height in pixels
++ */
++struct capture_size {
++ unsigned long width;
++ unsigned long height;
++};
++
++#endif /*for ifndef MT9T111 */
++
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0002-mt9t111-Fix-all-checkpatch-errors.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0002-mt9t111-Fix-all-checkpatch-errors.patch
new file mode 100644
index 0000000000..f9b1ecff6f
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0002-mt9t111-Fix-all-checkpatch-errors.patch
@@ -0,0 +1,398 @@
+From 5b1011bc9c2172027f3c84fa56b9f0e090e85193 Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Fri, 11 Jun 2010 13:51:49 -0500
+Subject: [PATCH 02/28] mt9t111: Fix all checkpatch errors
+
+The code was plagued with checkpatch errors. Fix them!
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ drivers/media/video/mt9t111.c | 153 ++++++++++++++++++++-----------------
+ drivers/media/video/mt9t111_reg.h | 6 +-
+ include/media/mt9t111.h | 2 +-
+ 3 files changed, 87 insertions(+), 74 deletions(-)
+
+diff --git a/drivers/media/video/mt9t111.c b/drivers/media/video/mt9t111.c
+index ecc5115..95e1508 100644
+--- a/drivers/media/video/mt9t111.c
++++ b/drivers/media/video/mt9t111.c
+@@ -17,20 +17,21 @@
+ #include <media/mt9t111.h>
+ #include "mt9t111_reg.h"
+
+-#define USE_RAW // YCbCr mode does not work yet
+-//#define COLOR_BAR // Create a Color bar test pattern, Blue, Green, Red, Grey
++/* YCbCr mode does not work yet */
++#define USE_RAW
++/* Create a Color bar test pattern, Blue, Green, Red, Grey */
++/* #define COLOR_BAR */
+
+ #define SENSOR_DETECTED 1
+ #define SENSOR_NOT_DETECTED 0
+
+ static void mt9t111_loaddefault(struct i2c_client *client);
+
+-/*
+-* as a place holder for further development
+-*/
++/*
++ * as a place holder for further development
++ */
+ static void debug_dummy(char *in_msg)
+ {
+-
+ }
+
+ /* list of image formats supported by mt9t111 sensor */
+@@ -55,8 +56,8 @@ const static struct v4l2_fmtdesc mt9t111_formats[] = {
+ * smallest image size to largest.
+ */
+ const static struct capture_size mt9t111_sizes[] = {
+- { 640, 480 },
+-// { 2048, 1536}
++ { 640, 480 },
++ /* { 2048, 1536} */
+ };
+
+ #define NUM_CAPTURE_SIZE ARRAY_SIZE(mt9t111_sizes)
+@@ -120,17 +121,17 @@ mt9t111_read_reg(struct i2c_client *client, u16 reg, u16 *val)
+ msg->addr = client->addr;
+ msg->flags = 0;
+ msg->len = 2;
+- msg->buf = data;
++ msg->buf = data;
+ data[0] = (reg & 0xff00) >> 8;
+ data[1] = (reg & 0x00ff);
+ err = i2c_transfer(client->adapter, msg, 1);
+- if (err >= 0) {
+- msg->flags = I2C_M_RD;
+- msg->len = 2; /* 2 byte read */
+- err = i2c_transfer(client->adapter, msg, 1);
+- if (err >= 0) {
+- *val = ((data[0] & 0x00ff) << 8)
+- | (data[1] & 0x00ff);
++ if (err >= 0) {
++ msg->flags = I2C_M_RD;
++ msg->len = 2; /* 2 byte read */
++ err = i2c_transfer(client->adapter, msg, 1);
++ if (err >= 0) {
++ *val = ((data[0] & 0x00ff) << 8)
++ | (data[1] & 0x00ff);
+ return 0;
+ }
+ }
+@@ -159,7 +160,7 @@ mt9t111_write_reg(struct i2c_client *client, u16 reg, u16 val)
+ msg->len = 4;
+ msg->buf = data;
+ data[0] = (u8)((reg & 0xff00) >> 8);
+- data[1] = (u8)(reg & 0x00ff);
++ data[1] = (u8)(reg & 0x00ff);
+ data[2] = (u8)((val & 0xff00) >> 8);
+ data[3] = (u8)(val & 0x00ff);
+ err = i2c_transfer(client->adapter, msg, 1);
+@@ -171,7 +172,7 @@ mt9t111_write_reg(struct i2c_client *client, u16 reg, u16 val)
+ * mt9t111_write_regs - Write registers to an mt9t111 sensor device
+ * @client: i2c driver client structure
+ * @reg_in: pointer to registers to write
+- * @cnt: the number of registers
++ * @cnt: the number of registers
+ *
+ * Write registers .
+ * Returns zero if successful, or non-zero otherwise.
+@@ -182,19 +183,21 @@ mt9t111_write_regs(struct i2c_client *client, mt9t111_regs *reg_in, int cnt)
+ int err = 0;
+ int i;
+ mt9t111_regs *reg = reg_in;
+-
+- for (i=0;i<cnt;i++) {
++
++ for (i = 0; i < cnt; i++) {
+ if (reg->delay_time == 0) {
+ err |= mt9t111_write_reg(client, reg->addr, reg->data);
+ } else if (reg->addr != 0 || reg->data != 0) {
+ err |= mt9t111_write_reg(client, reg->addr, reg->data);
+ mdelay(reg->delay_time);
+- } else
++ } else {
+ mdelay(reg->delay_time);
+-
++ }
++
+ if (err < 0) {
+- dev_warn(&client->dev, "write reg error, addr = 0x%x, data = 0x%x \n", \
+- reg->addr, reg->data);
++ dev_warn(&client->dev, "write reg error, addr = 0x%x,"
++ " data = 0x%x \n",
++ reg->addr, reg->data);
+ return err;
+ }
+ reg++;
+@@ -219,10 +222,11 @@ mt9t111_detect(struct i2c_client *client)
+ if (mt9t111_read_reg(client, MT9T111_CHIP_ID, &val) < 0)
+ return -ENODEV;
+ dev_info(&client->dev, "model id detected 0x%x\n", val);
+-
++
+ if (val != MT9T111_CHIP_ID_VALUE) {
+- dev_warn(&client->dev, "model id mismatch received 0x%x expecting 0x%x\n",
+- val, MT9T111_CHIP_ID_VALUE);
++ dev_warn(&client->dev, "model id mismatch received 0x%x"
++ " expecting 0x%x\n",
++ val, MT9T111_CHIP_ID_VALUE);
+
+ return -ENODEV;
+ }
+@@ -285,14 +289,17 @@ static int ioctl_enum_frameintervals(struct v4l2_int_device *s,
+ {
+ int ifmt;
+
+-printk(KERN_INFO "entering ioctl_enum_frameintervals\n");
+-printk(KERN_INFO "index = %d, pixel_format = 0x%x, width = %d, height = %d\n",
+- frmi->index, frmi->pixel_format, frmi->width, frmi->height);
+-printk(KERN_INFO "mt9t111 format = 0x%x\n", mt9t111_formats[0].pixelformat);
++ printk(KERN_INFO "entering ioctl_enum_frameintervals\n");
++ printk(KERN_INFO "index = %d, pixel_format = 0x%x,"
++ " width = %d, height = %d\n",
++ frmi->index, frmi->pixel_format,
++ frmi->width, frmi->height);
++ printk(KERN_INFO "mt9t111 format = 0x%x\n",
++ mt9t111_formats[0].pixelformat);
+
+ if (frmi->index >= NUM_CAPTURE_FRAMEINTERVALS)
+ return -EINVAL;
+-
++
+ for (ifmt = 0; ifmt < NUM_CAPTURE_FORMATS; ifmt++) {
+ if (frmi->pixel_format == mt9t111_formats[ifmt].pixelformat)
+ break;
+@@ -368,7 +375,7 @@ static int ioctl_s_power(struct v4l2_int_device *s, enum v4l2_power on)
+ if (rval < 0) {
+ dev_err(&c->dev, "Unable to set the power state: " "mt9t111"
+ " sensor\n");
+- //sensor->pdata->set_xclk(0);
++ /* sensor->pdata->set_xclk(0); */
+ return rval;
+ }
+
+@@ -418,7 +425,7 @@ static int ioctl_g_priv(struct v4l2_int_device *s, void *p)
+ static int ioctl_s_parm(struct v4l2_int_device *s,
+ struct v4l2_streamparm *a)
+ {
+- //TODO: set paramters
++ /* TODO: set paramters */
+ debug_dummy("debug_dummy -- VIDIOC_S_PARM ");
+ return 0;
+ }
+@@ -483,13 +490,13 @@ static int ioctl_try_fmt_cap(struct v4l2_int_device *s,
+
+ pix->width = 640;
+ pix->height = 480;
+-#ifdef USE_RAW
++#ifdef USE_RAW
+ pix->pixelformat = V4L2_PIX_FMT_SGRBG10;
+- pix->bytesperline = pix->width;
++ pix->bytesperline = pix->width;
+ pix->colorspace = V4L2_COLORSPACE_SRGB;
+ #else
+ pix->pixelformat = V4L2_PIX_FMT_YUYV;
+- pix->bytesperline = pix->width * 2;
++ pix->bytesperline = pix->width * 2;
+ pix->colorspace = V4L2_COLORSPACE_JPEG;
+ #endif
+ pix->field = V4L2_FIELD_NONE;
+@@ -585,7 +592,7 @@ static int ioctl_s_ctrl(struct v4l2_int_device *s,
+ static int ioctl_g_ctrl(struct v4l2_int_device *s,
+ struct v4l2_control *vc)
+ {
+- debug_dummy("debug_dummy -- g ctrl\n");
++ debug_dummy("debug_dummy -- g ctrl\n");
+ return 0;
+ }
+
+@@ -601,8 +608,8 @@ static int ioctl_g_ctrl(struct v4l2_int_device *s,
+ static int ioctl_queryctrl(struct v4l2_int_device *s,
+ struct v4l2_queryctrl *qc)
+ {
+- debug_dummy("debug_dummy -- query ctrl\n");
+- return-EINVAL;
++ debug_dummy("debug_dummy -- query ctrl\n");
++ return -EINVAL;
+ }
+
+ /**
+@@ -647,12 +654,11 @@ static int ioctl_g_ifparm(struct v4l2_int_device *s, struct v4l2_ifparm *p)
+ return rval;
+ }
+
+- p->u.ycbcr.clock_curr = 40*1000000; // temporal value
++ p->u.ycbcr.clock_curr = 40 * 1000000; /* temporal value */
+
+ return 0;
+ }
+
+-
+ static struct v4l2_int_ioctl_desc mt9t111_ioctl_desc[] = {
+ { .num = vidioc_int_enum_framesizes_num,
+ .func = (v4l2_int_ioctl_func *)ioctl_enum_framesizes },
+@@ -666,8 +672,8 @@ static struct v4l2_int_ioctl_desc mt9t111_ioctl_desc[] = {
+ .func = (v4l2_int_ioctl_func *)ioctl_s_power },
+ { .num = vidioc_int_g_priv_num,
+ .func = (v4l2_int_ioctl_func *)ioctl_g_priv },
+- {vidioc_int_g_ifparm_num,
+- .func = (v4l2_int_ioctl_func*) ioctl_g_ifparm},
++ { .num = vidioc_int_g_ifparm_num,
++ .func = (v4l2_int_ioctl_func *)ioctl_g_ifparm },
+ { .num = vidioc_int_init_num,
+ .func = (v4l2_int_ioctl_func *)ioctl_init },
+ { .num = vidioc_int_enum_fmt_cap_num,
+@@ -688,29 +694,30 @@ static struct v4l2_int_ioctl_desc mt9t111_ioctl_desc[] = {
+ .func = (v4l2_int_ioctl_func *)ioctl_g_ctrl },
+ { .num = vidioc_int_s_ctrl_num,
+ .func = (v4l2_int_ioctl_func *)ioctl_s_ctrl },
+- {.num = vidioc_int_s_video_routing_num,
+- .func = (v4l2_int_ioctl_func *) ioctl_s_routing},
++ { .num = vidioc_int_s_video_routing_num,
++ .func = (v4l2_int_ioctl_func *)ioctl_s_routing },
+ };
+
+-static void mt9t111_refresh(struct i2c_client *client){
+- int i;
+- unsigned short value;
+- // MCU_ADDRESS [SEQ_CMD] -- refresh
+- mt9t111_write_reg(client, 0x098E, 0x8400);
+- mt9t111_write_reg(client, 0x0990, 0x0006);
+- for (i=0;i<100;i++){
+- mt9t111_write_reg(client, 0x098E, 0x8400);
+- mt9t111_read_reg(client,0x0990,&value);
+- if ( value == 0)
+- break;
+- mdelay(5);
++static void mt9t111_refresh(struct i2c_client *client)
++{
++ int i;
++ unsigned short value;
++ /* MCU_ADDRESS [SEQ_CMD] -- refresh */
++ mt9t111_write_reg(client, 0x098E, 0x8400);
++ mt9t111_write_reg(client, 0x0990, 0x0006);
++ for (i = 0; i < 100; i++) {
++ mt9t111_write_reg(client, 0x098E, 0x8400);
++ mt9t111_read_reg(client, 0x0990, &value);
++ if (value == 0)
++ break;
++ mdelay(5);
+ }
+ }
+
+ #ifdef COLOR_BAR
+ static void mt9t111_color_bar(struct i2c_client *client)
+ {
+- mt9t111_write_reg(client, 0x3210, 0x01B0); // disable lens correction
++ mt9t111_write_reg(client, 0x3210, 0x01B0); /* disable lens correction */
+
+ mt9t111_write_reg(client, 0x098E, 0x6003);
+ mt9t111_write_reg(client, 0x0990, 0x0100);
+@@ -721,22 +728,25 @@ static void mt9t111_color_bar(struct i2c_client *client)
+
+ static void mt9t111_bayer_format(struct i2c_client *client)
+ {
+- mt9t111_write_regs(client, bayer_pattern_regs, sizeof(bayer_pattern_regs)/sizeof(mt9t111_regs));
++ mt9t111_write_regs(client, bayer_pattern_regs,
++ sizeof(bayer_pattern_regs) / sizeof(mt9t111_regs));
+ }
+
+ static void mt9t111_enable_pll(struct i2c_client *client)
+ {
+ int i;
+- unsigned short value;
++ unsigned short value;
+
+- mt9t111_write_regs(client, pll_regs1, sizeof(pll_regs1)/sizeof(mt9t111_regs));
+- for (i=0;i<100;i++){
+- mt9t111_read_reg(client,0x0014,&value);
+- if (( value & 0x8000) != 0)
++ mt9t111_write_regs(client, pll_regs1,
++ sizeof(pll_regs1) / sizeof(mt9t111_regs));
++ for (i = 0; i < 100; i++) {
++ mt9t111_read_reg(client, 0x0014, &value);
++ if ((value & 0x8000) != 0)
+ break;
+ mdelay(2);
+ }
+- mt9t111_write_regs(client, pll_regs2, sizeof(pll_regs2)/sizeof(mt9t111_regs));
++ mt9t111_write_regs(client, pll_regs2,
++ sizeof(pll_regs2) / sizeof(mt9t111_regs));
+ }
+
+
+@@ -746,9 +756,12 @@ static void mt9t111_loaddefault(struct i2c_client *client)
+ mt9t111_write_reg(client, 0x001A, 0x0218);
+
+ mt9t111_enable_pll(client);
+- mt9t111_write_regs(client, def_regs1, sizeof(def_regs1)/sizeof(mt9t111_regs));
+- mt9t111_write_regs(client, patch_rev6, sizeof(patch_rev6)/sizeof(mt9t111_regs));
+- mt9t111_write_regs(client, def_regs2, sizeof(def_regs2)/sizeof(mt9t111_regs));
++ mt9t111_write_regs(client, def_regs1,
++ sizeof(def_regs1) / sizeof(mt9t111_regs));
++ mt9t111_write_regs(client, patch_rev6,
++ sizeof(patch_rev6) / sizeof(mt9t111_regs));
++ mt9t111_write_regs(client, def_regs2,
++ sizeof(def_regs2) / sizeof(mt9t111_regs));
+
+ #ifdef USE_RAW
+ mt9t111_bayer_format(client);
+@@ -806,7 +819,7 @@ mt9t111_probe(struct i2c_client *client, const struct i2c_device_id *id)
+
+ sensor->pix.width = 640;
+ sensor->pix.height = 480;
+-#ifdef USE_RAW
++#ifdef USE_RAW
+ sensor->pix.pixelformat = V4L2_PIX_FMT_SGRBG10;
+ #else
+ sensor->pix.pixelformat = V4L2_PIX_FMT_YUYV;
+diff --git a/drivers/media/video/mt9t111_reg.h b/drivers/media/video/mt9t111_reg.h
+index e012eeb..e226c37 100644
+--- a/drivers/media/video/mt9t111_reg.h
++++ b/drivers/media/video/mt9t111_reg.h
+@@ -25,7 +25,7 @@ typedef struct {
+ u16 data;
+ } mt9t111_regs;
+
+-mt9t111_regs patch_rev6[] ={
++mt9t111_regs patch_rev6[] = {
+ {0, 0x0982, 0x0},
+ {0, 0x098A, 0xCE7},
+ {0, 0x0990, 0x3C3C},
+@@ -658,7 +658,7 @@ mt9t111_regs patch_rev6[] ={
+ {100, 0x0990, 0x0004}
+ };
+
+-mt9t111_regs def_regs1[] ={
++mt9t111_regs def_regs1[] = {
+ {0, 0x001A, 0x0218},
+ {0, 0x001E, 0x0777},
+ {0, 0x3084, 0x2409},
+@@ -1343,7 +1343,7 @@ mt9t111_regs pll_regs2[] = {
+ {0, 0x0014, 0x3046},
+ {0, 0x0022, 0x01E0},
+ {0, 0x001E, 0x0707},
+- {0, 0x3B84, 0x011D}
++ {0, 0x3B84, 0x011D}
+ };
+
+ mt9t111_regs bayer_pattern_regs[] = {
+diff --git a/include/media/mt9t111.h b/include/media/mt9t111.h
+index 7acbeed..0a5161a 100644
+--- a/include/media/mt9t111.h
++++ b/include/media/mt9t111.h
+@@ -40,7 +40,7 @@
+ #define MT9T111_I2C_UNREGISTERED (0)
+
+ /*i2c adress for MT9T111*/
+-#define MT9T111_I2C_ADDR (0x78 >>1)
++#define MT9T111_I2C_ADDR (0x78 >> 1)
+
+ #define MT9T111_CLK_MAX (75000000) /* 75MHz */
+ #define MT9T111_CLK_MIN (6000000) /* 6Mhz */
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0003-mt9t111-Pass-v4l2_int_device-data.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0003-mt9t111-Pass-v4l2_int_device-data.patch
new file mode 100644
index 0000000000..bf3d9c84a7
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0003-mt9t111-Pass-v4l2_int_device-data.patch
@@ -0,0 +1,40 @@
+From e8188ea4c58ddf1b7006703b9caca3554fec68d7 Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Fri, 11 Jun 2010 16:17:56 -0500
+Subject: [PATCH 03/28] mt9t111: Pass v4l2_int_device data
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ drivers/media/video/mt9t111.c | 2 +-
+ include/media/mt9t111.h | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/media/video/mt9t111.c b/drivers/media/video/mt9t111.c
+index 95e1508..6a7b2c0 100644
+--- a/drivers/media/video/mt9t111.c
++++ b/drivers/media/video/mt9t111.c
+@@ -371,7 +371,7 @@ static int ioctl_s_power(struct v4l2_int_device *s, enum v4l2_power on)
+ else
+ debug_dummy("debug_dummy -- enable clock\n");;
+
+- rval = sensor->pdata->power_set(on);
++ rval = sensor->pdata->power_set(s, on);
+ if (rval < 0) {
+ dev_err(&c->dev, "Unable to set the power state: " "mt9t111"
+ " sensor\n");
+diff --git a/include/media/mt9t111.h b/include/media/mt9t111.h
+index 0a5161a..aae3f99 100644
+--- a/include/media/mt9t111.h
++++ b/include/media/mt9t111.h
+@@ -56,7 +56,7 @@
+
+ struct mt9t111_platform_data {
+ char *master;
+- int (*power_set) (enum v4l2_power on);
++ int (*power_set) (struct v4l2_int_device *s, enum v4l2_power on);
+ int (*ifparm) (struct v4l2_ifparm *p);
+ int (*priv_data_set) (void *);
+ /* Interface control params */
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0004-omap3beagle-Add-camera-support.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0004-omap3beagle-Add-camera-support.patch
new file mode 100644
index 0000000000..a4fd1ecb79
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0004-omap3beagle-Add-camera-support.patch
@@ -0,0 +1,352 @@
+From 06ff02b8346c0ed77fabba84a1b984f53bfaecb6 Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Fri, 11 Jun 2010 16:15:58 -0500
+Subject: [PATCH 04/28] omap3beagle: Add camera support
+
+This is tested with the xM + Leopard imaging module camera, which
+has a MT9T111.
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ arch/arm/mach-omap2/Makefile | 3 +-
+ arch/arm/mach-omap2/board-omap3beagle-camera.c | 228 ++++++++++++++++++++++++
+ arch/arm/mach-omap2/board-omap3beagle-camera.h | 41 +++++
+ arch/arm/mach-omap2/board-omap3beagle.c | 25 +++
+ 4 files changed, 296 insertions(+), 1 deletions(-)
+ create mode 100644 arch/arm/mach-omap2/board-omap3beagle-camera.c
+ create mode 100644 arch/arm/mach-omap2/board-omap3beagle-camera.h
+
+diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
+index fa01859..4d9dcdd 100644
+--- a/arch/arm/mach-omap2/Makefile
++++ b/arch/arm/mach-omap2/Makefile
+@@ -87,7 +87,8 @@ obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o \
+ mmc-twl4030.o
+ obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o
+ obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o \
+- mmc-twl4030.o
++ mmc-twl4030.o \
++ board-omap3beagle-camera.o
+ obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o \
+ mmc-twl4030.o \
+ board-ldp-camera.o
+diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+new file mode 100644
+index 0000000..e93437f
+--- /dev/null
++++ b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+@@ -0,0 +1,228 @@
++/*
++ * Driver for Leopard Module Board used in Beagleboard (xM)
++ *
++ * Copyright (C) 2010 Texas Instruments Inc
++ * Author: Sergio Aguirre <saaguirre@ti.com>
++ *
++ * Based on work done by:
++ * Vaibhav Hiremath <hvaibhav@ti.com>
++ * Anuj Aggarwal <anuj.aggarwal@ti.com>
++ * Sivaraj R <sivaraj@ti.com>
++ *
++ * This package is free software; you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License version 2 as
++ * published by the Free Software Foundation.
++ *
++ * This program is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU General Public License for more details.
++ *
++ * You should have received a copy of the GNU General Public License
++ * along with this program; if not, write to the Free Software
++ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++ */
++
++#include <linux/init.h>
++#include <linux/i2c.h>
++#include <linux/gpio.h>
++#include <linux/mm.h>
++#include <linux/videodev2.h>
++#include <linux/i2c/twl.h>
++#include <linux/delay.h>
++
++#include <plat/mux.h>
++#include <plat/board.h>
++
++#include <media/v4l2-int-device.h>
++#include <media/mt9t111.h>
++
++/* Include V4L2 ISP-Camera driver related header file */
++#include <../drivers/media/video/omap34xxcam.h>
++#include <../drivers/media/video/isp/ispreg.h>
++
++#include "mux.h"
++#include "board-omap3beagle-camera.h"
++
++#define MODULE_NAME "omap3beaglelmb"
++
++#define MT9T111_I2C_BUSNUM (2)
++
++#define CAM_USE_XCLKA 1
++
++#if defined(CONFIG_VIDEO_MT9T111) || defined(CONFIG_VIDEO_MT9T111_MODULE)
++static struct isp_interface_config mt9t111_if_config = {
++ .ccdc_par_ser = ISP_PARLL,
++ .dataline_shift = 0x0,
++ .hsvs_syncdetect = ISPCTRL_SYNC_DETECT_VSRISE,
++ .strobe = 0x0,
++ .prestrobe = 0x0,
++ .shutter = 0x0,
++ .u.par.par_bridge = 0x1,
++ .u.par.par_clk_pol = 0x0,
++};
++
++static struct v4l2_ifparm mt9t111_ifparm_s = {
++#if 1
++ .if_type = V4L2_IF_TYPE_RAW,
++ .u = {
++ .raw = {
++ .frame_start_on_rising_vs = 1,
++ .bt_sync_correct = 0,
++ .swap = 0,
++ .latch_clk_inv = 0,
++ .nobt_hs_inv = 0, /* active high */
++ .nobt_vs_inv = 0, /* active high */
++ .clock_min = MT9T111_CLK_MIN,
++ .clock_max = MT9T111_CLK_MAX,
++ },
++ },
++#else
++ .if_type = V4L2_IF_TYPE_YCbCr,
++ .u = {
++ .ycbcr = {
++ .frame_start_on_rising_vs = 1,
++ .bt_sync_correct = 0,
++ .swap = 0,
++ .latch_clk_inv = 0,
++ .nobt_hs_inv = 0, /* active high */
++ .nobt_vs_inv = 0, /* active high */
++ .clock_min = MT9T111_CLK_MIN,
++ .clock_max = MT9T111_CLK_MAX,
++ },
++ },
++#endif
++};
++
++/**
++ * @brief mt9t111_ifparm - Returns the mt9t111 interface parameters
++ *
++ * @param p - pointer to v4l2_ifparm structure
++ *
++ * @return result of operation - 0 is success
++ */
++static int mt9t111_ifparm(struct v4l2_ifparm *p)
++{
++ if (p == NULL)
++ return -EINVAL;
++
++ *p = mt9t111_ifparm_s;
++ return 0;
++}
++
++#if defined(CONFIG_VIDEO_OMAP3) || defined(CONFIG_VIDEO_OMAP3_MODULE)
++static struct omap34xxcam_hw_config mt9t111_hwc = {
++ .dev_index = 0,
++ .dev_minor = 0,
++ .dev_type = OMAP34XXCAM_SLAVE_SENSOR,
++ .u.sensor.sensor_isp = 1,
++};
++#endif
++
++/**
++ * @brief mt9t111_set_prv_data - Returns mt9t111 omap34xx driver private data
++ *
++ * @param priv - pointer to omap34xxcam_hw_config structure
++ *
++ * @return result of operation - 0 is success
++ */
++static int mt9t111_set_prv_data(void *priv)
++{
++#if defined(CONFIG_VIDEO_OMAP3) || defined(CONFIG_VIDEO_OMAP3_MODULE)
++ struct omap34xxcam_hw_config *hwc = priv;
++
++ if (priv == NULL)
++ return -EINVAL;
++
++ hwc->u.sensor = mt9t111_hwc.u.sensor;
++ hwc->dev_index = mt9t111_hwc.dev_index;
++ hwc->dev_minor = mt9t111_hwc.dev_minor;
++ hwc->dev_type = mt9t111_hwc.dev_type;
++ return 0;
++#else
++ return -EINVAL;
++#endif
++}
++
++/**
++ * @brief mt9t111_power_set - Power-on or power-off TVP5146 device
++ *
++ * @param power - enum, Power on/off, resume/standby
++ *
++ * @return result of operation - 0 is success
++ */
++static int mt9t111_power_set(struct v4l2_int_device *s, enum v4l2_power power)
++{
++ struct omap34xxcam_videodev *vdev = s->u.slave->master->priv;
++
++ switch (power) {
++ case V4L2_POWER_OFF:
++ isp_set_xclk(vdev->cam->isp, 0, CAM_USE_XCLKA);
++ break;
++
++ case V4L2_POWER_STANDBY:
++ break;
++
++ case V4L2_POWER_ON:
++ isp_set_xclk(vdev->cam->isp, MT9T111_CLK_MIN, CAM_USE_XCLKA);
++
++#if defined(CONFIG_VIDEO_OMAP3) || defined(CONFIG_VIDEO_OMAP3_MODULE)
++ isp_configure_interface(vdev->cam->isp, &mt9t111_if_config);
++#endif
++ break;
++
++ default:
++ return -ENODEV;
++ break;
++ }
++ return 0;
++}
++
++static struct mt9t111_platform_data mt9t111_pdata = {
++ .master = "omap34xxcam",
++ .power_set = mt9t111_power_set,
++ .priv_data_set = mt9t111_set_prv_data,
++ .ifparm = mt9t111_ifparm,
++ /* Some interface dependent params */
++ .clk_polarity = 0, /* data clocked out on falling edge */
++ .hs_polarity = 1, /* 0 - Active low, 1- Active high */
++ .vs_polarity = 1, /* 0 - Active low, 1- Active high */
++};
++
++static struct i2c_board_info __initdata mt9t111_i2c_board_info = {
++ I2C_BOARD_INFO("mt9t111", MT9T111_I2C_ADDR),
++ .platform_data = &mt9t111_pdata,
++};
++
++#endif /* #ifdef CONFIG_VIDEO_MT9T111 */
++
++/**
++ * @brief omap3beaglelmb_init - module init function. Should be called before any
++ * client driver init call
++ *
++ * @return result of operation - 0 is success
++ */
++int __init omap3beaglelmb_init(void)
++{
++ int err;
++
++ /*
++ * Register the I2C devices present in the board to the I2C
++ * framework.
++ * If more I2C devices are added, then each device information should
++ * be registered with I2C using i2c_register_board_info().
++ */
++#if defined(CONFIG_VIDEO_MT9T111) || defined(CONFIG_VIDEO_MT9T111_MODULE)
++ err = i2c_register_board_info(MT9T111_I2C_BUSNUM,
++ &mt9t111_i2c_board_info, 1);
++ if (err) {
++ printk(KERN_ERR MODULE_NAME \
++ ": MT9T111 I2C Board Registration failed \n");
++ return err;
++ }
++#endif
++ printk(KERN_INFO MODULE_NAME ": Driver registration complete \n");
++
++ return 0;
++}
++arch_initcall(omap3beaglelmb_init);
+diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.h b/arch/arm/mach-omap2/board-omap3beagle-camera.h
+new file mode 100644
+index 0000000..1026aeb
+--- /dev/null
++++ b/arch/arm/mach-omap2/board-omap3beagle-camera.h
+@@ -0,0 +1,41 @@
++/*
++ * Copyright (C) 2010 Texas Instruments Inc
++ * Author: Sergio Aguirre <saaguirre@ti.com>
++ *
++ * Based on work done by:
++ * Vaibhav Hiremath <hvaibhav@ti.com>
++ * Anuj Aggarwal <anuj.aggarwal@ti.com>
++ * Sivaraj R <sivaraj@ti.com>
++ *
++ * This package is free software; you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License version 2 as
++ * published by the Free Software Foundation.
++ *
++ * This program is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU General Public License for more details.
++ *
++ * You should have received a copy of the GNU General Public License
++ * along with this program; if not, write to the Free Software
++ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++ */
++
++#ifndef __BOARD_OMAP3BEAGLE_LMB_H_
++#define __BOARD_OMAP3BEAGLE_LMB_H_
++
++/* mux id to enable/disable signal routing to different peripherals */
++enum omap3beaglelmb_mux {
++ MUX_TVP5146 = 0,
++ MUX_CAMERA_SENSOR,
++ MUX_EXP_CAMERA_SENSOR,
++ NUM_MUX
++};
++
++/* enum to enable or disable mux */
++enum config_mux {
++ DISABLE_MUX,
++ ENABLE_MUX
++};
++
++#endif /* __BOARD_OMAP3BEAGLE_LMB_H_ */
+diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
+index b313350..d6b69a6 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle.c
++++ b/arch/arm/mach-omap2/board-omap3beagle.c
+@@ -712,6 +712,31 @@ static struct ehci_hcd_omap_platform_data ehci_pdata __initdata = {
+
+ #ifdef CONFIG_OMAP_MUX
+ static struct omap_board_mux board_mux[] __initdata = {
++ /* Camera - Parallel Data */
++ OMAP3_MUX(CAM_D0, OMAP_MUX_MODE0 | OMAP_PIN_INPUT),
++ OMAP3_MUX(CAM_D1, OMAP_MUX_MODE0 | OMAP_PIN_INPUT),
++ OMAP3_MUX(CAM_D2, OMAP_MUX_MODE0 | OMAP_PIN_INPUT),
++ OMAP3_MUX(CAM_D3, OMAP_MUX_MODE0 | OMAP_PIN_INPUT),
++ OMAP3_MUX(CAM_D4, OMAP_MUX_MODE0 | OMAP_PIN_INPUT),
++ OMAP3_MUX(CAM_D5, OMAP_MUX_MODE0 | OMAP_PIN_INPUT),
++ OMAP3_MUX(CAM_D6, OMAP_MUX_MODE0 | OMAP_PIN_INPUT),
++ OMAP3_MUX(CAM_D7, OMAP_MUX_MODE0 | OMAP_PIN_INPUT),
++ OMAP3_MUX(CAM_D8, OMAP_MUX_MODE0 | OMAP_PIN_INPUT),
++ OMAP3_MUX(CAM_D9, OMAP_MUX_MODE0 | OMAP_PIN_INPUT),
++ OMAP3_MUX(CAM_D10, OMAP_MUX_MODE0 | OMAP_PIN_INPUT),
++ OMAP3_MUX(CAM_D11, OMAP_MUX_MODE0 | OMAP_PIN_INPUT),
++ OMAP3_MUX(CAM_PCLK, OMAP_MUX_MODE0 | OMAP_PIN_INPUT),
++
++ /* Camera - HS/VS signals */
++ OMAP3_MUX(CAM_HS, OMAP_MUX_MODE0 | OMAP_PIN_INPUT),
++ OMAP3_MUX(CAM_VS, OMAP_MUX_MODE0 | OMAP_PIN_INPUT),
++
++ /* Camera - Reset GPIO 98 */
++ OMAP3_MUX(CAM_FLD, OMAP_MUX_MODE4 | OMAP_PIN_OUTPUT),
++
++ /* Camera - XCLK */
++ OMAP3_MUX(CAM_XCLKA, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT),
++
+ { .reg_offset = OMAP_MUX_TERMINATOR },
+ };
+ #else
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0005-TEMP-omap3beagle-camera-Add-defconfig.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0005-TEMP-omap3beagle-camera-Add-defconfig.patch
new file mode 100644
index 0000000000..d30a21a0b8
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0005-TEMP-omap3beagle-camera-Add-defconfig.patch
@@ -0,0 +1,3070 @@
+From e09768af6603baf2c692567f8651576152f021fe Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Fri, 11 Jun 2010 16:18:30 -0500
+Subject: [PATCH 05/28] TEMP: omap3beagle: camera: Add defconfig
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ arch/arm/configs/omap3_beagle_cam_defconfig | 3050 +++++++++++++++++++++++++++
+ 1 files changed, 3050 insertions(+), 0 deletions(-)
+ create mode 100644 arch/arm/configs/omap3_beagle_cam_defconfig
+
+diff --git a/arch/arm/configs/omap3_beagle_cam_defconfig b/arch/arm/configs/omap3_beagle_cam_defconfig
+new file mode 100644
+index 0000000..0ea8300
+--- /dev/null
++++ b/arch/arm/configs/omap3_beagle_cam_defconfig
+@@ -0,0 +1,3050 @@
++#
++# Automatically generated make config: don't edit
++# Linux kernel version: 2.6.32
++# Fri Jun 11 14:25:23 2010
++#
++CONFIG_ARM=y
++CONFIG_SYS_SUPPORTS_APM_EMULATION=y
++CONFIG_GENERIC_GPIO=y
++CONFIG_GENERIC_TIME=y
++CONFIG_GENERIC_CLOCKEVENTS=y
++CONFIG_GENERIC_HARDIRQS=y
++CONFIG_STACKTRACE_SUPPORT=y
++CONFIG_HAVE_LATENCYTOP_SUPPORT=y
++CONFIG_LOCKDEP_SUPPORT=y
++CONFIG_TRACE_IRQFLAGS_SUPPORT=y
++CONFIG_HARDIRQS_SW_RESEND=y
++CONFIG_GENERIC_IRQ_PROBE=y
++CONFIG_RWSEM_GENERIC_SPINLOCK=y
++CONFIG_ARCH_HAS_CPUFREQ=y
++CONFIG_GENERIC_HWEIGHT=y
++CONFIG_GENERIC_CALIBRATE_DELAY=y
++CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
++CONFIG_OPROFILE_ARMV7=y
++CONFIG_VECTORS_BASE=0xffff0000
++CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
++CONFIG_CONSTRUCTORS=y
++
++#
++# General setup
++#
++CONFIG_EXPERIMENTAL=y
++CONFIG_BROKEN_ON_SMP=y
++CONFIG_LOCK_KERNEL=y
++CONFIG_INIT_ENV_ARG_LIMIT=32
++CONFIG_LOCALVERSION=""
++# CONFIG_LOCALVERSION_AUTO is not set
++CONFIG_SWAP=y
++CONFIG_SYSVIPC=y
++CONFIG_SYSVIPC_SYSCTL=y
++# CONFIG_POSIX_MQUEUE is not set
++CONFIG_BSD_PROCESS_ACCT=y
++# CONFIG_BSD_PROCESS_ACCT_V3 is not set
++CONFIG_TASKSTATS=y
++CONFIG_TASK_DELAY_ACCT=y
++CONFIG_TASK_XACCT=y
++CONFIG_TASK_IO_ACCOUNTING=y
++# CONFIG_AUDIT is not set
++
++#
++# RCU Subsystem
++#
++CONFIG_TREE_RCU=y
++# CONFIG_TREE_PREEMPT_RCU is not set
++# CONFIG_TINY_RCU is not set
++# CONFIG_RCU_TRACE is not set
++CONFIG_RCU_FANOUT=32
++# CONFIG_RCU_FANOUT_EXACT is not set
++# CONFIG_TREE_RCU_TRACE is not set
++CONFIG_IKCONFIG=y
++CONFIG_IKCONFIG_PROC=y
++CONFIG_LOG_BUF_SHIFT=16
++CONFIG_GROUP_SCHED=y
++CONFIG_FAIR_GROUP_SCHED=y
++# CONFIG_RT_GROUP_SCHED is not set
++CONFIG_USER_SCHED=y
++# CONFIG_CGROUP_SCHED is not set
++# CONFIG_CGROUPS is not set
++# CONFIG_SYSFS_DEPRECATED_V2 is not set
++# CONFIG_RELAY is not set
++# CONFIG_NAMESPACES is not set
++CONFIG_BLK_DEV_INITRD=y
++CONFIG_INITRAMFS_SOURCE=""
++CONFIG_RD_GZIP=y
++# CONFIG_RD_BZIP2 is not set
++# CONFIG_RD_LZMA is not set
++CONFIG_CC_OPTIMIZE_FOR_SIZE=y
++CONFIG_SYSCTL=y
++CONFIG_ANON_INODES=y
++CONFIG_EMBEDDED=y
++CONFIG_UID16=y
++# CONFIG_SYSCTL_SYSCALL is not set
++CONFIG_KALLSYMS=y
++# CONFIG_KALLSYMS_ALL is not set
++# CONFIG_KALLSYMS_EXTRA_PASS is not set
++CONFIG_HOTPLUG=y
++CONFIG_PRINTK=y
++CONFIG_BUG=y
++# CONFIG_ELF_CORE is not set
++CONFIG_BASE_FULL=y
++CONFIG_FUTEX=y
++CONFIG_EPOLL=y
++CONFIG_SIGNALFD=y
++CONFIG_TIMERFD=y
++CONFIG_EVENTFD=y
++CONFIG_SHMEM=y
++CONFIG_AIO=y
++
++#
++# Kernel Performance Events And Counters
++#
++CONFIG_VM_EVENT_COUNTERS=y
++# CONFIG_COMPAT_BRK is not set
++CONFIG_SLAB=y
++# CONFIG_SLUB is not set
++# CONFIG_SLOB is not set
++CONFIG_PROFILING=y
++CONFIG_TRACEPOINTS=y
++CONFIG_OPROFILE=y
++CONFIG_HAVE_OPROFILE=y
++# CONFIG_KPROBES is not set
++CONFIG_HAVE_KPROBES=y
++CONFIG_HAVE_KRETPROBES=y
++CONFIG_HAVE_CLK=y
++
++#
++# GCOV-based kernel profiling
++#
++# CONFIG_GCOV_KERNEL is not set
++CONFIG_SLOW_WORK=y
++# CONFIG_SLOW_WORK_DEBUG is not set
++CONFIG_HAVE_GENERIC_DMA_COHERENT=y
++CONFIG_SLABINFO=y
++CONFIG_RT_MUTEXES=y
++CONFIG_BASE_SMALL=0
++CONFIG_MODULES=y
++CONFIG_MODULE_FORCE_LOAD=y
++CONFIG_MODULE_UNLOAD=y
++CONFIG_MODULE_FORCE_UNLOAD=y
++CONFIG_MODVERSIONS=y
++CONFIG_MODULE_SRCVERSION_ALL=y
++CONFIG_BLOCK=y
++CONFIG_LBDAF=y
++CONFIG_BLK_DEV_BSG=y
++# CONFIG_BLK_DEV_INTEGRITY is not set
++
++#
++# IO Schedulers
++#
++CONFIG_IOSCHED_NOOP=y
++CONFIG_IOSCHED_DEADLINE=y
++CONFIG_IOSCHED_CFQ=y
++# CONFIG_DEFAULT_DEADLINE is not set
++CONFIG_DEFAULT_CFQ=y
++# CONFIG_DEFAULT_NOOP is not set
++CONFIG_DEFAULT_IOSCHED="cfq"
++# CONFIG_INLINE_SPIN_TRYLOCK is not set
++# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set
++# CONFIG_INLINE_SPIN_LOCK is not set
++# CONFIG_INLINE_SPIN_LOCK_BH is not set
++# CONFIG_INLINE_SPIN_LOCK_IRQ is not set
++# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set
++# CONFIG_INLINE_SPIN_UNLOCK is not set
++# CONFIG_INLINE_SPIN_UNLOCK_BH is not set
++# CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set
++# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set
++# CONFIG_INLINE_READ_TRYLOCK is not set
++# CONFIG_INLINE_READ_LOCK is not set
++# CONFIG_INLINE_READ_LOCK_BH is not set
++# CONFIG_INLINE_READ_LOCK_IRQ is not set
++# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set
++# CONFIG_INLINE_READ_UNLOCK is not set
++# CONFIG_INLINE_READ_UNLOCK_BH is not set
++# CONFIG_INLINE_READ_UNLOCK_IRQ is not set
++# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set
++# CONFIG_INLINE_WRITE_TRYLOCK is not set
++# CONFIG_INLINE_WRITE_LOCK is not set
++# CONFIG_INLINE_WRITE_LOCK_BH is not set
++# CONFIG_INLINE_WRITE_LOCK_IRQ is not set
++# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set
++# CONFIG_INLINE_WRITE_UNLOCK is not set
++# CONFIG_INLINE_WRITE_UNLOCK_BH is not set
++# CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set
++# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set
++# CONFIG_MUTEX_SPIN_ON_OWNER is not set
++CONFIG_FREEZER=y
++
++#
++# System Type
++#
++CONFIG_MMU=y
++# CONFIG_ARCH_AAEC2000 is not set
++# CONFIG_ARCH_INTEGRATOR is not set
++# CONFIG_ARCH_REALVIEW is not set
++# CONFIG_ARCH_VERSATILE is not set
++# CONFIG_ARCH_AT91 is not set
++# CONFIG_ARCH_CLPS711X is not set
++# CONFIG_ARCH_GEMINI is not set
++# CONFIG_ARCH_EBSA110 is not set
++# CONFIG_ARCH_EP93XX is not set
++# CONFIG_ARCH_FOOTBRIDGE is not set
++# CONFIG_ARCH_MXC is not set
++# CONFIG_ARCH_STMP3XXX is not set
++# CONFIG_ARCH_NETX is not set
++# CONFIG_ARCH_H720X is not set
++# CONFIG_ARCH_NOMADIK is not set
++# CONFIG_ARCH_IOP13XX is not set
++# CONFIG_ARCH_IOP32X is not set
++# CONFIG_ARCH_IOP33X is not set
++# CONFIG_ARCH_IXP23XX is not set
++# CONFIG_ARCH_IXP2000 is not set
++# CONFIG_ARCH_IXP4XX is not set
++# CONFIG_ARCH_L7200 is not set
++# CONFIG_ARCH_DOVE is not set
++# CONFIG_ARCH_KIRKWOOD is not set
++# CONFIG_ARCH_LOKI is not set
++# CONFIG_ARCH_MV78XX0 is not set
++# CONFIG_ARCH_ORION5X is not set
++# CONFIG_ARCH_MMP is not set
++# CONFIG_ARCH_KS8695 is not set
++# CONFIG_ARCH_NS9XXX is not set
++# CONFIG_ARCH_W90X900 is not set
++# CONFIG_ARCH_PNX4008 is not set
++# CONFIG_ARCH_PXA is not set
++# CONFIG_ARCH_MSM is not set
++# CONFIG_ARCH_RPC is not set
++# CONFIG_ARCH_SA1100 is not set
++# CONFIG_ARCH_S3C2410 is not set
++# CONFIG_ARCH_S3C64XX is not set
++# CONFIG_ARCH_S5PC1XX is not set
++# CONFIG_ARCH_SHARK is not set
++# CONFIG_ARCH_LH7A40X is not set
++# CONFIG_ARCH_U300 is not set
++# CONFIG_ARCH_DAVINCI is not set
++CONFIG_ARCH_OMAP=y
++# CONFIG_ARCH_BCMRING is not set
++# CONFIG_ARCH_U8500 is not set
++
++#
++# TI OMAP Implementations
++#
++CONFIG_ARCH_OMAP_OTG=y
++# CONFIG_ARCH_OMAP1 is not set
++# CONFIG_ARCH_OMAP2 is not set
++CONFIG_ARCH_OMAP3=y
++# CONFIG_ARCH_OMAP4 is not set
++
++#
++# OMAP Feature Selections
++#
++CONFIG_OMAP_SMARTREFLEX=y
++# CONFIG_OMAP_SMARTREFLEX_TESTING is not set
++CONFIG_OMAP_RESET_CLOCKS=y
++# CONFIG_OMAP_MUX is not set
++CONFIG_OMAP_MCBSP=y
++CONFIG_OMAP_MBOX_FWK=m
++CONFIG_OMAP_IOMMU=y
++# CONFIG_OMAP_MPU_TIMER is not set
++CONFIG_OMAP_32K_TIMER=y
++# CONFIG_OMAP3_L2_AUX_SECURE_SAVE_RESTORE is not set
++# CONFIG_OMAP3_DEBOBS is not set
++CONFIG_OMAP_32K_TIMER_HZ=128
++CONFIG_OMAP_DM_TIMER=y
++# CONFIG_OMAP_LL_DEBUG_UART1 is not set
++# CONFIG_OMAP_LL_DEBUG_UART2 is not set
++CONFIG_OMAP_LL_DEBUG_UART3=y
++# CONFIG_OMAP_LL_DEBUG_NONE is not set
++# CONFIG_OMAP_PM_NONE is not set
++# CONFIG_OMAP_PM_NOOP is not set
++CONFIG_OMAP_PM_SRF=y
++CONFIG_ARCH_OMAP34XX=y
++CONFIG_ARCH_OMAP3430=y
++CONFIG_OMAP_PACKAGE_CBB=y
++
++#
++# OMAP Board Type
++#
++CONFIG_MACH_OMAP3_BEAGLE=y
++# CONFIG_MACH_OMAP_LDP is not set
++# CONFIG_MACH_OVERO is not set
++CONFIG_MACH_OMAP3EVM=y
++CONFIG_PMIC_TWL4030=y
++# CONFIG_MACH_OMAP3517EVM is not set
++# CONFIG_MACH_OMAP3_PANDORA is not set
++# CONFIG_MACH_OMAP3_TOUCHBOOK is not set
++# CONFIG_MACH_OMAP_3430SDP is not set
++# CONFIG_MACH_NOKIA_RX51 is not set
++# CONFIG_MACH_OMAP_ZOOM2 is not set
++# CONFIG_MACH_OMAP_ZOOM3 is not set
++# CONFIG_MACH_CM_T35 is not set
++# CONFIG_MACH_IGEP0020 is not set
++# CONFIG_MACH_OMAP_3630SDP is not set
++# CONFIG_OMAP3_EMU is not set
++# CONFIG_OMAP3_SDRC_AC_TIMING is not set
++
++#
++# Processor Type
++#
++CONFIG_CPU_32=y
++CONFIG_CPU_32v6K=y
++CONFIG_CPU_V7=y
++CONFIG_CPU_32v7=y
++CONFIG_CPU_ABRT_EV7=y
++CONFIG_CPU_PABRT_V7=y
++CONFIG_CPU_CACHE_V7=y
++CONFIG_CPU_CACHE_VIPT=y
++CONFIG_CPU_COPY_V6=y
++CONFIG_CPU_TLB_V7=y
++CONFIG_CPU_HAS_ASID=y
++CONFIG_CPU_CP15=y
++CONFIG_CPU_CP15_MMU=y
++
++#
++# Processor Features
++#
++CONFIG_ARM_THUMB=y
++CONFIG_ARM_THUMBEE=y
++# CONFIG_CPU_ICACHE_DISABLE is not set
++# CONFIG_CPU_DCACHE_DISABLE is not set
++# CONFIG_CPU_BPREDICT_DISABLE is not set
++CONFIG_HAS_TLS_REG=y
++CONFIG_ARM_L1_CACHE_SHIFT=6
++CONFIG_USER_L2_PLE=y
++CONFIG_USER_PMON=y
++# CONFIG_ARM_ERRATA_430973 is not set
++# CONFIG_ARM_ERRATA_458693 is not set
++# CONFIG_ARM_ERRATA_460075 is not set
++CONFIG_COMMON_CLKDEV=y
++
++#
++# Bus support
++#
++# CONFIG_PCI_SYSCALL is not set
++# CONFIG_ARCH_SUPPORTS_MSI is not set
++# CONFIG_PCCARD is not set
++
++#
++# Kernel Features
++#
++CONFIG_TICK_ONESHOT=y
++CONFIG_NO_HZ=y
++CONFIG_HIGH_RES_TIMERS=y
++CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
++CONFIG_VMSPLIT_3G=y
++# CONFIG_VMSPLIT_2G is not set
++# CONFIG_VMSPLIT_1G is not set
++CONFIG_PAGE_OFFSET=0xC0000000
++# CONFIG_PREEMPT_NONE is not set
++# CONFIG_PREEMPT_VOLUNTARY is not set
++CONFIG_PREEMPT=y
++CONFIG_HZ=128
++# CONFIG_THUMB2_KERNEL is not set
++CONFIG_AEABI=y
++# CONFIG_OABI_COMPAT is not set
++CONFIG_ARCH_HAS_HOLES_MEMORYMODEL=y
++# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
++# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
++# CONFIG_HIGHMEM is not set
++CONFIG_SELECT_MEMORY_MODEL=y
++CONFIG_FLATMEM_MANUAL=y
++# CONFIG_DISCONTIGMEM_MANUAL is not set
++# CONFIG_SPARSEMEM_MANUAL is not set
++CONFIG_FLATMEM=y
++CONFIG_FLAT_NODE_MEM_MAP=y
++CONFIG_PAGEFLAGS_EXTENDED=y
++CONFIG_SPLIT_PTLOCK_CPUS=4
++# CONFIG_PHYS_ADDR_T_64BIT is not set
++CONFIG_ZONE_DMA_FLAG=0
++CONFIG_VIRT_TO_BUS=y
++# CONFIG_KSM is not set
++CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
++CONFIG_LEDS=y
++CONFIG_ALIGNMENT_TRAP=y
++# CONFIG_UACCESS_WITH_MEMCPY is not set
++CONFIG_CPU_V7_SYSFS=y
++
++#
++# Boot options
++#
++CONFIG_ZBOOT_ROM_TEXT=0x0
++CONFIG_ZBOOT_ROM_BSS=0x0
++CONFIG_CMDLINE=" debug "
++# CONFIG_XIP_KERNEL is not set
++CONFIG_KEXEC=y
++CONFIG_ATAGS_PROC=y
++
++#
++# CPU Power Management
++#
++CONFIG_CPU_FREQ=y
++CONFIG_CPU_FREQ_TABLE=y
++CONFIG_CPU_FREQ_DEBUG=y
++CONFIG_CPU_FREQ_STAT=y
++CONFIG_CPU_FREQ_STAT_DETAILS=y
++CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
++# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
++# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
++# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
++# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
++CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
++CONFIG_CPU_FREQ_GOV_POWERSAVE=y
++CONFIG_CPU_FREQ_GOV_USERSPACE=y
++CONFIG_CPU_FREQ_GOV_ONDEMAND=y
++CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
++# CONFIG_CPU_IDLE is not set
++
++#
++# Floating point emulation
++#
++
++#
++# At least one emulation must be selected
++#
++CONFIG_VFP=y
++CONFIG_VFPv3=y
++CONFIG_NEON=y
++
++#
++# Userspace binary formats
++#
++CONFIG_BINFMT_ELF=y
++CONFIG_HAVE_AOUT=y
++CONFIG_BINFMT_AOUT=m
++CONFIG_BINFMT_MISC=y
++
++#
++# Power management options
++#
++CONFIG_PM=y
++CONFIG_PM_DEBUG=y
++# CONFIG_PM_VERBOSE is not set
++CONFIG_CAN_PM_TRACE=y
++CONFIG_PM_SLEEP=y
++CONFIG_SUSPEND=y
++CONFIG_SUSPEND_FREEZER=y
++# CONFIG_APM_EMULATION is not set
++CONFIG_PM_RUNTIME=y
++CONFIG_ARCH_SUSPEND_POSSIBLE=y
++CONFIG_NET=y
++
++#
++# Networking options
++#
++CONFIG_PACKET=y
++CONFIG_PACKET_MMAP=y
++CONFIG_UNIX=y
++CONFIG_XFRM=y
++# CONFIG_XFRM_USER is not set
++# CONFIG_XFRM_SUB_POLICY is not set
++# CONFIG_XFRM_MIGRATE is not set
++# CONFIG_XFRM_STATISTICS is not set
++CONFIG_XFRM_IPCOMP=m
++CONFIG_NET_KEY=y
++# CONFIG_NET_KEY_MIGRATE is not set
++CONFIG_INET=y
++# CONFIG_IP_MULTICAST is not set
++# CONFIG_IP_ADVANCED_ROUTER is not set
++CONFIG_IP_FIB_HASH=y
++CONFIG_IP_PNP=y
++CONFIG_IP_PNP_DHCP=y
++CONFIG_IP_PNP_BOOTP=y
++CONFIG_IP_PNP_RARP=y
++CONFIG_NET_IPIP=m
++CONFIG_NET_IPGRE=m
++# CONFIG_ARPD is not set
++# CONFIG_SYN_COOKIES is not set
++CONFIG_INET_AH=m
++CONFIG_INET_ESP=m
++CONFIG_INET_IPCOMP=m
++CONFIG_INET_XFRM_TUNNEL=m
++CONFIG_INET_TUNNEL=m
++CONFIG_INET_XFRM_MODE_TRANSPORT=y
++CONFIG_INET_XFRM_MODE_TUNNEL=y
++CONFIG_INET_XFRM_MODE_BEET=y
++CONFIG_INET_LRO=y
++CONFIG_INET_DIAG=m
++CONFIG_INET_TCP_DIAG=m
++CONFIG_TCP_CONG_ADVANCED=y
++CONFIG_TCP_CONG_BIC=m
++CONFIG_TCP_CONG_CUBIC=y
++CONFIG_TCP_CONG_WESTWOOD=m
++CONFIG_TCP_CONG_HTCP=m
++CONFIG_TCP_CONG_HSTCP=m
++CONFIG_TCP_CONG_HYBLA=m
++CONFIG_TCP_CONG_VEGAS=m
++CONFIG_TCP_CONG_SCALABLE=m
++CONFIG_TCP_CONG_LP=m
++CONFIG_TCP_CONG_VENO=m
++CONFIG_TCP_CONG_YEAH=m
++CONFIG_TCP_CONG_ILLINOIS=m
++# CONFIG_DEFAULT_BIC is not set
++CONFIG_DEFAULT_CUBIC=y
++# CONFIG_DEFAULT_HTCP is not set
++# CONFIG_DEFAULT_VEGAS is not set
++# CONFIG_DEFAULT_WESTWOOD is not set
++# CONFIG_DEFAULT_RENO is not set
++CONFIG_DEFAULT_TCP_CONG="cubic"
++# CONFIG_TCP_MD5SIG is not set
++CONFIG_IPV6=m
++# CONFIG_IPV6_PRIVACY is not set
++# CONFIG_IPV6_ROUTER_PREF is not set
++# CONFIG_IPV6_OPTIMISTIC_DAD is not set
++CONFIG_INET6_AH=m
++CONFIG_INET6_ESP=m
++CONFIG_INET6_IPCOMP=m
++CONFIG_IPV6_MIP6=m
++CONFIG_INET6_XFRM_TUNNEL=m
++CONFIG_INET6_TUNNEL=m
++CONFIG_INET6_XFRM_MODE_TRANSPORT=m
++CONFIG_INET6_XFRM_MODE_TUNNEL=m
++CONFIG_INET6_XFRM_MODE_BEET=m
++CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=m
++CONFIG_IPV6_SIT=m
++# CONFIG_IPV6_SIT_6RD is not set
++CONFIG_IPV6_NDISC_NODETYPE=y
++CONFIG_IPV6_TUNNEL=m
++CONFIG_IPV6_MULTIPLE_TABLES=y
++CONFIG_IPV6_SUBTREES=y
++CONFIG_IPV6_MROUTE=y
++# CONFIG_IPV6_PIMSM_V2 is not set
++# CONFIG_NETWORK_SECMARK is not set
++CONFIG_NETFILTER=y
++# CONFIG_NETFILTER_DEBUG is not set
++CONFIG_NETFILTER_ADVANCED=y
++CONFIG_BRIDGE_NETFILTER=y
++
++#
++# Core Netfilter Configuration
++#
++CONFIG_NETFILTER_NETLINK=m
++CONFIG_NETFILTER_NETLINK_QUEUE=m
++CONFIG_NETFILTER_NETLINK_LOG=m
++CONFIG_NF_CONNTRACK=m
++CONFIG_NF_CT_ACCT=y
++CONFIG_NF_CONNTRACK_MARK=y
++CONFIG_NF_CONNTRACK_EVENTS=y
++CONFIG_NF_CT_PROTO_DCCP=m
++CONFIG_NF_CT_PROTO_GRE=m
++CONFIG_NF_CT_PROTO_SCTP=m
++CONFIG_NF_CT_PROTO_UDPLITE=m
++CONFIG_NF_CONNTRACK_AMANDA=m
++CONFIG_NF_CONNTRACK_FTP=m
++CONFIG_NF_CONNTRACK_H323=m
++CONFIG_NF_CONNTRACK_IRC=m
++CONFIG_NF_CONNTRACK_NETBIOS_NS=m
++CONFIG_NF_CONNTRACK_PPTP=m
++CONFIG_NF_CONNTRACK_SANE=m
++CONFIG_NF_CONNTRACK_SIP=m
++CONFIG_NF_CONNTRACK_TFTP=m
++CONFIG_NF_CT_NETLINK=m
++# CONFIG_NETFILTER_TPROXY is not set
++CONFIG_NETFILTER_XTABLES=m
++CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
++CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
++# CONFIG_NETFILTER_XT_TARGET_DSCP is not set
++CONFIG_NETFILTER_XT_TARGET_HL=m
++# CONFIG_NETFILTER_XT_TARGET_LED is not set
++CONFIG_NETFILTER_XT_TARGET_MARK=m
++CONFIG_NETFILTER_XT_TARGET_NFLOG=m
++CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
++# CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set
++CONFIG_NETFILTER_XT_TARGET_RATEEST=m
++# CONFIG_NETFILTER_XT_TARGET_TRACE is not set
++CONFIG_NETFILTER_XT_TARGET_TCPMSS=m
++# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set
++# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set
++CONFIG_NETFILTER_XT_MATCH_COMMENT=m
++CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m
++CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m
++CONFIG_NETFILTER_XT_MATCH_CONNMARK=m
++CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
++CONFIG_NETFILTER_XT_MATCH_DCCP=m
++CONFIG_NETFILTER_XT_MATCH_DSCP=m
++CONFIG_NETFILTER_XT_MATCH_ESP=m
++CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m
++CONFIG_NETFILTER_XT_MATCH_HELPER=m
++CONFIG_NETFILTER_XT_MATCH_HL=m
++CONFIG_NETFILTER_XT_MATCH_IPRANGE=m
++CONFIG_NETFILTER_XT_MATCH_LENGTH=m
++CONFIG_NETFILTER_XT_MATCH_LIMIT=m
++CONFIG_NETFILTER_XT_MATCH_MAC=m
++CONFIG_NETFILTER_XT_MATCH_MARK=m
++CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
++CONFIG_NETFILTER_XT_MATCH_OWNER=m
++CONFIG_NETFILTER_XT_MATCH_POLICY=m
++# CONFIG_NETFILTER_XT_MATCH_PHYSDEV is not set
++CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
++CONFIG_NETFILTER_XT_MATCH_QUOTA=m
++CONFIG_NETFILTER_XT_MATCH_RATEEST=m
++CONFIG_NETFILTER_XT_MATCH_REALM=m
++CONFIG_NETFILTER_XT_MATCH_RECENT=m
++# CONFIG_NETFILTER_XT_MATCH_RECENT_PROC_COMPAT is not set
++CONFIG_NETFILTER_XT_MATCH_SCTP=m
++CONFIG_NETFILTER_XT_MATCH_STATE=m
++CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
++CONFIG_NETFILTER_XT_MATCH_STRING=m
++CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
++CONFIG_NETFILTER_XT_MATCH_TIME=m
++CONFIG_NETFILTER_XT_MATCH_U32=m
++# CONFIG_NETFILTER_XT_MATCH_OSF is not set
++CONFIG_IP_VS=m
++CONFIG_IP_VS_IPV6=y
++CONFIG_IP_VS_DEBUG=y
++CONFIG_IP_VS_TAB_BITS=12
++
++#
++# IPVS transport protocol load balancing support
++#
++CONFIG_IP_VS_PROTO_TCP=y
++CONFIG_IP_VS_PROTO_UDP=y
++CONFIG_IP_VS_PROTO_AH_ESP=y
++CONFIG_IP_VS_PROTO_ESP=y
++CONFIG_IP_VS_PROTO_AH=y
++
++#
++# IPVS scheduler
++#
++CONFIG_IP_VS_RR=m
++CONFIG_IP_VS_WRR=m
++CONFIG_IP_VS_LC=m
++CONFIG_IP_VS_WLC=m
++CONFIG_IP_VS_LBLC=m
++CONFIG_IP_VS_LBLCR=m
++CONFIG_IP_VS_DH=m
++CONFIG_IP_VS_SH=m
++CONFIG_IP_VS_SED=m
++CONFIG_IP_VS_NQ=m
++
++#
++# IPVS application helper
++#
++CONFIG_IP_VS_FTP=m
++
++#
++# IP: Netfilter Configuration
++#
++CONFIG_NF_DEFRAG_IPV4=m
++CONFIG_NF_CONNTRACK_IPV4=m
++CONFIG_NF_CONNTRACK_PROC_COMPAT=y
++CONFIG_IP_NF_QUEUE=m
++CONFIG_IP_NF_IPTABLES=m
++CONFIG_IP_NF_MATCH_ADDRTYPE=m
++CONFIG_IP_NF_MATCH_AH=m
++CONFIG_IP_NF_MATCH_ECN=m
++CONFIG_IP_NF_MATCH_TTL=m
++CONFIG_IP_NF_FILTER=m
++CONFIG_IP_NF_TARGET_REJECT=m
++CONFIG_IP_NF_TARGET_LOG=m
++CONFIG_IP_NF_TARGET_ULOG=m
++CONFIG_NF_NAT=m
++CONFIG_NF_NAT_NEEDED=y
++CONFIG_IP_NF_TARGET_MASQUERADE=m
++CONFIG_IP_NF_TARGET_NETMAP=m
++CONFIG_IP_NF_TARGET_REDIRECT=m
++CONFIG_NF_NAT_SNMP_BASIC=m
++CONFIG_NF_NAT_PROTO_DCCP=m
++CONFIG_NF_NAT_PROTO_GRE=m
++CONFIG_NF_NAT_PROTO_UDPLITE=m
++CONFIG_NF_NAT_PROTO_SCTP=m
++CONFIG_NF_NAT_FTP=m
++CONFIG_NF_NAT_IRC=m
++CONFIG_NF_NAT_TFTP=m
++CONFIG_NF_NAT_AMANDA=m
++CONFIG_NF_NAT_PPTP=m
++CONFIG_NF_NAT_H323=m
++CONFIG_NF_NAT_SIP=m
++CONFIG_IP_NF_MANGLE=m
++CONFIG_IP_NF_TARGET_CLUSTERIP=m
++CONFIG_IP_NF_TARGET_ECN=m
++CONFIG_IP_NF_TARGET_TTL=m
++CONFIG_IP_NF_RAW=m
++CONFIG_IP_NF_ARPTABLES=m
++CONFIG_IP_NF_ARPFILTER=m
++CONFIG_IP_NF_ARP_MANGLE=m
++
++#
++# IPv6: Netfilter Configuration
++#
++CONFIG_NF_CONNTRACK_IPV6=m
++CONFIG_IP6_NF_QUEUE=m
++CONFIG_IP6_NF_IPTABLES=m
++CONFIG_IP6_NF_MATCH_AH=m
++CONFIG_IP6_NF_MATCH_EUI64=m
++CONFIG_IP6_NF_MATCH_FRAG=m
++CONFIG_IP6_NF_MATCH_OPTS=m
++CONFIG_IP6_NF_MATCH_HL=m
++CONFIG_IP6_NF_MATCH_IPV6HEADER=m
++CONFIG_IP6_NF_MATCH_MH=m
++CONFIG_IP6_NF_MATCH_RT=m
++CONFIG_IP6_NF_TARGET_HL=m
++CONFIG_IP6_NF_TARGET_LOG=m
++CONFIG_IP6_NF_FILTER=m
++CONFIG_IP6_NF_TARGET_REJECT=m
++CONFIG_IP6_NF_MANGLE=m
++CONFIG_IP6_NF_RAW=m
++# CONFIG_BRIDGE_NF_EBTABLES is not set
++CONFIG_IP_DCCP=m
++CONFIG_INET_DCCP_DIAG=m
++
++#
++# DCCP CCIDs Configuration (EXPERIMENTAL)
++#
++# CONFIG_IP_DCCP_CCID2_DEBUG is not set
++CONFIG_IP_DCCP_CCID3=y
++# CONFIG_IP_DCCP_CCID3_DEBUG is not set
++CONFIG_IP_DCCP_CCID3_RTO=100
++CONFIG_IP_DCCP_TFRC_LIB=y
++
++#
++# DCCP Kernel Hacking
++#
++# CONFIG_IP_DCCP_DEBUG is not set
++CONFIG_IP_SCTP=m
++# CONFIG_SCTP_DBG_MSG is not set
++# CONFIG_SCTP_DBG_OBJCNT is not set
++# CONFIG_SCTP_HMAC_NONE is not set
++# CONFIG_SCTP_HMAC_SHA1 is not set
++CONFIG_SCTP_HMAC_MD5=y
++# CONFIG_RDS is not set
++CONFIG_TIPC=m
++# CONFIG_TIPC_ADVANCED is not set
++# CONFIG_TIPC_DEBUG is not set
++CONFIG_ATM=m
++CONFIG_ATM_CLIP=m
++# CONFIG_ATM_CLIP_NO_ICMP is not set
++CONFIG_ATM_LANE=m
++CONFIG_ATM_MPOA=m
++CONFIG_ATM_BR2684=m
++# CONFIG_ATM_BR2684_IPFILTER is not set
++CONFIG_STP=m
++CONFIG_GARP=m
++CONFIG_BRIDGE=m
++# CONFIG_NET_DSA is not set
++CONFIG_VLAN_8021Q=m
++CONFIG_VLAN_8021Q_GVRP=y
++# CONFIG_DECNET is not set
++CONFIG_LLC=m
++# CONFIG_LLC2 is not set
++# CONFIG_IPX is not set
++# CONFIG_ATALK is not set
++# CONFIG_X25 is not set
++# CONFIG_LAPB is not set
++# CONFIG_ECONET is not set
++CONFIG_WAN_ROUTER=m
++# CONFIG_PHONET is not set
++# CONFIG_IEEE802154 is not set
++CONFIG_NET_SCHED=y
++
++#
++# Queueing/Scheduling
++#
++CONFIG_NET_SCH_CBQ=m
++CONFIG_NET_SCH_HTB=m
++CONFIG_NET_SCH_HFSC=m
++CONFIG_NET_SCH_ATM=m
++CONFIG_NET_SCH_PRIO=m
++CONFIG_NET_SCH_MULTIQ=m
++CONFIG_NET_SCH_RED=m
++CONFIG_NET_SCH_SFQ=m
++CONFIG_NET_SCH_TEQL=m
++CONFIG_NET_SCH_TBF=m
++CONFIG_NET_SCH_GRED=m
++CONFIG_NET_SCH_DSMARK=m
++CONFIG_NET_SCH_NETEM=m
++CONFIG_NET_SCH_DRR=m
++
++#
++# Classification
++#
++CONFIG_NET_CLS=y
++CONFIG_NET_CLS_BASIC=m
++CONFIG_NET_CLS_TCINDEX=m
++CONFIG_NET_CLS_ROUTE4=m
++CONFIG_NET_CLS_ROUTE=y
++CONFIG_NET_CLS_FW=m
++CONFIG_NET_CLS_U32=m
++CONFIG_CLS_U32_PERF=y
++CONFIG_CLS_U32_MARK=y
++CONFIG_NET_CLS_RSVP=m
++CONFIG_NET_CLS_RSVP6=m
++CONFIG_NET_CLS_FLOW=m
++# CONFIG_NET_EMATCH is not set
++# CONFIG_NET_CLS_ACT is not set
++CONFIG_NET_CLS_IND=y
++CONFIG_NET_SCH_FIFO=y
++# CONFIG_DCB is not set
++
++#
++# Network testing
++#
++# CONFIG_NET_PKTGEN is not set
++# CONFIG_NET_DROP_MONITOR is not set
++# CONFIG_HAMRADIO is not set
++CONFIG_CAN=m
++CONFIG_CAN_RAW=m
++CONFIG_CAN_BCM=m
++
++#
++# CAN Device Drivers
++#
++CONFIG_CAN_VCAN=m
++# CONFIG_CAN_DEV is not set
++# CONFIG_CAN_DEBUG_DEVICES is not set
++CONFIG_IRDA=m
++
++#
++# IrDA protocols
++#
++CONFIG_IRLAN=m
++CONFIG_IRNET=m
++CONFIG_IRCOMM=m
++CONFIG_IRDA_ULTRA=y
++
++#
++# IrDA options
++#
++CONFIG_IRDA_CACHE_LAST_LSAP=y
++CONFIG_IRDA_FAST_RR=y
++CONFIG_IRDA_DEBUG=y
++
++#
++# Infrared-port device drivers
++#
++
++#
++# SIR device drivers
++#
++CONFIG_IRTTY_SIR=m
++
++#
++# Dongle support
++#
++CONFIG_DONGLE=y
++CONFIG_ESI_DONGLE=m
++CONFIG_ACTISYS_DONGLE=m
++CONFIG_TEKRAM_DONGLE=m
++CONFIG_TOIM3232_DONGLE=m
++CONFIG_LITELINK_DONGLE=m
++CONFIG_MA600_DONGLE=m
++CONFIG_GIRBIL_DONGLE=m
++CONFIG_MCP2120_DONGLE=m
++CONFIG_OLD_BELKIN_DONGLE=m
++# CONFIG_ACT200L_DONGLE is not set
++CONFIG_KINGSUN_DONGLE=m
++CONFIG_KSDAZZLE_DONGLE=m
++CONFIG_KS959_DONGLE=m
++
++#
++# FIR device drivers
++#
++CONFIG_USB_IRDA=m
++CONFIG_SIGMATEL_FIR=m
++CONFIG_MCS_FIR=m
++CONFIG_BT=m
++CONFIG_BT_L2CAP=m
++CONFIG_BT_SCO=m
++CONFIG_BT_RFCOMM=m
++CONFIG_BT_RFCOMM_TTY=y
++CONFIG_BT_BNEP=m
++CONFIG_BT_BNEP_MC_FILTER=y
++CONFIG_BT_BNEP_PROTO_FILTER=y
++CONFIG_BT_HIDP=m
++
++#
++# Bluetooth device drivers
++#
++CONFIG_BT_HCIBTUSB=m
++CONFIG_BT_HCIBTSDIO=m
++CONFIG_BT_HCIUART=m
++CONFIG_BT_HCIUART_H4=y
++CONFIG_BT_HCIUART_BCSP=y
++CONFIG_BT_HCIUART_LL=y
++CONFIG_BT_HCIBCM203X=m
++CONFIG_BT_HCIBPA10X=m
++CONFIG_BT_HCIBFUSB=m
++# CONFIG_BT_HCIVHCI is not set
++# CONFIG_BT_MRVL is not set
++CONFIG_AF_RXRPC=m
++# CONFIG_AF_RXRPC_DEBUG is not set
++# CONFIG_RXKAD is not set
++CONFIG_FIB_RULES=y
++CONFIG_WIRELESS=y
++CONFIG_WIRELESS_EXT=y
++CONFIG_WEXT_CORE=y
++CONFIG_WEXT_PROC=y
++CONFIG_WEXT_SPY=y
++CONFIG_WEXT_PRIV=y
++CONFIG_CFG80211=m
++# CONFIG_NL80211_TESTMODE is not set
++# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
++# CONFIG_CFG80211_REG_DEBUG is not set
++CONFIG_CFG80211_DEFAULT_PS=y
++# CONFIG_CFG80211_DEBUGFS is not set
++CONFIG_WIRELESS_OLD_REGULATORY=y
++CONFIG_CFG80211_WEXT=y
++CONFIG_WIRELESS_EXT_SYSFS=y
++CONFIG_LIB80211=y
++CONFIG_LIB80211_CRYPT_WEP=m
++CONFIG_LIB80211_CRYPT_CCMP=m
++CONFIG_LIB80211_CRYPT_TKIP=m
++# CONFIG_LIB80211_DEBUG is not set
++CONFIG_MAC80211=m
++CONFIG_MAC80211_RC_PID=y
++# CONFIG_MAC80211_RC_MINSTREL is not set
++CONFIG_MAC80211_RC_DEFAULT_PID=y
++# CONFIG_MAC80211_RC_DEFAULT_MINSTREL is not set
++CONFIG_MAC80211_RC_DEFAULT="pid"
++# CONFIG_MAC80211_MESH is not set
++CONFIG_MAC80211_LEDS=y
++# CONFIG_MAC80211_DEBUGFS is not set
++# CONFIG_MAC80211_DEBUG_MENU is not set
++CONFIG_WIMAX=m
++CONFIG_WIMAX_DEBUG_LEVEL=8
++CONFIG_RFKILL=m
++CONFIG_RFKILL_LEDS=y
++CONFIG_RFKILL_INPUT=y
++CONFIG_NET_9P=m
++# CONFIG_NET_9P_DEBUG is not set
++
++#
++# Device Drivers
++#
++
++#
++# Generic Driver Options
++#
++CONFIG_UEVENT_HELPER_PATH=""
++CONFIG_DEVTMPFS=y
++CONFIG_DEVTMPFS_MOUNT=y
++CONFIG_STANDALONE=y
++CONFIG_PREVENT_FIRMWARE_BUILD=y
++CONFIG_FW_LOADER=y
++CONFIG_FIRMWARE_IN_KERNEL=y
++CONFIG_EXTRA_FIRMWARE=""
++# CONFIG_DEBUG_DRIVER is not set
++# CONFIG_DEBUG_DEVRES is not set
++# CONFIG_SYS_HYPERVISOR is not set
++# CONFIG_CONNECTOR is not set
++CONFIG_MTD=y
++# CONFIG_MTD_DEBUG is not set
++# CONFIG_MTD_TESTS is not set
++CONFIG_MTD_CONCAT=y
++CONFIG_MTD_PARTITIONS=y
++# CONFIG_MTD_REDBOOT_PARTS is not set
++# CONFIG_MTD_CMDLINE_PARTS is not set
++# CONFIG_MTD_AFS_PARTS is not set
++# CONFIG_MTD_AR7_PARTS is not set
++
++#
++# User Modules And Translation Layers
++#
++CONFIG_MTD_CHAR=y
++CONFIG_MTD_BLKDEVS=y
++CONFIG_MTD_BLOCK=y
++# CONFIG_FTL is not set
++# CONFIG_NFTL is not set
++# CONFIG_INFTL is not set
++# CONFIG_RFD_FTL is not set
++# CONFIG_SSFDC is not set
++# CONFIG_MTD_OOPS is not set
++
++#
++# RAM/ROM/Flash chip drivers
++#
++# CONFIG_MTD_CFI is not set
++# CONFIG_MTD_JEDECPROBE is not set
++CONFIG_MTD_MAP_BANK_WIDTH_1=y
++CONFIG_MTD_MAP_BANK_WIDTH_2=y
++CONFIG_MTD_MAP_BANK_WIDTH_4=y
++# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
++# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
++# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
++CONFIG_MTD_CFI_I1=y
++CONFIG_MTD_CFI_I2=y
++# CONFIG_MTD_CFI_I4 is not set
++# CONFIG_MTD_CFI_I8 is not set
++# CONFIG_MTD_RAM is not set
++# CONFIG_MTD_ROM is not set
++# CONFIG_MTD_ABSENT is not set
++
++#
++# Mapping drivers for chip access
++#
++# CONFIG_MTD_COMPLEX_MAPPINGS is not set
++# CONFIG_MTD_PLATRAM is not set
++
++#
++# Self-contained MTD device drivers
++#
++# CONFIG_MTD_DATAFLASH is not set
++# CONFIG_MTD_M25P80 is not set
++# CONFIG_MTD_SST25L is not set
++# CONFIG_MTD_SLRAM is not set
++# CONFIG_MTD_PHRAM is not set
++# CONFIG_MTD_MTDRAM is not set
++# CONFIG_MTD_BLOCK2MTD is not set
++
++#
++# Disk-On-Chip Device Drivers
++#
++# CONFIG_MTD_DOC2000 is not set
++# CONFIG_MTD_DOC2001 is not set
++# CONFIG_MTD_DOC2001PLUS is not set
++CONFIG_MTD_NAND=y
++# CONFIG_MTD_NAND_VERIFY_WRITE is not set
++# CONFIG_MTD_NAND_ECC_SMC is not set
++# CONFIG_MTD_NAND_MUSEUM_IDS is not set
++# CONFIG_MTD_NAND_GPIO is not set
++CONFIG_MTD_NAND_OMAP2=y
++CONFIG_MTD_NAND_OMAP_PREFETCH=y
++# CONFIG_MTD_NAND_OMAP_PREFETCH_DMA is not set
++CONFIG_MTD_NAND_IDS=y
++# CONFIG_MTD_NAND_DISKONCHIP is not set
++# CONFIG_MTD_NAND_NANDSIM is not set
++CONFIG_MTD_NAND_PLATFORM=y
++# CONFIG_MTD_ALAUDA is not set
++# CONFIG_MTD_ONENAND is not set
++
++#
++# LPDDR flash memory drivers
++#
++# CONFIG_MTD_LPDDR is not set
++
++#
++# UBI - Unsorted block images
++#
++CONFIG_MTD_UBI=y
++CONFIG_MTD_UBI_WL_THRESHOLD=4096
++CONFIG_MTD_UBI_BEB_RESERVE=1
++# CONFIG_MTD_UBI_GLUEBI is not set
++
++#
++# UBI debugging options
++#
++# CONFIG_MTD_UBI_DEBUG is not set
++# CONFIG_PARPORT is not set
++CONFIG_BLK_DEV=y
++# CONFIG_BLK_DEV_COW_COMMON is not set
++CONFIG_BLK_DEV_LOOP=y
++CONFIG_BLK_DEV_CRYPTOLOOP=m
++
++#
++# DRBD disabled because PROC_FS, INET or CONNECTOR not selected
++#
++# CONFIG_BLK_DEV_NBD is not set
++# CONFIG_BLK_DEV_UB is not set
++CONFIG_BLK_DEV_RAM=y
++CONFIG_BLK_DEV_RAM_COUNT=16
++CONFIG_BLK_DEV_RAM_SIZE=16384
++# CONFIG_BLK_DEV_XIP is not set
++CONFIG_CDROM_PKTCDVD=m
++CONFIG_CDROM_PKTCDVD_BUFFERS=8
++# CONFIG_CDROM_PKTCDVD_WCACHE is not set
++# CONFIG_ATA_OVER_ETH is not set
++# CONFIG_MG_DISK is not set
++CONFIG_MISC_DEVICES=y
++# CONFIG_AD525X_DPOT is not set
++# CONFIG_ICS932S401 is not set
++# CONFIG_ENCLOSURE_SERVICES is not set
++CONFIG_CS5535_MFGPT_DEFAULT_IRQ=7
++# CONFIG_ISL29003 is not set
++# CONFIG_DS1682 is not set
++# CONFIG_TI_DAC7512 is not set
++# CONFIG_C2PORT is not set
++
++#
++# EEPROM support
++#
++# CONFIG_EEPROM_AT24 is not set
++# CONFIG_EEPROM_AT25 is not set
++# CONFIG_EEPROM_LEGACY is not set
++# CONFIG_EEPROM_MAX6875 is not set
++CONFIG_EEPROM_93CX6=y
++CONFIG_IWMC3200TOP=m
++# CONFIG_IWMC3200TOP_DEBUG is not set
++# CONFIG_IWMC3200TOP_DEBUGFS is not set
++CONFIG_HAVE_IDE=y
++# CONFIG_IDE is not set
++
++#
++# SCSI device support
++#
++CONFIG_RAID_ATTRS=m
++CONFIG_SCSI=y
++CONFIG_SCSI_DMA=y
++# CONFIG_SCSI_TGT is not set
++# CONFIG_SCSI_NETLINK is not set
++CONFIG_SCSI_PROC_FS=y
++
++#
++# SCSI support type (disk, tape, CD-ROM)
++#
++CONFIG_BLK_DEV_SD=y
++# CONFIG_CHR_DEV_ST is not set
++# CONFIG_CHR_DEV_OSST is not set
++CONFIG_BLK_DEV_SR=y
++CONFIG_BLK_DEV_SR_VENDOR=y
++CONFIG_CHR_DEV_SG=y
++CONFIG_CHR_DEV_SCH=m
++CONFIG_SCSI_MULTI_LUN=y
++# CONFIG_SCSI_CONSTANTS is not set
++# CONFIG_SCSI_LOGGING is not set
++# CONFIG_SCSI_SCAN_ASYNC is not set
++CONFIG_SCSI_WAIT_SCAN=m
++
++#
++# SCSI Transports
++#
++# CONFIG_SCSI_SPI_ATTRS is not set
++# CONFIG_SCSI_FC_ATTRS is not set
++CONFIG_SCSI_ISCSI_ATTRS=m
++# CONFIG_SCSI_SAS_ATTRS is not set
++# CONFIG_SCSI_SAS_LIBSAS is not set
++# CONFIG_SCSI_SRP_ATTRS is not set
++CONFIG_SCSI_LOWLEVEL=y
++CONFIG_ISCSI_TCP=m
++# CONFIG_LIBFC is not set
++# CONFIG_LIBFCOE is not set
++# CONFIG_SCSI_DEBUG is not set
++# CONFIG_SCSI_DH is not set
++# CONFIG_SCSI_OSD_INITIATOR is not set
++# CONFIG_ATA is not set
++CONFIG_MD=y
++CONFIG_BLK_DEV_MD=m
++CONFIG_MD_LINEAR=m
++CONFIG_MD_RAID0=m
++CONFIG_MD_RAID1=m
++CONFIG_MD_RAID10=m
++CONFIG_MD_RAID456=m
++CONFIG_MD_RAID6_PQ=m
++# CONFIG_ASYNC_RAID6_TEST is not set
++CONFIG_MD_MULTIPATH=m
++CONFIG_MD_FAULTY=m
++CONFIG_BLK_DEV_DM=m
++# CONFIG_DM_DEBUG is not set
++CONFIG_DM_CRYPT=m
++CONFIG_DM_SNAPSHOT=m
++CONFIG_DM_MIRROR=m
++# CONFIG_DM_LOG_USERSPACE is not set
++CONFIG_DM_ZERO=m
++CONFIG_DM_MULTIPATH=m
++# CONFIG_DM_MULTIPATH_QL is not set
++# CONFIG_DM_MULTIPATH_ST is not set
++CONFIG_DM_DELAY=m
++# CONFIG_DM_UEVENT is not set
++CONFIG_NETDEVICES=y
++CONFIG_DUMMY=m
++CONFIG_BONDING=m
++CONFIG_MACVLAN=m
++CONFIG_EQUALIZER=m
++CONFIG_TUN=m
++CONFIG_VETH=m
++CONFIG_PHYLIB=y
++
++#
++# MII PHY device drivers
++#
++# CONFIG_MARVELL_PHY is not set
++# CONFIG_DAVICOM_PHY is not set
++# CONFIG_QSEMI_PHY is not set
++# CONFIG_LXT_PHY is not set
++# CONFIG_CICADA_PHY is not set
++# CONFIG_VITESSE_PHY is not set
++# CONFIG_SMSC_PHY is not set
++# CONFIG_BROADCOM_PHY is not set
++# CONFIG_ICPLUS_PHY is not set
++# CONFIG_REALTEK_PHY is not set
++# CONFIG_NATIONAL_PHY is not set
++# CONFIG_STE10XP is not set
++# CONFIG_LSI_ET1011C_PHY is not set
++# CONFIG_FIXED_PHY is not set
++# CONFIG_MDIO_BITBANG is not set
++CONFIG_NET_ETHERNET=y
++CONFIG_MII=y
++# CONFIG_AX88796 is not set
++# CONFIG_SMC91X is not set
++# CONFIG_TI_DAVINCI_EMAC is not set
++# CONFIG_DM9000 is not set
++CONFIG_ENC28J60=y
++# CONFIG_ENC28J60_WRITEVERIFY is not set
++# CONFIG_ETHOC is not set
++CONFIG_SMC911X=y
++CONFIG_SMSC911X=y
++# CONFIG_DNET is not set
++# CONFIG_IBM_NEW_EMAC_ZMII is not set
++# CONFIG_IBM_NEW_EMAC_RGMII is not set
++# CONFIG_IBM_NEW_EMAC_TAH is not set
++# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
++# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
++# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
++# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
++# CONFIG_B44 is not set
++# CONFIG_KS8842 is not set
++CONFIG_KS8851=y
++# CONFIG_KS8851_MLL is not set
++# CONFIG_NETDEV_1000 is not set
++# CONFIG_NETDEV_10000 is not set
++CONFIG_WLAN=y
++# CONFIG_LIBERTAS_THINFIRM is not set
++CONFIG_AT76C50X_USB=m
++CONFIG_USB_ZD1201=m
++CONFIG_USB_NET_RNDIS_WLAN=m
++CONFIG_RTL8187=m
++CONFIG_RTL8187_LEDS=y
++# CONFIG_MAC80211_HWSIM is not set
++# CONFIG_ATH_COMMON is not set
++CONFIG_B43=m
++# CONFIG_B43_SDIO is not set
++CONFIG_B43_PHY_LP=y
++CONFIG_B43_LEDS=y
++CONFIG_B43_HWRNG=y
++# CONFIG_B43_DEBUG is not set
++# CONFIG_B43LEGACY is not set
++CONFIG_HOSTAP=m
++CONFIG_HOSTAP_FIRMWARE=y
++CONFIG_HOSTAP_FIRMWARE_NVRAM=y
++# CONFIG_IWM is not set
++CONFIG_LIBERTAS=m
++CONFIG_LIBERTAS_USB=m
++# CONFIG_LIBERTAS_SDIO is not set
++# CONFIG_LIBERTAS_SPI is not set
++# CONFIG_LIBERTAS_DEBUG is not set
++CONFIG_P54_COMMON=m
++CONFIG_P54_USB=m
++# CONFIG_P54_SPI is not set
++CONFIG_P54_LEDS=y
++CONFIG_RT2X00=m
++CONFIG_RT2500USB=m
++CONFIG_RT73USB=m
++# CONFIG_RT2800USB is not set
++CONFIG_RT2X00_LIB_USB=m
++CONFIG_RT2X00_LIB=m
++CONFIG_RT2X00_LIB_FIRMWARE=y
++CONFIG_RT2X00_LIB_CRYPTO=y
++CONFIG_RT2X00_LIB_LEDS=y
++# CONFIG_RT2X00_DEBUG is not set
++CONFIG_WL12XX=m
++CONFIG_WL1251=m
++CONFIG_WL1251_SPI=m
++CONFIG_WL1251_SDIO=m
++CONFIG_WL1271=m
++CONFIG_ZD1211RW=m
++# CONFIG_ZD1211RW_DEBUG is not set
++
++#
++# WiMAX Wireless Broadband devices
++#
++CONFIG_WIMAX_I2400M=m
++CONFIG_WIMAX_I2400M_USB=m
++CONFIG_WIMAX_I2400M_SDIO=m
++CONFIG_WIMAX_IWMC3200_SDIO=y
++CONFIG_WIMAX_I2400M_DEBUG_LEVEL=8
++
++#
++# USB Network Adapters
++#
++CONFIG_USB_CATC=y
++CONFIG_USB_KAWETH=y
++CONFIG_USB_PEGASUS=y
++CONFIG_USB_RTL8150=y
++CONFIG_USB_USBNET=y
++CONFIG_USB_NET_AX8817X=y
++CONFIG_USB_NET_CDCETHER=y
++CONFIG_USB_NET_CDC_EEM=y
++CONFIG_USB_NET_DM9601=y
++CONFIG_USB_NET_SMSC95XX=y
++CONFIG_USB_NET_GL620A=y
++CONFIG_USB_NET_NET1080=y
++CONFIG_USB_NET_PLUSB=y
++CONFIG_USB_NET_MCS7830=y
++CONFIG_USB_NET_RNDIS_HOST=y
++CONFIG_USB_NET_CDC_SUBSET=y
++CONFIG_USB_ALI_M5632=y
++CONFIG_USB_AN2720=y
++CONFIG_USB_BELKIN=y
++CONFIG_USB_ARMLINUX=y
++CONFIG_USB_EPSON2888=y
++CONFIG_USB_KC2190=y
++CONFIG_USB_NET_ZAURUS=y
++CONFIG_USB_HSO=m
++CONFIG_USB_NET_INT51X1=m
++# CONFIG_WAN is not set
++CONFIG_ATM_DRIVERS=y
++# CONFIG_ATM_DUMMY is not set
++# CONFIG_ATM_TCP is not set
++CONFIG_PPP=m
++CONFIG_PPP_MULTILINK=y
++CONFIG_PPP_FILTER=y
++CONFIG_PPP_ASYNC=m
++CONFIG_PPP_SYNC_TTY=m
++CONFIG_PPP_DEFLATE=m
++CONFIG_PPP_BSDCOMP=m
++CONFIG_PPP_MPPE=m
++CONFIG_PPPOE=m
++# CONFIG_PPPOATM is not set
++CONFIG_PPPOL2TP=m
++# CONFIG_SLIP is not set
++CONFIG_SLHC=m
++CONFIG_NETCONSOLE=m
++CONFIG_NETCONSOLE_DYNAMIC=y
++CONFIG_NETPOLL=y
++CONFIG_NETPOLL_TRAP=y
++CONFIG_NET_POLL_CONTROLLER=y
++# CONFIG_ISDN is not set
++# CONFIG_PHONE is not set
++
++#
++# Input device support
++#
++CONFIG_INPUT=y
++CONFIG_INPUT_FF_MEMLESS=y
++CONFIG_INPUT_POLLDEV=y
++# CONFIG_INPUT_SPARSEKMAP is not set
++
++#
++# Userland interfaces
++#
++CONFIG_INPUT_MOUSEDEV=y
++CONFIG_INPUT_MOUSEDEV_PSAUX=y
++CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
++CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
++# CONFIG_INPUT_JOYDEV is not set
++CONFIG_INPUT_EVDEV=y
++# CONFIG_INPUT_EVBUG is not set
++
++#
++# Input Device Drivers
++#
++CONFIG_INPUT_KEYBOARD=y
++# CONFIG_KEYBOARD_ADP5588 is not set
++# CONFIG_KEYBOARD_ATKBD is not set
++# CONFIG_QT2160 is not set
++# CONFIG_KEYBOARD_LKKBD is not set
++CONFIG_KEYBOARD_GPIO=y
++# CONFIG_KEYBOARD_TCA6416 is not set
++# CONFIG_KEYBOARD_MATRIX is not set
++# CONFIG_KEYBOARD_LM8323 is not set
++# CONFIG_KEYBOARD_MAX7359 is not set
++# CONFIG_KEYBOARD_NEWTON is not set
++# CONFIG_KEYBOARD_OPENCORES is not set
++# CONFIG_KEYBOARD_STOWAWAY is not set
++# CONFIG_KEYBOARD_SUNKBD is not set
++# CONFIG_KEYBOARD_TWL4030 is not set
++# CONFIG_KEYBOARD_XTKBD is not set
++CONFIG_INPUT_MOUSE=y
++CONFIG_MOUSE_PS2=y
++CONFIG_MOUSE_PS2_ALPS=y
++CONFIG_MOUSE_PS2_LOGIPS2PP=y
++CONFIG_MOUSE_PS2_SYNAPTICS=y
++CONFIG_MOUSE_PS2_TRACKPOINT=y
++# CONFIG_MOUSE_PS2_ELANTECH is not set
++# CONFIG_MOUSE_PS2_SENTELIC is not set
++# CONFIG_MOUSE_PS2_TOUCHKIT is not set
++# CONFIG_MOUSE_SERIAL is not set
++# CONFIG_MOUSE_APPLETOUCH is not set
++# CONFIG_MOUSE_BCM5974 is not set
++# CONFIG_MOUSE_VSXXXAA is not set
++# CONFIG_MOUSE_GPIO is not set
++# CONFIG_MOUSE_SYNAPTICS_I2C is not set
++# CONFIG_INPUT_JOYSTICK is not set
++# CONFIG_INPUT_TABLET is not set
++# CONFIG_INPUT_TOUCHSCREEN is not set
++CONFIG_INPUT_MISC=y
++# CONFIG_INPUT_ATI_REMOTE is not set
++# CONFIG_INPUT_ATI_REMOTE2 is not set
++# CONFIG_INPUT_KEYSPAN_REMOTE is not set
++# CONFIG_INPUT_POWERMATE is not set
++# CONFIG_INPUT_YEALINK is not set
++# CONFIG_INPUT_CM109 is not set
++CONFIG_INPUT_TWL4030_PWRBUTTON=y
++CONFIG_INPUT_UINPUT=y
++# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
++
++#
++# Hardware I/O ports
++#
++CONFIG_SERIO=y
++CONFIG_SERIO_SERPORT=y
++CONFIG_SERIO_LIBPS2=y
++# CONFIG_SERIO_RAW is not set
++# CONFIG_SERIO_ALTERA_PS2 is not set
++# CONFIG_GAMEPORT is not set
++
++#
++# Character devices
++#
++CONFIG_VT=y
++CONFIG_CONSOLE_TRANSLATIONS=y
++CONFIG_VT_CONSOLE=y
++CONFIG_HW_CONSOLE=y
++CONFIG_VT_HW_CONSOLE_BINDING=y
++CONFIG_DEVKMEM=y
++# CONFIG_SERIAL_NONSTANDARD is not set
++
++#
++# Serial drivers
++#
++CONFIG_SERIAL_8250=y
++CONFIG_SERIAL_8250_CONSOLE=y
++CONFIG_SERIAL_8250_NR_UARTS=32
++CONFIG_SERIAL_8250_RUNTIME_UARTS=4
++CONFIG_SERIAL_8250_EXTENDED=y
++CONFIG_SERIAL_8250_MANY_PORTS=y
++CONFIG_SERIAL_8250_SHARE_IRQ=y
++CONFIG_SERIAL_8250_DETECT_IRQ=y
++CONFIG_SERIAL_8250_RSA=y
++
++#
++# Non-8250 serial port support
++#
++# CONFIG_SERIAL_MAX3100 is not set
++CONFIG_SERIAL_CORE=y
++CONFIG_SERIAL_CORE_CONSOLE=y
++CONFIG_UNIX98_PTYS=y
++# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
++# CONFIG_LEGACY_PTYS is not set
++# CONFIG_IPMI_HANDLER is not set
++CONFIG_HW_RANDOM=y
++# CONFIG_HW_RANDOM_TIMERIOMEM is not set
++# CONFIG_R3964 is not set
++# CONFIG_RAW_DRIVER is not set
++# CONFIG_TCG_TPM is not set
++CONFIG_I2C=y
++CONFIG_I2C_BOARDINFO=y
++CONFIG_I2C_COMPAT=y
++CONFIG_I2C_CHARDEV=y
++CONFIG_I2C_HELPER_AUTO=y
++
++#
++# I2C Hardware Bus support
++#
++
++#
++# I2C system bus drivers (mostly embedded / system-on-chip)
++#
++# CONFIG_I2C_DESIGNWARE is not set
++# CONFIG_I2C_GPIO is not set
++# CONFIG_I2C_OCORES is not set
++CONFIG_I2C_OMAP=y
++# CONFIG_I2C_SIMTEC is not set
++
++#
++# External I2C/SMBus adapter drivers
++#
++# CONFIG_I2C_PARPORT_LIGHT is not set
++# CONFIG_I2C_TAOS_EVM is not set
++# CONFIG_I2C_TINY_USB is not set
++
++#
++# Other I2C/SMBus bus drivers
++#
++# CONFIG_I2C_PCA_PLATFORM is not set
++# CONFIG_I2C_STUB is not set
++
++#
++# Miscellaneous I2C Chip support
++#
++# CONFIG_SENSORS_TSL2550 is not set
++# CONFIG_I2C_DEBUG_CORE is not set
++# CONFIG_I2C_DEBUG_ALGO is not set
++# CONFIG_I2C_DEBUG_BUS is not set
++# CONFIG_I2C_DEBUG_CHIP is not set
++CONFIG_SPI=y
++# CONFIG_SPI_DEBUG is not set
++CONFIG_SPI_MASTER=y
++
++#
++# SPI Master Controller Drivers
++#
++# CONFIG_SPI_BITBANG is not set
++# CONFIG_SPI_GPIO is not set
++CONFIG_SPI_OMAP24XX=y
++# CONFIG_SPI_XILINX is not set
++
++#
++# SPI Protocol Masters
++#
++CONFIG_SPI_SPIDEV=y
++# CONFIG_SPI_TLE62X0 is not set
++
++#
++# PPS support
++#
++# CONFIG_PPS is not set
++CONFIG_ARCH_REQUIRE_GPIOLIB=y
++CONFIG_GPIOLIB=y
++# CONFIG_DEBUG_GPIO is not set
++CONFIG_GPIO_SYSFS=y
++
++#
++# Memory mapped GPIO expanders:
++#
++
++#
++# I2C GPIO expanders:
++#
++# CONFIG_GPIO_MAX732X is not set
++# CONFIG_GPIO_PCA953X is not set
++# CONFIG_GPIO_PCF857X is not set
++CONFIG_GPIO_TWL4030=y
++
++#
++# PCI GPIO expanders:
++#
++
++#
++# SPI GPIO expanders:
++#
++# CONFIG_GPIO_MAX7301 is not set
++# CONFIG_GPIO_MCP23S08 is not set
++# CONFIG_GPIO_MC33880 is not set
++
++#
++# AC97 GPIO expanders:
++#
++# CONFIG_W1 is not set
++CONFIG_POWER_SUPPLY=m
++# CONFIG_POWER_SUPPLY_DEBUG is not set
++# CONFIG_PDA_POWER is not set
++# CONFIG_BATTERY_DS2760 is not set
++# CONFIG_BATTERY_DS2782 is not set
++# CONFIG_BATTERY_BQ27x00 is not set
++# CONFIG_BATTERY_MAX17040 is not set
++CONFIG_HWMON=y
++# CONFIG_HWMON_VID is not set
++# CONFIG_HWMON_DEBUG_CHIP is not set
++
++#
++# Native drivers
++#
++# CONFIG_SENSORS_AD7414 is not set
++# CONFIG_SENSORS_AD7418 is not set
++# CONFIG_SENSORS_ADCXX is not set
++# CONFIG_SENSORS_ADM1021 is not set
++# CONFIG_SENSORS_ADM1025 is not set
++# CONFIG_SENSORS_ADM1026 is not set
++# CONFIG_SENSORS_ADM1029 is not set
++# CONFIG_SENSORS_ADM1031 is not set
++# CONFIG_SENSORS_ADM9240 is not set
++# CONFIG_SENSORS_ADT7462 is not set
++# CONFIG_SENSORS_ADT7470 is not set
++# CONFIG_SENSORS_ADT7473 is not set
++# CONFIG_SENSORS_ADT7475 is not set
++# CONFIG_SENSORS_ATXP1 is not set
++# CONFIG_SENSORS_DS1621 is not set
++# CONFIG_SENSORS_F71805F is not set
++# CONFIG_SENSORS_F71882FG is not set
++# CONFIG_SENSORS_F75375S is not set
++# CONFIG_SENSORS_G760A is not set
++# CONFIG_SENSORS_GL518SM is not set
++# CONFIG_SENSORS_GL520SM is not set
++# CONFIG_SENSORS_IT87 is not set
++# CONFIG_SENSORS_LM63 is not set
++# CONFIG_SENSORS_LM70 is not set
++# CONFIG_SENSORS_LM73 is not set
++# CONFIG_SENSORS_LM75 is not set
++# CONFIG_SENSORS_LM77 is not set
++# CONFIG_SENSORS_LM78 is not set
++# CONFIG_SENSORS_LM80 is not set
++# CONFIG_SENSORS_LM83 is not set
++# CONFIG_SENSORS_LM85 is not set
++# CONFIG_SENSORS_LM87 is not set
++# CONFIG_SENSORS_LM90 is not set
++# CONFIG_SENSORS_LM92 is not set
++# CONFIG_SENSORS_LM93 is not set
++# CONFIG_SENSORS_LTC4215 is not set
++# CONFIG_SENSORS_LTC4245 is not set
++# CONFIG_SENSORS_LM95241 is not set
++# CONFIG_SENSORS_MAX1111 is not set
++# CONFIG_SENSORS_MAX1619 is not set
++# CONFIG_SENSORS_MAX6650 is not set
++# CONFIG_SENSORS_PC87360 is not set
++# CONFIG_SENSORS_PC87427 is not set
++# CONFIG_SENSORS_PCF8591 is not set
++# CONFIG_SENSORS_SHT15 is not set
++# CONFIG_SENSORS_DME1737 is not set
++# CONFIG_SENSORS_SMSC47M1 is not set
++# CONFIG_SENSORS_SMSC47M192 is not set
++# CONFIG_SENSORS_SMSC47B397 is not set
++# CONFIG_SENSORS_ADS7828 is not set
++# CONFIG_SENSORS_THMC50 is not set
++# CONFIG_SENSORS_TMP401 is not set
++# CONFIG_SENSORS_TMP421 is not set
++# CONFIG_SENSORS_VT1211 is not set
++# CONFIG_SENSORS_W83781D is not set
++# CONFIG_SENSORS_W83791D is not set
++# CONFIG_SENSORS_W83792D is not set
++# CONFIG_SENSORS_W83793 is not set
++# CONFIG_SENSORS_W83L785TS is not set
++# CONFIG_SENSORS_W83L786NG is not set
++# CONFIG_SENSORS_W83627HF is not set
++# CONFIG_SENSORS_W83627EHF is not set
++# CONFIG_SENSORS_LIS3_SPI is not set
++CONFIG_THERMAL=y
++CONFIG_THERMAL_HWMON=y
++CONFIG_WATCHDOG=y
++CONFIG_WATCHDOG_NOWAYOUT=y
++
++#
++# Watchdog Device Drivers
++#
++# CONFIG_SOFT_WATCHDOG is not set
++CONFIG_OMAP_WATCHDOG=y
++# CONFIG_TWL4030_WATCHDOG is not set
++
++#
++# USB-based Watchdog Cards
++#
++# CONFIG_USBPCWATCHDOG is not set
++CONFIG_SSB_POSSIBLE=y
++
++#
++# Sonics Silicon Backplane
++#
++CONFIG_SSB=y
++CONFIG_SSB_SDIOHOST_POSSIBLE=y
++# CONFIG_SSB_SDIOHOST is not set
++# CONFIG_SSB_SILENT is not set
++# CONFIG_SSB_DEBUG is not set
++
++#
++# Multifunction device drivers
++#
++CONFIG_MFD_CORE=y
++# CONFIG_MFD_SM501 is not set
++# CONFIG_MFD_ASIC3 is not set
++# CONFIG_HTC_EGPIO is not set
++# CONFIG_HTC_PASIC3 is not set
++# CONFIG_TPS65010 is not set
++CONFIG_TWL4030_CORE=y
++CONFIG_TWL4030_POWER=y
++CONFIG_TWL4030_CODEC=y
++# CONFIG_TWL4030_MADC is not set
++# CONFIG_MFD_TMIO is not set
++# CONFIG_MFD_T7L66XB is not set
++# CONFIG_MFD_TC6387XB is not set
++# CONFIG_MFD_TC6393XB is not set
++# CONFIG_PMIC_DA903X is not set
++# CONFIG_PMIC_ADP5520 is not set
++# CONFIG_MFD_WM8400 is not set
++# CONFIG_MFD_WM831X is not set
++# CONFIG_MFD_WM8350_I2C is not set
++# CONFIG_MFD_PCF50633 is not set
++# CONFIG_MFD_MC13783 is not set
++# CONFIG_AB3100_CORE is not set
++# CONFIG_EZX_PCAP is not set
++# CONFIG_MFD_88PM8607 is not set
++# CONFIG_AB4500_CORE is not set
++CONFIG_REGULATOR=y
++# CONFIG_REGULATOR_DEBUG is not set
++# CONFIG_REGULATOR_FIXED_VOLTAGE is not set
++# CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
++# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set
++# CONFIG_REGULATOR_BQ24022 is not set
++# CONFIG_REGULATOR_MAX1586 is not set
++CONFIG_REGULATOR_TWL4030=y
++# CONFIG_REGULATOR_LP3971 is not set
++# CONFIG_REGULATOR_TPS65023 is not set
++# CONFIG_REGULATOR_TPS6507X is not set
++CONFIG_MEDIA_SUPPORT=y
++
++#
++# Multimedia core support
++#
++CONFIG_VIDEO_DEV=y
++CONFIG_VIDEO_V4L2_COMMON=y
++CONFIG_VIDEO_ALLOW_V4L1=y
++CONFIG_VIDEO_V4L1_COMPAT=y
++CONFIG_DVB_CORE=m
++CONFIG_VIDEO_MEDIA=m
++
++#
++# Multimedia drivers
++#
++CONFIG_MEDIA_ATTACH=y
++CONFIG_MEDIA_TUNER=m
++CONFIG_MEDIA_TUNER_CUSTOMISE=y
++CONFIG_MEDIA_TUNER_SIMPLE=m
++CONFIG_MEDIA_TUNER_TDA8290=m
++CONFIG_MEDIA_TUNER_TDA827X=m
++CONFIG_MEDIA_TUNER_TDA18271=m
++CONFIG_MEDIA_TUNER_TDA9887=m
++CONFIG_MEDIA_TUNER_TEA5761=m
++CONFIG_MEDIA_TUNER_TEA5767=m
++CONFIG_MEDIA_TUNER_MT20XX=m
++CONFIG_MEDIA_TUNER_MT2060=m
++CONFIG_MEDIA_TUNER_MT2266=m
++CONFIG_MEDIA_TUNER_MT2131=m
++CONFIG_MEDIA_TUNER_QT1010=m
++CONFIG_MEDIA_TUNER_XC2028=m
++CONFIG_MEDIA_TUNER_XC5000=m
++CONFIG_MEDIA_TUNER_MXL5005S=m
++CONFIG_MEDIA_TUNER_MXL5007T=m
++CONFIG_MEDIA_TUNER_MC44S803=m
++CONFIG_MEDIA_TUNER_MAX2165=m
++CONFIG_VIDEO_V4L2=y
++CONFIG_VIDEO_V4L1=y
++CONFIG_VIDEOBUF_GEN=y
++CONFIG_VIDEOBUF_DMA_SG=y
++CONFIG_VIDEOBUF_VMALLOC=m
++CONFIG_VIDEOBUF_DMA_CONTIG=y
++CONFIG_VIDEOBUF_DVB=m
++CONFIG_VIDEO_IR=m
++CONFIG_VIDEO_TVEEPROM=m
++CONFIG_VIDEO_TUNER=m
++CONFIG_VIDEO_CAPTURE_DRIVERS=y
++# CONFIG_VIDEO_ADV_DEBUG is not set
++# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
++# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
++CONFIG_VIDEO_IR_I2C=m
++
++#
++# Encoders/decoders and other helper chips
++#
++
++#
++# Audio decoders
++#
++# CONFIG_VIDEO_TVAUDIO is not set
++# CONFIG_VIDEO_TDA7432 is not set
++# CONFIG_VIDEO_TDA9840 is not set
++# CONFIG_VIDEO_TDA9875 is not set
++# CONFIG_VIDEO_TEA6415C is not set
++# CONFIG_VIDEO_TEA6420 is not set
++CONFIG_VIDEO_MSP3400=m
++# CONFIG_VIDEO_CS5345 is not set
++CONFIG_VIDEO_CS53L32A=m
++# CONFIG_VIDEO_M52790 is not set
++# CONFIG_VIDEO_TLV320AIC23B is not set
++CONFIG_VIDEO_WM8775=m
++# CONFIG_VIDEO_WM8739 is not set
++# CONFIG_VIDEO_VP27SMPX is not set
++
++#
++# RDS decoders
++#
++# CONFIG_VIDEO_SAA6588 is not set
++
++#
++# Video decoders
++#
++# CONFIG_VIDEO_ADV7180 is not set
++# CONFIG_VIDEO_BT819 is not set
++# CONFIG_VIDEO_BT856 is not set
++# CONFIG_VIDEO_BT866 is not set
++# CONFIG_VIDEO_KS0127 is not set
++# CONFIG_VIDEO_OV7670 is not set
++CONFIG_VIDEO_MT9V011=m
++# CONFIG_VIDEO_TCM825X is not set
++CONFIG_VIDEO_MT9P012=m
++CONFIG_VIDEO_MT9T111=y
++# CONFIG_VIDEO_DW9710 is not set
++# CONFIG_VIDEO_OV3640 is not set
++# CONFIG_VIDEO_IMX046 is not set
++# CONFIG_VIDEO_LV8093 is not set
++# CONFIG_VIDEO_SAA7110 is not set
++CONFIG_VIDEO_SAA711X=m
++# CONFIG_VIDEO_SAA717X is not set
++# CONFIG_VIDEO_SAA7191 is not set
++# CONFIG_VIDEO_TVP514X is not set
++# CONFIG_VIDEO_TVP5150 is not set
++# CONFIG_VIDEO_VPX3220 is not set
++
++#
++# Video and audio decoders
++#
++CONFIG_VIDEO_CX25840=m
++
++#
++# MPEG video encoders
++#
++CONFIG_VIDEO_CX2341X=m
++
++#
++# Video encoders
++#
++# CONFIG_VIDEO_SAA7127 is not set
++# CONFIG_VIDEO_SAA7185 is not set
++# CONFIG_VIDEO_ADV7170 is not set
++# CONFIG_VIDEO_ADV7175 is not set
++# CONFIG_VIDEO_THS7303 is not set
++# CONFIG_VIDEO_ADV7343 is not set
++
++#
++# Video improvement chips
++#
++# CONFIG_VIDEO_UPD64031A is not set
++# CONFIG_VIDEO_UPD64083 is not set
++CONFIG_VIDEO_VIVI=m
++# CONFIG_VIDEO_CPIA is not set
++# CONFIG_VIDEO_CPIA2 is not set
++# CONFIG_VIDEO_SAA5246A is not set
++# CONFIG_VIDEO_SAA5249 is not set
++# CONFIG_VIDEO_AU0828 is not set
++CONFIG_TI_MEDIA=y
++CONFIG_VIDEO_VPSS_SYSTEM=y
++CONFIG_VIDEO_VPFE_CAPTURE=y
++# CONFIG_VIDEO_DM6446_CCDC is not set
++# CONFIG_VIDEO_DM355_CCDC is not set
++CONFIG_VIDEO_OMAP2_VOUT=y
++CONFIG_VIDEO_OMAP3=y
++CONFIG_VIDEO_OMAP3_ISP=y
++CONFIG_VIDEO_OMAP34XX_ISP_PREVIEWER=y
++CONFIG_VIDEO_OMAP34XX_ISP_RESIZER=y
++# CONFIG_SOC_CAMERA is not set
++CONFIG_V4L_USB_DRIVERS=y
++CONFIG_USB_VIDEO_CLASS=m
++CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
++CONFIG_USB_GSPCA=m
++CONFIG_USB_M5602=m
++CONFIG_USB_STV06XX=m
++# CONFIG_USB_GL860 is not set
++CONFIG_USB_GSPCA_CONEX=m
++CONFIG_USB_GSPCA_ETOMS=m
++CONFIG_USB_GSPCA_FINEPIX=m
++# CONFIG_USB_GSPCA_JEILINJ is not set
++CONFIG_USB_GSPCA_MARS=m
++# CONFIG_USB_GSPCA_MR97310A is not set
++CONFIG_USB_GSPCA_OV519=m
++CONFIG_USB_GSPCA_OV534=m
++CONFIG_USB_GSPCA_PAC207=m
++# CONFIG_USB_GSPCA_PAC7302 is not set
++CONFIG_USB_GSPCA_PAC7311=m
++# CONFIG_USB_GSPCA_SN9C20X is not set
++CONFIG_USB_GSPCA_SONIXB=m
++CONFIG_USB_GSPCA_SONIXJ=m
++CONFIG_USB_GSPCA_SPCA500=m
++CONFIG_USB_GSPCA_SPCA501=m
++CONFIG_USB_GSPCA_SPCA505=m
++CONFIG_USB_GSPCA_SPCA506=m
++CONFIG_USB_GSPCA_SPCA508=m
++CONFIG_USB_GSPCA_SPCA561=m
++# CONFIG_USB_GSPCA_SQ905 is not set
++# CONFIG_USB_GSPCA_SQ905C is not set
++CONFIG_USB_GSPCA_STK014=m
++# CONFIG_USB_GSPCA_STV0680 is not set
++CONFIG_USB_GSPCA_SUNPLUS=m
++CONFIG_USB_GSPCA_T613=m
++CONFIG_USB_GSPCA_TV8532=m
++CONFIG_USB_GSPCA_VC032X=m
++CONFIG_USB_GSPCA_ZC3XX=m
++CONFIG_VIDEO_PVRUSB2=m
++CONFIG_VIDEO_PVRUSB2_SYSFS=y
++CONFIG_VIDEO_PVRUSB2_DVB=y
++# CONFIG_VIDEO_PVRUSB2_DEBUGIFC is not set
++CONFIG_VIDEO_HDPVR=m
++CONFIG_VIDEO_EM28XX=m
++CONFIG_VIDEO_EM28XX_ALSA=m
++CONFIG_VIDEO_EM28XX_DVB=m
++CONFIG_VIDEO_CX231XX=m
++# CONFIG_VIDEO_CX231XX_ALSA is not set
++CONFIG_VIDEO_CX231XX_DVB=m
++CONFIG_VIDEO_USBVISION=m
++CONFIG_VIDEO_USBVIDEO=m
++CONFIG_USB_VICAM=m
++CONFIG_USB_IBMCAM=m
++CONFIG_USB_KONICAWC=m
++CONFIG_USB_QUICKCAM_MESSENGER=m
++CONFIG_USB_ET61X251=m
++CONFIG_VIDEO_OVCAMCHIP=m
++CONFIG_USB_W9968CF=m
++CONFIG_USB_OV511=m
++CONFIG_USB_SE401=m
++CONFIG_USB_SN9C102=m
++CONFIG_USB_STV680=m
++CONFIG_USB_ZC0301=m
++CONFIG_USB_PWC=m
++# CONFIG_USB_PWC_DEBUG is not set
++CONFIG_USB_PWC_INPUT_EVDEV=y
++CONFIG_USB_ZR364XX=m
++CONFIG_USB_STKWEBCAM=m
++CONFIG_USB_S2255=m
++CONFIG_RADIO_ADAPTERS=y
++# CONFIG_I2C_SI4713 is not set
++# CONFIG_RADIO_SI4713 is not set
++# CONFIG_USB_DSBR is not set
++# CONFIG_RADIO_SI470X is not set
++# CONFIG_USB_MR800 is not set
++# CONFIG_RADIO_TEA5764 is not set
++# CONFIG_RADIO_TEF6862 is not set
++CONFIG_DVB_MAX_ADAPTERS=8
++CONFIG_DVB_DYNAMIC_MINORS=y
++CONFIG_DVB_CAPTURE_DRIVERS=y
++# CONFIG_TTPCI_EEPROM is not set
++
++#
++# Supported USB Adapters
++#
++CONFIG_DVB_USB=m
++# CONFIG_DVB_USB_DEBUG is not set
++CONFIG_DVB_USB_A800=m
++CONFIG_DVB_USB_DIBUSB_MB=m
++# CONFIG_DVB_USB_DIBUSB_MB_FAULTY is not set
++CONFIG_DVB_USB_DIBUSB_MC=m
++CONFIG_DVB_USB_DIB0700=m
++CONFIG_DVB_USB_UMT_010=m
++CONFIG_DVB_USB_CXUSB=m
++CONFIG_DVB_USB_M920X=m
++CONFIG_DVB_USB_GL861=m
++CONFIG_DVB_USB_AU6610=m
++CONFIG_DVB_USB_DIGITV=m
++CONFIG_DVB_USB_VP7045=m
++CONFIG_DVB_USB_VP702X=m
++CONFIG_DVB_USB_GP8PSK=m
++CONFIG_DVB_USB_NOVA_T_USB2=m
++CONFIG_DVB_USB_TTUSB2=m
++CONFIG_DVB_USB_DTT200U=m
++CONFIG_DVB_USB_OPERA1=m
++CONFIG_DVB_USB_AF9005=m
++CONFIG_DVB_USB_AF9005_REMOTE=m
++CONFIG_DVB_USB_DW2102=m
++CONFIG_DVB_USB_CINERGY_T2=m
++CONFIG_DVB_USB_ANYSEE=m
++CONFIG_DVB_USB_DTV5100=m
++CONFIG_DVB_USB_AF9015=m
++# CONFIG_DVB_USB_CE6230 is not set
++# CONFIG_DVB_USB_FRIIO is not set
++# CONFIG_DVB_USB_EC168 is not set
++# CONFIG_SMS_SIANO_MDTV is not set
++
++#
++# Supported FlexCopII (B2C2) Adapters
++#
++CONFIG_DVB_B2C2_FLEXCOP=m
++CONFIG_DVB_B2C2_FLEXCOP_USB=m
++# CONFIG_DVB_B2C2_FLEXCOP_DEBUG is not set
++
++#
++# Supported DVB Frontends
++#
++# CONFIG_DVB_FE_CUSTOMISE is not set
++CONFIG_DVB_CX24123=m
++CONFIG_DVB_MT312=m
++CONFIG_DVB_ZL10039=m
++CONFIG_DVB_S5H1420=m
++CONFIG_DVB_STV0288=m
++CONFIG_DVB_STB6000=m
++CONFIG_DVB_STV0299=m
++CONFIG_DVB_TDA10086=m
++CONFIG_DVB_TUNER_ITD1000=m
++CONFIG_DVB_TUNER_CX24113=m
++CONFIG_DVB_TDA826X=m
++CONFIG_DVB_CX24116=m
++CONFIG_DVB_SI21XX=m
++CONFIG_DVB_CX22702=m
++CONFIG_DVB_TDA1004X=m
++CONFIG_DVB_NXT6000=m
++CONFIG_DVB_MT352=m
++CONFIG_DVB_ZL10353=m
++CONFIG_DVB_DIB3000MB=m
++CONFIG_DVB_DIB3000MC=m
++CONFIG_DVB_DIB7000M=m
++CONFIG_DVB_DIB7000P=m
++CONFIG_DVB_TDA10048=m
++CONFIG_DVB_AF9013=m
++CONFIG_DVB_TDA10021=m
++CONFIG_DVB_TDA10023=m
++CONFIG_DVB_STV0297=m
++CONFIG_DVB_NXT200X=m
++CONFIG_DVB_BCM3510=m
++CONFIG_DVB_LGDT330X=m
++CONFIG_DVB_LGDT3305=m
++CONFIG_DVB_S5H1409=m
++CONFIG_DVB_S5H1411=m
++CONFIG_DVB_DIB8000=m
++CONFIG_DVB_PLL=m
++CONFIG_DVB_TUNER_DIB0070=m
++CONFIG_DVB_LNBP21=m
++CONFIG_DVB_ISL6421=m
++CONFIG_DVB_LGS8GL5=m
++# CONFIG_DAB is not set
++
++#
++# Graphics support
++#
++# CONFIG_VGASTATE is not set
++# CONFIG_VIDEO_OUTPUT_CONTROL is not set
++CONFIG_FB=y
++# CONFIG_FIRMWARE_EDID is not set
++# CONFIG_FB_DDC is not set
++# CONFIG_FB_BOOT_VESA_SUPPORT is not set
++CONFIG_FB_CFB_FILLRECT=y
++CONFIG_FB_CFB_COPYAREA=y
++CONFIG_FB_CFB_IMAGEBLIT=y
++# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
++# CONFIG_FB_SYS_FILLRECT is not set
++# CONFIG_FB_SYS_COPYAREA is not set
++# CONFIG_FB_SYS_IMAGEBLIT is not set
++# CONFIG_FB_FOREIGN_ENDIAN is not set
++# CONFIG_FB_SYS_FOPS is not set
++# CONFIG_FB_SVGALIB is not set
++# CONFIG_FB_MACMODES is not set
++# CONFIG_FB_BACKLIGHT is not set
++CONFIG_FB_MODE_HELPERS=y
++# CONFIG_FB_TILEBLITTING is not set
++
++#
++# Frame buffer hardware drivers
++#
++# CONFIG_FB_S1D13XXX is not set
++# CONFIG_FB_TMIO is not set
++# CONFIG_FB_VIRTUAL is not set
++# CONFIG_FB_METRONOME is not set
++# CONFIG_FB_MB862XX is not set
++# CONFIG_FB_BROADSHEET is not set
++# CONFIG_FB_OMAP_BOOTLOADER_INIT is not set
++CONFIG_OMAP2_VRAM=y
++CONFIG_OMAP2_VRFB=y
++CONFIG_OMAP2_DSS=y
++CONFIG_OMAP2_VRAM_SIZE=14
++CONFIG_OMAP2_DSS_DEBUG_SUPPORT=y
++# CONFIG_OMAP2_DSS_RFBI is not set
++CONFIG_OMAP2_DSS_VENC=y
++CONFIG_OMAP2_VENC_OUT_TYPE_SVIDEO=y
++# CONFIG_OMAP2_VENC_OUT_TYPE_COMPOSITE is not set
++# CONFIG_OMAP2_DSS_SDI is not set
++CONFIG_OMAP2_DSS_DSI=y
++CONFIG_OMAP2_DSS_USE_DSI_PLL=y
++# CONFIG_OMAP2_DSS_FAKE_VSYNC is not set
++CONFIG_OMAP2_DSS_MIN_FCK_PER_PCK=0
++CONFIG_FB_OMAP2=y
++CONFIG_FB_OMAP2_DEBUG_SUPPORT=y
++# CONFIG_FB_OMAP2_FORCE_AUTO_UPDATE is not set
++CONFIG_FB_OMAP2_NUM_FBS=3
++
++#
++# OMAP2/3 Display Device Drivers
++#
++CONFIG_PANEL_GENERIC=y
++# CONFIG_PANEL_LGPHILIPS_LB035Q02 is not set
++# CONFIG_PANEL_SAMSUNG_LTE430WQ_F0C is not set
++CONFIG_PANEL_SHARP_LS037V7DW01=y
++# CONFIG_PANEL_SHARP_LQ043T1DG01 is not set
++# CONFIG_PANEL_TAAL is not set
++# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
++
++#
++# Display device support
++#
++CONFIG_DISPLAY_SUPPORT=y
++
++#
++# Display hardware drivers
++#
++
++#
++# Console display driver support
++#
++# CONFIG_VGA_CONSOLE is not set
++CONFIG_DUMMY_CONSOLE=y
++CONFIG_FRAMEBUFFER_CONSOLE=y
++# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
++CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
++# CONFIG_FONTS is not set
++CONFIG_FONT_8x8=y
++CONFIG_FONT_8x16=y
++CONFIG_LOGO=y
++# CONFIG_LOGO_LINUX_MONO is not set
++# CONFIG_LOGO_LINUX_VGA16 is not set
++CONFIG_LOGO_LINUX_CLUT224=y
++CONFIG_SOUND=y
++CONFIG_SOUND_OSS_CORE=y
++CONFIG_SOUND_OSS_CORE_PRECLAIM=y
++CONFIG_SND=y
++CONFIG_SND_TIMER=y
++CONFIG_SND_PCM=y
++CONFIG_SND_HWDEP=y
++CONFIG_SND_RAWMIDI=y
++CONFIG_SND_JACK=y
++CONFIG_SND_SEQUENCER=m
++# CONFIG_SND_SEQ_DUMMY is not set
++CONFIG_SND_OSSEMUL=y
++CONFIG_SND_MIXER_OSS=y
++CONFIG_SND_PCM_OSS=y
++CONFIG_SND_PCM_OSS_PLUGINS=y
++CONFIG_SND_SEQUENCER_OSS=y
++CONFIG_SND_HRTIMER=m
++CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
++# CONFIG_SND_DYNAMIC_MINORS is not set
++CONFIG_SND_SUPPORT_OLD_API=y
++CONFIG_SND_VERBOSE_PROCFS=y
++# CONFIG_SND_VERBOSE_PRINTK is not set
++# CONFIG_SND_DEBUG is not set
++CONFIG_SND_RAWMIDI_SEQ=m
++# CONFIG_SND_OPL3_LIB_SEQ is not set
++# CONFIG_SND_OPL4_LIB_SEQ is not set
++# CONFIG_SND_SBAWE_SEQ is not set
++# CONFIG_SND_EMU10K1_SEQ is not set
++CONFIG_SND_DRIVERS=y
++# CONFIG_SND_DUMMY is not set
++# CONFIG_SND_VIRMIDI is not set
++# CONFIG_SND_MTPAV is not set
++# CONFIG_SND_SERIAL_U16550 is not set
++# CONFIG_SND_MPU401 is not set
++# CONFIG_SND_ARM is not set
++CONFIG_SND_SPI=y
++CONFIG_SND_USB=y
++CONFIG_SND_USB_AUDIO=y
++CONFIG_SND_USB_CAIAQ=m
++CONFIG_SND_USB_CAIAQ_INPUT=y
++CONFIG_SND_SOC=y
++CONFIG_SND_OMAP_SOC=y
++CONFIG_SND_OMAP_SOC_MCBSP=y
++# CONFIG_SND_OMAP_SOC_OMAP3EVM is not set
++CONFIG_SND_OMAP_SOC_OMAP3_BEAGLE=y
++CONFIG_SND_SOC_I2C_AND_SPI=y
++# CONFIG_SND_SOC_ALL_CODECS is not set
++CONFIG_SND_SOC_TWL4030=y
++# CONFIG_SOUND_PRIME is not set
++CONFIG_HID_SUPPORT=y
++CONFIG_HID=y
++# CONFIG_HIDRAW is not set
++
++#
++# USB Input Devices
++#
++CONFIG_USB_HID=y
++# CONFIG_HID_PID is not set
++# CONFIG_USB_HIDDEV is not set
++
++#
++# Special HID drivers
++#
++CONFIG_HID_A4TECH=y
++CONFIG_HID_APPLE=y
++CONFIG_HID_BELKIN=y
++CONFIG_HID_CHERRY=y
++CONFIG_HID_CHICONY=y
++CONFIG_HID_CYPRESS=y
++# CONFIG_HID_DRAGONRISE is not set
++CONFIG_HID_EZKEY=y
++# CONFIG_HID_KYE is not set
++CONFIG_HID_GYRATION=y
++# CONFIG_HID_TWINHAN is not set
++# CONFIG_HID_KENSINGTON is not set
++CONFIG_HID_LOGITECH=y
++# CONFIG_LOGITECH_FF is not set
++# CONFIG_LOGIRUMBLEPAD2_FF is not set
++CONFIG_HID_MICROSOFT=y
++CONFIG_HID_MONTEREY=y
++CONFIG_HID_NTRIG=y
++CONFIG_HID_PANTHERLORD=y
++# CONFIG_PANTHERLORD_FF is not set
++CONFIG_HID_PETALYNX=y
++CONFIG_HID_SAMSUNG=y
++CONFIG_HID_SONY=y
++CONFIG_HID_SUNPLUS=y
++# CONFIG_HID_GREENASIA is not set
++# CONFIG_HID_SMARTJOYPLUS is not set
++CONFIG_HID_TOPSEED=y
++# CONFIG_HID_THRUSTMASTER is not set
++# CONFIG_HID_WACOM is not set
++# CONFIG_HID_ZEROPLUS is not set
++CONFIG_USB_SUPPORT=y
++CONFIG_USB_ARCH_HAS_HCD=y
++CONFIG_USB_ARCH_HAS_OHCI=y
++CONFIG_USB_ARCH_HAS_EHCI=y
++CONFIG_USB=y
++# CONFIG_USB_DEBUG is not set
++CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
++
++#
++# Miscellaneous USB options
++#
++CONFIG_USB_DEVICEFS=y
++CONFIG_USB_DEVICE_CLASS=y
++# CONFIG_USB_DYNAMIC_MINORS is not set
++CONFIG_USB_SUSPEND=y
++CONFIG_USB_OTG=y
++# CONFIG_USB_OTG_WHITELIST is not set
++# CONFIG_USB_OTG_BLACKLIST_HUB is not set
++CONFIG_USB_MON=y
++# CONFIG_USB_WUSB is not set
++# CONFIG_USB_WUSB_CBAF is not set
++
++#
++# USB Host Controller Drivers
++#
++# CONFIG_USB_C67X00_HCD is not set
++CONFIG_USB_EHCI_HCD=y
++# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
++CONFIG_USB_EHCI_TT_NEWSCHED=y
++# CONFIG_USB_OXU210HP_HCD is not set
++# CONFIG_USB_ISP116X_HCD is not set
++# CONFIG_USB_ISP1760_HCD is not set
++# CONFIG_USB_ISP1362_HCD is not set
++# CONFIG_USB_OHCI_HCD is not set
++# CONFIG_USB_U132_HCD is not set
++# CONFIG_USB_SL811_HCD is not set
++# CONFIG_USB_R8A66597_HCD is not set
++# CONFIG_USB_HWA_HCD is not set
++CONFIG_USB_MUSB_HDRC=y
++CONFIG_USB_MUSB_SOC=y
++
++#
++# OMAP 343x high speed USB support
++#
++# CONFIG_USB_MUSB_HOST is not set
++# CONFIG_USB_MUSB_PERIPHERAL is not set
++CONFIG_USB_MUSB_OTG=y
++CONFIG_USB_GADGET_MUSB_HDRC=y
++CONFIG_USB_MUSB_HDRC_HCD=y
++# CONFIG_MUSB_PIO_ONLY is not set
++CONFIG_USB_INVENTRA_DMA=y
++CONFIG_MUSB_USE_SYSTEM_DMA_RX=y
++# CONFIG_USB_TI_CPPI_DMA is not set
++# CONFIG_USB_TI_CPPI41_DMA is not set
++# CONFIG_USB_MUSB_DEBUG is not set
++
++#
++# USB Device Class drivers
++#
++CONFIG_USB_ACM=m
++CONFIG_USB_PRINTER=m
++CONFIG_USB_WDM=m
++CONFIG_USB_TMC=m
++
++#
++# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
++#
++
++#
++# also be needed; see USB_STORAGE Help for more info
++#
++CONFIG_USB_STORAGE=y
++# CONFIG_USB_STORAGE_DEBUG is not set
++# CONFIG_USB_STORAGE_DATAFAB is not set
++# CONFIG_USB_STORAGE_FREECOM is not set
++# CONFIG_USB_STORAGE_ISD200 is not set
++# CONFIG_USB_STORAGE_USBAT is not set
++# CONFIG_USB_STORAGE_SDDR09 is not set
++# CONFIG_USB_STORAGE_SDDR55 is not set
++# CONFIG_USB_STORAGE_JUMPSHOT is not set
++# CONFIG_USB_STORAGE_ALAUDA is not set
++# CONFIG_USB_STORAGE_ONETOUCH is not set
++# CONFIG_USB_STORAGE_KARMA is not set
++# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
++# CONFIG_USB_LIBUSUAL is not set
++
++#
++# USB Imaging devices
++#
++# CONFIG_USB_MDC800 is not set
++# CONFIG_USB_MICROTEK is not set
++
++#
++# USB port drivers
++#
++CONFIG_USB_SERIAL=m
++CONFIG_USB_EZUSB=y
++CONFIG_USB_SERIAL_GENERIC=y
++CONFIG_USB_SERIAL_AIRCABLE=m
++CONFIG_USB_SERIAL_ARK3116=m
++CONFIG_USB_SERIAL_BELKIN=m
++CONFIG_USB_SERIAL_CH341=m
++CONFIG_USB_SERIAL_WHITEHEAT=m
++CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m
++# CONFIG_USB_SERIAL_CP210X is not set
++CONFIG_USB_SERIAL_CYPRESS_M8=m
++CONFIG_USB_SERIAL_EMPEG=m
++CONFIG_USB_SERIAL_FTDI_SIO=m
++CONFIG_USB_SERIAL_FUNSOFT=m
++CONFIG_USB_SERIAL_VISOR=m
++CONFIG_USB_SERIAL_IPAQ=m
++CONFIG_USB_SERIAL_IR=m
++CONFIG_USB_SERIAL_EDGEPORT=m
++CONFIG_USB_SERIAL_EDGEPORT_TI=m
++CONFIG_USB_SERIAL_GARMIN=m
++CONFIG_USB_SERIAL_IPW=m
++CONFIG_USB_SERIAL_IUU=m
++CONFIG_USB_SERIAL_KEYSPAN_PDA=m
++CONFIG_USB_SERIAL_KEYSPAN=m
++CONFIG_USB_SERIAL_KEYSPAN_MPR=y
++CONFIG_USB_SERIAL_KEYSPAN_USA28=y
++CONFIG_USB_SERIAL_KEYSPAN_USA28X=y
++CONFIG_USB_SERIAL_KEYSPAN_USA28XA=y
++CONFIG_USB_SERIAL_KEYSPAN_USA28XB=y
++CONFIG_USB_SERIAL_KEYSPAN_USA19=y
++CONFIG_USB_SERIAL_KEYSPAN_USA18X=y
++CONFIG_USB_SERIAL_KEYSPAN_USA19W=y
++CONFIG_USB_SERIAL_KEYSPAN_USA19QW=y
++CONFIG_USB_SERIAL_KEYSPAN_USA19QI=y
++CONFIG_USB_SERIAL_KEYSPAN_USA49W=y
++CONFIG_USB_SERIAL_KEYSPAN_USA49WLC=y
++CONFIG_USB_SERIAL_KLSI=m
++CONFIG_USB_SERIAL_KOBIL_SCT=m
++CONFIG_USB_SERIAL_MCT_U232=m
++CONFIG_USB_SERIAL_MOS7720=m
++CONFIG_USB_SERIAL_MOS7840=m
++CONFIG_USB_SERIAL_MOTOROLA=m
++CONFIG_USB_SERIAL_NAVMAN=m
++CONFIG_USB_SERIAL_PL2303=m
++CONFIG_USB_SERIAL_OTI6858=m
++# CONFIG_USB_SERIAL_QUALCOMM is not set
++CONFIG_USB_SERIAL_SPCP8X5=m
++CONFIG_USB_SERIAL_HP4X=m
++CONFIG_USB_SERIAL_SAFE=m
++# CONFIG_USB_SERIAL_SAFE_PADDED is not set
++CONFIG_USB_SERIAL_SIEMENS_MPI=m
++CONFIG_USB_SERIAL_SIERRAWIRELESS=m
++# CONFIG_USB_SERIAL_SYMBOL is not set
++CONFIG_USB_SERIAL_TI=m
++CONFIG_USB_SERIAL_CYBERJACK=m
++CONFIG_USB_SERIAL_XIRCOM=m
++CONFIG_USB_SERIAL_OPTION=m
++CONFIG_USB_SERIAL_OMNINET=m
++CONFIG_USB_SERIAL_OPTICON=m
++CONFIG_USB_SERIAL_DEBUG=m
++
++#
++# USB Miscellaneous drivers
++#
++CONFIG_USB_EMI62=m
++CONFIG_USB_EMI26=m
++# CONFIG_USB_ADUTUX is not set
++# CONFIG_USB_SEVSEG is not set
++# CONFIG_USB_RIO500 is not set
++CONFIG_USB_LEGOTOWER=m
++CONFIG_USB_LCD=m
++CONFIG_USB_BERRY_CHARGE=m
++CONFIG_USB_LED=m
++CONFIG_USB_CYPRESS_CY7C63=m
++CONFIG_USB_CYTHERM=m
++CONFIG_USB_IDMOUSE=m
++CONFIG_USB_FTDI_ELAN=m
++# CONFIG_USB_APPLEDISPLAY is not set
++CONFIG_USB_SISUSBVGA=m
++CONFIG_USB_SISUSBVGA_CON=y
++CONFIG_USB_LD=m
++CONFIG_USB_TRANCEVIBRATOR=m
++# CONFIG_USB_IOWARRIOR is not set
++CONFIG_USB_TEST=m
++# CONFIG_USB_ISIGHTFW is not set
++CONFIG_USB_VST=m
++CONFIG_USB_ATM=m
++CONFIG_USB_SPEEDTOUCH=m
++CONFIG_USB_CXACRU=m
++CONFIG_USB_UEAGLEATM=m
++CONFIG_USB_XUSBATM=m
++CONFIG_USB_GADGET=y
++# CONFIG_USB_GADGET_DEBUG is not set
++# CONFIG_USB_GADGET_DEBUG_FILES is not set
++CONFIG_USB_GADGET_DEBUG_FS=y
++CONFIG_USB_GADGET_VBUS_DRAW=2
++CONFIG_USB_GADGET_SELECTED=y
++# CONFIG_USB_GADGET_AT91 is not set
++# CONFIG_USB_GADGET_ATMEL_USBA is not set
++# CONFIG_USB_GADGET_FSL_USB2 is not set
++# CONFIG_USB_GADGET_LH7A40X is not set
++# CONFIG_USB_GADGET_OMAP is not set
++# CONFIG_USB_GADGET_PXA25X is not set
++# CONFIG_USB_GADGET_R8A66597 is not set
++# CONFIG_USB_GADGET_PXA27X is not set
++# CONFIG_USB_GADGET_S3C_HSOTG is not set
++# CONFIG_USB_GADGET_IMX is not set
++# CONFIG_USB_GADGET_S3C2410 is not set
++# CONFIG_USB_GADGET_M66592 is not set
++# CONFIG_USB_GADGET_AMD5536UDC is not set
++# CONFIG_USB_GADGET_FSL_QE is not set
++# CONFIG_USB_GADGET_CI13XXX is not set
++# CONFIG_USB_GADGET_NET2280 is not set
++# CONFIG_USB_GADGET_GOKU is not set
++# CONFIG_USB_GADGET_LANGWELL is not set
++# CONFIG_USB_GADGET_DUMMY_HCD is not set
++CONFIG_USB_GADGET_DUALSPEED=y
++CONFIG_USB_ZERO=m
++CONFIG_USB_ZERO_HNPTEST=y
++# CONFIG_USB_AUDIO is not set
++CONFIG_USB_ETH=m
++CONFIG_USB_ETH_RNDIS=y
++# CONFIG_USB_ETH_EEM is not set
++CONFIG_USB_GADGETFS=m
++CONFIG_USB_FILE_STORAGE=m
++# CONFIG_USB_FILE_STORAGE_TEST is not set
++# CONFIG_USB_MASS_STORAGE is not set
++CONFIG_USB_G_SERIAL=m
++CONFIG_USB_MIDI_GADGET=m
++CONFIG_USB_G_PRINTER=m
++CONFIG_USB_CDC_COMPOSITE=m
++# CONFIG_USB_G_MULTI is not set
++
++#
++# OTG and related infrastructure
++#
++CONFIG_USB_OTG_UTILS=y
++CONFIG_USB_GPIO_VBUS=y
++# CONFIG_ISP1301_OMAP is not set
++# CONFIG_USB_ULPI is not set
++CONFIG_TWL4030_USB=y
++CONFIG_NOP_USB_XCEIV=y
++CONFIG_MMC=y
++# CONFIG_MMC_DEBUG is not set
++CONFIG_MMC_UNSAFE_RESUME=y
++
++#
++# MMC/SD/SDIO Card Drivers
++#
++CONFIG_MMC_BLOCK=y
++CONFIG_MMC_BLOCK_BOUNCE=y
++CONFIG_SDIO_UART=y
++# CONFIG_MMC_TEST is not set
++
++#
++# MMC/SD/SDIO Host Controller Drivers
++#
++# CONFIG_MMC_SDHCI is not set
++# CONFIG_MMC_OMAP is not set
++CONFIG_MMC_OMAP_HS=y
++# CONFIG_MMC_AT91 is not set
++# CONFIG_MMC_ATMELMCI is not set
++CONFIG_MMC_SPI=m
++# CONFIG_MEMSTICK is not set
++CONFIG_NEW_LEDS=y
++CONFIG_LEDS_CLASS=y
++
++#
++# LED drivers
++#
++# CONFIG_LEDS_PCA9532 is not set
++CONFIG_LEDS_GPIO=y
++CONFIG_LEDS_GPIO_PLATFORM=y
++# CONFIG_LEDS_LP3944 is not set
++# CONFIG_LEDS_PCA955X is not set
++# CONFIG_LEDS_DAC124S085 is not set
++# CONFIG_LEDS_BD2802 is not set
++
++#
++# LED Triggers
++#
++CONFIG_LEDS_TRIGGERS=y
++CONFIG_LEDS_TRIGGER_TIMER=m
++CONFIG_LEDS_TRIGGER_HEARTBEAT=y
++CONFIG_LEDS_TRIGGER_BACKLIGHT=m
++# CONFIG_LEDS_TRIGGER_GPIO is not set
++CONFIG_LEDS_TRIGGER_DEFAULT_ON=m
++
++#
++# iptables trigger is under Netfilter config (LED target)
++#
++# CONFIG_ACCESSIBILITY is not set
++CONFIG_RTC_LIB=y
++CONFIG_RTC_CLASS=m
++
++#
++# RTC interfaces
++#
++CONFIG_RTC_INTF_SYSFS=y
++CONFIG_RTC_INTF_PROC=y
++CONFIG_RTC_INTF_DEV=y
++# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
++# CONFIG_RTC_DRV_TEST is not set
++
++#
++# I2C RTC drivers
++#
++# CONFIG_RTC_DRV_DS1307 is not set
++# CONFIG_RTC_DRV_DS1374 is not set
++# CONFIG_RTC_DRV_DS1672 is not set
++# CONFIG_RTC_DRV_MAX6900 is not set
++# CONFIG_RTC_DRV_RS5C372 is not set
++# CONFIG_RTC_DRV_ISL1208 is not set
++# CONFIG_RTC_DRV_X1205 is not set
++# CONFIG_RTC_DRV_PCF8563 is not set
++# CONFIG_RTC_DRV_PCF8583 is not set
++# CONFIG_RTC_DRV_M41T80 is not set
++CONFIG_RTC_DRV_TWL4030=m
++# CONFIG_RTC_DRV_S35390A is not set
++# CONFIG_RTC_DRV_FM3130 is not set
++# CONFIG_RTC_DRV_RX8581 is not set
++# CONFIG_RTC_DRV_RX8025 is not set
++
++#
++# SPI RTC drivers
++#
++# CONFIG_RTC_DRV_M41T94 is not set
++# CONFIG_RTC_DRV_DS1305 is not set
++# CONFIG_RTC_DRV_DS1390 is not set
++# CONFIG_RTC_DRV_MAX6902 is not set
++# CONFIG_RTC_DRV_R9701 is not set
++# CONFIG_RTC_DRV_RS5C348 is not set
++# CONFIG_RTC_DRV_DS3234 is not set
++# CONFIG_RTC_DRV_PCF2123 is not set
++
++#
++# Platform RTC drivers
++#
++# CONFIG_RTC_DRV_CMOS is not set
++# CONFIG_RTC_DRV_DS1286 is not set
++# CONFIG_RTC_DRV_DS1511 is not set
++# CONFIG_RTC_DRV_DS1553 is not set
++# CONFIG_RTC_DRV_DS1742 is not set
++# CONFIG_RTC_DRV_STK17TA8 is not set
++# CONFIG_RTC_DRV_M48T86 is not set
++# CONFIG_RTC_DRV_M48T35 is not set
++# CONFIG_RTC_DRV_M48T59 is not set
++# CONFIG_RTC_DRV_MSM6242 is not set
++# CONFIG_RTC_DRV_BQ4802 is not set
++# CONFIG_RTC_DRV_RP5C01 is not set
++# CONFIG_RTC_DRV_V3020 is not set
++
++#
++# on-CPU RTC drivers
++#
++# CONFIG_DMADEVICES is not set
++# CONFIG_AUXDISPLAY is not set
++CONFIG_UIO=m
++CONFIG_UIO_PDRV=m
++CONFIG_UIO_PDRV_GENIRQ=m
++# CONFIG_UIO_SMX is not set
++# CONFIG_UIO_SERCOS3 is not set
++
++#
++# TI VLYNQ
++#
++CONFIG_STAGING=y
++# CONFIG_STAGING_EXCLUDE_BUILD is not set
++# CONFIG_USB_IP_COMMON is not set
++CONFIG_W35UND=m
++# CONFIG_PRISM2_USB is not set
++CONFIG_ECHO=m
++CONFIG_OTUS=m
++# CONFIG_COMEDI is not set
++# CONFIG_ASUS_OLED is not set
++# CONFIG_INPUT_MIMIO is not set
++# CONFIG_TRANZPORT is not set
++
++#
++# Qualcomm MSM Camera And Video
++#
++
++#
++# Camera Sensor Selection
++#
++# CONFIG_INPUT_GPIO is not set
++# CONFIG_DST is not set
++# CONFIG_POHMELFS is not set
++# CONFIG_PLAN9AUTH is not set
++# CONFIG_LINE6_USB is not set
++# CONFIG_USB_SERIAL_QUATECH2 is not set
++# CONFIG_USB_SERIAL_QUATECH_USB2 is not set
++# CONFIG_VT6656 is not set
++# CONFIG_FB_UDL is not set
++
++#
++# RAR Register Driver
++#
++# CONFIG_RAR_REGISTER is not set
++# CONFIG_IIO is not set
++# CONFIG_RAMZSWAP is not set
++# CONFIG_BATMAN_ADV is not set
++# CONFIG_STRIP is not set
++
++#
++# CBUS support
++#
++# CONFIG_CBUS is not set
++
++#
++# File systems
++#
++CONFIG_FS_JOURNAL_INFO=y
++CONFIG_EXT2_FS=y
++# CONFIG_EXT2_FS_XATTR is not set
++# CONFIG_EXT2_FS_XIP is not set
++CONFIG_EXT3_FS=y
++# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
++# CONFIG_EXT3_FS_XATTR is not set
++CONFIG_EXT4_FS=y
++CONFIG_EXT4_FS_XATTR=y
++# CONFIG_EXT4_FS_POSIX_ACL is not set
++# CONFIG_EXT4_FS_SECURITY is not set
++# CONFIG_EXT4_DEBUG is not set
++CONFIG_JBD=y
++# CONFIG_JBD_DEBUG is not set
++CONFIG_JBD2=y
++# CONFIG_JBD2_DEBUG is not set
++CONFIG_FS_MBCACHE=y
++CONFIG_REISERFS_FS=m
++# CONFIG_REISERFS_CHECK is not set
++CONFIG_REISERFS_PROC_INFO=y
++CONFIG_REISERFS_FS_XATTR=y
++# CONFIG_REISERFS_FS_POSIX_ACL is not set
++# CONFIG_REISERFS_FS_SECURITY is not set
++CONFIG_JFS_FS=m
++# CONFIG_JFS_POSIX_ACL is not set
++# CONFIG_JFS_SECURITY is not set
++# CONFIG_JFS_DEBUG is not set
++# CONFIG_JFS_STATISTICS is not set
++CONFIG_FS_POSIX_ACL=y
++CONFIG_XFS_FS=m
++# CONFIG_XFS_QUOTA is not set
++# CONFIG_XFS_POSIX_ACL is not set
++# CONFIG_XFS_RT is not set
++# CONFIG_XFS_DEBUG is not set
++CONFIG_GFS2_FS=m
++# CONFIG_GFS2_FS_LOCKING_DLM is not set
++CONFIG_OCFS2_FS=m
++CONFIG_OCFS2_FS_O2CB=m
++CONFIG_OCFS2_FS_USERSPACE_CLUSTER=m
++CONFIG_OCFS2_FS_STATS=y
++CONFIG_OCFS2_DEBUG_MASKLOG=y
++# CONFIG_OCFS2_DEBUG_FS is not set
++# CONFIG_OCFS2_FS_POSIX_ACL is not set
++CONFIG_BTRFS_FS=m
++# CONFIG_BTRFS_FS_POSIX_ACL is not set
++# CONFIG_NILFS2_FS is not set
++CONFIG_FILE_LOCKING=y
++CONFIG_FSNOTIFY=y
++CONFIG_DNOTIFY=y
++CONFIG_INOTIFY=y
++CONFIG_INOTIFY_USER=y
++CONFIG_QUOTA=y
++# CONFIG_QUOTA_NETLINK_INTERFACE is not set
++CONFIG_PRINT_QUOTA_WARNING=y
++CONFIG_QUOTA_TREE=y
++# CONFIG_QFMT_V1 is not set
++CONFIG_QFMT_V2=y
++CONFIG_QUOTACTL=y
++# CONFIG_AUTOFS_FS is not set
++CONFIG_AUTOFS4_FS=m
++CONFIG_FUSE_FS=m
++# CONFIG_CUSE is not set
++CONFIG_GENERIC_ACL=y
++
++#
++# Caches
++#
++# CONFIG_FSCACHE is not set
++
++#
++# CD-ROM/DVD Filesystems
++#
++CONFIG_ISO9660_FS=m
++CONFIG_JOLIET=y
++CONFIG_ZISOFS=y
++CONFIG_UDF_FS=m
++CONFIG_UDF_NLS=y
++
++#
++# DOS/FAT/NT Filesystems
++#
++CONFIG_FAT_FS=y
++CONFIG_MSDOS_FS=y
++CONFIG_VFAT_FS=y
++CONFIG_FAT_DEFAULT_CODEPAGE=437
++CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
++CONFIG_NTFS_FS=m
++# CONFIG_NTFS_DEBUG is not set
++CONFIG_NTFS_RW=y
++
++#
++# Pseudo filesystems
++#
++CONFIG_PROC_FS=y
++CONFIG_PROC_SYSCTL=y
++CONFIG_PROC_PAGE_MONITOR=y
++CONFIG_SYSFS=y
++CONFIG_TMPFS=y
++CONFIG_TMPFS_POSIX_ACL=y
++# CONFIG_HUGETLB_PAGE is not set
++CONFIG_CONFIGFS_FS=m
++CONFIG_MISC_FILESYSTEMS=y
++CONFIG_ADFS_FS=m
++# CONFIG_ADFS_FS_RW is not set
++CONFIG_AFFS_FS=m
++# CONFIG_ECRYPT_FS is not set
++CONFIG_HFS_FS=m
++CONFIG_HFSPLUS_FS=m
++CONFIG_BEFS_FS=m
++# CONFIG_BEFS_DEBUG is not set
++CONFIG_BFS_FS=m
++CONFIG_EFS_FS=m
++CONFIG_JFFS2_FS=y
++CONFIG_JFFS2_FS_DEBUG=0
++CONFIG_JFFS2_FS_WRITEBUFFER=y
++# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
++CONFIG_JFFS2_SUMMARY=y
++CONFIG_JFFS2_FS_XATTR=y
++CONFIG_JFFS2_FS_POSIX_ACL=y
++CONFIG_JFFS2_FS_SECURITY=y
++CONFIG_JFFS2_COMPRESSION_OPTIONS=y
++CONFIG_JFFS2_ZLIB=y
++CONFIG_JFFS2_LZO=y
++CONFIG_JFFS2_RTIME=y
++CONFIG_JFFS2_RUBIN=y
++# CONFIG_JFFS2_CMODE_NONE is not set
++# CONFIG_JFFS2_CMODE_PRIORITY is not set
++# CONFIG_JFFS2_CMODE_SIZE is not set
++CONFIG_JFFS2_CMODE_FAVOURLZO=y
++CONFIG_UBIFS_FS=y
++CONFIG_UBIFS_FS_XATTR=y
++CONFIG_UBIFS_FS_ADVANCED_COMPR=y
++CONFIG_UBIFS_FS_LZO=y
++CONFIG_UBIFS_FS_ZLIB=y
++# CONFIG_UBIFS_FS_DEBUG is not set
++CONFIG_CRAMFS=m
++CONFIG_SQUASHFS=y
++# CONFIG_SQUASHFS_EMBEDDED is not set
++CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
++CONFIG_VXFS_FS=m
++CONFIG_MINIX_FS=m
++CONFIG_OMFS_FS=m
++CONFIG_HPFS_FS=m
++CONFIG_QNX4FS_FS=m
++CONFIG_ROMFS_FS=m
++CONFIG_ROMFS_BACKED_BY_BLOCK=y
++# CONFIG_ROMFS_BACKED_BY_MTD is not set
++# CONFIG_ROMFS_BACKED_BY_BOTH is not set
++CONFIG_ROMFS_ON_BLOCK=y
++CONFIG_SYSV_FS=m
++CONFIG_UFS_FS=m
++# CONFIG_UFS_FS_WRITE is not set
++# CONFIG_UFS_DEBUG is not set
++CONFIG_NETWORK_FILESYSTEMS=y
++CONFIG_NFS_FS=y
++CONFIG_NFS_V3=y
++# CONFIG_NFS_V3_ACL is not set
++CONFIG_NFS_V4=y
++# CONFIG_NFS_V4_1 is not set
++CONFIG_ROOT_NFS=y
++CONFIG_NFSD=m
++CONFIG_NFSD_V2_ACL=y
++CONFIG_NFSD_V3=y
++CONFIG_NFSD_V3_ACL=y
++CONFIG_NFSD_V4=y
++CONFIG_LOCKD=y
++CONFIG_LOCKD_V4=y
++CONFIG_EXPORTFS=m
++CONFIG_NFS_ACL_SUPPORT=m
++CONFIG_NFS_COMMON=y
++CONFIG_SUNRPC=y
++CONFIG_SUNRPC_GSS=y
++CONFIG_RPCSEC_GSS_KRB5=y
++# CONFIG_RPCSEC_GSS_SPKM3 is not set
++CONFIG_SMB_FS=m
++# CONFIG_SMB_NLS_DEFAULT is not set
++CONFIG_CIFS=m
++CONFIG_CIFS_STATS=y
++CONFIG_CIFS_STATS2=y
++# CONFIG_CIFS_WEAK_PW_HASH is not set
++# CONFIG_CIFS_UPCALL is not set
++# CONFIG_CIFS_XATTR is not set
++# CONFIG_CIFS_DEBUG2 is not set
++# CONFIG_CIFS_DFS_UPCALL is not set
++CONFIG_CIFS_EXPERIMENTAL=y
++CONFIG_NCP_FS=m
++# CONFIG_NCPFS_PACKET_SIGNING is not set
++# CONFIG_NCPFS_IOCTL_LOCKING is not set
++# CONFIG_NCPFS_STRONG is not set
++# CONFIG_NCPFS_NFS_NS is not set
++# CONFIG_NCPFS_OS2_NS is not set
++# CONFIG_NCPFS_SMALLDOS is not set
++# CONFIG_NCPFS_NLS is not set
++# CONFIG_NCPFS_EXTRAS is not set
++CONFIG_CODA_FS=m
++CONFIG_AFS_FS=m
++# CONFIG_AFS_DEBUG is not set
++CONFIG_9P_FS=m
++
++#
++# Partition Types
++#
++CONFIG_PARTITION_ADVANCED=y
++# CONFIG_ACORN_PARTITION is not set
++# CONFIG_OSF_PARTITION is not set
++# CONFIG_AMIGA_PARTITION is not set
++# CONFIG_ATARI_PARTITION is not set
++CONFIG_MAC_PARTITION=y
++CONFIG_MSDOS_PARTITION=y
++CONFIG_BSD_DISKLABEL=y
++CONFIG_MINIX_SUBPARTITION=y
++CONFIG_SOLARIS_X86_PARTITION=y
++# CONFIG_UNIXWARE_DISKLABEL is not set
++CONFIG_LDM_PARTITION=y
++CONFIG_LDM_DEBUG=y
++# CONFIG_SGI_PARTITION is not set
++# CONFIG_ULTRIX_PARTITION is not set
++# CONFIG_SUN_PARTITION is not set
++# CONFIG_KARMA_PARTITION is not set
++CONFIG_EFI_PARTITION=y
++# CONFIG_SYSV68_PARTITION is not set
++CONFIG_NLS=y
++CONFIG_NLS_DEFAULT="iso8859-1"
++CONFIG_NLS_CODEPAGE_437=y
++CONFIG_NLS_CODEPAGE_737=m
++CONFIG_NLS_CODEPAGE_775=m
++CONFIG_NLS_CODEPAGE_850=m
++CONFIG_NLS_CODEPAGE_852=m
++CONFIG_NLS_CODEPAGE_855=m
++CONFIG_NLS_CODEPAGE_857=m
++CONFIG_NLS_CODEPAGE_860=m
++CONFIG_NLS_CODEPAGE_861=m
++CONFIG_NLS_CODEPAGE_862=m
++CONFIG_NLS_CODEPAGE_863=m
++CONFIG_NLS_CODEPAGE_864=m
++CONFIG_NLS_CODEPAGE_865=m
++CONFIG_NLS_CODEPAGE_866=m
++CONFIG_NLS_CODEPAGE_869=m
++CONFIG_NLS_CODEPAGE_936=m
++CONFIG_NLS_CODEPAGE_950=m
++CONFIG_NLS_CODEPAGE_932=m
++CONFIG_NLS_CODEPAGE_949=m
++CONFIG_NLS_CODEPAGE_874=m
++CONFIG_NLS_ISO8859_8=m
++CONFIG_NLS_CODEPAGE_1250=m
++CONFIG_NLS_CODEPAGE_1251=m
++CONFIG_NLS_ASCII=m
++CONFIG_NLS_ISO8859_1=y
++CONFIG_NLS_ISO8859_2=m
++CONFIG_NLS_ISO8859_3=m
++CONFIG_NLS_ISO8859_4=m
++CONFIG_NLS_ISO8859_5=m
++CONFIG_NLS_ISO8859_6=m
++CONFIG_NLS_ISO8859_7=m
++CONFIG_NLS_ISO8859_9=m
++CONFIG_NLS_ISO8859_13=m
++CONFIG_NLS_ISO8859_14=m
++CONFIG_NLS_ISO8859_15=m
++CONFIG_NLS_KOI8_R=m
++CONFIG_NLS_KOI8_U=m
++CONFIG_NLS_UTF8=y
++CONFIG_DLM=m
++# CONFIG_DLM_DEBUG is not set
++
++#
++# Kernel hacking
++#
++CONFIG_PRINTK_TIME=y
++CONFIG_ENABLE_WARN_DEPRECATED=y
++CONFIG_ENABLE_MUST_CHECK=y
++CONFIG_FRAME_WARN=1024
++CONFIG_MAGIC_SYSRQ=y
++# CONFIG_STRIP_ASM_SYMS is not set
++# CONFIG_UNUSED_SYMBOLS is not set
++CONFIG_DEBUG_FS=y
++# CONFIG_HEADERS_CHECK is not set
++CONFIG_DEBUG_KERNEL=y
++# CONFIG_DEBUG_SHIRQ is not set
++CONFIG_DETECT_SOFTLOCKUP=y
++# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
++CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
++CONFIG_DETECT_HUNG_TASK=y
++# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
++CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
++CONFIG_SCHED_DEBUG=y
++CONFIG_SCHEDSTATS=y
++CONFIG_TIMER_STATS=y
++# CONFIG_DEBUG_OBJECTS is not set
++# CONFIG_DEBUG_SLAB is not set
++# CONFIG_DEBUG_KMEMLEAK is not set
++CONFIG_DEBUG_PREEMPT=y
++# CONFIG_DEBUG_RT_MUTEXES is not set
++# CONFIG_RT_MUTEX_TESTER is not set
++# CONFIG_DEBUG_SPINLOCK is not set
++CONFIG_DEBUG_MUTEXES=y
++# CONFIG_DEBUG_LOCK_ALLOC is not set
++# CONFIG_PROVE_LOCKING is not set
++# CONFIG_LOCK_STAT is not set
++# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
++# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
++CONFIG_STACKTRACE=y
++# CONFIG_DEBUG_KOBJECT is not set
++# CONFIG_DEBUG_BUGVERBOSE is not set
++# CONFIG_DEBUG_INFO is not set
++# CONFIG_DEBUG_VM is not set
++# CONFIG_DEBUG_WRITECOUNT is not set
++# CONFIG_DEBUG_MEMORY_INIT is not set
++# CONFIG_DEBUG_LIST is not set
++# CONFIG_DEBUG_SG is not set
++# CONFIG_DEBUG_NOTIFIERS is not set
++# CONFIG_DEBUG_CREDENTIALS is not set
++# CONFIG_BOOT_PRINTK_DELAY is not set
++# CONFIG_RCU_TORTURE_TEST is not set
++# CONFIG_RCU_CPU_STALL_DETECTOR is not set
++# CONFIG_BACKTRACE_SELF_TEST is not set
++# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
++# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
++# CONFIG_FAULT_INJECTION is not set
++# CONFIG_LATENCYTOP is not set
++# CONFIG_SYSCTL_SYSCALL_CHECK is not set
++# CONFIG_PAGE_POISONING is not set
++CONFIG_NOP_TRACER=y
++CONFIG_HAVE_FUNCTION_TRACER=y
++CONFIG_RING_BUFFER=y
++CONFIG_EVENT_TRACING=y
++CONFIG_CONTEXT_SWITCH_TRACER=y
++CONFIG_RING_BUFFER_ALLOW_SWAP=y
++CONFIG_TRACING=y
++CONFIG_TRACING_SUPPORT=y
++CONFIG_FTRACE=y
++# CONFIG_FUNCTION_TRACER is not set
++# CONFIG_IRQSOFF_TRACER is not set
++# CONFIG_PREEMPT_TRACER is not set
++# CONFIG_SCHED_TRACER is not set
++# CONFIG_ENABLE_DEFAULT_TRACERS is not set
++# CONFIG_BOOT_TRACER is not set
++CONFIG_BRANCH_PROFILE_NONE=y
++# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
++# CONFIG_PROFILE_ALL_BRANCHES is not set
++# CONFIG_STACK_TRACER is not set
++# CONFIG_KMEMTRACE is not set
++# CONFIG_WORKQUEUE_TRACER is not set
++# CONFIG_BLK_DEV_IO_TRACE is not set
++# CONFIG_RING_BUFFER_BENCHMARK is not set
++# CONFIG_DYNAMIC_DEBUG is not set
++# CONFIG_SAMPLES is not set
++CONFIG_HAVE_ARCH_KGDB=y
++# CONFIG_KGDB is not set
++CONFIG_ARM_UNWIND=y
++# CONFIG_DEBUG_USER is not set
++# CONFIG_DEBUG_ERRORS is not set
++# CONFIG_DEBUG_STACK_USAGE is not set
++# CONFIG_DEBUG_LL is not set
++# CONFIG_OC_ETM is not set
++
++#
++# Security options
++#
++CONFIG_KEYS=y
++# CONFIG_KEYS_DEBUG_PROC_KEYS is not set
++# CONFIG_SECURITY is not set
++# CONFIG_SECURITYFS is not set
++# CONFIG_DEFAULT_SECURITY_SELINUX is not set
++# CONFIG_DEFAULT_SECURITY_SMACK is not set
++# CONFIG_DEFAULT_SECURITY_TOMOYO is not set
++CONFIG_DEFAULT_SECURITY_DAC=y
++CONFIG_DEFAULT_SECURITY=""
++CONFIG_XOR_BLOCKS=m
++CONFIG_ASYNC_CORE=m
++CONFIG_ASYNC_MEMCPY=m
++CONFIG_ASYNC_XOR=m
++CONFIG_ASYNC_PQ=m
++CONFIG_ASYNC_RAID6_RECOV=m
++CONFIG_CRYPTO=y
++
++#
++# Crypto core or helper
++#
++CONFIG_CRYPTO_FIPS=y
++CONFIG_CRYPTO_ALGAPI=y
++CONFIG_CRYPTO_ALGAPI2=y
++CONFIG_CRYPTO_AEAD=m
++CONFIG_CRYPTO_AEAD2=y
++CONFIG_CRYPTO_BLKCIPHER=y
++CONFIG_CRYPTO_BLKCIPHER2=y
++CONFIG_CRYPTO_HASH=y
++CONFIG_CRYPTO_HASH2=y
++CONFIG_CRYPTO_RNG=m
++CONFIG_CRYPTO_RNG2=y
++CONFIG_CRYPTO_PCOMP=y
++CONFIG_CRYPTO_MANAGER=y
++CONFIG_CRYPTO_MANAGER2=y
++CONFIG_CRYPTO_GF128MUL=m
++CONFIG_CRYPTO_NULL=m
++CONFIG_CRYPTO_WORKQUEUE=y
++CONFIG_CRYPTO_CRYPTD=m
++CONFIG_CRYPTO_AUTHENC=m
++CONFIG_CRYPTO_TEST=m
++
++#
++# Authenticated Encryption with Associated Data
++#
++CONFIG_CRYPTO_CCM=m
++CONFIG_CRYPTO_GCM=m
++CONFIG_CRYPTO_SEQIV=m
++
++#
++# Block modes
++#
++CONFIG_CRYPTO_CBC=y
++CONFIG_CRYPTO_CTR=m
++CONFIG_CRYPTO_CTS=m
++CONFIG_CRYPTO_ECB=y
++CONFIG_CRYPTO_LRW=m
++CONFIG_CRYPTO_PCBC=m
++CONFIG_CRYPTO_XTS=m
++
++#
++# Hash modes
++#
++CONFIG_CRYPTO_HMAC=m
++CONFIG_CRYPTO_XCBC=m
++# CONFIG_CRYPTO_VMAC is not set
++
++#
++# Digest
++#
++CONFIG_CRYPTO_CRC32C=y
++CONFIG_CRYPTO_GHASH=m
++CONFIG_CRYPTO_MD4=m
++CONFIG_CRYPTO_MD5=y
++CONFIG_CRYPTO_MICHAEL_MIC=y
++CONFIG_CRYPTO_RMD128=m
++CONFIG_CRYPTO_RMD160=m
++CONFIG_CRYPTO_RMD256=m
++CONFIG_CRYPTO_RMD320=m
++CONFIG_CRYPTO_SHA1=m
++CONFIG_CRYPTO_SHA256=m
++CONFIG_CRYPTO_SHA512=m
++CONFIG_CRYPTO_TGR192=m
++CONFIG_CRYPTO_WP512=m
++
++#
++# Ciphers
++#
++CONFIG_CRYPTO_AES=y
++CONFIG_CRYPTO_ANUBIS=m
++CONFIG_CRYPTO_ARC4=y
++CONFIG_CRYPTO_BLOWFISH=m
++CONFIG_CRYPTO_CAMELLIA=m
++CONFIG_CRYPTO_CAST5=m
++CONFIG_CRYPTO_CAST6=m
++CONFIG_CRYPTO_DES=y
++CONFIG_CRYPTO_FCRYPT=m
++CONFIG_CRYPTO_KHAZAD=m
++CONFIG_CRYPTO_SALSA20=m
++CONFIG_CRYPTO_SEED=m
++CONFIG_CRYPTO_SERPENT=m
++CONFIG_CRYPTO_TEA=m
++CONFIG_CRYPTO_TWOFISH=m
++CONFIG_CRYPTO_TWOFISH_COMMON=m
++
++#
++# Compression
++#
++CONFIG_CRYPTO_DEFLATE=y
++# CONFIG_CRYPTO_ZLIB is not set
++CONFIG_CRYPTO_LZO=y
++
++#
++# Random Number Generation
++#
++CONFIG_CRYPTO_ANSI_CPRNG=m
++CONFIG_CRYPTO_HW=y
++CONFIG_BINARY_PRINTF=y
++
++#
++# Library routines
++#
++CONFIG_BITREVERSE=y
++CONFIG_GENERIC_FIND_LAST_BIT=y
++CONFIG_CRC_CCITT=y
++CONFIG_CRC16=y
++CONFIG_CRC_T10DIF=y
++CONFIG_CRC_ITU_T=y
++CONFIG_CRC32=y
++CONFIG_CRC7=y
++CONFIG_LIBCRC32C=y
++CONFIG_ZLIB_INFLATE=y
++CONFIG_ZLIB_DEFLATE=y
++CONFIG_LZO_COMPRESS=y
++CONFIG_LZO_DECOMPRESS=y
++CONFIG_DECOMPRESS_GZIP=y
++CONFIG_TEXTSEARCH=y
++CONFIG_TEXTSEARCH_KMP=m
++CONFIG_TEXTSEARCH_BM=m
++CONFIG_TEXTSEARCH_FSM=m
++CONFIG_HAS_IOMEM=y
++CONFIG_HAS_IOPORT=y
++CONFIG_HAS_DMA=y
++CONFIG_NLATTR=y
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0006-omap3beagle-camera-Add-support-for-regulators.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0006-omap3beagle-camera-Add-support-for-regulators.patch
new file mode 100644
index 0000000000..11e03e2ced
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0006-omap3beagle-camera-Add-support-for-regulators.patch
@@ -0,0 +1,238 @@
+From f99548efe1161c4f5418dcacb598b1c9637ca7d5 Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Fri, 11 Jun 2010 16:50:39 -0500
+Subject: [PATCH 06/28] omap3beagle: camera: Add support for regulators
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ arch/arm/mach-omap2/board-omap3beagle-camera.c | 92 +++++++++++++++++++++---
+ arch/arm/mach-omap2/board-omap3beagle.c | 53 ++++++++++++++
+ 2 files changed, 135 insertions(+), 10 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+index e93437f..af8581a 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle-camera.c
++++ b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+@@ -28,8 +28,9 @@
+ #include <linux/gpio.h>
+ #include <linux/mm.h>
+ #include <linux/videodev2.h>
+-#include <linux/i2c/twl.h>
++#include <linux/regulator/consumer.h>
+ #include <linux/delay.h>
++#include <linux/platform_device.h>
+
+ #include <plat/mux.h>
+ #include <plat/board.h>
+@@ -50,6 +51,11 @@
+
+ #define CAM_USE_XCLKA 1
+
++static struct regulator *beagle_mt9t111_reg1;
++static struct regulator *beagle_mt9t111_reg2;
++
++static struct device *beaglecam_dev;
++
+ #if defined(CONFIG_VIDEO_MT9T111) || defined(CONFIG_VIDEO_MT9T111_MODULE)
+ static struct isp_interface_config mt9t111_if_config = {
+ .ccdc_par_ser = ISP_PARLL,
+@@ -157,10 +163,13 @@ static int mt9t111_power_set(struct v4l2_int_device *s, enum v4l2_power power)
+
+ switch (power) {
+ case V4L2_POWER_OFF:
++ case V4L2_POWER_STANDBY:
+ isp_set_xclk(vdev->cam->isp, 0, CAM_USE_XCLKA);
+- break;
+
+- case V4L2_POWER_STANDBY:
++ if (regulator_is_enabled(beagle_mt9t111_reg1))
++ regulator_disable(beagle_mt9t111_reg1);
++ if (regulator_is_enabled(beagle_mt9t111_reg2))
++ regulator_disable(beagle_mt9t111_reg2);
+ break;
+
+ case V4L2_POWER_ON:
+@@ -169,6 +178,12 @@ static int mt9t111_power_set(struct v4l2_int_device *s, enum v4l2_power power)
+ #if defined(CONFIG_VIDEO_OMAP3) || defined(CONFIG_VIDEO_OMAP3_MODULE)
+ isp_configure_interface(vdev->cam->isp, &mt9t111_if_config);
+ #endif
++
++ /* turn on analog power */
++ regulator_enable(beagle_mt9t111_reg1);
++ regulator_enable(beagle_mt9t111_reg2);
++ udelay(100);
++
+ break;
+
+ default:
+@@ -196,16 +211,22 @@ static struct i2c_board_info __initdata mt9t111_i2c_board_info = {
+
+ #endif /* #ifdef CONFIG_VIDEO_MT9T111 */
+
+-/**
+- * @brief omap3beaglelmb_init - module init function. Should be called before any
+- * client driver init call
+- *
+- * @return result of operation - 0 is success
+- */
+-int __init omap3beaglelmb_init(void)
++
++static int beagle_cam_probe(struct platform_device *pdev)
+ {
+ int err;
+
++ beagle_mt9t111_reg1 = regulator_get(beaglecam_dev, "vaux3_1");
++ if (IS_ERR(beagle_mt9t111_reg1)) {
++ dev_err(beaglecam_dev, "vaux3_1 regulator missing\n");
++ return PTR_ERR(beagle_mt9t111_reg1);
++ }
++ beagle_mt9t111_reg2 = regulator_get(beaglecam_dev, "vaux4_1");
++ if (IS_ERR(beagle_mt9t111_reg2)) {
++ dev_err(beaglecam_dev, "vaux4_1 regulator missing\n");
++ regulator_put(beagle_mt9t111_reg1);
++ return PTR_ERR(beagle_mt9t111_reg2);
++ }
+ /*
+ * Register the I2C devices present in the board to the I2C
+ * framework.
+@@ -221,8 +242,59 @@ int __init omap3beaglelmb_init(void)
+ return err;
+ }
+ #endif
++
++ beaglecam_dev = &pdev->dev;
++
+ printk(KERN_INFO MODULE_NAME ": Driver registration complete \n");
+
+ return 0;
+ }
++
++static int beagle_cam_remove(struct platform_device *pdev)
++{
++ if (regulator_is_enabled(beagle_mt9t111_reg1))
++ regulator_disable(beagle_mt9t111_reg1);
++ regulator_put(beagle_mt9t111_reg1);
++ if (regulator_is_enabled(beagle_mt9t111_reg2))
++ regulator_disable(beagle_mt9t111_reg2);
++ regulator_put(beagle_mt9t111_reg2);
++
++ return 0;
++}
++
++static int beagle_cam_suspend(struct device *dev)
++{
++ return 0;
++}
++
++static int beagle_cam_resume(struct device *dev)
++{
++ return 0;
++}
++
++static struct dev_pm_ops beagle_cam_pm_ops = {
++ .suspend = beagle_cam_suspend,
++ .resume = beagle_cam_resume,
++};
++
++static struct platform_driver beagle_cam_driver = {
++ .probe = beagle_cam_probe,
++ .remove = beagle_cam_remove,
++ .driver = {
++ .name = "beagle_cam",
++ .pm = &beagle_cam_pm_ops,
++ },
++};
++
++/**
++ * @brief omap3beaglelmb_init - module init function. Should be called before any
++ * client driver init call
++ *
++ * @return result of operation - 0 is success
++ */
++int __init omap3beaglelmb_init(void)
++{
++ platform_driver_register(&beagle_cam_driver);
++ return 0;
++}
+ arch_initcall(omap3beaglelmb_init);
+diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
+index d6b69a6..aa16acd 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle.c
++++ b/arch/arm/mach-omap2/board-omap3beagle.c
+@@ -403,6 +403,56 @@ static struct twl4030_gpio_platform_data beagle_gpio_data = {
+ .setup = beagle_twl_gpio_setup,
+ };
+
++
++static struct platform_device beagle_cam_device = {
++ .name = "beagle_cam",
++ .id = -1,
++};
++
++static struct regulator_consumer_supply beagle_vaux3_supplies[] = {
++ {
++ .supply = "vaux3_1",
++ .dev = &beagle_cam_device.dev,
++ },
++};
++
++static struct regulator_consumer_supply beagle_vaux4_supplies[] = {
++ {
++ .supply = "vaux4_1",
++ .dev = &beagle_cam_device.dev,
++ },
++};
++
++/* VAUX3 for CAM_1V8 */
++static struct regulator_init_data beagle_vaux3 = {
++ .constraints = {
++ .min_uV = 1800000,
++ .max_uV = 1800000,
++ .apply_uV = true,
++ .valid_modes_mask = REGULATOR_MODE_NORMAL
++ | REGULATOR_MODE_STANDBY,
++ .valid_ops_mask = REGULATOR_CHANGE_MODE
++ | REGULATOR_CHANGE_STATUS,
++ },
++ .num_consumer_supplies = ARRAY_SIZE(beagle_vaux3_supplies),
++ .consumer_supplies = beagle_vaux3_supplies,
++};
++
++/* VAUX4 for CAM_2V8 */
++static struct regulator_init_data beagle_vaux4 = {
++ .constraints = {
++ .min_uV = 2800000,
++ .max_uV = 2800000,
++ .apply_uV = true,
++ .valid_modes_mask = REGULATOR_MODE_NORMAL
++ | REGULATOR_MODE_STANDBY,
++ .valid_ops_mask = REGULATOR_CHANGE_MODE
++ | REGULATOR_CHANGE_STATUS,
++ },
++ .num_consumer_supplies = ARRAY_SIZE(beagle_vaux4_supplies),
++ .consumer_supplies = beagle_vaux4_supplies,
++};
++
+ /* VMMC1 for MMC1 pins CMD, CLK, DAT0..DAT3 (20 mA, plus card == max 220 mA) */
+ static struct regulator_init_data beagle_vmmc1 = {
+ .constraints = {
+@@ -492,6 +542,8 @@ static struct twl4030_platform_data beagle_twldata = {
+ .vsim = &beagle_vsim,
+ .vdac = &beagle_vdac,
+ .vpll2 = &beagle_vpll2,
++ .vaux3 = &beagle_vaux3,
++ .vaux4 = &beagle_vaux4,
+ };
+
+ static struct i2c_board_info __initdata beagle_i2c1_boardinfo[] = {
+@@ -658,6 +710,7 @@ static struct platform_device *omap3_beagle_devices[] __initdata = {
+ &leds_gpio,
+ &keys_gpio,
+ &beagle_dss_device,
++ &beagle_cam_device,
+ };
+
+ static void __init omap3beagle_flash_init(void)
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0007-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0007-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch
new file mode 100644
index 0000000000..c479f30e47
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0007-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch
@@ -0,0 +1,37 @@
+From 7d5f49845f06feadb9bc97d458d1ce03814ff5f4 Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Fri, 11 Jun 2010 16:52:25 -0500
+Subject: [PATCH 07/28] TEMP: omap3beagle: cam: Enable OMAP_MUX
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ arch/arm/configs/omap3_beagle_cam_defconfig | 6 ++++--
+ 1 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/arch/arm/configs/omap3_beagle_cam_defconfig b/arch/arm/configs/omap3_beagle_cam_defconfig
+index 0ea8300..bcd9418 100644
+--- a/arch/arm/configs/omap3_beagle_cam_defconfig
++++ b/arch/arm/configs/omap3_beagle_cam_defconfig
+@@ -1,7 +1,7 @@
+ #
+ # Automatically generated make config: don't edit
+ # Linux kernel version: 2.6.32
+-# Fri Jun 11 14:25:23 2010
++# Fri Jun 11 16:51:42 2010
+ #
+ CONFIG_ARM=y
+ CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+@@ -240,7 +240,9 @@ CONFIG_ARCH_OMAP3=y
+ CONFIG_OMAP_SMARTREFLEX=y
+ # CONFIG_OMAP_SMARTREFLEX_TESTING is not set
+ CONFIG_OMAP_RESET_CLOCKS=y
+-# CONFIG_OMAP_MUX is not set
++CONFIG_OMAP_MUX=y
++# CONFIG_OMAP_MUX_DEBUG is not set
++CONFIG_OMAP_MUX_WARNINGS=y
+ CONFIG_OMAP_MCBSP=y
+ CONFIG_OMAP_MBOX_FWK=m
+ CONFIG_OMAP_IOMMU=y
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0008-omap3beagle-camera-Fix-null-pointer-dereference.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0008-omap3beagle-camera-Fix-null-pointer-dereference.patch
new file mode 100644
index 0000000000..0c01030d0b
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0008-omap3beagle-camera-Fix-null-pointer-dereference.patch
@@ -0,0 +1,54 @@
+From 74fef5ae63ecf623ea3accdff05b092699437b11 Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Fri, 11 Jun 2010 17:53:50 -0500
+Subject: [PATCH 08/28] omap3beagle: camera: Fix null pointer dereference
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ arch/arm/mach-omap2/board-omap3beagle-camera.c | 12 ++++--------
+ 1 files changed, 4 insertions(+), 8 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+index af8581a..20174a7 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle-camera.c
++++ b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+@@ -54,8 +54,6 @@
+ static struct regulator *beagle_mt9t111_reg1;
+ static struct regulator *beagle_mt9t111_reg2;
+
+-static struct device *beaglecam_dev;
+-
+ #if defined(CONFIG_VIDEO_MT9T111) || defined(CONFIG_VIDEO_MT9T111_MODULE)
+ static struct isp_interface_config mt9t111_if_config = {
+ .ccdc_par_ser = ISP_PARLL,
+@@ -216,14 +214,14 @@ static int beagle_cam_probe(struct platform_device *pdev)
+ {
+ int err;
+
+- beagle_mt9t111_reg1 = regulator_get(beaglecam_dev, "vaux3_1");
++ beagle_mt9t111_reg1 = regulator_get(&pdev->dev, "vaux3_1");
+ if (IS_ERR(beagle_mt9t111_reg1)) {
+- dev_err(beaglecam_dev, "vaux3_1 regulator missing\n");
++ dev_err(&pdev->dev, "vaux3_1 regulator missing\n");
+ return PTR_ERR(beagle_mt9t111_reg1);
+ }
+- beagle_mt9t111_reg2 = regulator_get(beaglecam_dev, "vaux4_1");
++ beagle_mt9t111_reg2 = regulator_get(&pdev->dev, "vaux4_1");
+ if (IS_ERR(beagle_mt9t111_reg2)) {
+- dev_err(beaglecam_dev, "vaux4_1 regulator missing\n");
++ dev_err(&pdev->dev, "vaux4_1 regulator missing\n");
+ regulator_put(beagle_mt9t111_reg1);
+ return PTR_ERR(beagle_mt9t111_reg2);
+ }
+@@ -243,8 +241,6 @@ static int beagle_cam_probe(struct platform_device *pdev)
+ }
+ #endif
+
+- beaglecam_dev = &pdev->dev;
+-
+ printk(KERN_INFO MODULE_NAME ": Driver registration complete \n");
+
+ return 0;
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0009-Revert-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0009-Revert-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch
new file mode 100644
index 0000000000..d8f4d080b3
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0009-Revert-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch
@@ -0,0 +1,42 @@
+From 6d9afea5e436a57e66efd2784aa299e1baf3fe3a Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Wed, 16 Jun 2010 03:23:57 +0300
+Subject: [PATCH 09/28] Revert "TEMP: omap3beagle: cam: Enable OMAP_MUX"
+
+This reverts commit 7d5f49845f06feadb9bc97d458d1ce03814ff5f4.
+
+Reason?
+
+Kernel panic on MMC partition mount, so probably muxing is broken
+somewhere.
+---
+ arch/arm/configs/omap3_beagle_cam_defconfig | 6 ++----
+ 1 files changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/arch/arm/configs/omap3_beagle_cam_defconfig b/arch/arm/configs/omap3_beagle_cam_defconfig
+index bcd9418..0ea8300 100644
+--- a/arch/arm/configs/omap3_beagle_cam_defconfig
++++ b/arch/arm/configs/omap3_beagle_cam_defconfig
+@@ -1,7 +1,7 @@
+ #
+ # Automatically generated make config: don't edit
+ # Linux kernel version: 2.6.32
+-# Fri Jun 11 16:51:42 2010
++# Fri Jun 11 14:25:23 2010
+ #
+ CONFIG_ARM=y
+ CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+@@ -240,9 +240,7 @@ CONFIG_ARCH_OMAP3=y
+ CONFIG_OMAP_SMARTREFLEX=y
+ # CONFIG_OMAP_SMARTREFLEX_TESTING is not set
+ CONFIG_OMAP_RESET_CLOCKS=y
+-CONFIG_OMAP_MUX=y
+-# CONFIG_OMAP_MUX_DEBUG is not set
+-CONFIG_OMAP_MUX_WARNINGS=y
++# CONFIG_OMAP_MUX is not set
+ CONFIG_OMAP_MCBSP=y
+ CONFIG_OMAP_MBOX_FWK=m
+ CONFIG_OMAP_IOMMU=y
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0010-omap3beagle-camera-Change-arch-late_initcall.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0010-omap3beagle-camera-Change-arch-late_initcall.patch
new file mode 100644
index 0000000000..12b25a04c8
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0010-omap3beagle-camera-Change-arch-late_initcall.patch
@@ -0,0 +1,25 @@
+From 9ff295528695c3a1b0a369e989f556db02ddf6b9 Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Wed, 16 Jun 2010 04:28:06 +0300
+Subject: [PATCH 10/28] omap3beagle: camera: Change arch -> late_initcall
+
+This is for ensuring that the regulators are initialized already.
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ arch/arm/mach-omap2/board-omap3beagle-camera.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+index 20174a7..55a113c 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle-camera.c
++++ b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+@@ -293,4 +293,4 @@ int __init omap3beaglelmb_init(void)
+ platform_driver_register(&beagle_cam_driver);
+ return 0;
+ }
+-arch_initcall(omap3beaglelmb_init);
++late_initcall(omap3beaglelmb_init);
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0011-omap3beagle-camera-Move-i2c-registration-to-the-main.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0011-omap3beagle-camera-Move-i2c-registration-to-the-main.patch
new file mode 100644
index 0000000000..3f83ed8e29
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0011-omap3beagle-camera-Move-i2c-registration-to-the-main.patch
@@ -0,0 +1,107 @@
+From 4855949888a0ad8aca69c1ca3eefc7fbc8dad6f9 Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Wed, 16 Jun 2010 04:58:46 +0300
+Subject: [PATCH 11/28] omap3beagle: camera: Move i2c registration to the main board
+
+This is because the board-omap3beagle-camera.c file now is
+late_initcall, and the i2c bus registration needed to be before
+i2c host init.
+
+So, in order to have the i2c init, meanwhile having late_initcall,
+this is so far the best solution.
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ arch/arm/mach-omap2/board-omap3beagle-camera.c | 24 +-----------------------
+ arch/arm/mach-omap2/board-omap3beagle.c | 12 +++++++++++-
+ 2 files changed, 12 insertions(+), 24 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+index 55a113c..1652f15 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle-camera.c
++++ b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+@@ -47,8 +47,6 @@
+
+ #define MODULE_NAME "omap3beaglelmb"
+
+-#define MT9T111_I2C_BUSNUM (2)
+-
+ #define CAM_USE_XCLKA 1
+
+ static struct regulator *beagle_mt9t111_reg1;
+@@ -191,7 +189,7 @@ static int mt9t111_power_set(struct v4l2_int_device *s, enum v4l2_power power)
+ return 0;
+ }
+
+-static struct mt9t111_platform_data mt9t111_pdata = {
++struct mt9t111_platform_data mt9t111_pdata = {
+ .master = "omap34xxcam",
+ .power_set = mt9t111_power_set,
+ .priv_data_set = mt9t111_set_prv_data,
+@@ -202,11 +200,6 @@ static struct mt9t111_platform_data mt9t111_pdata = {
+ .vs_polarity = 1, /* 0 - Active low, 1- Active high */
+ };
+
+-static struct i2c_board_info __initdata mt9t111_i2c_board_info = {
+- I2C_BOARD_INFO("mt9t111", MT9T111_I2C_ADDR),
+- .platform_data = &mt9t111_pdata,
+-};
+-
+ #endif /* #ifdef CONFIG_VIDEO_MT9T111 */
+
+
+@@ -225,21 +218,6 @@ static int beagle_cam_probe(struct platform_device *pdev)
+ regulator_put(beagle_mt9t111_reg1);
+ return PTR_ERR(beagle_mt9t111_reg2);
+ }
+- /*
+- * Register the I2C devices present in the board to the I2C
+- * framework.
+- * If more I2C devices are added, then each device information should
+- * be registered with I2C using i2c_register_board_info().
+- */
+-#if defined(CONFIG_VIDEO_MT9T111) || defined(CONFIG_VIDEO_MT9T111_MODULE)
+- err = i2c_register_board_info(MT9T111_I2C_BUSNUM,
+- &mt9t111_i2c_board_info, 1);
+- if (err) {
+- printk(KERN_ERR MODULE_NAME \
+- ": MT9T111 I2C Board Registration failed \n");
+- return err;
+- }
+-#endif
+
+ printk(KERN_INFO MODULE_NAME ": Driver registration complete \n");
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
+index aa16acd..757d430 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle.c
++++ b/arch/arm/mach-omap2/board-omap3beagle.c
+@@ -71,6 +71,11 @@ static struct omap_opp * _omap35x_l3_rate_table = NULL;
+ static struct omap_opp * _omap37x_l3_rate_table = NULL;
+ #endif /* CONFIG_PM */
+
++#ifdef CONFIG_VIDEO_MT9T111
++#include <media/v4l2-int-device.h>
++#include <media/mt9t111.h>
++extern struct mt9t111_platform_data mt9t111_pdata;
++#endif
+
+ #define GPMC_CS0_BASE 0x60
+ #define GPMC_CS_SIZE 0x30
+@@ -588,7 +593,12 @@ static struct i2c_board_info __initdata beagle_zippy_i2c2_boardinfo[] = {
+ static struct i2c_board_info __initdata beagle_zippy_i2c2_boardinfo[] = {};
+ #endif
+
+-static struct i2c_board_info __initdata beagle_i2c2_boardinfo[] = {};
++static struct i2c_board_info __initdata beagle_i2c2_boardinfo[] = {
++ {
++ I2C_BOARD_INFO("mt9t111", MT9T111_I2C_ADDR),
++ .platform_data = &mt9t111_pdata,
++ },
++};
+
+ static int __init omap3_beagle_i2c_init(void)
+ {
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0012-ARM-OMAP3-make-camera-code-build-if-MT9T111-is-built.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0012-ARM-OMAP3-make-camera-code-build-if-MT9T111-is-built.patch
new file mode 100644
index 0000000000..8b7e2cf2bd
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0012-ARM-OMAP3-make-camera-code-build-if-MT9T111-is-built.patch
@@ -0,0 +1,38 @@
+From e37a8b39623910576c5784ccc10229fabe51b4c3 Mon Sep 17 00:00:00 2001
+From: Koen Kooi <koen@dominion.thruhere.net>
+Date: Wed, 16 Jun 2010 09:45:46 +0200
+Subject: [PATCH 12/28] ARM: OMAP3: make camera code build if MT9T111 is built as module or disabled
+
+---
+ arch/arm/mach-omap2/board-omap3beagle.c | 4 +++-
+ 1 files changed, 3 insertions(+), 1 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
+index 757d430..1e9a868 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle.c
++++ b/arch/arm/mach-omap2/board-omap3beagle.c
+@@ -71,7 +71,7 @@ static struct omap_opp * _omap35x_l3_rate_table = NULL;
+ static struct omap_opp * _omap37x_l3_rate_table = NULL;
+ #endif /* CONFIG_PM */
+
+-#ifdef CONFIG_VIDEO_MT9T111
++#if defined(CONFIG_VIDEO_MT9T111) || defined(CONFIG_VIDEO_MT9T111_MODULE)
+ #include <media/v4l2-int-device.h>
+ #include <media/mt9t111.h>
+ extern struct mt9t111_platform_data mt9t111_pdata;
+@@ -594,10 +594,12 @@ static struct i2c_board_info __initdata beagle_zippy_i2c2_boardinfo[] = {};
+ #endif
+
+ static struct i2c_board_info __initdata beagle_i2c2_boardinfo[] = {
++#if defined(CONFIG_VIDEO_MT9T111) || defined(CONFIG_VIDEO_MT9T111_MODULE)
+ {
+ I2C_BOARD_INFO("mt9t111", MT9T111_I2C_ADDR),
+ .platform_data = &mt9t111_pdata,
+ },
++#endif
+ };
+
+ static int __init omap3_beagle_i2c_init(void)
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0013-DEBUG-omap3beagle-camera-Force-mode0-in-cam_xclka.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0013-DEBUG-omap3beagle-camera-Force-mode0-in-cam_xclka.patch
new file mode 100644
index 0000000000..c697de3c5c
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0013-DEBUG-omap3beagle-camera-Force-mode0-in-cam_xclka.patch
@@ -0,0 +1,41 @@
+From cc677d0cce4b39b7091e1e8c5675e98518968d3e Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Wed, 23 Jun 2010 15:03:24 -0500
+Subject: [PATCH 13/28] DEBUG: omap3beagle: camera: Force mode0 in cam_xclka
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ arch/arm/mach-omap2/board-omap3beagle-camera.c | 3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+index 1652f15..77f9469 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle-camera.c
++++ b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+@@ -34,6 +34,7 @@
+
+ #include <plat/mux.h>
+ #include <plat/board.h>
++#include <plat/control.h>
+
+ #include <media/v4l2-int-device.h>
+ #include <media/mt9t111.h>
+@@ -160,6 +161,7 @@ static int mt9t111_power_set(struct v4l2_int_device *s, enum v4l2_power power)
+ switch (power) {
+ case V4L2_POWER_OFF:
+ case V4L2_POWER_STANDBY:
++ omap_ctrl_writew(0x0, 0x110); /* Control XCLKA output mux */
+ isp_set_xclk(vdev->cam->isp, 0, CAM_USE_XCLKA);
+
+ if (regulator_is_enabled(beagle_mt9t111_reg1))
+@@ -169,6 +171,7 @@ static int mt9t111_power_set(struct v4l2_int_device *s, enum v4l2_power power)
+ break;
+
+ case V4L2_POWER_ON:
++ omap_ctrl_writew(0x0, 0x110); /* Control XCLKA output mux */
+ isp_set_xclk(vdev->cam->isp, MT9T111_CLK_MIN, CAM_USE_XCLKA);
+
+ #if defined(CONFIG_VIDEO_OMAP3) || defined(CONFIG_VIDEO_OMAP3_MODULE)
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0014-OMAP3-CLOCK-Add-capability-to-change-rate-of-dpll4_m.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0014-OMAP3-CLOCK-Add-capability-to-change-rate-of-dpll4_m.patch
new file mode 100644
index 0000000000..3cfeea6c0f
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0014-OMAP3-CLOCK-Add-capability-to-change-rate-of-dpll4_m.patch
@@ -0,0 +1,33 @@
+From 62155e17564a986215d61697c6b8a20cc0b4e07f Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Thu, 4 Feb 2010 18:12:37 -0600
+Subject: [PATCH 14/28] OMAP3: CLOCK: Add capability to change rate of dpll4_m5_ck_3630
+
+Add necessary clk_sel definitions to clock framework to allow changing
+dpll4_m5_ck_3630 rate.
+
+Based on patch by Tuukka Toivonen <tuukka.o.toivonen@nokia.com> with subject:
+
+ OMAP3: CLOCK: Add capability to change rate of dpll4_m5_ck
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ arch/arm/mach-omap2/clock34xx_data.c | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/clock34xx_data.c b/arch/arm/mach-omap2/clock34xx_data.c
+index 89e2f61..8d101ef 100644
+--- a/arch/arm/mach-omap2/clock34xx_data.c
++++ b/arch/arm/mach-omap2/clock34xx_data.c
+@@ -934,6 +934,8 @@ static struct clk dpll4_m5_ck_3630 __initdata = {
+ .clksel = div32_dpll4_clksel,
+ .clkdm_name = "dpll4_clkdm",
+ .recalc = &omap2_clksel_recalc,
++ .set_rate = &omap2_clksel_set_rate,
++ .round_rate = &omap2_clksel_round_rate,
+ };
+
+ /* The PWRDN bit is apparently only available on 3430ES2 and above */
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0015-Revert-DEBUG-omap3beagle-camera-Force-mode0-in-cam_x.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0015-Revert-DEBUG-omap3beagle-camera-Force-mode0-in-cam_x.patch
new file mode 100644
index 0000000000..76903bddcb
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0015-Revert-DEBUG-omap3beagle-camera-Force-mode0-in-cam_x.patch
@@ -0,0 +1,41 @@
+From 2cda8f55cb01496f88ba9ad15a276f84eaa02870 Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Thu, 24 Jun 2010 14:27:39 -0500
+Subject: [PATCH 15/28] Revert "DEBUG: omap3beagle: camera: Force mode0 in cam_xclka"
+
+This reverts commit 158e14b3d449dde2c6aa9f8cddb86fbbee2d2cd7.
+---
+ arch/arm/mach-omap2/board-omap3beagle-camera.c | 3 ---
+ 1 files changed, 0 insertions(+), 3 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+index 77f9469..1652f15 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle-camera.c
++++ b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+@@ -34,7 +34,6 @@
+
+ #include <plat/mux.h>
+ #include <plat/board.h>
+-#include <plat/control.h>
+
+ #include <media/v4l2-int-device.h>
+ #include <media/mt9t111.h>
+@@ -161,7 +160,6 @@ static int mt9t111_power_set(struct v4l2_int_device *s, enum v4l2_power power)
+ switch (power) {
+ case V4L2_POWER_OFF:
+ case V4L2_POWER_STANDBY:
+- omap_ctrl_writew(0x0, 0x110); /* Control XCLKA output mux */
+ isp_set_xclk(vdev->cam->isp, 0, CAM_USE_XCLKA);
+
+ if (regulator_is_enabled(beagle_mt9t111_reg1))
+@@ -171,7 +169,6 @@ static int mt9t111_power_set(struct v4l2_int_device *s, enum v4l2_power power)
+ break;
+
+ case V4L2_POWER_ON:
+- omap_ctrl_writew(0x0, 0x110); /* Control XCLKA output mux */
+ isp_set_xclk(vdev->cam->isp, MT9T111_CLK_MIN, CAM_USE_XCLKA);
+
+ #if defined(CONFIG_VIDEO_OMAP3) || defined(CONFIG_VIDEO_OMAP3_MODULE)
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0016-omap3beagle-camera-Fix-wrong-XCLKA-selection.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0016-omap3beagle-camera-Fix-wrong-XCLKA-selection.patch
new file mode 100644
index 0000000000..4b7990ef5b
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0016-omap3beagle-camera-Fix-wrong-XCLKA-selection.patch
@@ -0,0 +1,30 @@
+From 6add1bee85d7cbe5c89650b1325ee345aba904cd Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Thu, 24 Jun 2010 17:31:49 -0500
+Subject: [PATCH 16/28] omap3beagle: camera: Fix wrong XCLKA selection
+
+The CAM_USE_XCLKA should have been 0 instead of 1.
+
+Otherwise it was activating XCLKB instead!
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ arch/arm/mach-omap2/board-omap3beagle-camera.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+index 1652f15..75c8345 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle-camera.c
++++ b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+@@ -47,7 +47,7 @@
+
+ #define MODULE_NAME "omap3beaglelmb"
+
+-#define CAM_USE_XCLKA 1
++#define CAM_USE_XCLKA 0
+
+ static struct regulator *beagle_mt9t111_reg1;
+ static struct regulator *beagle_mt9t111_reg2;
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0017-omap3isp-set-CAM_MCLK-to-172.8-MHz-allows-exact-9.6-.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0017-omap3isp-set-CAM_MCLK-to-172.8-MHz-allows-exact-9.6-.patch
new file mode 100644
index 0000000000..6975aae2bc
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0017-omap3isp-set-CAM_MCLK-to-172.8-MHz-allows-exact-9.6-.patch
@@ -0,0 +1,91 @@
+From da7a0c9d99ac42332cab5fcc961006a56531e1c4 Mon Sep 17 00:00:00 2001
+From: Tuukka Toivonen <tuukka.o.toivonen@nokia.com>
+Date: Thu, 2 Jul 2009 16:17:55 +0200
+Subject: [PATCH 17/28] omap3isp: set CAM_MCLK to 172.8 MHz, allows exact 9.6 MHz for camera xclka/b
+
+Camera cam_xclka and cam_xclkb clocks are generated by dividing
+CAM_MCLK with an integer. We want to use 9.6 MHz for cameras,
+so CAM_MCLK should be multiple of it. Otherwise the generated
+frequency is slightly off due to rounding.
+
+Signed-off-by: Tuukka Toivonen <tuukka.o.toivonen@nokia.com>
+---
+ drivers/media/video/isp/isp.c | 14 ++++++++++++++
+ drivers/media/video/isp/isp.h | 1 +
+ drivers/media/video/isp/ispreg.h | 2 +-
+ 3 files changed, 16 insertions(+), 1 deletions(-)
+
+diff --git a/drivers/media/video/isp/isp.c b/drivers/media/video/isp/isp.c
+index ceed870..9d46c01 100644
+--- a/drivers/media/video/isp/isp.c
++++ b/drivers/media/video/isp/isp.c
+@@ -2333,6 +2333,11 @@ static int isp_enable_clocks(struct device *dev)
+ dev_err(dev, "clk_enable cam_ick failed\n");
+ goto out_clk_enable_ick;
+ }
++ r = clk_set_rate(isp->dpll4_m5_ck, CM_CAM_MCLK_HZ/2);
++ if (r) {
++ dev_err(dev, "clk_set_rate for dpll4_m5_ck failed\n");
++ goto out_clk_enable_mclk;
++ }
+ r = clk_enable(isp->cam_mclk);
+ if (r) {
+ dev_err(dev, "clk_enable cam_mclk failed\n");
+@@ -2499,6 +2504,7 @@ static int isp_remove(struct platform_device *pdev)
+
+ clk_put(isp->cam_ick);
+ clk_put(isp->cam_mclk);
++ clk_put(isp->dpll4_m5_ck);
+ clk_put(isp->csi2_fck);
+ clk_put(isp->l3_ick);
+
+@@ -2674,6 +2680,12 @@ static int isp_probe(struct platform_device *pdev)
+ ret_err = PTR_ERR(isp->cam_mclk);
+ goto out_clk_get_mclk;
+ }
++ isp->dpll4_m5_ck = clk_get(&camera_dev, "dpll4_m5_ck");
++ if (IS_ERR(isp->dpll4_m5_ck)) {
++ dev_err(isp->dev, "clk_get dpll4_m5_ck failed\n");
++ ret_err = PTR_ERR(isp->dpll4_m5_ck);
++ goto out_clk_get_dpll4_m5_ck;
++ }
+ isp->csi2_fck = clk_get(&camera_dev, "csi2_96m_fck");
+ if (IS_ERR(isp->csi2_fck)) {
+ dev_err(isp->dev, "clk_get csi2_96m_fck failed\n");
+@@ -2734,6 +2746,8 @@ out_request_irq:
+ out_clk_get_l3_ick:
+ clk_put(isp->csi2_fck);
+ out_clk_get_csi2_fclk:
++ clk_put(isp->dpll4_m5_ck);
++out_clk_get_dpll4_m5_ck:
+ clk_put(isp->cam_mclk);
+ out_clk_get_mclk:
+ clk_put(isp->cam_ick);
+diff --git a/drivers/media/video/isp/isp.h b/drivers/media/video/isp/isp.h
+index dc85d61..6b100b6 100644
+--- a/drivers/media/video/isp/isp.h
++++ b/drivers/media/video/isp/isp.h
+@@ -414,6 +414,7 @@ struct isp_device {
+ int ref_count;
+ struct clk *cam_ick;
+ struct clk *cam_mclk;
++ struct clk *dpll4_m5_ck;
+ struct clk *csi2_fck;
+ struct clk *l3_ick;
+ struct isp_interface_config *config;
+diff --git a/drivers/media/video/isp/ispreg.h b/drivers/media/video/isp/ispreg.h
+index 676a33d..1240e0e 100644
+--- a/drivers/media/video/isp/ispreg.h
++++ b/drivers/media/video/isp/ispreg.h
+@@ -116,7 +116,7 @@
+ #define ISP_32B_BOUNDARY_BUF 0xFFFFFFE0
+ #define ISP_32B_BOUNDARY_OFFSET 0x0000FFE0
+
+-#define CM_CAM_MCLK_HZ 216000000
++#define CM_CAM_MCLK_HZ 172800000 /* Hz */
+
+ /* ISP Submodules offset */
+
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0018-Fix-Moved-MCLK-setting-to-the-board-file.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0018-Fix-Moved-MCLK-setting-to-the-board-file.patch
new file mode 100644
index 0000000000..95b3fcdd64
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0018-Fix-Moved-MCLK-setting-to-the-board-file.patch
@@ -0,0 +1,209 @@
+From fc51d55718e20246c18c45c9e5545a0ef31d8b05 Mon Sep 17 00:00:00 2001
+From: Penda, Naveen <pnaveen@ti.com>
+Date: Thu, 22 Oct 2009 06:07:01 +0530
+Subject: [PATCH 18/28] Fix: Moved MCLK setting to the board file
+
+This patch provides the flexibility to set the MCLK frequency
+ from the board file
+
+Signed-off-by: Naveen Penda <pnaveen@ti.com>
+Signed-off-by: Curran, Dominic <dcurran@ti.com>
+---
+ arch/arm/mach-omap2/board-zoom2-camera.c | 10 ++++++
+ drivers/media/video/isp/isp.c | 51 +++++++++++++++++++----------
+ drivers/media/video/isp/isp.h | 6 +++
+ 3 files changed, 49 insertions(+), 18 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-zoom2-camera.c b/arch/arm/mach-omap2/board-zoom2-camera.c
+index 1ba2982..8c035c4 100644
+--- a/arch/arm/mach-omap2/board-zoom2-camera.c
++++ b/arch/arm/mach-omap2/board-zoom2-camera.c
+@@ -41,6 +41,8 @@ static struct device *zoom2cam_dev;
+
+ #define CAMZOOM2_USE_XCLKB 1
+
++#define ISP_IMX046_MCLK 216000000
++
+ /* Sensor specific GPIO signals */
+ #define IMX046_RESET_GPIO 98
+ #define IMX046_STANDBY_GPIO 58
+@@ -148,6 +150,7 @@ static struct isp_interface_config imx046_if_config = {
+ .shutter = 0x0,
+ .wenlog = ISPCCDC_CFG_WENLOG_AND,
+ .wait_hs_vs = 2,
++ .cam_mclk = ISP_IMX046_MCLK,
+ .u.csi.crc = 0x0,
+ .u.csi.mode = 0x0,
+ .u.csi.edge = 0x0,
+@@ -264,6 +267,8 @@ static int imx046_sensor_power_set(struct v4l2_int_device *s, enum v4l2_power po
+ #ifdef CONFIG_OMAP_PM_SRF
+ omap_pm_set_min_bus_tput(vdev->cam->isp, OCP_INITIATOR_AGENT, 0);
+ #endif
++ if (previous_power != V4L2_POWER_OFF)
++ isp_disable_mclk(isp);
+ break;
+ case V4L2_POWER_STANDBY:
+ printk(KERN_DEBUG "imx046_sensor_power_set(STANDBY)\n");
+@@ -272,9 +277,14 @@ static int imx046_sensor_power_set(struct v4l2_int_device *s, enum v4l2_power po
+ #ifdef CONFIG_OMAP_PM_SRF
+ omap_pm_set_min_bus_tput(vdev->cam->isp, OCP_INITIATOR_AGENT, 0);
+ #endif
++
++
++ isp_disable_mclk(isp);
++
+ break;
+ }
+
++
+ /* Save powerstate to know what was before calling POWER_ON. */
+ previous_power = power;
+ return err;
+diff --git a/drivers/media/video/isp/isp.c b/drivers/media/video/isp/isp.c
+index 9d46c01..cf68720 100644
+--- a/drivers/media/video/isp/isp.c
++++ b/drivers/media/video/isp/isp.c
+@@ -552,7 +552,7 @@ EXPORT_SYMBOL(isp_unset_callback);
+ * Configures the specified MCLK divisor in the ISP timing control register
+ * (TCTRL_CTRL) to generate the desired xclk clock value.
+ *
+- * Divisor = CM_CAM_MCLK_HZ / xclk
++ * Divisor = mclk / xclk
+ *
+ * Returns the final frequency that is actually being generated
+ **/
+@@ -560,15 +560,16 @@ u32 isp_set_xclk(struct device *dev, u32 xclk, u8 xclksel)
+ {
+ u32 divisor;
+ u32 currentxclk;
++ struct isp_device *isp = dev_get_drvdata(dev);
+
+- if (xclk >= CM_CAM_MCLK_HZ) {
++ if (xclk >= isp->mclk) {
+ divisor = ISPTCTRL_CTRL_DIV_BYPASS;
+- currentxclk = CM_CAM_MCLK_HZ;
++ currentxclk = isp->mclk;
+ } else if (xclk >= 2) {
+- divisor = CM_CAM_MCLK_HZ / xclk;
++ divisor = isp->mclk / xclk;
+ if (divisor >= ISPTCTRL_CTRL_DIV_BYPASS)
+ divisor = ISPTCTRL_CTRL_DIV_BYPASS - 1;
+- currentxclk = CM_CAM_MCLK_HZ / divisor;
++ currentxclk = isp->mclk / divisor;
+ } else {
+ divisor = xclk;
+ currentxclk = 0;
+@@ -874,6 +875,8 @@ int isp_configure_interface(struct device *dev,
+ /* Set sensor specific fields in CCDC and Previewer module. */
+ ispccdc_set_wenlog(&isp->isp_ccdc, config->wenlog);
+
++ isp->mclk = config->cam_mclk;
++ isp_enable_mclk(dev);
+ /* FIXME: this should be set in ispccdc_config_vp() */
+ fmtcfg = isp_reg_readl(dev, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_FMTCFG);
+ fmtcfg &= ISPCCDC_FMTCFG_VPIF_FRQ_MASK;
+@@ -2333,16 +2336,6 @@ static int isp_enable_clocks(struct device *dev)
+ dev_err(dev, "clk_enable cam_ick failed\n");
+ goto out_clk_enable_ick;
+ }
+- r = clk_set_rate(isp->dpll4_m5_ck, CM_CAM_MCLK_HZ/2);
+- if (r) {
+- dev_err(dev, "clk_set_rate for dpll4_m5_ck failed\n");
+- goto out_clk_enable_mclk;
+- }
+- r = clk_enable(isp->cam_mclk);
+- if (r) {
+- dev_err(dev, "clk_enable cam_mclk failed\n");
+- goto out_clk_enable_mclk;
+- }
+ r = clk_enable(isp->csi2_fck);
+ if (r) {
+ dev_err(dev, "clk_enable csi2_fck failed\n");
+@@ -2351,13 +2344,34 @@ static int isp_enable_clocks(struct device *dev)
+ return 0;
+
+ out_clk_enable_csi2_fclk:
+- clk_disable(isp->cam_mclk);
+-out_clk_enable_mclk:
+ clk_disable(isp->cam_ick);
+ out_clk_enable_ick:
+ return r;
+ }
+
++int isp_enable_mclk(struct device *dev)
++{
++ struct isp_device *isp = dev_get_drvdata(dev);
++ int r;
++
++ r = clk_set_rate(isp->dpll4_m5_ck, isp->mclk);
++ if (r) {
++ dev_err(dev, "clk_set_rate for dpll4_m5_ck failed\n");
++ return r;
++ }
++ r = clk_enable(isp->cam_mclk);
++ if (r) {
++ dev_err(dev, "clk_enable cam_mclk failed\n");
++ return r;
++ }
++ return 0;
++}
++
++void isp_disable_mclk(struct isp_device *isp)
++{
++ clk_disable(isp->cam_mclk);
++}
++
+ /**
+ * isp_disable_clocks - Disable ISP clocks
+ * @dev: Device pointer specific to the OMAP3 ISP.
+@@ -2367,7 +2381,6 @@ static void isp_disable_clocks(struct device *dev)
+ struct isp_device *isp = dev_get_drvdata(dev);
+
+ clk_disable(isp->cam_ick);
+- clk_disable(isp->cam_mclk);
+ clk_disable(isp->csi2_fck);
+ }
+
+@@ -2668,6 +2681,8 @@ static int isp_probe(struct platform_device *pdev)
+ goto out_free_mmio;
+ }
+
++ isp->mclk = CM_CAM_MCLK_HZ / 2;
++
+ isp->cam_ick = clk_get(&camera_dev, "cam_ick");
+ if (IS_ERR(isp->cam_ick)) {
+ dev_err(isp->dev, "clk_get cam_ick failed\n");
+diff --git a/drivers/media/video/isp/isp.h b/drivers/media/video/isp/isp.h
+index 6b100b6..85c3fa9 100644
+--- a/drivers/media/video/isp/isp.h
++++ b/drivers/media/video/isp/isp.h
+@@ -199,6 +199,7 @@ struct isp_interface_config {
+ u32 prev_slv;
+ u32 wenlog;
+ int wait_hs_vs;
++ u32 cam_mclk;
+ unsigned int pixelclk;
+ union {
+ struct par {
+@@ -425,6 +426,7 @@ struct isp_device {
+ struct isp_irq irq;
+ struct isp_pipeline pipeline;
+ u32 interrupts;
++ u32 mclk;
+ enum isp_running running;
+ int current_field;
+ int bt656ifen;
+@@ -489,6 +491,10 @@ struct device *isp_get(void);
+
+ int isp_put(void);
+
++int isp_enable_mclk(struct device *dev);
++
++void isp_disable_mclk(struct isp_device *dev);
++
+ int isp_queryctrl(struct v4l2_queryctrl *a);
+
+ int isp_querymenu(struct v4l2_querymenu *a);
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0019-omap3isp-core-Do-smarter-MCLK-setting.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0019-omap3isp-core-Do-smarter-MCLK-setting.patch
new file mode 100644
index 0000000000..769ad6a5d7
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0019-omap3isp-core-Do-smarter-MCLK-setting.patch
@@ -0,0 +1,47 @@
+From 4f010e99c75490daf2f89cf5aed95ea5cd1f3fad Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Wed, 25 Nov 2009 12:30:46 -0600
+Subject: [PATCH 19/28] omap3isp: core: Do smarter MCLK setting
+
+Since the ratio between MCLK and DPLL4_M5 could not be 1:1
+(i.e. on 3430 its 2:1), it's necessary to check ratio
+between those 2 first.
+
+This should make MCLK setting more adequate to different
+chipsets.
+
+Tested on Zoom2 (3430 ES3.1)
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ drivers/media/video/isp/isp.c | 13 ++++++++++++-
+ 1 files changed, 12 insertions(+), 1 deletions(-)
+
+diff --git a/drivers/media/video/isp/isp.c b/drivers/media/video/isp/isp.c
+index cf68720..29dd005 100644
+--- a/drivers/media/video/isp/isp.c
++++ b/drivers/media/video/isp/isp.c
+@@ -2353,8 +2353,19 @@ int isp_enable_mclk(struct device *dev)
+ {
+ struct isp_device *isp = dev_get_drvdata(dev);
+ int r;
++ unsigned long curr_mclk, curr_dpll4_m5, ratio;
+
+- r = clk_set_rate(isp->dpll4_m5_ck, isp->mclk);
++ /* Check ratio between DPLL4_M5 and CAM_MCLK */
++ curr_mclk = clk_get_rate(isp->cam_mclk);
++ curr_dpll4_m5 = clk_get_rate(isp->dpll4_m5_ck);
++
++ /* Protection for potential Zero division, or zero-ratio result */
++ if (!curr_mclk || !curr_dpll4_m5)
++ BUG();
++
++ ratio = curr_mclk / curr_dpll4_m5;
++
++ r = clk_set_rate(isp->dpll4_m5_ck, isp->mclk / ratio);
+ if (r) {
+ dev_err(dev, "clk_set_rate for dpll4_m5_ck failed\n");
+ return r;
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0020-omap3beagle-camera-set-mclk-for-mt9t111.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0020-omap3beagle-camera-set-mclk-for-mt9t111.patch
new file mode 100644
index 0000000000..6420443fb0
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0020-omap3beagle-camera-set-mclk-for-mt9t111.patch
@@ -0,0 +1,36 @@
+From 140f36e6a0a01ccef5a13ff2a1a466bd38fa3b2d Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Thu, 24 Jun 2010 16:34:13 -0500
+Subject: [PATCH 20/28] omap3beagle: camera: set mclk for mt9t111
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ arch/arm/mach-omap2/board-omap3beagle-camera.c | 5 +++++
+ 1 files changed, 5 insertions(+), 0 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+index 75c8345..529a6be 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle-camera.c
++++ b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+@@ -49,6 +49,8 @@
+
+ #define CAM_USE_XCLKA 0
+
++#define ISP_MT9T111_MCLK 216000000
++
+ static struct regulator *beagle_mt9t111_reg1;
+ static struct regulator *beagle_mt9t111_reg2;
+
+@@ -60,6 +62,9 @@ static struct isp_interface_config mt9t111_if_config = {
+ .strobe = 0x0,
+ .prestrobe = 0x0,
+ .shutter = 0x0,
++ .cam_mclk = ISP_MT9T111_MCLK,
++ .wenlog = ISPCCDC_CFG_WENLOG_AND,
++ .wait_hs_vs = 2,
+ .u.par.par_bridge = 0x1,
+ .u.par.par_clk_pol = 0x0,
+ };
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0021-mt9t111-Fix-max-supported-xclk.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0021-mt9t111-Fix-max-supported-xclk.patch
new file mode 100644
index 0000000000..e63f5d9073
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0021-mt9t111-Fix-max-supported-xclk.patch
@@ -0,0 +1,28 @@
+From 04f40f398ac899504e4836e78f8e791f98200cf2 Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Thu, 24 Jun 2010 17:43:23 -0500
+Subject: [PATCH 21/28] mt9t111: Fix max supported xclk
+
+According to Aptina documentation, the max should be 54 MHz, not 75 MHz.
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ include/media/mt9t111.h | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/include/media/mt9t111.h b/include/media/mt9t111.h
+index aae3f99..cd34885 100644
+--- a/include/media/mt9t111.h
++++ b/include/media/mt9t111.h
+@@ -42,7 +42,7 @@
+ /*i2c adress for MT9T111*/
+ #define MT9T111_I2C_ADDR (0x78 >> 1)
+
+-#define MT9T111_CLK_MAX (75000000) /* 75MHz */
++#define MT9T111_CLK_MAX (54000000) /* 54MHz */
+ #define MT9T111_CLK_MIN (6000000) /* 6Mhz */
+
+ #define MT9T111_I2C_CONFIG (1)
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0022-omap3beagle-camera-Clarify-regulators-names.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0022-omap3beagle-camera-Clarify-regulators-names.patch
new file mode 100644
index 0000000000..310c47a046
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0022-omap3beagle-camera-Clarify-regulators-names.patch
@@ -0,0 +1,103 @@
+From 769bd80474aeb9951046336c4332f1cee3d27619 Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Thu, 24 Jun 2010 17:53:55 -0500
+Subject: [PATCH 22/28] omap3beagle: camera: Clarify regulators names
+
+Changed:
+ - beagle_mt9t111_reg1 -> beagle_mt9t111_1_8v
+ - beagle_mt9t111_reg2 -> beagle_mt9t111_2_8v
+
+To help clarify sequence.
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ arch/arm/mach-omap2/board-omap3beagle-camera.c | 42 ++++++++++++------------
+ 1 files changed, 21 insertions(+), 21 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+index 529a6be..6babaf3 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle-camera.c
++++ b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+@@ -51,8 +51,8 @@
+
+ #define ISP_MT9T111_MCLK 216000000
+
+-static struct regulator *beagle_mt9t111_reg1;
+-static struct regulator *beagle_mt9t111_reg2;
++static struct regulator *beagle_mt9t111_1_8v;
++static struct regulator *beagle_mt9t111_2_8v;
+
+ #if defined(CONFIG_VIDEO_MT9T111) || defined(CONFIG_VIDEO_MT9T111_MODULE)
+ static struct isp_interface_config mt9t111_if_config = {
+@@ -167,10 +167,10 @@ static int mt9t111_power_set(struct v4l2_int_device *s, enum v4l2_power power)
+ case V4L2_POWER_STANDBY:
+ isp_set_xclk(vdev->cam->isp, 0, CAM_USE_XCLKA);
+
+- if (regulator_is_enabled(beagle_mt9t111_reg1))
+- regulator_disable(beagle_mt9t111_reg1);
+- if (regulator_is_enabled(beagle_mt9t111_reg2))
+- regulator_disable(beagle_mt9t111_reg2);
++ if (regulator_is_enabled(beagle_mt9t111_1_8v))
++ regulator_disable(beagle_mt9t111_1_8v);
++ if (regulator_is_enabled(beagle_mt9t111_2_8v))
++ regulator_disable(beagle_mt9t111_2_8v);
+ break;
+
+ case V4L2_POWER_ON:
+@@ -181,8 +181,8 @@ static int mt9t111_power_set(struct v4l2_int_device *s, enum v4l2_power power)
+ #endif
+
+ /* turn on analog power */
+- regulator_enable(beagle_mt9t111_reg1);
+- regulator_enable(beagle_mt9t111_reg2);
++ regulator_enable(beagle_mt9t111_1_8v);
++ regulator_enable(beagle_mt9t111_2_8v);
+ udelay(100);
+
+ break;
+@@ -212,16 +212,16 @@ static int beagle_cam_probe(struct platform_device *pdev)
+ {
+ int err;
+
+- beagle_mt9t111_reg1 = regulator_get(&pdev->dev, "vaux3_1");
+- if (IS_ERR(beagle_mt9t111_reg1)) {
++ beagle_mt9t111_1_8v = regulator_get(&pdev->dev, "vaux3_1");
++ if (IS_ERR(beagle_mt9t111_1_8v)) {
+ dev_err(&pdev->dev, "vaux3_1 regulator missing\n");
+- return PTR_ERR(beagle_mt9t111_reg1);
++ return PTR_ERR(beagle_mt9t111_1_8v);
+ }
+- beagle_mt9t111_reg2 = regulator_get(&pdev->dev, "vaux4_1");
+- if (IS_ERR(beagle_mt9t111_reg2)) {
++ beagle_mt9t111_2_8v = regulator_get(&pdev->dev, "vaux4_1");
++ if (IS_ERR(beagle_mt9t111_2_8v)) {
+ dev_err(&pdev->dev, "vaux4_1 regulator missing\n");
+- regulator_put(beagle_mt9t111_reg1);
+- return PTR_ERR(beagle_mt9t111_reg2);
++ regulator_put(beagle_mt9t111_1_8v);
++ return PTR_ERR(beagle_mt9t111_2_8v);
+ }
+
+ printk(KERN_INFO MODULE_NAME ": Driver registration complete \n");
+@@ -231,12 +231,12 @@ static int beagle_cam_probe(struct platform_device *pdev)
+
+ static int beagle_cam_remove(struct platform_device *pdev)
+ {
+- if (regulator_is_enabled(beagle_mt9t111_reg1))
+- regulator_disable(beagle_mt9t111_reg1);
+- regulator_put(beagle_mt9t111_reg1);
+- if (regulator_is_enabled(beagle_mt9t111_reg2))
+- regulator_disable(beagle_mt9t111_reg2);
+- regulator_put(beagle_mt9t111_reg2);
++ if (regulator_is_enabled(beagle_mt9t111_1_8v))
++ regulator_disable(beagle_mt9t111_1_8v);
++ regulator_put(beagle_mt9t111_1_8v);
++ if (regulator_is_enabled(beagle_mt9t111_2_8v))
++ regulator_disable(beagle_mt9t111_2_8v);
++ regulator_put(beagle_mt9t111_2_8v);
+
+ return 0;
+ }
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0023-omap3beagle-camera-Fix-powerup-sequence.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0023-omap3beagle-camera-Fix-powerup-sequence.patch
new file mode 100644
index 0000000000..fb424eedcb
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0023-omap3beagle-camera-Fix-powerup-sequence.patch
@@ -0,0 +1,103 @@
+From 1f300b7451ed1aef6f9b9902f2070b7340cb4d0a Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Thu, 24 Jun 2010 18:21:52 -0500
+Subject: [PATCH 23/28] omap3beagle: camera: Fix powerup sequence
+
+The powerup sequence was very incomplete. After revisiting the
+Aptina developer's guide, the resulting powerup sequence is followed.
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ arch/arm/mach-omap2/board-omap3beagle-camera.c | 49 ++++++++++++++++++++++--
+ 1 files changed, 45 insertions(+), 4 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+index 6babaf3..792c48d 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle-camera.c
++++ b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+@@ -51,6 +51,8 @@
+
+ #define ISP_MT9T111_MCLK 216000000
+
++#define LEOPARD_RESET_GPIO 98
++
+ static struct regulator *beagle_mt9t111_1_8v;
+ static struct regulator *beagle_mt9t111_2_8v;
+
+@@ -174,16 +176,42 @@ static int mt9t111_power_set(struct v4l2_int_device *s, enum v4l2_power power)
+ break;
+
+ case V4L2_POWER_ON:
+- isp_set_xclk(vdev->cam->isp, MT9T111_CLK_MIN, CAM_USE_XCLKA);
+-
+ #if defined(CONFIG_VIDEO_OMAP3) || defined(CONFIG_VIDEO_OMAP3_MODULE)
+ isp_configure_interface(vdev->cam->isp, &mt9t111_if_config);
+ #endif
+
+- /* turn on analog power */
++ /* Set RESET_BAR to 0 */
++ gpio_set_value(LEOPARD_RESET_GPIO, 0);
++
++ /* turn on VDD */
+ regulator_enable(beagle_mt9t111_1_8v);
++
++ mdelay(1);
++
++ /* turn on VDD_IO */
+ regulator_enable(beagle_mt9t111_2_8v);
+- udelay(100);
++
++ mdelay(50);
++
++ /* Enable EXTCLK */
++ isp_set_xclk(vdev->cam->isp, MT9T111_CLK_MIN, CAM_USE_XCLKA);
++
++ /*
++ * Wait at least 70 CLK cycles (w/EXTCLK = 6MHz, or CLK_MIN):
++ * ((1000000 * 70) / 6000000) = aprox 12 us.
++ */
++
++ udelay(12);
++
++ /* Set RESET_BAR to 1 */
++ gpio_set_value(LEOPARD_RESET_GPIO, 1);
++
++ /*
++ * Wait at least 100 CLK cycles (w/EXTCLK = 6MHz, or CLK_MIN):
++ * ((1000000 * 100) / 6000000) = aprox 17 us.
++ */
++
++ udelay(17);
+
+ break;
+
+@@ -224,6 +252,17 @@ static int beagle_cam_probe(struct platform_device *pdev)
+ return PTR_ERR(beagle_mt9t111_2_8v);
+ }
+
++ if (gpio_request(LEOPARD_RESET_GPIO, "cam_rst") != 0) {
++ dev_err(&pdev->dev, "Could not request GPIO %d",
++ LEOPARD_RESET_GPIO);
++ regulator_put(beagle_mt9t111_2_8v);
++ regulator_put(beagle_mt9t111_1_8v);
++ return -ENODEV;
++ }
++
++ /* set to output mode, default value 0 */
++ gpio_direction_output(LEOPARD_RESET_GPIO, 0);
++
+ printk(KERN_INFO MODULE_NAME ": Driver registration complete \n");
+
+ return 0;
+@@ -238,6 +277,8 @@ static int beagle_cam_remove(struct platform_device *pdev)
+ regulator_disable(beagle_mt9t111_2_8v);
+ regulator_put(beagle_mt9t111_2_8v);
+
++ gpio_free(LEOPARD_RESET_GPIO);
++
+ return 0;
+ }
+
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0024-omap3beagle-camera-Change-vaux4-to-1.8v.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0024-omap3beagle-camera-Change-vaux4-to-1.8v.patch
new file mode 100644
index 0000000000..93916e51a7
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0024-omap3beagle-camera-Change-vaux4-to-1.8v.patch
@@ -0,0 +1,32 @@
+From 838274e9850c8dfbb723c892604b017ebf5f0528 Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Fri, 25 Jun 2010 11:24:07 -0500
+Subject: [PATCH 24/28] omap3beagle: camera: Change vaux4 to 1.8v
+
+Both voltage sources seem to need 1.8v.
+
+After this, sensor is detected :)
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ arch/arm/mach-omap2/board-omap3beagle.c | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
+index 1e9a868..af9b818 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle.c
++++ b/arch/arm/mach-omap2/board-omap3beagle.c
+@@ -446,8 +446,8 @@ static struct regulator_init_data beagle_vaux3 = {
+ /* VAUX4 for CAM_2V8 */
+ static struct regulator_init_data beagle_vaux4 = {
+ .constraints = {
+- .min_uV = 2800000,
+- .max_uV = 2800000,
++ .min_uV = 1800000,
++ .max_uV = 1800000,
+ .apply_uV = true,
+ .valid_modes_mask = REGULATOR_MODE_NORMAL
+ | REGULATOR_MODE_STANDBY,
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0025-omap3beagle-camera-Rename-regulators-to-match-actual.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0025-omap3beagle-camera-Rename-regulators-to-match-actual.patch
new file mode 100644
index 0000000000..3d9914894a
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0025-omap3beagle-camera-Rename-regulators-to-match-actual.patch
@@ -0,0 +1,110 @@
+From b8f60d7198d5df18336cb0151ac593cfa422f83a Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Fri, 25 Jun 2010 12:03:59 -0500
+Subject: [PATCH 25/28] omap3beagle: camera: Rename regulators to match actual voltage levels
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ arch/arm/mach-omap2/board-omap3beagle-camera.c | 46 ++++++++++++------------
+ 1 files changed, 23 insertions(+), 23 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+index 792c48d..8a4b7bc 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle-camera.c
++++ b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+@@ -53,8 +53,8 @@
+
+ #define LEOPARD_RESET_GPIO 98
+
+-static struct regulator *beagle_mt9t111_1_8v;
+-static struct regulator *beagle_mt9t111_2_8v;
++static struct regulator *beagle_mt9t111_1_8v1;
++static struct regulator *beagle_mt9t111_1_8v2;
+
+ #if defined(CONFIG_VIDEO_MT9T111) || defined(CONFIG_VIDEO_MT9T111_MODULE)
+ static struct isp_interface_config mt9t111_if_config = {
+@@ -169,10 +169,10 @@ static int mt9t111_power_set(struct v4l2_int_device *s, enum v4l2_power power)
+ case V4L2_POWER_STANDBY:
+ isp_set_xclk(vdev->cam->isp, 0, CAM_USE_XCLKA);
+
+- if (regulator_is_enabled(beagle_mt9t111_1_8v))
+- regulator_disable(beagle_mt9t111_1_8v);
+- if (regulator_is_enabled(beagle_mt9t111_2_8v))
+- regulator_disable(beagle_mt9t111_2_8v);
++ if (regulator_is_enabled(beagle_mt9t111_1_8v1))
++ regulator_disable(beagle_mt9t111_1_8v1);
++ if (regulator_is_enabled(beagle_mt9t111_1_8v2))
++ regulator_disable(beagle_mt9t111_1_8v2);
+ break;
+
+ case V4L2_POWER_ON:
+@@ -184,12 +184,12 @@ static int mt9t111_power_set(struct v4l2_int_device *s, enum v4l2_power power)
+ gpio_set_value(LEOPARD_RESET_GPIO, 0);
+
+ /* turn on VDD */
+- regulator_enable(beagle_mt9t111_1_8v);
++ regulator_enable(beagle_mt9t111_1_8v1);
+
+ mdelay(1);
+
+ /* turn on VDD_IO */
+- regulator_enable(beagle_mt9t111_2_8v);
++ regulator_enable(beagle_mt9t111_1_8v2);
+
+ mdelay(50);
+
+@@ -240,23 +240,23 @@ static int beagle_cam_probe(struct platform_device *pdev)
+ {
+ int err;
+
+- beagle_mt9t111_1_8v = regulator_get(&pdev->dev, "vaux3_1");
+- if (IS_ERR(beagle_mt9t111_1_8v)) {
++ beagle_mt9t111_1_8v1 = regulator_get(&pdev->dev, "vaux3_1");
++ if (IS_ERR(beagle_mt9t111_1_8v1)) {
+ dev_err(&pdev->dev, "vaux3_1 regulator missing\n");
+- return PTR_ERR(beagle_mt9t111_1_8v);
++ return PTR_ERR(beagle_mt9t111_1_8v1);
+ }
+- beagle_mt9t111_2_8v = regulator_get(&pdev->dev, "vaux4_1");
+- if (IS_ERR(beagle_mt9t111_2_8v)) {
++ beagle_mt9t111_1_8v2 = regulator_get(&pdev->dev, "vaux4_1");
++ if (IS_ERR(beagle_mt9t111_1_8v2)) {
+ dev_err(&pdev->dev, "vaux4_1 regulator missing\n");
+- regulator_put(beagle_mt9t111_1_8v);
+- return PTR_ERR(beagle_mt9t111_2_8v);
++ regulator_put(beagle_mt9t111_1_8v1);
++ return PTR_ERR(beagle_mt9t111_1_8v2);
+ }
+
+ if (gpio_request(LEOPARD_RESET_GPIO, "cam_rst") != 0) {
+ dev_err(&pdev->dev, "Could not request GPIO %d",
+ LEOPARD_RESET_GPIO);
+- regulator_put(beagle_mt9t111_2_8v);
+- regulator_put(beagle_mt9t111_1_8v);
++ regulator_put(beagle_mt9t111_1_8v2);
++ regulator_put(beagle_mt9t111_1_8v1);
+ return -ENODEV;
+ }
+
+@@ -270,12 +270,12 @@ static int beagle_cam_probe(struct platform_device *pdev)
+
+ static int beagle_cam_remove(struct platform_device *pdev)
+ {
+- if (regulator_is_enabled(beagle_mt9t111_1_8v))
+- regulator_disable(beagle_mt9t111_1_8v);
+- regulator_put(beagle_mt9t111_1_8v);
+- if (regulator_is_enabled(beagle_mt9t111_2_8v))
+- regulator_disable(beagle_mt9t111_2_8v);
+- regulator_put(beagle_mt9t111_2_8v);
++ if (regulator_is_enabled(beagle_mt9t111_1_8v1))
++ regulator_disable(beagle_mt9t111_1_8v1);
++ regulator_put(beagle_mt9t111_1_8v1);
++ if (regulator_is_enabled(beagle_mt9t111_1_8v2))
++ regulator_disable(beagle_mt9t111_1_8v2);
++ regulator_put(beagle_mt9t111_1_8v2);
+
+ gpio_free(LEOPARD_RESET_GPIO);
+
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0026-omap3beagle-camera-Complement-remainig-sensor-hw-con.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0026-omap3beagle-camera-Complement-remainig-sensor-hw-con.patch
new file mode 100644
index 0000000000..943510910a
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0026-omap3beagle-camera-Complement-remainig-sensor-hw-con.patch
@@ -0,0 +1,37 @@
+From f01fb232e43dcbc8f61c2ed29d8eb865ebb386b7 Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Fri, 25 Jun 2010 12:04:48 -0500
+Subject: [PATCH 26/28] omap3beagle: camera: Complement remainig sensor hw config settings
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ arch/arm/mach-omap2/board-omap3beagle-camera.c | 6 ++++++
+ 1 files changed, 6 insertions(+), 0 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+index 8a4b7bc..b0148d6 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle-camera.c
++++ b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+@@ -57,6 +57,10 @@ static struct regulator *beagle_mt9t111_1_8v1;
+ static struct regulator *beagle_mt9t111_1_8v2;
+
+ #if defined(CONFIG_VIDEO_MT9T111) || defined(CONFIG_VIDEO_MT9T111_MODULE)
++
++/* Arbitrary memory handling limit */
++#define MT9T111_BIGGEST_FRAME_BYTE_SIZE PAGE_ALIGN(2048 * 1536 * 4)
++
+ static struct isp_interface_config mt9t111_if_config = {
+ .ccdc_par_ser = ISP_PARLL,
+ .dataline_shift = 0x0,
+@@ -125,6 +129,8 @@ static struct omap34xxcam_hw_config mt9t111_hwc = {
+ .dev_minor = 0,
+ .dev_type = OMAP34XXCAM_SLAVE_SENSOR,
+ .u.sensor.sensor_isp = 1,
++ .u.sensor.capture_mem = MT9T111_BIGGEST_FRAME_BYTE_SIZE * 2,
++ .u.sensor.ival_default = { 1, 10 },
+ };
+ #endif
+
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0027-mt9t111-Fix-detect-function-retval-and-cleanup-print.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0027-mt9t111-Fix-detect-function-retval-and-cleanup-print.patch
new file mode 100644
index 0000000000..6eb26a2129
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0027-mt9t111-Fix-detect-function-retval-and-cleanup-print.patch
@@ -0,0 +1,48 @@
+From 5c343b5261a3a7382cb9aa414be9f1b57acb3056 Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Fri, 25 Jun 2010 13:43:54 -0500
+Subject: [PATCH 27/28] mt9t111: Fix detect function retval and cleanup prints
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ drivers/media/video/mt9t111.c | 8 +++-----
+ 1 files changed, 3 insertions(+), 5 deletions(-)
+
+diff --git a/drivers/media/video/mt9t111.c b/drivers/media/video/mt9t111.c
+index 6a7b2c0..08122ff 100644
+--- a/drivers/media/video/mt9t111.c
++++ b/drivers/media/video/mt9t111.c
+@@ -221,7 +221,6 @@ mt9t111_detect(struct i2c_client *client)
+ /* chip ID is at address 0 */
+ if (mt9t111_read_reg(client, MT9T111_CHIP_ID, &val) < 0)
+ return -ENODEV;
+- dev_info(&client->dev, "model id detected 0x%x\n", val);
+
+ if (val != MT9T111_CHIP_ID_VALUE) {
+ dev_warn(&client->dev, "model id mismatch received 0x%x"
+@@ -231,7 +230,7 @@ mt9t111_detect(struct i2c_client *client)
+ return -ENODEV;
+ }
+
+- return 0;
++ return (int)val;
+
+ }
+
+@@ -390,11 +389,10 @@ static int ioctl_s_power(struct v4l2_int_device *s, enum v4l2_power on)
+ sensor->state = SENSOR_NOT_DETECTED;
+ return rval;
+ }
+- mt9t111_loaddefault(c);
++ dev_info(&c->dev, "chip version 0x%02x detected\n", rval);
+ sensor->state = SENSOR_DETECTED;
+ sensor->ver = rval;
+- pr_info("mt9t111" " chip version 0x%02x detected\n",
+- sensor->ver);
++ mt9t111_loaddefault(c);
+ }
+ return 0;
+ }
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0028-omap3beagle-camera-Set-padconf-settings-in-cam-init.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0028-omap3beagle-camera-Set-padconf-settings-in-cam-init.patch
new file mode 100644
index 0000000000..25e157d65e
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0028-omap3beagle-camera-Set-padconf-settings-in-cam-init.patch
@@ -0,0 +1,66 @@
+From 8ece4d6cbc52b7a41d1feb411d62c84cebc1e9fe Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Fri, 25 Jun 2010 16:01:00 -0500
+Subject: [PATCH 28/28] omap3beagle: camera: Set padconf settings in cam init
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ arch/arm/mach-omap2/board-omap3beagle-camera.c | 35 ++++++++++++++++++++++++
+ 1 files changed, 35 insertions(+), 0 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+index b0148d6..75471f2 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle-camera.c
++++ b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+@@ -34,6 +34,7 @@
+
+ #include <plat/mux.h>
+ #include <plat/board.h>
++#include <plat/control.h>
+
+ #include <media/v4l2-int-device.h>
+ #include <media/mt9t111.h>
+@@ -285,6 +286,40 @@ static int beagle_cam_remove(struct platform_device *pdev)
+
+ gpio_free(LEOPARD_RESET_GPIO);
+
++ /* MUX init */
++ omap_ctrl_writew(OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE0,
++ 0x10C); /* CAM_HS */
++ omap_ctrl_writew(OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE0,
++ 0x10E); /* CAM_VS */
++ omap_ctrl_writew(OMAP_PIN_OUTPUT | OMAP_MUX_MODE0,
++ 0x110); /* CAM_XCLKA */
++ omap_ctrl_writew(OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE0,
++ 0x112); /* CAM_PCLK */
++ omap_ctrl_writew(OMAP_PIN_INPUT | OMAP_MUX_MODE0,
++ 0x116); /* CAM_D0 */
++ omap_ctrl_writew(OMAP_PIN_INPUT | OMAP_MUX_MODE0,
++ 0x118); /* CAM_D1 */
++ omap_ctrl_writew(OMAP_PIN_INPUT | OMAP_MUX_MODE0,
++ 0x11A); /* CAM_D2 */
++ omap_ctrl_writew(OMAP_PIN_INPUT | OMAP_MUX_MODE0,
++ 0x11C); /* CAM_D3 */
++ omap_ctrl_writew(OMAP_PIN_INPUT | OMAP_MUX_MODE0,
++ 0x11E); /* CAM_D4 */
++ omap_ctrl_writew(OMAP_PIN_INPUT | OMAP_MUX_MODE0,
++ 0x120); /* CAM_D5 */
++ omap_ctrl_writew(OMAP_PIN_INPUT | OMAP_MUX_MODE0,
++ 0x122); /* CAM_D6 */
++ omap_ctrl_writew(OMAP_PIN_INPUT | OMAP_MUX_MODE0,
++ 0x124); /* CAM_D7 */
++ omap_ctrl_writew(OMAP_PIN_INPUT | OMAP_MUX_MODE0,
++ 0x126); /* CAM_D8 */
++ omap_ctrl_writew(OMAP_PIN_INPUT | OMAP_MUX_MODE0,
++ 0x128); /* CAM_D9 */
++ omap_ctrl_writew(OMAP_PIN_INPUT | OMAP_MUX_MODE0,
++ 0x12A); /* CAM_D10 */
++ omap_ctrl_writew(OMAP_PIN_INPUT | OMAP_MUX_MODE0,
++ 0x12C); /* CAM_D11 */
++
+ return 0;
+ }
+
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp_2.6.32.bb b/recipes/linux/linux-omap-psp_2.6.32.bb
index 29c34ae4e3..1e1562b33f 100644
--- a/recipes/linux/linux-omap-psp_2.6.32.bb
+++ b/recipes/linux/linux-omap-psp_2.6.32.bb
@@ -57,6 +57,34 @@ SRC_URI = "git://arago-project.org/git/people/sriram/ti-psp-omap.git;protocol=gi
file://0043-MTD-silence-ecc-errors-on-mtdblock0.patch \
file://0044-ARM-OMAP-beagle-every-known-beagle-except-revB-uses-.patch \
file://0045-ARM-OMAP-beagle-add-support-for-beagleFPGA-expansion.patch \
+ file://cam/0001-mt9t111-first-stab-at-merging-sensor-driver-based-on.patch \
+ file://cam/0002-mt9t111-Fix-all-checkpatch-errors.patch \
+ file://cam/0003-mt9t111-Pass-v4l2_int_device-data.patch \
+ file://cam/0004-omap3beagle-Add-camera-support.patch \
+ file://cam/0005-TEMP-omap3beagle-camera-Add-defconfig.patch \
+ file://cam/0006-omap3beagle-camera-Add-support-for-regulators.patch \
+ file://cam/0007-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch \
+ file://cam/0008-omap3beagle-camera-Fix-null-pointer-dereference.patch \
+ file://cam/0009-Revert-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch \
+ file://cam/0010-omap3beagle-camera-Change-arch-late_initcall.patch \
+ file://cam/0011-omap3beagle-camera-Move-i2c-registration-to-the-main.patch \
+ file://cam/0012-ARM-OMAP3-make-camera-code-build-if-MT9T111-is-built.patch \
+ file://cam/0013-DEBUG-omap3beagle-camera-Force-mode0-in-cam_xclka.patch \
+ file://cam/0014-OMAP3-CLOCK-Add-capability-to-change-rate-of-dpll4_m.patch \
+ file://cam/0015-Revert-DEBUG-omap3beagle-camera-Force-mode0-in-cam_x.patch \
+ file://cam/0016-omap3beagle-camera-Fix-wrong-XCLKA-selection.patch \
+ file://cam/0017-omap3isp-set-CAM_MCLK-to-172.8-MHz-allows-exact-9.6-.patch \
+ file://cam/0018-Fix-Moved-MCLK-setting-to-the-board-file.patch \
+ file://cam/0019-omap3isp-core-Do-smarter-MCLK-setting.patch \
+ file://cam/0020-omap3beagle-camera-set-mclk-for-mt9t111.patch \
+ file://cam/0021-mt9t111-Fix-max-supported-xclk.patch \
+ file://cam/0022-omap3beagle-camera-Clarify-regulators-names.patch \
+ file://cam/0023-omap3beagle-camera-Fix-powerup-sequence.patch \
+ file://cam/0024-omap3beagle-camera-Change-vaux4-to-1.8v.patch \
+ file://cam/0025-omap3beagle-camera-Rename-regulators-to-match-actual.patch \
+ file://cam/0026-omap3beagle-camera-Complement-remainig-sensor-hw-con.patch \
+ file://cam/0027-mt9t111-Fix-detect-function-retval-and-cleanup-print.patch \
+ file://cam/0028-omap3beagle-camera-Set-padconf-settings-in-cam-init.patch \
file://defconfig"
SRC_URI_append_beagleboard = " file://logo_linux_clut224.ppm \