summaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-05-07 14:03:00 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2011-05-07 14:06:53 +0200
commitb2c1e278fb570b1cfeddff3b12deb755ccd7ccf6 (patch)
treefd06526e1b7883304350bf393cacddd6e5c902f0 /recipes-bsp
parent55cc71060176ccdca80bdfa6c52796d558bf39d5 (diff)
downloadmeta-ti-b2c1e278fb570b1cfeddff3b12deb755ccd7ccf6.tar.gz
linux-omap-psp 2.6.32: sync with .dev
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0001-BeagleBoard-Adjust-USER-button-pin-for-xM.patch6
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0001-OMAP3-craneboard-print-expansionboard-name-detected-.patch51
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0001-PSP-3.0.1.6-kernel-source-patched-with-OCF-Linux.patch385
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0001-Revert-omap3-beagle-Fix-compile-time-errors.patch4
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0001-cgroupfs-create-sys-fs-cgroup-to-mount-cgroupfs-on.patch58
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0002-OMAP3-craneboard-add-support-for-TinCanTools-Trainer.patch55
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0002-board-omap3touchbook-make-it-build-against-TI-linux-.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0003-ARM-OMAP-add-support-for-TCT-Zippy-to-Beagle-board-f.patch6
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0004-ARM-OMAP-Make-beagle-u-boot-partition-writable.patch4
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0005-board-omap3-beagle-add-DSS2-support.patch6
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0006-board-omap3beagle-prepare-for-DM3730-based-Beagleboa.patch4
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0007-ARM-OMAP-beagleboard-Add-infrastructure-to-do-fixups.patch8
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0008-ARM-OMAP-beagleboard-pre-export-GPIOs-to-userspace-w.patch6
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0009-ARM-OMAP-beagleboard-initialize-ds1307-and-eeprom-on.patch4
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0010-ARM-OMAP-update-beagleboard-defconfig.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0011-ASoC-enable-audio-capture-by-default-for-twl4030.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0012-MTD-NAND-omap2-proper-fix-for-subpage-read-ECC-error.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0013-OMAP3630-DSS2-Enable-Pre-Multiplied-Alpha-Support.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0014-DSS2-add-bootarg-for-selecting-svideo-or-composite-f.patch6
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0015-ISP-add-some-more-from-Leopard-imaging-patch.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0016-ARM-OMAP-Overo-Add-support-for-second-ethernet-port.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0017-drivers-net-smsc911x-return-ENODEV-if-device-is-not-.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0018-drivers-input-touchscreen-ads7846-return-ENODEV-if-d.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0019-drivers-mfd-add-twl4030-madc-driver.patch14
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0020-ARM-OMAP-Add-missing-twl4030-madc-header-file.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0021-ARM-OMAP-Add-twl4030-madc-support-to-Overo.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0022-ARM-OMAP-Add-twl4030-madc-support-to-Beagle.patch4
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0023-netdev-rt73usb-add-vendor-device-ID-for-Ceiva-Wirele.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0024-mmc-don-t-display-single-block-read-console-messages.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0025-ARM-OMAP2-mmc-twl4030-move-clock-input-selection-pri.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0026-board-overo-add-PM-code-and-sync-with-http-www.sakom.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0027-twl4030-madc-adjust-for-twl4030-twl-api-changes.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0028-OMAP-DSS2-Re-add-support-for-Samsung-lte430wq-f0c-pa.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0029-OMAP-DSS2-Add-support-for-LG-Philips-LB035Q02-panel.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0030-Fix-for-bus-width-which-improves-SD-card-s-peformanc.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0031-ARM-VFP-add-support-to-sync-the-VFP-state-of-the-cur.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0032-ARM-VFP-preserve-the-HW-context-when-calling-signal-.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0033-Switch-SGX-clocks-to-200MHz-on-DM37xx-OMAP36xx.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0034-modedb.c-add-proper-720p60-mode.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0035-RTC-add-support-for-backup-battery-recharge.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0036-ARM-Add-prompt-for-CONFIG_ALIGNMENT_TRAP.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0037-ARM-Print-warning-on-alignment-trap-in-kernel-mode.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0038-ARM-Expose-some-CPU-control-registers-via-sysfs.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0039-ARM-Add-option-to-allow-userspace-PLE-access.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0040-ARM-Add-option-to-allow-userspace-access-to-performa.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0041-ARM-Expose-some-PMON-registers-through-sysfs.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0042-musb-allow-host-io-without-gadget-module.patch6
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0043-MTD-silence-ecc-errors-on-mtdblock0.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0044-ARM-OMAP-beagle-every-known-beagle-except-revB-uses-.patch4
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/0045-ARM-OMAP-beagle-add-support-for-beagleFPGA-expansion.patch6
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/beagleboard/defconfig36
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0001-mt9t111-first-stab-at-merging-sensor-driver-based-on.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0002-mt9t111-Fix-all-checkpatch-errors.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0003-mt9t111-Pass-v4l2_int_device-data.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0004-omap3beagle-Add-camera-support.patch6
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0005-TEMP-omap3beagle-camera-Add-defconfig.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0006-omap3beagle-camera-Add-support-for-regulators.patch4
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0007-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0008-omap3beagle-camera-Fix-null-pointer-dereference.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0009-Revert-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0010-omap3beagle-camera-Change-arch-late_initcall.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0011-omap3beagle-camera-Move-i2c-registration-to-the-main.patch4
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0012-ARM-OMAP3-make-camera-code-build-if-MT9T111-is-built.patch4
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0013-DEBUG-omap3beagle-camera-Force-mode0-in-cam_xclka.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0014-OMAP3-CLOCK-Add-capability-to-change-rate-of-dpll4_m.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0015-Revert-DEBUG-omap3beagle-camera-Force-mode0-in-cam_x.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0016-omap3beagle-camera-Fix-wrong-XCLKA-selection.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0017-omap3isp-set-CAM_MCLK-to-172.8-MHz-allows-exact-9.6-.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0018-Fix-Moved-MCLK-setting-to-the-board-file.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0019-omap3isp-core-Do-smarter-MCLK-setting.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0020-omap3beagle-camera-set-mclk-for-mt9t111.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0021-mt9t111-Fix-max-supported-xclk.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0022-omap3beagle-camera-Clarify-regulators-names.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0023-omap3beagle-camera-Fix-powerup-sequence.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0024-omap3beagle-camera-Change-vaux4-to-1.8v.patch4
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0025-omap3beagle-camera-Rename-regulators-to-match-actual.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0026-omap3beagle-camera-Complement-remainig-sensor-hw-con.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0027-mt9t111-Fix-detect-function-retval-and-cleanup-print.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0028-omap3beagle-camera-Set-padconf-settings-in-cam-init.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0029-omap3beagle-camera-only-register-camera-driver-for-3.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0030-WIP-mt9t111-Work-in-progress-for-camera-enablement.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0031-BeagleXM-Cam-Add-support-for-MT9V113-VGA-Sensor.patch10
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0032-MT9V113-Fixed-sensor-nitialization-issues.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0033-mt9v113-Fix-wrong-active-widths.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0034-omap3isp-Fix-Wrong-check-on-non-interlaced-sensor-on.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0035-omap3isp-Fix-bad-YUV_BT-checks-in-datapath_config.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0036-omap3isp-Set-vd_pol-to-0-by-default-on-all-cases.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0037-omap3isp-ccdc-Set-datalines-to-10-for-YUV_SYNC.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0038-omap3beagle-camera-Fix-parallel-i-f-settings.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0039-omap3beagle-camera-Clean-up-Remove-unneccessary-code.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0040-mt9v113-Clean-Up-Remove-unneccessary-code-printf.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0041-MT9V113-Min-Max-clk-input-changed-as-per-the-spec.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0042-omap3beagle-camera-Further-clode-cleanup.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0043-mt9v113-Settings-from-Aptima-used-to-increase-FPS.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0044-mt9v113-AE-param-tuned-to-get-28-30FPS.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0045-omap3beagle-camera-Cleanup-of-boardfile.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0046-omap3beagle-camera-Cleanup-regulator-usage.patch4
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0047-omap3beagle-camera-Bring-back-mt9t111-support.patch4
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0048-REMOVE-v4l2-Delete-MT9T111-sensor-driver.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0049-V4L-DVB-13670-soc-camera-Add-mt9t112-camera-driver.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0050-soc-camera-mt9t112-modify-exiting-conditions-from-st.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0051-mt9t112-Migrate-from-soc_camera-to-v4l2-int-device.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0052-mt9t112-Add-more-info-to-public-header.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0053-mt9t112-Fix-null-pointer-kernel-bug.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0054-DEBUG-omap3beagle-Add-MT9T112-to-defconfig.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0055-omap3beagle-camera-Change-MT9T111-references-to-new-.patch4
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0056-omap34xxcam-Fix-multi-pixel-format-negotiation.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0057-SQUASH-omap3beagle-camera-Bring-back-mt9t111-support.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0058-mt9t112-Do-init_camera-every-powerup.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0059-omap3beagle-camera-Switch-flag-for-no-sensor-ISP.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0060-mt9t112-Add-back-3MP-basesize.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0061-mt9t112-Prepare-for-24MHz-EXTCLK-and-30-fps.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0062-omap3beagle-camera-Prepare-24MHz-xclk-for-mt9t112.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0063-mt9t112-Correct-register-settings-for-mt9t111-sensor.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0064-mt9t112-Remove-smart-size-selection.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0065-rtl8192su-remove-bogus-Kconfig-depend-on-PCI-and-add.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0066-mt9t112-Add-Context-selection-to-configuration.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0067-mt9t112-Disable-JPEG-in-Context-B.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0068-mt9t112-Make-context-B-stream-unlimited-frames.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0069-mt9t112-Fix-pll-p-dividers-abstraction.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0070-mt9t112-Adjust-50-60Hz-flickering-settings.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0071-mt9t112-Trigger-autofocus-at-the-end-of-context-swit.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0072-omap3beagle-camera-Fix-dual-sensor-registration.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0073-mt9v113-Fix-State-variable-handling.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0074-Move-sensor-rest-to-after-applying-power.patch2
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0075-omap3beagle-Add-camera-bootarg.patch6
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/5m03/0001-mt9p031-import-driver-from-https-github.com-Aptina-B.patch1547
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/cam/5m03/0002-board-omap3beagle-import-li5m03-driver-from-https-gi.patch294
-rw-r--r--recipes-bsp/linux/linux-omap-psp-2.6.32/porches.patch10
-rw-r--r--recipes-bsp/linux/linux-omap-psp_2.6.32.bb7
130 files changed, 2416 insertions, 357 deletions
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0001-BeagleBoard-Adjust-USER-button-pin-for-xM.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0001-BeagleBoard-Adjust-USER-button-pin-for-xM.patch
index af6c0249..a9c297d4 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0001-BeagleBoard-Adjust-USER-button-pin-for-xM.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0001-BeagleBoard-Adjust-USER-button-pin-for-xM.patch
@@ -1,4 +1,4 @@
1From 6fc2495bb9f1fa166f7f4190ecd0b988034f54ea Mon Sep 17 00:00:00 2001 1From 1c63789190687e20ddbed3084e7ae893176d0dd6 Mon Sep 17 00:00:00 2001
2From: Jason Kridner <jkridner@beagleboard.org> 2From: Jason Kridner <jkridner@beagleboard.org>
3Date: Sat, 17 Jul 2010 14:28:22 -0500 3Date: Sat, 17 Jul 2010 14:28:22 -0500
4Subject: [PATCH] BeagleBoard: Adjust USER button pin for xM 4Subject: [PATCH] BeagleBoard: Adjust USER button pin for xM
@@ -8,10 +8,10 @@ Subject: [PATCH] BeagleBoard: Adjust USER button pin for xM
8 1 files changed, 5 insertions(+), 0 deletions(-) 8 1 files changed, 5 insertions(+), 0 deletions(-)
9 9
10diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 10diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
11index 7c9e40a..f93616b 100644 11index 1e8b77b..2677b41 100644
12--- a/arch/arm/mach-omap2/board-omap3beagle.c 12--- a/arch/arm/mach-omap2/board-omap3beagle.c
13+++ b/arch/arm/mach-omap2/board-omap3beagle.c 13+++ b/arch/arm/mach-omap2/board-omap3beagle.c
14@@ -829,6 +829,11 @@ static void __init omap3_beagle_init(void) 14@@ -854,6 +854,11 @@ static void __init omap3_beagle_init(void)
15 { 15 {
16 omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); 16 omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
17 omap3_beagle_i2c_init(); 17 omap3_beagle_i2c_init();
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0001-OMAP3-craneboard-print-expansionboard-name-detected-.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0001-OMAP3-craneboard-print-expansionboard-name-detected-.patch
new file mode 100644
index 00000000..be7c4d7b
--- /dev/null
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0001-OMAP3-craneboard-print-expansionboard-name-detected-.patch
@@ -0,0 +1,51 @@
1From e618eb6ab097d2f655ee6094d5e3c0dc603d7242 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Wed, 19 Jan 2011 16:30:06 +0100
4Subject: [PATCH 1/2] OMAP3: craneboard: print expansionboard name detected from uboot
5
6Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7---
8 arch/arm/mach-omap2/board-am3517crane.c | 13 +++++++++++++
9 1 files changed, 13 insertions(+), 0 deletions(-)
10
11diff --git a/arch/arm/mach-omap2/board-am3517crane.c b/arch/arm/mach-omap2/board-am3517crane.c
12index 0bf4f60..300a79d 100644
13--- a/arch/arm/mach-omap2/board-am3517crane.c
14+++ b/arch/arm/mach-omap2/board-am3517crane.c
15@@ -55,6 +55,8 @@
16
17 #define NAND_BLOCK_SIZE SZ_128K
18
19+char expansionboard_name[16];
20+
21 static struct mtd_partition am3517crane_nand_partitions[] = {
22 /* All the partition sizes are listed in terms of NAND block size */
23 {
24@@ -724,6 +726,15 @@ static struct am3517_hsmmc_info mmc[] = {
25 {} /* Terminator */
26 };
27
28+static int __init expansionboard_setup(char *str)
29+{
30+ if (!str)
31+ return -EINVAL;
32+ strncpy(expansionboard_name, str, 16);
33+ printk(KERN_INFO "Crane expansionboard: %s\n", expansionboard_name);
34+ return 0;
35+}
36+
37 static void __init am3517_crane_init(void)
38 {
39
40@@ -762,6 +773,8 @@ static void __init am3517_crane_map_io(void)
41 omap2_map_common_io();
42 }
43
44+early_param("buddy", expansionboard_setup);
45+
46 MACHINE_START(CRANEBOARD, "AM3517/05 CRANEBOARD")
47 .phys_io = 0x48000000,
48 .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc,
49--
501.6.6.1
51
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0001-PSP-3.0.1.6-kernel-source-patched-with-OCF-Linux.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0001-PSP-3.0.1.6-kernel-source-patched-with-OCF-Linux.patch
index 461c5334..561670e9 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0001-PSP-3.0.1.6-kernel-source-patched-with-OCF-Linux.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0001-PSP-3.0.1.6-kernel-source-patched-with-OCF-Linux.patch
@@ -1,11 +1,12 @@
1From aa85bfafe1cc81c3446952f4b9614bc6dd16fb72 Mon Sep 17 00:00:00 2001 1From 8e1595675e4f2ad795faecb30e0657ac556913d1 Mon Sep 17 00:00:00 2001
2From: Greg Turner <gregturner@ti.com> 2From: Greg Turner <gregturner@ti.com>
3Date: Wed, 8 Dec 2010 11:31:30 -0600 3Date: Wed, 19 Jan 2011 16:19:37 +0100
4Subject: [PATCH] PSP 3.0.1.6 kernel source patched with OCF-Linux 4Subject: [PATCH] PSP 3.0.1.6 kernel source patched with OCF-Linux
5 5
6--- 6---
7 crypto/Kconfig | 3 + 7 crypto/Kconfig | 3 +
8 crypto/Makefile | 2 + 8 crypto/Makefile | 2 +
9 crypto/modules.builtin | 22 +
9 crypto/ocf/Config.in | 36 + 10 crypto/ocf/Config.in | 36 +
10 crypto/ocf/Kconfig | 119 + 11 crypto/ocf/Kconfig | 119 +
11 crypto/ocf/Makefile | 124 + 12 crypto/ocf/Makefile | 124 +
@@ -193,7 +194,8 @@ Subject: [PATCH] PSP 3.0.1.6 kernel source patched with OCF-Linux
193 include/linux/miscdevice.h | 1 + 194 include/linux/miscdevice.h | 1 +
194 include/linux/random.h | 29 + 195 include/linux/random.h | 29 +
195 kernel/pid.c | 1 + 196 kernel/pid.c | 1 +
196 189 files changed, 86726 insertions(+), 0 deletions(-) 197 190 files changed, 86748 insertions(+), 0 deletions(-)
198 create mode 100644 crypto/modules.builtin
197 create mode 100644 crypto/ocf/Config.in 199 create mode 100644 crypto/ocf/Config.in
198 create mode 100644 crypto/ocf/Kconfig 200 create mode 100644 crypto/ocf/Kconfig
199 create mode 100644 crypto/ocf/Makefile 201 create mode 100644 crypto/ocf/Makefile
@@ -383,7 +385,7 @@ index 81c185a..9f1c30f 100644
383+++ b/crypto/Kconfig 385+++ b/crypto/Kconfig
384@@ -822,3 +822,6 @@ config CRYPTO_ANSI_CPRNG 386@@ -822,3 +822,6 @@ config CRYPTO_ANSI_CPRNG
385 source "drivers/crypto/Kconfig" 387 source "drivers/crypto/Kconfig"
386 388
387 endif # if CRYPTO 389 endif # if CRYPTO
388+ 390+
389+source "crypto/ocf/Kconfig" 391+source "crypto/ocf/Kconfig"
@@ -395,12 +397,40 @@ index 9e8f619..79631fc 100644
395@@ -85,6 +85,8 @@ obj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_cprng.o 397@@ -85,6 +85,8 @@ obj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_cprng.o
396 obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o 398 obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o
397 obj-$(CONFIG_CRYPTO_GHASH) += ghash-generic.o 399 obj-$(CONFIG_CRYPTO_GHASH) += ghash-generic.o
398 400
399+obj-$(CONFIG_OCF_OCF) += ocf/ 401+obj-$(CONFIG_OCF_OCF) += ocf/
400+ 402+
401 # 403 #
402 # generic algorithms and the async_tx api 404 # generic algorithms and the async_tx api
403 # 405 #
406diff --git a/crypto/modules.builtin b/crypto/modules.builtin
407new file mode 100644
408index 0000000..04825d1
409--- /dev/null
410+++ b/crypto/modules.builtin
411@@ -0,0 +1,22 @@
412+kernel/crypto/crypto.ko
413+kernel/crypto/crypto_wq.ko
414+kernel/crypto/crypto_algapi.ko
415+kernel/crypto/aead.ko
416+kernel/crypto/crypto_blkcipher.ko
417+kernel/crypto/chainiv.ko
418+kernel/crypto/eseqiv.ko
419+kernel/crypto/crypto_hash.ko
420+kernel/crypto/pcompress.ko
421+kernel/crypto/cryptomgr.ko
422+kernel/crypto/md5.ko
423+kernel/crypto/ecb.ko
424+kernel/crypto/cbc.ko
425+kernel/crypto/des_generic.ko
426+kernel/crypto/aes_generic.ko
427+kernel/crypto/arc4.ko
428+kernel/crypto/deflate.ko
429+kernel/crypto/michael_mic.ko
430+kernel/crypto/crc32c.ko
431+kernel/crypto/lzo.ko
432+kernel/crypto/rng.ko
433+kernel/crypto/krng.ko
404diff --git a/crypto/ocf/Config.in b/crypto/ocf/Config.in 434diff --git a/crypto/ocf/Config.in b/crypto/ocf/Config.in
405new file mode 100644 435new file mode 100644
406index 0000000..d722cba 436index 0000000..d722cba
@@ -700,7 +730,7 @@ index 0000000..fa951f4
700+ 730+
701diff --git a/crypto/ocf/README b/crypto/ocf/README 731diff --git a/crypto/ocf/README b/crypto/ocf/README
702new file mode 100644 732new file mode 100644
703index 0000000..5ac39f7 733index 0000000..ba0a7de
704--- /dev/null 734--- /dev/null
705+++ b/crypto/ocf/README 735+++ b/crypto/ocf/README
706@@ -0,0 +1,167 @@ 736@@ -0,0 +1,167 @@
@@ -891,7 +921,7 @@ index 0000000..e7e634b
891+ 921+
892diff --git a/crypto/ocf/c7108/aes-7108.c b/crypto/ocf/c7108/aes-7108.c 922diff --git a/crypto/ocf/c7108/aes-7108.c b/crypto/ocf/c7108/aes-7108.c
893new file mode 100644 923new file mode 100644
894index 0000000..a5ac054 924index 0000000..6dbc515
895--- /dev/null 925--- /dev/null
896+++ b/crypto/ocf/c7108/aes-7108.c 926+++ b/crypto/ocf/c7108/aes-7108.c
897@@ -0,0 +1,839 @@ 927@@ -0,0 +1,839 @@
@@ -1736,7 +1766,7 @@ index 0000000..a5ac054
1736+MODULE_DESCRIPTION("Cypher 7108 Crypto (OCF module for kernel crypto)"); 1766+MODULE_DESCRIPTION("Cypher 7108 Crypto (OCF module for kernel crypto)");
1737diff --git a/crypto/ocf/c7108/aes-7108.h b/crypto/ocf/c7108/aes-7108.h 1767diff --git a/crypto/ocf/c7108/aes-7108.h b/crypto/ocf/c7108/aes-7108.h
1738new file mode 100644 1768new file mode 100644
1739index 0000000..0c7bfcb 1769index 0000000..48711b4
1740--- /dev/null 1770--- /dev/null
1741+++ b/crypto/ocf/c7108/aes-7108.h 1771+++ b/crypto/ocf/c7108/aes-7108.h
1742@@ -0,0 +1,134 @@ 1772@@ -0,0 +1,134 @@
@@ -1876,7 +1906,7 @@ index 0000000..0c7bfcb
1876+#endif /* __C7108_AES_7108_H__ */ 1906+#endif /* __C7108_AES_7108_H__ */
1877diff --git a/crypto/ocf/criov.c b/crypto/ocf/criov.c 1907diff --git a/crypto/ocf/criov.c b/crypto/ocf/criov.c
1878new file mode 100644 1908new file mode 100644
1879index 0000000..6d7d3ad 1909index 0000000..d04b984
1880--- /dev/null 1910--- /dev/null
1881+++ b/crypto/ocf/criov.c 1911+++ b/crypto/ocf/criov.c
1882@@ -0,0 +1,215 @@ 1912@@ -0,0 +1,215 @@
@@ -2097,7 +2127,7 @@ index 0000000..6d7d3ad
2097+ 2127+
2098diff --git a/crypto/ocf/crypto.c b/crypto/ocf/crypto.c 2128diff --git a/crypto/ocf/crypto.c b/crypto/ocf/crypto.c
2099new file mode 100644 2129new file mode 100644
2100index 0000000..9735f0c 2130index 0000000..1adbaa7
2101--- /dev/null 2131--- /dev/null
2102+++ b/crypto/ocf/crypto.c 2132+++ b/crypto/ocf/crypto.c
2103@@ -0,0 +1,1784 @@ 2133@@ -0,0 +1,1784 @@
@@ -3910,7 +3940,7 @@ index 0000000..eeed0d6
3910+ 3940+
3911diff --git a/crypto/ocf/cryptocteon/cavium_crypto.c b/crypto/ocf/cryptocteon/cavium_crypto.c 3941diff --git a/crypto/ocf/cryptocteon/cavium_crypto.c b/crypto/ocf/cryptocteon/cavium_crypto.c
3912new file mode 100644 3942new file mode 100644
3913index 0000000..ceaf77c 3943index 0000000..0254b9b
3914--- /dev/null 3944--- /dev/null
3915+++ b/crypto/ocf/cryptocteon/cavium_crypto.c 3945+++ b/crypto/ocf/cryptocteon/cavium_crypto.c
3916@@ -0,0 +1,2283 @@ 3946@@ -0,0 +1,2283 @@
@@ -6779,7 +6809,7 @@ index 0000000..9940f59
6779+MODULE_DESCRIPTION("Cryptocteon (OCF module for Cavium OCTEON crypto)"); 6809+MODULE_DESCRIPTION("Cryptocteon (OCF module for Cavium OCTEON crypto)");
6780diff --git a/crypto/ocf/cryptodev.c b/crypto/ocf/cryptodev.c 6810diff --git a/crypto/ocf/cryptodev.c b/crypto/ocf/cryptodev.c
6781new file mode 100644 6811new file mode 100644
6782index 0000000..87a4c37 6812index 0000000..d20da17
6783--- /dev/null 6813--- /dev/null
6784+++ b/crypto/ocf/cryptodev.c 6814+++ b/crypto/ocf/cryptodev.c
6785@@ -0,0 +1,1061 @@ 6815@@ -0,0 +1,1061 @@
@@ -7846,7 +7876,7 @@ index 0000000..87a4c37
7846+MODULE_DESCRIPTION("Cryptodev (user interface to OCF)"); 7876+MODULE_DESCRIPTION("Cryptodev (user interface to OCF)");
7847diff --git a/crypto/ocf/cryptodev.h b/crypto/ocf/cryptodev.h 7877diff --git a/crypto/ocf/cryptodev.h b/crypto/ocf/cryptodev.h
7848new file mode 100644 7878new file mode 100644
7849index 0000000..6032317 7879index 0000000..bb11a56
7850--- /dev/null 7880--- /dev/null
7851+++ b/crypto/ocf/cryptodev.h 7881+++ b/crypto/ocf/cryptodev.h
7852@@ -0,0 +1,479 @@ 7882@@ -0,0 +1,479 @@
@@ -8331,7 +8361,7 @@ index 0000000..6032317
8331+#endif /* _CRYPTO_CRYPTO_H_ */ 8361+#endif /* _CRYPTO_CRYPTO_H_ */
8332diff --git a/crypto/ocf/cryptosoft.c b/crypto/ocf/cryptosoft.c 8362diff --git a/crypto/ocf/cryptosoft.c b/crypto/ocf/cryptosoft.c
8333new file mode 100644 8363new file mode 100644
8334index 0000000..52e1570 8364index 0000000..fa8838e
8335--- /dev/null 8365--- /dev/null
8336+++ b/crypto/ocf/cryptosoft.c 8366+++ b/crypto/ocf/cryptosoft.c
8337@@ -0,0 +1,1210 @@ 8367@@ -0,0 +1,1210 @@
@@ -9547,7 +9577,7 @@ index 0000000..52e1570
9547+MODULE_DESCRIPTION("Cryptosoft (OCF module for kernel crypto)"); 9577+MODULE_DESCRIPTION("Cryptosoft (OCF module for kernel crypto)");
9548diff --git a/crypto/ocf/ep80579/Makefile b/crypto/ocf/ep80579/Makefile 9578diff --git a/crypto/ocf/ep80579/Makefile b/crypto/ocf/ep80579/Makefile
9549new file mode 100644 9579new file mode 100644
9550index 0000000..9aab295 9580index 0000000..e488374
9551--- /dev/null 9581--- /dev/null
9552+++ b/crypto/ocf/ep80579/Makefile 9582+++ b/crypto/ocf/ep80579/Makefile
9553@@ -0,0 +1,119 @@ 9583@@ -0,0 +1,119 @@
@@ -9672,7 +9702,7 @@ index 0000000..9aab295
9672+endif 9702+endif
9673diff --git a/crypto/ocf/ep80579/icp_asym.c b/crypto/ocf/ep80579/icp_asym.c 9703diff --git a/crypto/ocf/ep80579/icp_asym.c b/crypto/ocf/ep80579/icp_asym.c
9674new file mode 100644 9704new file mode 100644
9675index 0000000..d2641c5 9705index 0000000..ebdddc1
9676--- /dev/null 9706--- /dev/null
9677+++ b/crypto/ocf/ep80579/icp_asym.c 9707+++ b/crypto/ocf/ep80579/icp_asym.c
9678@@ -0,0 +1,1334 @@ 9708@@ -0,0 +1,1334 @@
@@ -11012,7 +11042,7 @@ index 0000000..d2641c5
11012+} 11042+}
11013diff --git a/crypto/ocf/ep80579/icp_common.c b/crypto/ocf/ep80579/icp_common.c 11043diff --git a/crypto/ocf/ep80579/icp_common.c b/crypto/ocf/ep80579/icp_common.c
11014new file mode 100644 11044new file mode 100644
11015index 0000000..5d46c0a 11045index 0000000..06a4cf2
11016--- /dev/null 11046--- /dev/null
11017+++ b/crypto/ocf/ep80579/icp_common.c 11047+++ b/crypto/ocf/ep80579/icp_common.c
11018@@ -0,0 +1,773 @@ 11048@@ -0,0 +1,773 @@
@@ -11791,7 +11821,7 @@ index 0000000..5d46c0a
11791+ LAC_MAX_VER); 11821+ LAC_MAX_VER);
11792diff --git a/crypto/ocf/ep80579/icp_ocf.h b/crypto/ocf/ep80579/icp_ocf.h 11822diff --git a/crypto/ocf/ep80579/icp_ocf.h b/crypto/ocf/ep80579/icp_ocf.h
11793new file mode 100644 11823new file mode 100644
11794index 0000000..d9dde87 11824index 0000000..854b306
11795--- /dev/null 11825--- /dev/null
11796+++ b/crypto/ocf/ep80579/icp_ocf.h 11826+++ b/crypto/ocf/ep80579/icp_ocf.h
11797@@ -0,0 +1,376 @@ 11827@@ -0,0 +1,376 @@
@@ -12173,7 +12203,7 @@ index 0000000..d9dde87
12173+/* ICP_OCF_H_ */ 12203+/* ICP_OCF_H_ */
12174diff --git a/crypto/ocf/ep80579/icp_sym.c b/crypto/ocf/ep80579/icp_sym.c 12204diff --git a/crypto/ocf/ep80579/icp_sym.c b/crypto/ocf/ep80579/icp_sym.c
12175new file mode 100644 12205new file mode 100644
12176index 0000000..e1c7148 12206index 0000000..a3edc43
12177--- /dev/null 12207--- /dev/null
12178+++ b/crypto/ocf/ep80579/icp_sym.c 12208+++ b/crypto/ocf/ep80579/icp_sym.c
12179@@ -0,0 +1,1153 @@ 12209@@ -0,0 +1,1153 @@
@@ -13351,7 +13381,7 @@ index 0000000..163fed0
13351+ 13381+
13352diff --git a/crypto/ocf/hifn/hifn7751.c b/crypto/ocf/hifn/hifn7751.c 13382diff --git a/crypto/ocf/hifn/hifn7751.c b/crypto/ocf/hifn/hifn7751.c
13353new file mode 100644 13383new file mode 100644
13354index 0000000..6136e84 13384index 0000000..e7a5958
13355--- /dev/null 13385--- /dev/null
13356+++ b/crypto/ocf/hifn/hifn7751.c 13386+++ b/crypto/ocf/hifn/hifn7751.c
13357@@ -0,0 +1,2976 @@ 13387@@ -0,0 +1,2976 @@
@@ -16333,7 +16363,7 @@ index 0000000..6136e84
16333+MODULE_DESCRIPTION("OCF driver for hifn PCI crypto devices"); 16363+MODULE_DESCRIPTION("OCF driver for hifn PCI crypto devices");
16334diff --git a/crypto/ocf/hifn/hifn7751reg.h b/crypto/ocf/hifn/hifn7751reg.h 16364diff --git a/crypto/ocf/hifn/hifn7751reg.h b/crypto/ocf/hifn/hifn7751reg.h
16335new file mode 100644 16365new file mode 100644
16336index 0000000..ccf54f9 16366index 0000000..23d70c5
16337--- /dev/null 16367--- /dev/null
16338+++ b/crypto/ocf/hifn/hifn7751reg.h 16368+++ b/crypto/ocf/hifn/hifn7751reg.h
16339@@ -0,0 +1,540 @@ 16369@@ -0,0 +1,540 @@
@@ -16879,7 +16909,7 @@ index 0000000..ccf54f9
16879+#endif /* __HIFN_H__ */ 16909+#endif /* __HIFN_H__ */
16880diff --git a/crypto/ocf/hifn/hifn7751var.h b/crypto/ocf/hifn/hifn7751var.h 16910diff --git a/crypto/ocf/hifn/hifn7751var.h b/crypto/ocf/hifn/hifn7751var.h
16881new file mode 100644 16911new file mode 100644
16882index 0000000..9a5f231 16912index 0000000..6146bfb
16883--- /dev/null 16913--- /dev/null
16884+++ b/crypto/ocf/hifn/hifn7751var.h 16914+++ b/crypto/ocf/hifn/hifn7751var.h
16885@@ -0,0 +1,369 @@ 16915@@ -0,0 +1,369 @@
@@ -17254,7 +17284,7 @@ index 0000000..9a5f231
17254+#endif /* __HIFN7751VAR_H__ */ 17284+#endif /* __HIFN7751VAR_H__ */
17255diff --git a/crypto/ocf/hifn/hifnHIPP.c b/crypto/ocf/hifn/hifnHIPP.c 17285diff --git a/crypto/ocf/hifn/hifnHIPP.c b/crypto/ocf/hifn/hifnHIPP.c
17256new file mode 100644 17286new file mode 100644
17257index 0000000..45ad7ba 17287index 0000000..1785147
17258--- /dev/null 17288--- /dev/null
17259+++ b/crypto/ocf/hifn/hifnHIPP.c 17289+++ b/crypto/ocf/hifn/hifnHIPP.c
17260@@ -0,0 +1,420 @@ 17290@@ -0,0 +1,420 @@
@@ -17732,7 +17762,7 @@ index 0000000..8c0e720
17732+#endif /* __HIPP_H__ */ 17762+#endif /* __HIPP_H__ */
17733diff --git a/crypto/ocf/hifn/hifnHIPPvar.h b/crypto/ocf/hifn/hifnHIPPvar.h 17763diff --git a/crypto/ocf/hifn/hifnHIPPvar.h b/crypto/ocf/hifn/hifnHIPPvar.h
17734new file mode 100644 17764new file mode 100644
17735index 0000000..61d292f 17765index 0000000..dde47f7
17736--- /dev/null 17766--- /dev/null
17737+++ b/crypto/ocf/hifn/hifnHIPPvar.h 17767+++ b/crypto/ocf/hifn/hifnHIPPvar.h
17738@@ -0,0 +1,93 @@ 17768@@ -0,0 +1,93 @@
@@ -17941,7 +17971,7 @@ index 0000000..d94a3b7
17941+ 17971+
17942diff --git a/crypto/ocf/ixp4xx/ixp4xx.c b/crypto/ocf/ixp4xx/ixp4xx.c 17972diff --git a/crypto/ocf/ixp4xx/ixp4xx.c b/crypto/ocf/ixp4xx/ixp4xx.c
17943new file mode 100644 17973new file mode 100644
17944index 0000000..d5414a4 17974index 0000000..7af7b0a
17945--- /dev/null 17975--- /dev/null
17946+++ b/crypto/ocf/ixp4xx/ixp4xx.c 17976+++ b/crypto/ocf/ixp4xx/ixp4xx.c
17947@@ -0,0 +1,1324 @@ 17977@@ -0,0 +1,1324 @@
@@ -19296,7 +19326,7 @@ index 0000000..6dafd00
19296+ 19326+
19297diff --git a/crypto/ocf/kirkwood/cesa/AES/mvAes.h b/crypto/ocf/kirkwood/cesa/AES/mvAes.h 19327diff --git a/crypto/ocf/kirkwood/cesa/AES/mvAes.h b/crypto/ocf/kirkwood/cesa/AES/mvAes.h
19298new file mode 100644 19328new file mode 100644
19299index 0000000..07a8601 19329index 0000000..969727f
19300--- /dev/null 19330--- /dev/null
19301+++ b/crypto/ocf/kirkwood/cesa/AES/mvAes.h 19331+++ b/crypto/ocf/kirkwood/cesa/AES/mvAes.h
19302@@ -0,0 +1,62 @@ 19332@@ -0,0 +1,62 @@
@@ -19364,7 +19394,7 @@ index 0000000..07a8601
19364+ 19394+
19365diff --git a/crypto/ocf/kirkwood/cesa/AES/mvAesAlg.c b/crypto/ocf/kirkwood/cesa/AES/mvAesAlg.c 19395diff --git a/crypto/ocf/kirkwood/cesa/AES/mvAesAlg.c b/crypto/ocf/kirkwood/cesa/AES/mvAesAlg.c
19366new file mode 100644 19396new file mode 100644
19367index 0000000..a65dc28 19397index 0000000..2f57e4f
19368--- /dev/null 19398--- /dev/null
19369+++ b/crypto/ocf/kirkwood/cesa/AES/mvAesAlg.c 19399+++ b/crypto/ocf/kirkwood/cesa/AES/mvAesAlg.c
19370@@ -0,0 +1,317 @@ 19400@@ -0,0 +1,317 @@
@@ -19712,7 +19742,7 @@ index 0000000..ec81e40
19712+#endif /* __RIJNDAEL_ALG_H */ 19742+#endif /* __RIJNDAEL_ALG_H */
19713diff --git a/crypto/ocf/kirkwood/cesa/AES/mvAesApi.c b/crypto/ocf/kirkwood/cesa/AES/mvAesApi.c 19743diff --git a/crypto/ocf/kirkwood/cesa/AES/mvAesApi.c b/crypto/ocf/kirkwood/cesa/AES/mvAesApi.c
19714new file mode 100644 19744new file mode 100644
19715index 0000000..b432dc6 19745index 0000000..70ae60d
19716--- /dev/null 19746--- /dev/null
19717+++ b/crypto/ocf/kirkwood/cesa/AES/mvAesApi.c 19747+++ b/crypto/ocf/kirkwood/cesa/AES/mvAesApi.c
19718@@ -0,0 +1,312 @@ 19748@@ -0,0 +1,312 @@
@@ -20030,7 +20060,7 @@ index 0000000..b432dc6
20030+ 20060+
20031diff --git a/crypto/ocf/kirkwood/cesa/mvCesa.c b/crypto/ocf/kirkwood/cesa/mvCesa.c 20061diff --git a/crypto/ocf/kirkwood/cesa/mvCesa.c b/crypto/ocf/kirkwood/cesa/mvCesa.c
20032new file mode 100644 20062new file mode 100644
20033index 0000000..17ab086 20063index 0000000..e09ad62
20034--- /dev/null 20064--- /dev/null
20035+++ b/crypto/ocf/kirkwood/cesa/mvCesa.c 20065+++ b/crypto/ocf/kirkwood/cesa/mvCesa.c
20036@@ -0,0 +1,3126 @@ 20066@@ -0,0 +1,3126 @@
@@ -23162,7 +23192,7 @@ index 0000000..17ab086
23162+} 23192+}
23163diff --git a/crypto/ocf/kirkwood/cesa/mvCesa.h b/crypto/ocf/kirkwood/cesa/mvCesa.h 23193diff --git a/crypto/ocf/kirkwood/cesa/mvCesa.h b/crypto/ocf/kirkwood/cesa/mvCesa.h
23164new file mode 100644 23194new file mode 100644
23165index 0000000..c0abc9b 23195index 0000000..6898699
23166--- /dev/null 23196--- /dev/null
23167+++ b/crypto/ocf/kirkwood/cesa/mvCesa.h 23197+++ b/crypto/ocf/kirkwood/cesa/mvCesa.h
23168@@ -0,0 +1,412 @@ 23198@@ -0,0 +1,412 @@
@@ -23580,7 +23610,7 @@ index 0000000..c0abc9b
23580+#endif /* __mvCesa_h__ */ 23610+#endif /* __mvCesa_h__ */
23581diff --git a/crypto/ocf/kirkwood/cesa/mvCesaDebug.c b/crypto/ocf/kirkwood/cesa/mvCesaDebug.c 23611diff --git a/crypto/ocf/kirkwood/cesa/mvCesaDebug.c b/crypto/ocf/kirkwood/cesa/mvCesaDebug.c
23582new file mode 100644 23612new file mode 100644
23583index 0000000..31b78a8 23613index 0000000..0b7cb48
23584--- /dev/null 23614--- /dev/null
23585+++ b/crypto/ocf/kirkwood/cesa/mvCesaDebug.c 23615+++ b/crypto/ocf/kirkwood/cesa/mvCesaDebug.c
23586@@ -0,0 +1,484 @@ 23616@@ -0,0 +1,484 @@
@@ -24070,7 +24100,7 @@ index 0000000..31b78a8
24070+} 24100+}
24071diff --git a/crypto/ocf/kirkwood/cesa/mvCesaRegs.h b/crypto/ocf/kirkwood/cesa/mvCesaRegs.h 24101diff --git a/crypto/ocf/kirkwood/cesa/mvCesaRegs.h b/crypto/ocf/kirkwood/cesa/mvCesaRegs.h
24072new file mode 100644 24102new file mode 100644
24073index 0000000..6b7ce12 24103index 0000000..c6eecae
24074--- /dev/null 24104--- /dev/null
24075+++ b/crypto/ocf/kirkwood/cesa/mvCesaRegs.h 24105+++ b/crypto/ocf/kirkwood/cesa/mvCesaRegs.h
24076@@ -0,0 +1,357 @@ 24106@@ -0,0 +1,357 @@
@@ -24433,7 +24463,7 @@ index 0000000..6b7ce12
24433+ 24463+
24434diff --git a/crypto/ocf/kirkwood/cesa/mvCesaTest.c b/crypto/ocf/kirkwood/cesa/mvCesaTest.c 24464diff --git a/crypto/ocf/kirkwood/cesa/mvCesaTest.c b/crypto/ocf/kirkwood/cesa/mvCesaTest.c
24435new file mode 100644 24465new file mode 100644
24436index 0000000..7463293 24466index 0000000..694f780
24437--- /dev/null 24467--- /dev/null
24438+++ b/crypto/ocf/kirkwood/cesa/mvCesaTest.c 24468+++ b/crypto/ocf/kirkwood/cesa/mvCesaTest.c
24439@@ -0,0 +1,3096 @@ 24469@@ -0,0 +1,3096 @@
@@ -27535,7 +27565,7 @@ index 0000000..7463293
27535+} 27565+}
27536diff --git a/crypto/ocf/kirkwood/cesa/mvLru.c b/crypto/ocf/kirkwood/cesa/mvLru.c 27566diff --git a/crypto/ocf/kirkwood/cesa/mvLru.c b/crypto/ocf/kirkwood/cesa/mvLru.c
27537new file mode 100644 27567new file mode 100644
27538index 0000000..9ab29a8 27568index 0000000..4b5f877
27539--- /dev/null 27569--- /dev/null
27540+++ b/crypto/ocf/kirkwood/cesa/mvLru.c 27570+++ b/crypto/ocf/kirkwood/cesa/mvLru.c
27541@@ -0,0 +1,158 @@ 27571@@ -0,0 +1,158 @@
@@ -27699,7 +27729,7 @@ index 0000000..9ab29a8
27699+} 27729+}
27700diff --git a/crypto/ocf/kirkwood/cesa/mvLru.h b/crypto/ocf/kirkwood/cesa/mvLru.h 27730diff --git a/crypto/ocf/kirkwood/cesa/mvLru.h b/crypto/ocf/kirkwood/cesa/mvLru.h
27701new file mode 100644 27731new file mode 100644
27702index 0000000..896e7f8 27732index 0000000..39d2f89
27703--- /dev/null 27733--- /dev/null
27704+++ b/crypto/ocf/kirkwood/cesa/mvLru.h 27734+++ b/crypto/ocf/kirkwood/cesa/mvLru.h
27705@@ -0,0 +1,112 @@ 27735@@ -0,0 +1,112 @@
@@ -27817,7 +27847,7 @@ index 0000000..896e7f8
27817+#endif /* __mvLru_h__ */ 27847+#endif /* __mvLru_h__ */
27818diff --git a/crypto/ocf/kirkwood/cesa/mvMD5.c b/crypto/ocf/kirkwood/cesa/mvMD5.c 27848diff --git a/crypto/ocf/kirkwood/cesa/mvMD5.c b/crypto/ocf/kirkwood/cesa/mvMD5.c
27819new file mode 100644 27849new file mode 100644
27820index 0000000..189f629 27850index 0000000..b012976
27821--- /dev/null 27851--- /dev/null
27822+++ b/crypto/ocf/kirkwood/cesa/mvMD5.c 27852+++ b/crypto/ocf/kirkwood/cesa/mvMD5.c
27823@@ -0,0 +1,349 @@ 27853@@ -0,0 +1,349 @@
@@ -28172,7 +28202,7 @@ index 0000000..189f629
28172+} 28202+}
28173diff --git a/crypto/ocf/kirkwood/cesa/mvMD5.h b/crypto/ocf/kirkwood/cesa/mvMD5.h 28203diff --git a/crypto/ocf/kirkwood/cesa/mvMD5.h b/crypto/ocf/kirkwood/cesa/mvMD5.h
28174new file mode 100644 28204new file mode 100644
28175index 0000000..d05c6b6 28205index 0000000..d20281e
28176--- /dev/null 28206--- /dev/null
28177+++ b/crypto/ocf/kirkwood/cesa/mvMD5.h 28207+++ b/crypto/ocf/kirkwood/cesa/mvMD5.h
28178@@ -0,0 +1,93 @@ 28208@@ -0,0 +1,93 @@
@@ -28271,7 +28301,7 @@ index 0000000..d05c6b6
28271+#endif /* __mvMD5_h__ */ 28301+#endif /* __mvMD5_h__ */
28272diff --git a/crypto/ocf/kirkwood/cesa/mvSHA1.c b/crypto/ocf/kirkwood/cesa/mvSHA1.c 28302diff --git a/crypto/ocf/kirkwood/cesa/mvSHA1.c b/crypto/ocf/kirkwood/cesa/mvSHA1.c
28273new file mode 100644 28303new file mode 100644
28274index 0000000..0e0786b 28304index 0000000..6342985
28275--- /dev/null 28305--- /dev/null
28276+++ b/crypto/ocf/kirkwood/cesa/mvSHA1.c 28306+++ b/crypto/ocf/kirkwood/cesa/mvSHA1.c
28277@@ -0,0 +1,239 @@ 28307@@ -0,0 +1,239 @@
@@ -28516,7 +28546,7 @@ index 0000000..0e0786b
28516+} 28546+}
28517diff --git a/crypto/ocf/kirkwood/cesa/mvSHA1.h b/crypto/ocf/kirkwood/cesa/mvSHA1.h 28547diff --git a/crypto/ocf/kirkwood/cesa/mvSHA1.h b/crypto/ocf/kirkwood/cesa/mvSHA1.h
28518new file mode 100644 28548new file mode 100644
28519index 0000000..17df9fc 28549index 0000000..1914f47
28520--- /dev/null 28550--- /dev/null
28521+++ b/crypto/ocf/kirkwood/cesa/mvSHA1.h 28551+++ b/crypto/ocf/kirkwood/cesa/mvSHA1.h
28522@@ -0,0 +1,88 @@ 28552@@ -0,0 +1,88 @@
@@ -28610,7 +28640,7 @@ index 0000000..17df9fc
28610+#endif /* __mvSHA1_h__ */ 28640+#endif /* __mvSHA1_h__ */
28611diff --git a/crypto/ocf/kirkwood/cesa_ocf_drv.c b/crypto/ocf/kirkwood/cesa_ocf_drv.c 28641diff --git a/crypto/ocf/kirkwood/cesa_ocf_drv.c b/crypto/ocf/kirkwood/cesa_ocf_drv.c
28612new file mode 100644 28642new file mode 100644
28613index 0000000..ccf9227 28643index 0000000..c056b1f
28614--- /dev/null 28644--- /dev/null
28615+++ b/crypto/ocf/kirkwood/cesa_ocf_drv.c 28645+++ b/crypto/ocf/kirkwood/cesa_ocf_drv.c
28616@@ -0,0 +1,1296 @@ 28646@@ -0,0 +1,1296 @@
@@ -29912,7 +29942,7 @@ index 0000000..ccf9227
29912+MODULE_DESCRIPTION("OCF module for Orion CESA crypto"); 29942+MODULE_DESCRIPTION("OCF module for Orion CESA crypto");
29913diff --git a/crypto/ocf/kirkwood/mvHal/common/mv802_3.h b/crypto/ocf/kirkwood/mvHal/common/mv802_3.h 29943diff --git a/crypto/ocf/kirkwood/mvHal/common/mv802_3.h b/crypto/ocf/kirkwood/mvHal/common/mv802_3.h
29914new file mode 100644 29944new file mode 100644
29915index 0000000..3769dde 29945index 0000000..b03cdbd
29916--- /dev/null 29946--- /dev/null
29917+++ b/crypto/ocf/kirkwood/mvHal/common/mv802_3.h 29947+++ b/crypto/ocf/kirkwood/mvHal/common/mv802_3.h
29918@@ -0,0 +1,213 @@ 29948@@ -0,0 +1,213 @@
@@ -30131,7 +30161,7 @@ index 0000000..3769dde
30131+#endif /* __INCmv802_3h */ 30161+#endif /* __INCmv802_3h */
30132diff --git a/crypto/ocf/kirkwood/mvHal/common/mvCommon.c b/crypto/ocf/kirkwood/mvHal/common/mvCommon.c 30162diff --git a/crypto/ocf/kirkwood/mvHal/common/mvCommon.c b/crypto/ocf/kirkwood/mvHal/common/mvCommon.c
30133new file mode 100644 30163new file mode 100644
30134index 0000000..dc0e0cf 30164index 0000000..ecb41a8
30135--- /dev/null 30165--- /dev/null
30136+++ b/crypto/ocf/kirkwood/mvHal/common/mvCommon.c 30166+++ b/crypto/ocf/kirkwood/mvHal/common/mvCommon.c
30137@@ -0,0 +1,277 @@ 30167@@ -0,0 +1,277 @@
@@ -30414,7 +30444,7 @@ index 0000000..dc0e0cf
30414+ 30444+
30415diff --git a/crypto/ocf/kirkwood/mvHal/common/mvCommon.h b/crypto/ocf/kirkwood/mvHal/common/mvCommon.h 30445diff --git a/crypto/ocf/kirkwood/mvHal/common/mvCommon.h b/crypto/ocf/kirkwood/mvHal/common/mvCommon.h
30416new file mode 100644 30446new file mode 100644
30417index 0000000..c8e9ce1 30447index 0000000..5caf47c
30418--- /dev/null 30448--- /dev/null
30419+++ b/crypto/ocf/kirkwood/mvHal/common/mvCommon.h 30449+++ b/crypto/ocf/kirkwood/mvHal/common/mvCommon.h
30420@@ -0,0 +1,308 @@ 30450@@ -0,0 +1,308 @@
@@ -30728,7 +30758,7 @@ index 0000000..c8e9ce1
30728+#endif /* __INCmvCommonh */ 30758+#endif /* __INCmvCommonh */
30729diff --git a/crypto/ocf/kirkwood/mvHal/common/mvDebug.c b/crypto/ocf/kirkwood/mvHal/common/mvDebug.c 30759diff --git a/crypto/ocf/kirkwood/mvHal/common/mvDebug.c b/crypto/ocf/kirkwood/mvHal/common/mvDebug.c
30730new file mode 100644 30760new file mode 100644
30731index 0000000..087f36d 30761index 0000000..d98a9e4
30732--- /dev/null 30762--- /dev/null
30733+++ b/crypto/ocf/kirkwood/mvHal/common/mvDebug.c 30763+++ b/crypto/ocf/kirkwood/mvHal/common/mvDebug.c
30734@@ -0,0 +1,326 @@ 30764@@ -0,0 +1,326 @@
@@ -31060,7 +31090,7 @@ index 0000000..087f36d
31060+ 31090+
31061diff --git a/crypto/ocf/kirkwood/mvHal/common/mvDebug.h b/crypto/ocf/kirkwood/mvHal/common/mvDebug.h 31091diff --git a/crypto/ocf/kirkwood/mvHal/common/mvDebug.h b/crypto/ocf/kirkwood/mvHal/common/mvDebug.h
31062new file mode 100644 31092new file mode 100644
31063index 0000000..e4975be 31093index 0000000..ed07a1f
31064--- /dev/null 31094--- /dev/null
31065+++ b/crypto/ocf/kirkwood/mvHal/common/mvDebug.h 31095+++ b/crypto/ocf/kirkwood/mvHal/common/mvDebug.h
31066@@ -0,0 +1,178 @@ 31096@@ -0,0 +1,178 @@
@@ -31244,7 +31274,7 @@ index 0000000..e4975be
31244+ 31274+
31245diff --git a/crypto/ocf/kirkwood/mvHal/common/mvDeviceId.h b/crypto/ocf/kirkwood/mvHal/common/mvDeviceId.h 31275diff --git a/crypto/ocf/kirkwood/mvHal/common/mvDeviceId.h b/crypto/ocf/kirkwood/mvHal/common/mvDeviceId.h
31246new file mode 100644 31276new file mode 100644
31247index 0000000..4782094 31277index 0000000..2e0c04f
31248--- /dev/null 31278--- /dev/null
31249+++ b/crypto/ocf/kirkwood/mvHal/common/mvDeviceId.h 31279+++ b/crypto/ocf/kirkwood/mvHal/common/mvDeviceId.h
31250@@ -0,0 +1,225 @@ 31280@@ -0,0 +1,225 @@
@@ -31475,7 +31505,7 @@ index 0000000..4782094
31475+#endif /* __INCmvDeviceIdh */ 31505+#endif /* __INCmvDeviceIdh */
31476diff --git a/crypto/ocf/kirkwood/mvHal/common/mvHalVer.h b/crypto/ocf/kirkwood/mvHal/common/mvHalVer.h 31506diff --git a/crypto/ocf/kirkwood/mvHal/common/mvHalVer.h b/crypto/ocf/kirkwood/mvHal/common/mvHalVer.h
31477new file mode 100644 31507new file mode 100644
31478index 0000000..3bfcfe1 31508index 0000000..1849198
31479--- /dev/null 31509--- /dev/null
31480+++ b/crypto/ocf/kirkwood/mvHal/common/mvHalVer.h 31510+++ b/crypto/ocf/kirkwood/mvHal/common/mvHalVer.h
31481@@ -0,0 +1,73 @@ 31511@@ -0,0 +1,73 @@
@@ -31555,7 +31585,7 @@ index 0000000..3bfcfe1
31555\ No newline at end of file 31585\ No newline at end of file
31556diff --git a/crypto/ocf/kirkwood/mvHal/common/mvStack.c b/crypto/ocf/kirkwood/mvHal/common/mvStack.c 31586diff --git a/crypto/ocf/kirkwood/mvHal/common/mvStack.c b/crypto/ocf/kirkwood/mvHal/common/mvStack.c
31557new file mode 100644 31587new file mode 100644
31558index 0000000..41ca7ce 31588index 0000000..7ba48ea
31559--- /dev/null 31589--- /dev/null
31560+++ b/crypto/ocf/kirkwood/mvHal/common/mvStack.c 31590+++ b/crypto/ocf/kirkwood/mvHal/common/mvStack.c
31561@@ -0,0 +1,100 @@ 31591@@ -0,0 +1,100 @@
@@ -31661,7 +31691,7 @@ index 0000000..41ca7ce
31661+} 31691+}
31662diff --git a/crypto/ocf/kirkwood/mvHal/common/mvStack.h b/crypto/ocf/kirkwood/mvHal/common/mvStack.h 31692diff --git a/crypto/ocf/kirkwood/mvHal/common/mvStack.h b/crypto/ocf/kirkwood/mvHal/common/mvStack.h
31663new file mode 100644 31693new file mode 100644
31664index 0000000..e247e61 31694index 0000000..7e33d91
31665--- /dev/null 31695--- /dev/null
31666+++ b/crypto/ocf/kirkwood/mvHal/common/mvStack.h 31696+++ b/crypto/ocf/kirkwood/mvHal/common/mvStack.h
31667@@ -0,0 +1,140 @@ 31697@@ -0,0 +1,140 @@
@@ -31807,7 +31837,7 @@ index 0000000..e247e61
31807+ 31837+
31808diff --git a/crypto/ocf/kirkwood/mvHal/common/mvTypes.h b/crypto/ocf/kirkwood/mvHal/common/mvTypes.h 31838diff --git a/crypto/ocf/kirkwood/mvHal/common/mvTypes.h b/crypto/ocf/kirkwood/mvHal/common/mvTypes.h
31809new file mode 100644 31839new file mode 100644
31810index 0000000..de212a1 31840index 0000000..1538a24
31811--- /dev/null 31841--- /dev/null
31812+++ b/crypto/ocf/kirkwood/mvHal/common/mvTypes.h 31842+++ b/crypto/ocf/kirkwood/mvHal/common/mvTypes.h
31813@@ -0,0 +1,245 @@ 31843@@ -0,0 +1,245 @@
@@ -32058,7 +32088,7 @@ index 0000000..de212a1
32058+ 32088+
32059diff --git a/crypto/ocf/kirkwood/mvHal/dbg-trace.c b/crypto/ocf/kirkwood/mvHal/dbg-trace.c 32089diff --git a/crypto/ocf/kirkwood/mvHal/dbg-trace.c b/crypto/ocf/kirkwood/mvHal/dbg-trace.c
32060new file mode 100644 32090new file mode 100644
32061index 0000000..644fd02 32091index 0000000..6576d35
32062--- /dev/null 32092--- /dev/null
32063+++ b/crypto/ocf/kirkwood/mvHal/dbg-trace.c 32093+++ b/crypto/ocf/kirkwood/mvHal/dbg-trace.c
32064@@ -0,0 +1,110 @@ 32094@@ -0,0 +1,110 @@
@@ -32174,7 +32204,7 @@ index 0000000..644fd02
32174+ 32204+
32175diff --git a/crypto/ocf/kirkwood/mvHal/dbg-trace.h b/crypto/ocf/kirkwood/mvHal/dbg-trace.h 32205diff --git a/crypto/ocf/kirkwood/mvHal/dbg-trace.h b/crypto/ocf/kirkwood/mvHal/dbg-trace.h
32176new file mode 100644 32206new file mode 100644
32177index 0000000..a5aac26 32207index 0000000..e3dd480
32178--- /dev/null 32208--- /dev/null
32179+++ b/crypto/ocf/kirkwood/mvHal/dbg-trace.h 32209+++ b/crypto/ocf/kirkwood/mvHal/dbg-trace.h
32180@@ -0,0 +1,24 @@ 32210@@ -0,0 +1,24 @@
@@ -32204,7 +32234,7 @@ index 0000000..a5aac26
32204+#endif 32234+#endif
32205diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvLib.c b/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvLib.c 32235diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvLib.c b/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvLib.c
32206new file mode 100644 32236new file mode 100644
32207index 0000000..5f62784 32237index 0000000..8a6ba2c
32208--- /dev/null 32238--- /dev/null
32209+++ b/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvLib.c 32239+++ b/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvLib.c
32210@@ -0,0 +1,2513 @@ 32240@@ -0,0 +1,2513 @@
@@ -34723,7 +34753,7 @@ index 0000000..5f62784
34723+ 34753+
34724diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvLib.h b/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvLib.h 34754diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvLib.h b/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvLib.h
34725new file mode 100644 34755new file mode 100644
34726index 0000000..dead633 34756index 0000000..522493d
34727--- /dev/null 34757--- /dev/null
34728+++ b/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvLib.h 34758+++ b/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvLib.h
34729@@ -0,0 +1,376 @@ 34759@@ -0,0 +1,376 @@
@@ -35105,7 +35135,7 @@ index 0000000..dead633
35105+#endif /* __INCmvBoardEnvLibh */ 35135+#endif /* __INCmvBoardEnvLibh */
35106diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvSpec.c b/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvSpec.c 35136diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvSpec.c b/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvSpec.c
35107new file mode 100644 35137new file mode 100644
35108index 0000000..e256c4f 35138index 0000000..54508c0
35109--- /dev/null 35139--- /dev/null
35110+++ b/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvSpec.c 35140+++ b/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvSpec.c
35111@@ -0,0 +1,848 @@ 35141@@ -0,0 +1,848 @@
@@ -35959,7 +35989,7 @@ index 0000000..e256c4f
35959+ 35989+
35960diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvSpec.h b/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvSpec.h 35990diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvSpec.h b/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvSpec.h
35961new file mode 100644 35991new file mode 100644
35962index 0000000..0372eee 35992index 0000000..b11dafb
35963--- /dev/null 35993--- /dev/null
35964+++ b/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvSpec.h 35994+++ b/crypto/ocf/kirkwood/mvHal/kw_family/boardEnv/mvBoardEnvSpec.h
35965@@ -0,0 +1,262 @@ 35995@@ -0,0 +1,262 @@
@@ -36227,7 +36257,7 @@ index 0000000..0372eee
36227+#endif /* __INCmvBoardEnvSpech */ 36257+#endif /* __INCmvBoardEnvSpech */
36228diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/cpu/mvCpu.c b/crypto/ocf/kirkwood/mvHal/kw_family/cpu/mvCpu.c 36258diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/cpu/mvCpu.c b/crypto/ocf/kirkwood/mvHal/kw_family/cpu/mvCpu.c
36229new file mode 100644 36259new file mode 100644
36230index 0000000..fed0fa1 36260index 0000000..9e39354
36231--- /dev/null 36261--- /dev/null
36232+++ b/crypto/ocf/kirkwood/mvHal/kw_family/cpu/mvCpu.c 36262+++ b/crypto/ocf/kirkwood/mvHal/kw_family/cpu/mvCpu.c
36233@@ -0,0 +1,320 @@ 36263@@ -0,0 +1,320 @@
@@ -36553,7 +36583,7 @@ index 0000000..fed0fa1
36553+ 36583+
36554diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/cpu/mvCpu.h b/crypto/ocf/kirkwood/mvHal/kw_family/cpu/mvCpu.h 36584diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/cpu/mvCpu.h b/crypto/ocf/kirkwood/mvHal/kw_family/cpu/mvCpu.h
36555new file mode 100644 36585new file mode 100644
36556index 0000000..7f58b03 36586index 0000000..dd3a70e
36557--- /dev/null 36587--- /dev/null
36558+++ b/crypto/ocf/kirkwood/mvHal/kw_family/cpu/mvCpu.h 36588+++ b/crypto/ocf/kirkwood/mvHal/kw_family/cpu/mvCpu.h
36559@@ -0,0 +1,99 @@ 36589@@ -0,0 +1,99 @@
@@ -36658,7 +36688,7 @@ index 0000000..7f58b03
36658+#endif /* __INCmvCpuh */ 36688+#endif /* __INCmvCpuh */
36659diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvAddrDec.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvAddrDec.c 36689diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvAddrDec.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvAddrDec.c
36660new file mode 100644 36690new file mode 100644
36661index 0000000..fbe7c56 36691index 0000000..2e6226b
36662--- /dev/null 36692--- /dev/null
36663+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvAddrDec.c 36693+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvAddrDec.c
36664@@ -0,0 +1,296 @@ 36694@@ -0,0 +1,296 @@
@@ -36960,7 +36990,7 @@ index 0000000..fbe7c56
36960+ 36990+
36961diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvAddrDec.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvAddrDec.h 36991diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvAddrDec.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvAddrDec.h
36962new file mode 100644 36992new file mode 100644
36963index 0000000..946737f 36993index 0000000..fcb5a31
36964--- /dev/null 36994--- /dev/null
36965+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvAddrDec.h 36995+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvAddrDec.h
36966@@ -0,0 +1,203 @@ 36996@@ -0,0 +1,203 @@
@@ -37169,7 +37199,7 @@ index 0000000..946737f
37169+#endif /* __INCmvCtrlEnvAddrDech */ 37199+#endif /* __INCmvCtrlEnvAddrDech */
37170diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvAsm.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvAsm.h 37200diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvAsm.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvAsm.h
37171new file mode 100644 37201new file mode 100644
37172index 0000000..6f6367a 37202index 0000000..14a5ac4
37173--- /dev/null 37203--- /dev/null
37174+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvAsm.h 37204+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvAsm.h
37175@@ -0,0 +1,98 @@ 37205@@ -0,0 +1,98 @@
@@ -37273,7 +37303,7 @@ index 0000000..6f6367a
37273+#endif /* __INCmvCtrlEnvAsmh */ 37303+#endif /* __INCmvCtrlEnvAsmh */
37274diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvLib.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvLib.c 37304diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvLib.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvLib.c
37275new file mode 100644 37305new file mode 100644
37276index 0000000..adf451d 37306index 0000000..fa097a2
37277--- /dev/null 37307--- /dev/null
37278+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvLib.c 37308+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvLib.c
37279@@ -0,0 +1,1825 @@ 37309@@ -0,0 +1,1825 @@
@@ -39104,7 +39134,7 @@ index 0000000..adf451d
39104+ 39134+
39105diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvLib.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvLib.h 39135diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvLib.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvLib.h
39106new file mode 100644 39136new file mode 100644
39107index 0000000..6e2e813 39137index 0000000..0f8d2b4
39108--- /dev/null 39138--- /dev/null
39109+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvLib.h 39139+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvLib.h
39110@@ -0,0 +1,185 @@ 39140@@ -0,0 +1,185 @@
@@ -39295,7 +39325,7 @@ index 0000000..6e2e813
39295+#endif /* __INCmvCtrlEnvLibh */ 39325+#endif /* __INCmvCtrlEnvLibh */
39296diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvRegs.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvRegs.h 39326diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvRegs.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvRegs.h
39297new file mode 100644 39327new file mode 100644
39298index 0000000..ae3f141 39328index 0000000..b889e24
39299--- /dev/null 39329--- /dev/null
39300+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvRegs.h 39330+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvRegs.h
39301@@ -0,0 +1,419 @@ 39331@@ -0,0 +1,419 @@
@@ -39720,7 +39750,7 @@ index 0000000..ae3f141
39720+#endif 39750+#endif
39721diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvSpec.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvSpec.h 39751diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvSpec.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvSpec.h
39722new file mode 100644 39752new file mode 100644
39723index 0000000..e41d80a 39753index 0000000..12d2066
39724--- /dev/null 39754--- /dev/null
39725+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvSpec.h 39755+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/mvCtrlEnvSpec.h
39726@@ -0,0 +1,257 @@ 39756@@ -0,0 +1,257 @@
@@ -39983,7 +40013,7 @@ index 0000000..e41d80a
39983+#endif /* __INCmvCtrlEnvSpech */ 40013+#endif /* __INCmvCtrlEnvSpech */
39984diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbus.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbus.c 40014diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbus.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbus.c
39985new file mode 100644 40015new file mode 100644
39986index 0000000..d21bb07 40016index 0000000..d22c4fc
39987--- /dev/null 40017--- /dev/null
39988+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbus.c 40018+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbus.c
39989@@ -0,0 +1,1048 @@ 40019@@ -0,0 +1,1048 @@
@@ -41037,7 +41067,7 @@ index 0000000..d21bb07
41037+ 41067+
41038diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbus.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbus.h 41068diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbus.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbus.h
41039new file mode 100644 41069new file mode 100644
41040index 0000000..1b352a1 41070index 0000000..a1d93b7
41041--- /dev/null 41071--- /dev/null
41042+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbus.h 41072+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbus.h
41043@@ -0,0 +1,130 @@ 41073@@ -0,0 +1,130 @@
@@ -41173,7 +41203,7 @@ index 0000000..1b352a1
41173+#endif /* __INCmvAhbToMbush */ 41203+#endif /* __INCmvAhbToMbush */
41174diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbusRegs.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbusRegs.h 41204diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbusRegs.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbusRegs.h
41175new file mode 100644 41205new file mode 100644
41176index 0000000..97dc631 41206index 0000000..c5682e8
41177--- /dev/null 41207--- /dev/null
41178+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbusRegs.h 41208+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbusRegs.h
41179@@ -0,0 +1,143 @@ 41209@@ -0,0 +1,143 @@
@@ -41322,7 +41352,7 @@ index 0000000..97dc631
41322+ 41352+
41323diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvCpuIf.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvCpuIf.c 41353diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvCpuIf.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvCpuIf.c
41324new file mode 100644 41354new file mode 100644
41325index 0000000..872dc6e 41355index 0000000..396f003
41326--- /dev/null 41356--- /dev/null
41327+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvCpuIf.c 41357+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvCpuIf.c
41328@@ -0,0 +1,1036 @@ 41358@@ -0,0 +1,1036 @@
@@ -42364,7 +42394,7 @@ index 0000000..872dc6e
42364+ 42394+
42365diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvCpuIf.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvCpuIf.h 42395diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvCpuIf.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvCpuIf.h
42366new file mode 100644 42396new file mode 100644
42367index 0000000..224ed07 42397index 0000000..5755a40
42368--- /dev/null 42398--- /dev/null
42369+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvCpuIf.h 42399+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvCpuIf.h
42370@@ -0,0 +1,120 @@ 42400@@ -0,0 +1,120 @@
@@ -42490,7 +42520,7 @@ index 0000000..224ed07
42490+#endif /* __INCmvCpuIfh */ 42520+#endif /* __INCmvCpuIfh */
42491diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvCpuIfRegs.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvCpuIfRegs.h 42521diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvCpuIfRegs.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvCpuIfRegs.h
42492new file mode 100644 42522new file mode 100644
42493index 0000000..8cfeee2 42523index 0000000..58c04c0
42494--- /dev/null 42524--- /dev/null
42495+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvCpuIfRegs.h 42525+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvCpuIfRegs.h
42496@@ -0,0 +1,304 @@ 42526@@ -0,0 +1,304 @@
@@ -42800,7 +42830,7 @@ index 0000000..8cfeee2
42800+ 42830+
42801diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysAudio.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysAudio.c 42831diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysAudio.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysAudio.c
42802new file mode 100644 42832new file mode 100644
42803index 0000000..769475f 42833index 0000000..8475956
42804--- /dev/null 42834--- /dev/null
42805+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysAudio.c 42835+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysAudio.c
42806@@ -0,0 +1,324 @@ 42836@@ -0,0 +1,324 @@
@@ -43130,7 +43160,7 @@ index 0000000..769475f
43130+ 43160+
43131diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysAudio.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysAudio.h 43161diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysAudio.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysAudio.h
43132new file mode 100644 43162new file mode 100644
43133index 0000000..f59eb9a 43163index 0000000..7e078ff
43134--- /dev/null 43164--- /dev/null
43135+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysAudio.h 43165+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysAudio.h
43136@@ -0,0 +1,123 @@ 43166@@ -0,0 +1,123 @@
@@ -43259,7 +43289,7 @@ index 0000000..f59eb9a
43259+ 43289+
43260diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysCesa.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysCesa.c 43290diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysCesa.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysCesa.c
43261new file mode 100644 43291new file mode 100644
43262index 0000000..84d0cd0 43292index 0000000..9b50bae
43263--- /dev/null 43293--- /dev/null
43264+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysCesa.c 43294+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysCesa.c
43265@@ -0,0 +1,382 @@ 43295@@ -0,0 +1,382 @@
@@ -43647,7 +43677,7 @@ index 0000000..84d0cd0
43647+} 43677+}
43648diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysCesa.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysCesa.h 43678diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysCesa.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysCesa.h
43649new file mode 100644 43679new file mode 100644
43650index 0000000..73bcdc5 43680index 0000000..9bc3fee
43651--- /dev/null 43681--- /dev/null
43652+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysCesa.h 43682+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysCesa.h
43653@@ -0,0 +1,100 @@ 43683@@ -0,0 +1,100 @@
@@ -43753,7 +43783,7 @@ index 0000000..73bcdc5
43753+#endif 43783+#endif
43754diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysDram.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysDram.c 43784diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysDram.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysDram.c
43755new file mode 100644 43785new file mode 100644
43756index 0000000..6f76c2c 43786index 0000000..7df47b3
43757--- /dev/null 43787--- /dev/null
43758+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysDram.c 43788+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysDram.c
43759@@ -0,0 +1,348 @@ 43789@@ -0,0 +1,348 @@
@@ -44107,7 +44137,7 @@ index 0000000..6f76c2c
44107+ 44137+
44108diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysDram.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysDram.h 44138diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysDram.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysDram.h
44109new file mode 100644 44139new file mode 100644
44110index 0000000..7bd9c9d 44140index 0000000..f16b947
44111--- /dev/null 44141--- /dev/null
44112+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysDram.h 44142+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysDram.h
44113@@ -0,0 +1,80 @@ 44143@@ -0,0 +1,80 @@
@@ -44193,7 +44223,7 @@ index 0000000..7bd9c9d
44193+#endif 44223+#endif
44194diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysGbe.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysGbe.c 44224diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysGbe.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysGbe.c
44195new file mode 100644 44225new file mode 100644
44196index 0000000..7f6e4a5 44226index 0000000..663acd3
44197--- /dev/null 44227--- /dev/null
44198+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysGbe.c 44228+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysGbe.c
44199@@ -0,0 +1,658 @@ 44229@@ -0,0 +1,658 @@
@@ -44857,7 +44887,7 @@ index 0000000..7f6e4a5
44857+} 44887+}
44858diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysGbe.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysGbe.h 44888diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysGbe.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysGbe.h
44859new file mode 100644 44889new file mode 100644
44860index 0000000..615af51 44890index 0000000..aac5517
44861--- /dev/null 44891--- /dev/null
44862+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysGbe.h 44892+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysGbe.h
44863@@ -0,0 +1,113 @@ 44893@@ -0,0 +1,113 @@
@@ -44976,7 +45006,7 @@ index 0000000..615af51
44976+#endif 45006+#endif
44977diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysPex.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysPex.c 45007diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysPex.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysPex.c
44978new file mode 100644 45008new file mode 100644
44979index 0000000..b0cb466 45009index 0000000..9576acb
44980--- /dev/null 45010--- /dev/null
44981+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysPex.c 45011+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysPex.c
44982@@ -0,0 +1,1697 @@ 45012@@ -0,0 +1,1697 @@
@@ -46679,7 +46709,7 @@ index 0000000..b0cb466
46679+ 46709+
46680diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysPex.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysPex.h 46710diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysPex.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysPex.h
46681new file mode 100644 46711new file mode 100644
46682index 0000000..3505613 46712index 0000000..c1555f6
46683--- /dev/null 46713--- /dev/null
46684+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysPex.h 46714+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysPex.h
46685@@ -0,0 +1,348 @@ 46715@@ -0,0 +1,348 @@
@@ -47033,7 +47063,7 @@ index 0000000..3505613
47033+#endif 47063+#endif
47034diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSata.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSata.c 47064diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSata.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSata.c
47035new file mode 100644 47065new file mode 100644
47036index 0000000..f100a12 47066index 0000000..4c0485f
47037--- /dev/null 47067--- /dev/null
47038+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSata.c 47068+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSata.c
47039@@ -0,0 +1,430 @@ 47069@@ -0,0 +1,430 @@
@@ -47469,7 +47499,7 @@ index 0000000..f100a12
47469+ 47499+
47470diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSata.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSata.h 47500diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSata.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSata.h
47471new file mode 100644 47501new file mode 100644
47472index 0000000..325fb8d 47502index 0000000..e401992
47473--- /dev/null 47503--- /dev/null
47474+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSata.h 47504+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSata.h
47475@@ -0,0 +1,128 @@ 47505@@ -0,0 +1,128 @@
@@ -47603,7 +47633,7 @@ index 0000000..325fb8d
47603+ 47633+
47604diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSdmmc.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSdmmc.c 47634diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSdmmc.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSdmmc.c
47605new file mode 100644 47635new file mode 100644
47606index 0000000..6d2a919 47636index 0000000..682f6f1
47607--- /dev/null 47637--- /dev/null
47608+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSdmmc.c 47638+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSdmmc.c
47609@@ -0,0 +1,427 @@ 47639@@ -0,0 +1,427 @@
@@ -48036,7 +48066,7 @@ index 0000000..6d2a919
48036+ 48066+
48037diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSdmmc.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSdmmc.h 48067diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSdmmc.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSdmmc.h
48038new file mode 100644 48068new file mode 100644
48039index 0000000..4c50a2b 48069index 0000000..f8357c1
48040--- /dev/null 48070--- /dev/null
48041+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSdmmc.h 48071+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysSdmmc.h
48042@@ -0,0 +1,125 @@ 48072@@ -0,0 +1,125 @@
@@ -48167,7 +48197,7 @@ index 0000000..4c50a2b
48167+ 48197+
48168diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTdm.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTdm.c 48198diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTdm.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTdm.c
48169new file mode 100644 48199new file mode 100644
48170index 0000000..ecf6944 48200index 0000000..159d79f
48171--- /dev/null 48201--- /dev/null
48172+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTdm.c 48202+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTdm.c
48173@@ -0,0 +1,462 @@ 48203@@ -0,0 +1,462 @@
@@ -48635,7 +48665,7 @@ index 0000000..ecf6944
48635+ 48665+
48636diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTdm.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTdm.h 48666diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTdm.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTdm.h
48637new file mode 100644 48667new file mode 100644
48638index 0000000..0d3140f 48668index 0000000..3603095
48639--- /dev/null 48669--- /dev/null
48640+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTdm.h 48670+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTdm.h
48641@@ -0,0 +1,106 @@ 48671@@ -0,0 +1,106 @@
@@ -48747,7 +48777,7 @@ index 0000000..0d3140f
48747+ 48777+
48748diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTs.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTs.c 48778diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTs.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTs.c
48749new file mode 100644 48779new file mode 100644
48750index 0000000..4415c7c 48780index 0000000..8cd0018
48751--- /dev/null 48781--- /dev/null
48752+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTs.c 48782+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTs.c
48753@@ -0,0 +1,591 @@ 48783@@ -0,0 +1,591 @@
@@ -49344,7 +49374,7 @@ index 0000000..4415c7c
49344+} 49374+}
49345diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTs.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTs.h 49375diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTs.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTs.h
49346new file mode 100644 49376new file mode 100644
49347index 0000000..4282589 49377index 0000000..1478b09
49348--- /dev/null 49378--- /dev/null
49349+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTs.h 49379+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysTs.h
49350@@ -0,0 +1,110 @@ 49380@@ -0,0 +1,110 @@
@@ -49963,7 +49993,7 @@ index 0000000..195b5e1
49963+ 49993+
49964diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysUsb.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysUsb.h 49994diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysUsb.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysUsb.h
49965new file mode 100644 49995new file mode 100644
49966index 0000000..07f98de 49996index 0000000..b712900
49967--- /dev/null 49997--- /dev/null
49968+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysUsb.h 49998+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysUsb.h
49969@@ -0,0 +1,125 @@ 49999@@ -0,0 +1,125 @@
@@ -50094,7 +50124,7 @@ index 0000000..07f98de
50094+#endif /* __INCmvUsbh */ 50124+#endif /* __INCmvUsbh */
50095diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysXor.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysXor.c 50125diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysXor.c b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysXor.c
50096new file mode 100644 50126new file mode 100644
50097index 0000000..f9d0ab3 50127index 0000000..1e1da8f
50098--- /dev/null 50128--- /dev/null
50099+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysXor.c 50129+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysXor.c
50100@@ -0,0 +1,662 @@ 50130@@ -0,0 +1,662 @@
@@ -50762,7 +50792,7 @@ index 0000000..f9d0ab3
50762+} 50792+}
50763diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysXor.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysXor.h 50793diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysXor.h b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysXor.h
50764new file mode 100644 50794new file mode 100644
50765index 0000000..73b2d9e 50795index 0000000..0a7be8f
50766--- /dev/null 50796--- /dev/null
50767+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysXor.h 50797+++ b/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvSysXor.h
50768@@ -0,0 +1,140 @@ 50798@@ -0,0 +1,140 @@
@@ -50908,7 +50938,7 @@ index 0000000..73b2d9e
50908+#endif 50938+#endif
50909diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/device/mvDevice.c b/crypto/ocf/kirkwood/mvHal/kw_family/device/mvDevice.c 50939diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/device/mvDevice.c b/crypto/ocf/kirkwood/mvHal/kw_family/device/mvDevice.c
50910new file mode 100644 50940new file mode 100644
50911index 0000000..80325fc 50941index 0000000..a327944
50912--- /dev/null 50942--- /dev/null
50913+++ b/crypto/ocf/kirkwood/mvHal/kw_family/device/mvDevice.c 50943+++ b/crypto/ocf/kirkwood/mvHal/kw_family/device/mvDevice.c
50914@@ -0,0 +1,75 @@ 50944@@ -0,0 +1,75 @@
@@ -50989,7 +51019,7 @@ index 0000000..80325fc
50989+ 51019+
50990diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/device/mvDevice.h b/crypto/ocf/kirkwood/mvHal/kw_family/device/mvDevice.h 51020diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/device/mvDevice.h b/crypto/ocf/kirkwood/mvHal/kw_family/device/mvDevice.h
50991new file mode 100644 51021new file mode 100644
50992index 0000000..9350779 51022index 0000000..a8a382b
50993--- /dev/null 51023--- /dev/null
50994+++ b/crypto/ocf/kirkwood/mvHal/kw_family/device/mvDevice.h 51024+++ b/crypto/ocf/kirkwood/mvHal/kw_family/device/mvDevice.h
50995@@ -0,0 +1,74 @@ 51025@@ -0,0 +1,74 @@
@@ -51069,7 +51099,7 @@ index 0000000..9350779
51069+#endif /* #ifndef __INCmvDeviceH */ 51099+#endif /* #ifndef __INCmvDeviceH */
51070diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/device/mvDeviceRegs.h b/crypto/ocf/kirkwood/mvHal/kw_family/device/mvDeviceRegs.h 51100diff --git a/crypto/ocf/kirkwood/mvHal/kw_family/device/mvDeviceRegs.h b/crypto/ocf/kirkwood/mvHal/kw_family/device/mvDeviceRegs.h
51071new file mode 100644 51101new file mode 100644
51072index 0000000..80778ad 51102index 0000000..599dfe3
51073--- /dev/null 51103--- /dev/null
51074+++ b/crypto/ocf/kirkwood/mvHal/kw_family/device/mvDeviceRegs.h 51104+++ b/crypto/ocf/kirkwood/mvHal/kw_family/device/mvDeviceRegs.h
51075@@ -0,0 +1,101 @@ 51105@@ -0,0 +1,101 @@
@@ -51176,7 +51206,7 @@ index 0000000..80778ad
51176+#endif /* #ifndef __INCmvDeviceRegsH */ 51206+#endif /* #ifndef __INCmvDeviceRegsH */
51177diff --git a/crypto/ocf/kirkwood/mvHal/linux_oss/mvOs.c b/crypto/ocf/kirkwood/mvHal/linux_oss/mvOs.c 51207diff --git a/crypto/ocf/kirkwood/mvHal/linux_oss/mvOs.c b/crypto/ocf/kirkwood/mvHal/linux_oss/mvOs.c
51178new file mode 100644 51208new file mode 100644
51179index 0000000..75f7e88 51209index 0000000..749b885
51180--- /dev/null 51210--- /dev/null
51181+++ b/crypto/ocf/kirkwood/mvHal/linux_oss/mvOs.c 51211+++ b/crypto/ocf/kirkwood/mvHal/linux_oss/mvOs.c
51182@@ -0,0 +1,211 @@ 51212@@ -0,0 +1,211 @@
@@ -51393,7 +51423,7 @@ index 0000000..75f7e88
51393+ 51423+
51394diff --git a/crypto/ocf/kirkwood/mvHal/linux_oss/mvOs.h b/crypto/ocf/kirkwood/mvHal/linux_oss/mvOs.h 51424diff --git a/crypto/ocf/kirkwood/mvHal/linux_oss/mvOs.h b/crypto/ocf/kirkwood/mvHal/linux_oss/mvOs.h
51395new file mode 100644 51425new file mode 100644
51396index 0000000..8da562a 51426index 0000000..9122a52
51397--- /dev/null 51427--- /dev/null
51398+++ b/crypto/ocf/kirkwood/mvHal/linux_oss/mvOs.h 51428+++ b/crypto/ocf/kirkwood/mvHal/linux_oss/mvOs.h
51399@@ -0,0 +1,423 @@ 51429@@ -0,0 +1,423 @@
@@ -51822,7 +51852,7 @@ index 0000000..8da562a
51822+ 51852+
51823diff --git a/crypto/ocf/kirkwood/mvHal/linux_oss/mvOsSata.h b/crypto/ocf/kirkwood/mvHal/linux_oss/mvOsSata.h 51853diff --git a/crypto/ocf/kirkwood/mvHal/linux_oss/mvOsSata.h b/crypto/ocf/kirkwood/mvHal/linux_oss/mvOsSata.h
51824new file mode 100644 51854new file mode 100644
51825index 0000000..c925a9e 51855index 0000000..170481a
51826--- /dev/null 51856--- /dev/null
51827+++ b/crypto/ocf/kirkwood/mvHal/linux_oss/mvOsSata.h 51857+++ b/crypto/ocf/kirkwood/mvHal/linux_oss/mvOsSata.h
51828@@ -0,0 +1,158 @@ 51858@@ -0,0 +1,158 @@
@@ -51986,7 +52016,7 @@ index 0000000..c925a9e
51986+#endif /* __INCmvOsLinuxh */ 52016+#endif /* __INCmvOsLinuxh */
51987diff --git a/crypto/ocf/kirkwood/mvHal/mvSysHwConfig.h b/crypto/ocf/kirkwood/mvHal/mvSysHwConfig.h 52017diff --git a/crypto/ocf/kirkwood/mvHal/mvSysHwConfig.h b/crypto/ocf/kirkwood/mvHal/mvSysHwConfig.h
51988new file mode 100644 52018new file mode 100644
51989index 0000000..d761060 52019index 0000000..8352290
51990--- /dev/null 52020--- /dev/null
51991+++ b/crypto/ocf/kirkwood/mvHal/mvSysHwConfig.h 52021+++ b/crypto/ocf/kirkwood/mvHal/mvSysHwConfig.h
51992@@ -0,0 +1,375 @@ 52022@@ -0,0 +1,375 @@
@@ -52367,7 +52397,7 @@ index 0000000..d761060
52367+ 52397+
52368diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/cntmr/mvCntmr.c b/crypto/ocf/kirkwood/mvHal/mv_hal/cntmr/mvCntmr.c 52398diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/cntmr/mvCntmr.c b/crypto/ocf/kirkwood/mvHal/mv_hal/cntmr/mvCntmr.c
52369new file mode 100644 52399new file mode 100644
52370index 0000000..717c150 52400index 0000000..6be5ea8
52371--- /dev/null 52401--- /dev/null
52372+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/cntmr/mvCntmr.c 52402+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/cntmr/mvCntmr.c
52373@@ -0,0 +1,376 @@ 52403@@ -0,0 +1,376 @@
@@ -52749,7 +52779,7 @@ index 0000000..717c150
52749+ 52779+
52750diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/cntmr/mvCntmr.h b/crypto/ocf/kirkwood/mvHal/mv_hal/cntmr/mvCntmr.h 52780diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/cntmr/mvCntmr.h b/crypto/ocf/kirkwood/mvHal/mv_hal/cntmr/mvCntmr.h
52751new file mode 100644 52781new file mode 100644
52752index 0000000..b911d0f 52782index 0000000..b4b1a9d
52753--- /dev/null 52783--- /dev/null
52754+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/cntmr/mvCntmr.h 52784+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/cntmr/mvCntmr.h
52755@@ -0,0 +1,121 @@ 52785@@ -0,0 +1,121 @@
@@ -52876,7 +52906,7 @@ index 0000000..b911d0f
52876+#endif /* __INCmvTmrWtdgh */ 52906+#endif /* __INCmvTmrWtdgh */
52877diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/cntmr/mvCntmrRegs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/cntmr/mvCntmrRegs.h 52907diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/cntmr/mvCntmrRegs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/cntmr/mvCntmrRegs.h
52878new file mode 100644 52908new file mode 100644
52879index 0000000..b69bc66 52909index 0000000..1cd9041
52880--- /dev/null 52910--- /dev/null
52881+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/cntmr/mvCntmrRegs.h 52911+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/cntmr/mvCntmrRegs.h
52882@@ -0,0 +1,121 @@ 52912@@ -0,0 +1,121 @@
@@ -53003,7 +53033,7 @@ index 0000000..b69bc66
53003+#endif /* __INCmvTmrwtdgRegsh */ 53033+#endif /* __INCmvTmrwtdgRegsh */
53004diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuCntrs.c b/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuCntrs.c 53034diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuCntrs.c b/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuCntrs.c
53005new file mode 100644 53035new file mode 100644
53006index 0000000..609e674 53036index 0000000..03d6d09
53007--- /dev/null 53037--- /dev/null
53008+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuCntrs.c 53038+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuCntrs.c
53009@@ -0,0 +1,207 @@ 53039@@ -0,0 +1,207 @@
@@ -53216,7 +53246,7 @@ index 0000000..609e674
53216+} 53246+}
53217diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuCntrs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuCntrs.h 53247diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuCntrs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuCntrs.h
53218new file mode 100644 53248new file mode 100644
53219index 0000000..8d49af0 53249index 0000000..0b4998c
53220--- /dev/null 53250--- /dev/null
53221+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuCntrs.h 53251+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuCntrs.h
53222@@ -0,0 +1,213 @@ 53252@@ -0,0 +1,213 @@
@@ -53435,7 +53465,7 @@ index 0000000..8d49af0
53435+ 53465+
53436diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuL2Cntrs.c b/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuL2Cntrs.c 53466diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuL2Cntrs.c b/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuL2Cntrs.c
53437new file mode 100644 53467new file mode 100644
53438index 0000000..0333862 53468index 0000000..2401002
53439--- /dev/null 53469--- /dev/null
53440+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuL2Cntrs.c 53470+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuL2Cntrs.c
53441@@ -0,0 +1,143 @@ 53471@@ -0,0 +1,143 @@
@@ -53584,7 +53614,7 @@ index 0000000..0333862
53584+} 53614+}
53585diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuL2Cntrs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuL2Cntrs.h 53615diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuL2Cntrs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuL2Cntrs.h
53586new file mode 100644 53616new file mode 100644
53587index 0000000..570d701 53617index 0000000..ad6a36f
53588--- /dev/null 53618--- /dev/null
53589+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuL2Cntrs.h 53619+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/cpu/mvCpuL2Cntrs.h
53590@@ -0,0 +1,151 @@ 53620@@ -0,0 +1,151 @@
@@ -53741,7 +53771,7 @@ index 0000000..570d701
53741+ 53771+
53742diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDram.c b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDram.c 53772diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDram.c b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDram.c
53743new file mode 100644 53773new file mode 100644
53744index 0000000..d1b8a3d 53774index 0000000..5c6db90
53745--- /dev/null 53775--- /dev/null
53746+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDram.c 53776+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDram.c
53747@@ -0,0 +1,1479 @@ 53777@@ -0,0 +1,1479 @@
@@ -55226,7 +55256,7 @@ index 0000000..d1b8a3d
55226+ 55256+
55227diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDram.h b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDram.h 55257diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDram.h b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDram.h
55228new file mode 100644 55258new file mode 100644
55229index 0000000..678e224 55259index 0000000..6e79d1e
55230--- /dev/null 55260--- /dev/null
55231+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDram.h 55261+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDram.h
55232@@ -0,0 +1,191 @@ 55262@@ -0,0 +1,191 @@
@@ -55423,7 +55453,7 @@ index 0000000..678e224
55423+#endif /* __INCmvDram */ 55453+#endif /* __INCmvDram */
55424diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIf.c b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIf.c 55454diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIf.c b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIf.c
55425new file mode 100644 55455new file mode 100644
55426index 0000000..12fb26a 55456index 0000000..c44dabe
55427--- /dev/null 55457--- /dev/null
55428+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIf.c 55458+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIf.c
55429@@ -0,0 +1,1599 @@ 55459@@ -0,0 +1,1599 @@
@@ -57028,7 +57058,7 @@ index 0000000..12fb26a
57028+ 57058+
57029diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIf.h b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIf.h 57059diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIf.h b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIf.h
57030new file mode 100644 57060new file mode 100644
57031index 0000000..8bfa3e8 57061index 0000000..8ae67e7
57032--- /dev/null 57062--- /dev/null
57033+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIf.h 57063+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIf.h
57034@@ -0,0 +1,179 @@ 57064@@ -0,0 +1,179 @@
@@ -57213,7 +57243,7 @@ index 0000000..8bfa3e8
57213+#endif /* __INCmvDramIfh */ 57243+#endif /* __INCmvDramIfh */
57214diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIfConfig.h b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIfConfig.h 57244diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIfConfig.h b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIfConfig.h
57215new file mode 100644 57245new file mode 100644
57216index 0000000..a7c6644 57246index 0000000..049595e
57217--- /dev/null 57247--- /dev/null
57218+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIfConfig.h 57248+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIfConfig.h
57219@@ -0,0 +1,192 @@ 57249@@ -0,0 +1,192 @@
@@ -57411,7 +57441,7 @@ index 0000000..a7c6644
57411+#endif /* __INCmvDramIfh */ 57441+#endif /* __INCmvDramIfh */
57412diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIfRegs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIfRegs.h 57442diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIfRegs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIfRegs.h
57413new file mode 100644 57443new file mode 100644
57414index 0000000..e9cd7c4 57444index 0000000..f4a2726
57415--- /dev/null 57445--- /dev/null
57416+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIfRegs.h 57446+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIfRegs.h
57417@@ -0,0 +1,306 @@ 57447@@ -0,0 +1,306 @@
@@ -57723,7 +57753,7 @@ index 0000000..e9cd7c4
57723+#endif /* __INCmvDramIfRegsh */ 57753+#endif /* __INCmvDramIfRegsh */
57724diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIf.c b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIf.c 57754diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIf.c b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIf.c
57725new file mode 100644 57755new file mode 100644
57726index 0000000..a214c95 57756index 0000000..8c9ce24
57727--- /dev/null 57757--- /dev/null
57728+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIf.c 57758+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIf.c
57729@@ -0,0 +1,1855 @@ 57759@@ -0,0 +1,1855 @@
@@ -59584,7 +59614,7 @@ index 0000000..a214c95
59584+ 59614+
59585diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIf.h b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIf.h 59615diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIf.h b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIf.h
59586new file mode 100644 59616new file mode 100644
59587index 0000000..23f2e54 59617index 0000000..b7b596c
59588--- /dev/null 59618--- /dev/null
59589+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIf.h 59619+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIf.h
59590@@ -0,0 +1,172 @@ 59620@@ -0,0 +1,172 @@
@@ -59762,7 +59792,7 @@ index 0000000..23f2e54
59762+#endif /* __INCmvDramIfh */ 59792+#endif /* __INCmvDramIfh */
59763diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIfConfig.h b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIfConfig.h 59793diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIfConfig.h b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIfConfig.h
59764new file mode 100644 59794new file mode 100644
59765index 0000000..6141c46 59795index 0000000..b008c23
59766--- /dev/null 59796--- /dev/null
59767+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIfConfig.h 59797+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIfConfig.h
59768@@ -0,0 +1,157 @@ 59798@@ -0,0 +1,157 @@
@@ -59925,7 +59955,7 @@ index 0000000..6141c46
59925+#endif /* __INCmvDramIfh */ 59955+#endif /* __INCmvDramIfh */
59926diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIfRegs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIfRegs.h 59956diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIfRegs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIfRegs.h
59927new file mode 100644 59957new file mode 100644
59928index 0000000..369eda6 59958index 0000000..c2458a6
59929--- /dev/null 59959--- /dev/null
59930+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIfRegs.h 59960+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIfRegs.h
59931@@ -0,0 +1,423 @@ 59961@@ -0,0 +1,423 @@
@@ -60354,7 +60384,7 @@ index 0000000..369eda6
60354+#endif /* __INCmvDramIfRegsh */ 60384+#endif /* __INCmvDramIfRegsh */
60355diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIfStaticInit.h b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIfStaticInit.h 60385diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIfStaticInit.h b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIfStaticInit.h
60356new file mode 100644 60386new file mode 100644
60357index 0000000..f3bf83b 60387index 0000000..5b3ed85
60358--- /dev/null 60388--- /dev/null
60359+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIfStaticInit.h 60389+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvDramIfStaticInit.h
60360@@ -0,0 +1,179 @@ 60390@@ -0,0 +1,179 @@
@@ -60539,7 +60569,7 @@ index 0000000..f3bf83b
60539+ 60569+
60540diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/spd/mvSpd.c b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/spd/mvSpd.c 60570diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/spd/mvSpd.c b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/spd/mvSpd.c
60541new file mode 100644 60571new file mode 100644
60542index 0000000..7a26f90 60572index 0000000..dcc8fdf
60543--- /dev/null 60573--- /dev/null
60544+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/spd/mvSpd.c 60574+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/spd/mvSpd.c
60545@@ -0,0 +1,1474 @@ 60575@@ -0,0 +1,1474 @@
@@ -62019,7 +62049,7 @@ index 0000000..7a26f90
62019+ 62049+
62020diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/spd/mvSpd.h b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/spd/mvSpd.h 62050diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/spd/mvSpd.h b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/spd/mvSpd.h
62021new file mode 100644 62051new file mode 100644
62022index 0000000..f955466 62052index 0000000..ae692ef
62023--- /dev/null 62053--- /dev/null
62024+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/spd/mvSpd.h 62054+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/spd/mvSpd.h
62025@@ -0,0 +1,192 @@ 62055@@ -0,0 +1,192 @@
@@ -62217,7 +62247,7 @@ index 0000000..f955466
62217+#endif /* __INCmvDram */ 62247+#endif /* __INCmvDram */
62218diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEth.c b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEth.c 62248diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEth.c b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEth.c
62219new file mode 100644 62249new file mode 100644
62220index 0000000..d24e788 62250index 0000000..2acd82b
62221--- /dev/null 62251--- /dev/null
62222+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEth.c 62252+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEth.c
62223@@ -0,0 +1,2952 @@ 62253@@ -0,0 +1,2952 @@
@@ -65175,7 +65205,7 @@ index 0000000..d24e788
65175+ 65205+
65176diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthDebug.c b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthDebug.c 65206diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthDebug.c b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthDebug.c
65177new file mode 100644 65207new file mode 100644
65178index 0000000..f533475 65208index 0000000..62edcb5
65179--- /dev/null 65209--- /dev/null
65180+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthDebug.c 65210+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthDebug.c
65181@@ -0,0 +1,748 @@ 65211@@ -0,0 +1,748 @@
@@ -65929,7 +65959,7 @@ index 0000000..f533475
65929+} 65959+}
65930diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthDebug.h b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthDebug.h 65960diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthDebug.h b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthDebug.h
65931new file mode 100644 65961new file mode 100644
65932index 0000000..f026f96 65962index 0000000..b772a74
65933--- /dev/null 65963--- /dev/null
65934+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthDebug.h 65964+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthDebug.h
65935@@ -0,0 +1,146 @@ 65965@@ -0,0 +1,146 @@
@@ -66081,7 +66111,7 @@ index 0000000..f026f96
66081+#endif 66111+#endif
66082diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthGbe.h b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthGbe.h 66112diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthGbe.h b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthGbe.h
66083new file mode 100644 66113new file mode 100644
66084index 0000000..f4cae50 66114index 0000000..83ad6ad
66085--- /dev/null 66115--- /dev/null
66086+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthGbe.h 66116+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthGbe.h
66087@@ -0,0 +1,751 @@ 66117@@ -0,0 +1,751 @@
@@ -66838,7 +66868,7 @@ index 0000000..f4cae50
66838+ 66868+
66839diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthRegs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthRegs.h 66869diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthRegs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthRegs.h
66840new file mode 100644 66870new file mode 100644
66841index 0000000..7b9f052 66871index 0000000..0f57ee7
66842--- /dev/null 66872--- /dev/null
66843+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthRegs.h 66873+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/gbe/mvEthRegs.h
66844@@ -0,0 +1,700 @@ 66874@@ -0,0 +1,700 @@
@@ -67544,7 +67574,7 @@ index 0000000..7b9f052
67544+#endif /* __INCmvEthRegsh */ 67574+#endif /* __INCmvEthRegsh */
67545diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/eth/mvEth.h b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/mvEth.h 67575diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/eth/mvEth.h b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/mvEth.h
67546new file mode 100644 67576new file mode 100644
67547index 0000000..c42ed1a 67577index 0000000..30f2a40
67548--- /dev/null 67578--- /dev/null
67549+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/mvEth.h 67579+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/eth/mvEth.h
67550@@ -0,0 +1,356 @@ 67580@@ -0,0 +1,356 @@
@@ -67906,7 +67936,7 @@ index 0000000..c42ed1a
67906+ 67936+
67907diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/gpp/mvGpp.c b/crypto/ocf/kirkwood/mvHal/mv_hal/gpp/mvGpp.c 67937diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/gpp/mvGpp.c b/crypto/ocf/kirkwood/mvHal/mv_hal/gpp/mvGpp.c
67908new file mode 100644 67938new file mode 100644
67909index 0000000..889d4d9 67939index 0000000..d7a5132
67910--- /dev/null 67940--- /dev/null
67911+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/gpp/mvGpp.c 67941+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/gpp/mvGpp.c
67912@@ -0,0 +1,362 @@ 67942@@ -0,0 +1,362 @@
@@ -68274,7 +68304,7 @@ index 0000000..889d4d9
68274+ 68304+
68275diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/gpp/mvGpp.h b/crypto/ocf/kirkwood/mvHal/mv_hal/gpp/mvGpp.h 68305diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/gpp/mvGpp.h b/crypto/ocf/kirkwood/mvHal/mv_hal/gpp/mvGpp.h
68276new file mode 100644 68306new file mode 100644
68277index 0000000..526d324 68307index 0000000..801472d
68278--- /dev/null 68308--- /dev/null
68279+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/gpp/mvGpp.h 68309+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/gpp/mvGpp.h
68280@@ -0,0 +1,118 @@ 68310@@ -0,0 +1,118 @@
@@ -68398,7 +68428,7 @@ index 0000000..526d324
68398+ 68428+
68399diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/gpp/mvGppRegs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/gpp/mvGppRegs.h 68429diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/gpp/mvGppRegs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/gpp/mvGppRegs.h
68400new file mode 100644 68430new file mode 100644
68401index 0000000..b6fec34 68431index 0000000..14b199f
68402--- /dev/null 68432--- /dev/null
68403+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/gpp/mvGppRegs.h 68433+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/gpp/mvGppRegs.h
68404@@ -0,0 +1,116 @@ 68434@@ -0,0 +1,116 @@
@@ -68520,7 +68550,7 @@ index 0000000..b6fec34
68520+#endif /* #ifndef __INCmvGppRegsH */ 68550+#endif /* #ifndef __INCmvGppRegsH */
68521diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/mvPciIf.c b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/mvPciIf.c 68551diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/mvPciIf.c b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/mvPciIf.c
68522new file mode 100644 68552new file mode 100644
68523index 0000000..672d3e3 68553index 0000000..5ee430c
68524--- /dev/null 68554--- /dev/null
68525+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/mvPciIf.c 68555+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/mvPciIf.c
68526@@ -0,0 +1,669 @@ 68556@@ -0,0 +1,669 @@
@@ -69195,7 +69225,7 @@ index 0000000..672d3e3
69195+ 69225+
69196diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/mvPciIf.h b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/mvPciIf.h 69226diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/mvPciIf.h b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/mvPciIf.h
69197new file mode 100644 69227new file mode 100644
69198index 0000000..9c2d160 69228index 0000000..5f7caaa
69199--- /dev/null 69229--- /dev/null
69200+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/mvPciIf.h 69230+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/mvPciIf.h
69201@@ -0,0 +1,134 @@ 69231@@ -0,0 +1,134 @@
@@ -69335,7 +69365,7 @@ index 0000000..9c2d160
69335+ 69365+
69336diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/mvPciIfRegs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/mvPciIfRegs.h 69366diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/mvPciIfRegs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/mvPciIfRegs.h
69337new file mode 100644 69367new file mode 100644
69338index 0000000..08d4d2d 69368index 0000000..754e837
69339--- /dev/null 69369--- /dev/null
69340+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/mvPciIfRegs.h 69370+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/mvPciIfRegs.h
69341@@ -0,0 +1,245 @@ 69371@@ -0,0 +1,245 @@
@@ -69586,7 +69616,7 @@ index 0000000..08d4d2d
69586+ 69616+
69587diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/pci_util/mvPciUtils.c b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/pci_util/mvPciUtils.c 69617diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/pci_util/mvPciUtils.c b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/pci_util/mvPciUtils.c
69588new file mode 100644 69618new file mode 100644
69589index 0000000..f216979 69619index 0000000..6de1b0c
69590--- /dev/null 69620--- /dev/null
69591+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/pci_util/mvPciUtils.c 69621+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/pci_util/mvPciUtils.c
69592@@ -0,0 +1,1006 @@ 69622@@ -0,0 +1,1006 @@
@@ -70598,7 +70628,7 @@ index 0000000..f216979
70598+ 70628+
70599diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/pci_util/mvPciUtils.h b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/pci_util/mvPciUtils.h 70629diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/pci_util/mvPciUtils.h b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/pci_util/mvPciUtils.h
70600new file mode 100644 70630new file mode 100644
70601index 0000000..2ee0b17 70631index 0000000..444f53c
70602--- /dev/null 70632--- /dev/null
70603+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/pci_util/mvPciUtils.h 70633+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/pci_util/mvPciUtils.h
70604@@ -0,0 +1,323 @@ 70634@@ -0,0 +1,323 @@
@@ -70927,7 +70957,7 @@ index 0000000..2ee0b17
70927+#endif /* #ifndef __INCmvPciUtilsh */ 70957+#endif /* #ifndef __INCmvPciUtilsh */
70928diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPci.c b/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPci.c 70958diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPci.c b/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPci.c
70929new file mode 100644 70959new file mode 100644
70930index 0000000..4a08734 70960index 0000000..5430f51
70931--- /dev/null 70961--- /dev/null
70932+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPci.c 70962+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPci.c
70933@@ -0,0 +1,1047 @@ 70963@@ -0,0 +1,1047 @@
@@ -71980,7 +72010,7 @@ index 0000000..4a08734
71980+ 72010+
71981diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPci.h b/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPci.h 72011diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPci.h b/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPci.h
71982new file mode 100644 72012new file mode 100644
71983index 0000000..4746336 72013index 0000000..3c521db
71984--- /dev/null 72014--- /dev/null
71985+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPci.h 72015+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPci.h
71986@@ -0,0 +1,185 @@ 72016@@ -0,0 +1,185 @@
@@ -72171,7 +72201,7 @@ index 0000000..4746336
72171+ 72201+
72172diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPciRegs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPciRegs.h 72202diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPciRegs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPciRegs.h
72173new file mode 100644 72203new file mode 100644
72174index 0000000..89d0ef1 72204index 0000000..9ae555f
72175--- /dev/null 72205--- /dev/null
72176+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPciRegs.h 72206+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPciRegs.h
72177@@ -0,0 +1,411 @@ 72207@@ -0,0 +1,411 @@
@@ -72588,7 +72618,7 @@ index 0000000..89d0ef1
72588+ 72618+
72589diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvPex.c b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvPex.c 72619diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvPex.c b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvPex.c
72590new file mode 100644 72620new file mode 100644
72591index 0000000..068aac2 72621index 0000000..709bb49
72592--- /dev/null 72622--- /dev/null
72593+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvPex.c 72623+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvPex.c
72594@@ -0,0 +1,1143 @@ 72624@@ -0,0 +1,1143 @@
@@ -73737,7 +73767,7 @@ index 0000000..068aac2
73737+ 73767+
73738diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvPex.h b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvPex.h 73768diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvPex.h b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvPex.h
73739new file mode 100644 73769new file mode 100644
73740index 0000000..d8f1cdd 73770index 0000000..e84fdf9
73741--- /dev/null 73771--- /dev/null
73742+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvPex.h 73772+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvPex.h
73743@@ -0,0 +1,168 @@ 73773@@ -0,0 +1,168 @@
@@ -73911,7 +73941,7 @@ index 0000000..d8f1cdd
73911+#endif /* #ifndef __INCPEXH */ 73941+#endif /* #ifndef __INCPEXH */
73912diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvPexRegs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvPexRegs.h 73942diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvPexRegs.h b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvPexRegs.h
73913new file mode 100644 73943new file mode 100644
73914index 0000000..8ac1698 73944index 0000000..ea19e2f
73915--- /dev/null 73945--- /dev/null
73916+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvPexRegs.h 73946+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvPexRegs.h
73917@@ -0,0 +1,751 @@ 73947@@ -0,0 +1,751 @@
@@ -74668,7 +74698,7 @@ index 0000000..8ac1698
74668+ 74698+
74669diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvVrtBrgPex.c b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvVrtBrgPex.c 74699diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvVrtBrgPex.c b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvVrtBrgPex.c
74670new file mode 100644 74700new file mode 100644
74671index 0000000..19c871a 74701index 0000000..59d0383
74672--- /dev/null 74702--- /dev/null
74673+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvVrtBrgPex.c 74703+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvVrtBrgPex.c
74674@@ -0,0 +1,313 @@ 74704@@ -0,0 +1,313 @@
@@ -74987,7 +75017,7 @@ index 0000000..19c871a
74987+ 75017+
74988diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvVrtBrgPex.h b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvVrtBrgPex.h 75018diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvVrtBrgPex.h b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvVrtBrgPex.h
74989new file mode 100644 75019new file mode 100644
74990index 0000000..82eb72d 75020index 0000000..0741713
74991--- /dev/null 75021--- /dev/null
74992+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvVrtBrgPex.h 75022+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvVrtBrgPex.h
74993@@ -0,0 +1,82 @@ 75023@@ -0,0 +1,82 @@
@@ -75075,7 +75105,7 @@ index 0000000..82eb72d
75075+#endif /* #ifndef __INCPEXH */ 75105+#endif /* #ifndef __INCPEXH */
75076diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/sflash/mvSFlash.c b/crypto/ocf/kirkwood/mvHal/mv_hal/sflash/mvSFlash.c 75106diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/sflash/mvSFlash.c b/crypto/ocf/kirkwood/mvHal/mv_hal/sflash/mvSFlash.c
75077new file mode 100644 75107new file mode 100644
75078index 0000000..6c5bc19 75108index 0000000..2643699
75079--- /dev/null 75109--- /dev/null
75080+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/sflash/mvSFlash.c 75110+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/sflash/mvSFlash.c
75081@@ -0,0 +1,1522 @@ 75111@@ -0,0 +1,1522 @@
@@ -76603,7 +76633,7 @@ index 0000000..6c5bc19
76603+ 76633+
76604diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/sflash/mvSFlash.h b/crypto/ocf/kirkwood/mvHal/mv_hal/sflash/mvSFlash.h 76634diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/sflash/mvSFlash.h b/crypto/ocf/kirkwood/mvHal/mv_hal/sflash/mvSFlash.h
76605new file mode 100644 76635new file mode 100644
76606index 0000000..f441a5c 76636index 0000000..5bb160b
76607--- /dev/null 76637--- /dev/null
76608+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/sflash/mvSFlash.h 76638+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/sflash/mvSFlash.h
76609@@ -0,0 +1,166 @@ 76639@@ -0,0 +1,166 @@
@@ -76775,7 +76805,7 @@ index 0000000..f441a5c
76775+#endif /* __INCmvSFlashH */ 76805+#endif /* __INCmvSFlashH */
76776diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/sflash/mvSFlashSpec.h b/crypto/ocf/kirkwood/mvHal/mv_hal/sflash/mvSFlashSpec.h 76806diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/sflash/mvSFlashSpec.h b/crypto/ocf/kirkwood/mvHal/mv_hal/sflash/mvSFlashSpec.h
76777new file mode 100644 76807new file mode 100644
76778index 0000000..eeb4426 76808index 0000000..cef4255
76779--- /dev/null 76809--- /dev/null
76780+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/sflash/mvSFlashSpec.h 76810+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/sflash/mvSFlashSpec.h
76781@@ -0,0 +1,233 @@ 76811@@ -0,0 +1,233 @@
@@ -77014,7 +77044,7 @@ index 0000000..eeb4426
77014+ 77044+
77015diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/spi/mvSpi.c b/crypto/ocf/kirkwood/mvHal/mv_hal/spi/mvSpi.c 77045diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/spi/mvSpi.c b/crypto/ocf/kirkwood/mvHal/mv_hal/spi/mvSpi.c
77016new file mode 100644 77046new file mode 100644
77017index 0000000..39e0b72 77047index 0000000..efdd6ae
77018--- /dev/null 77048--- /dev/null
77019+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/spi/mvSpi.c 77049+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/spi/mvSpi.c
77020@@ -0,0 +1,576 @@ 77050@@ -0,0 +1,576 @@
@@ -77596,7 +77626,7 @@ index 0000000..39e0b72
77596+ 77626+
77597diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/spi/mvSpi.h b/crypto/ocf/kirkwood/mvHal/mv_hal/spi/mvSpi.h 77627diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/spi/mvSpi.h b/crypto/ocf/kirkwood/mvHal/mv_hal/spi/mvSpi.h
77598new file mode 100644 77628new file mode 100644
77599index 0000000..74859f0 77629index 0000000..c3db297
77600--- /dev/null 77630--- /dev/null
77601+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/spi/mvSpi.h 77631+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/spi/mvSpi.h
77602@@ -0,0 +1,94 @@ 77632@@ -0,0 +1,94 @@
@@ -78039,7 +78069,7 @@ index 0000000..329e26b
78039+#endif /* __INCmvSpiCmndhH */ 78069+#endif /* __INCmvSpiCmndhH */
78040diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/spi/mvSpiSpec.h b/crypto/ocf/kirkwood/mvHal/mv_hal/spi/mvSpiSpec.h 78070diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/spi/mvSpiSpec.h b/crypto/ocf/kirkwood/mvHal/mv_hal/spi/mvSpiSpec.h
78041new file mode 100644 78071new file mode 100644
78042index 0000000..658159a 78072index 0000000..e943787
78043--- /dev/null 78073--- /dev/null
78044+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/spi/mvSpiSpec.h 78074+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/spi/mvSpiSpec.h
78045@@ -0,0 +1,98 @@ 78075@@ -0,0 +1,98 @@
@@ -78143,7 +78173,7 @@ index 0000000..658159a
78143+ 78173+
78144diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/mvTwsi.c b/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/mvTwsi.c 78174diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/mvTwsi.c b/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/mvTwsi.c
78145new file mode 100644 78175new file mode 100644
78146index 0000000..0bf8b75 78176index 0000000..12d27b3
78147--- /dev/null 78177--- /dev/null
78148+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/mvTwsi.c 78178+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/mvTwsi.c
78149@@ -0,0 +1,1023 @@ 78179@@ -0,0 +1,1023 @@
@@ -79172,7 +79202,7 @@ index 0000000..0bf8b75
79172+} 79202+}
79173diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/mvTwsi.h b/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/mvTwsi.h 79203diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/mvTwsi.h b/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/mvTwsi.h
79174new file mode 100644 79204new file mode 100644
79175index 0000000..bd5b6d0 79205index 0000000..c3eddd1
79176--- /dev/null 79206--- /dev/null
79177+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/mvTwsi.h 79207+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/mvTwsi.h
79178@@ -0,0 +1,121 @@ 79208@@ -0,0 +1,121 @@
@@ -79299,7 +79329,7 @@ index 0000000..bd5b6d0
79299+ 79329+
79300diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/mvTwsiSpec.h b/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/mvTwsiSpec.h 79330diff --git a/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/mvTwsiSpec.h b/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/mvTwsiSpec.h
79301new file mode 100644 79331new file mode 100644
79302index 0000000..d0c2b9e 79332index 0000000..ebb6db7
79303--- /dev/null 79333--- /dev/null
79304+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/mvTwsiSpec.h 79334+++ b/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/mvTwsiSpec.h
79305@@ -0,0 +1,160 @@ 79335@@ -0,0 +1,160 @@
@@ -80225,7 +80255,7 @@ index 0000000..044bcac
80225+ 80255+
80226diff --git a/crypto/ocf/ocfnull/ocfnull.c b/crypto/ocf/ocfnull/ocfnull.c 80256diff --git a/crypto/ocf/ocfnull/ocfnull.c b/crypto/ocf/ocfnull/ocfnull.c
80227new file mode 100644 80257new file mode 100644
80228index 0000000..a6b76cd 80258index 0000000..3df150d
80229--- /dev/null 80259--- /dev/null
80230+++ b/crypto/ocf/ocfnull/ocfnull.c 80260+++ b/crypto/ocf/ocfnull/ocfnull.c
80231@@ -0,0 +1,203 @@ 80261@@ -0,0 +1,203 @@
@@ -81883,7 +81913,7 @@ index 0000000..1a0dcc8
81883+#endif /* PASEMI_FNU_H */ 81913+#endif /* PASEMI_FNU_H */
81884diff --git a/crypto/ocf/random.c b/crypto/ocf/random.c 81914diff --git a/crypto/ocf/random.c b/crypto/ocf/random.c
81885new file mode 100644 81915new file mode 100644
81886index 0000000..38dad13 81916index 0000000..b5d97e1
81887--- /dev/null 81917--- /dev/null
81888+++ b/crypto/ocf/random.c 81918+++ b/crypto/ocf/random.c
81889@@ -0,0 +1,322 @@ 81919@@ -0,0 +1,322 @@
@@ -82595,7 +82625,7 @@ index 0000000..9a36b08
82595+ 82625+
82596diff --git a/crypto/ocf/safe/md5.c b/crypto/ocf/safe/md5.c 82626diff --git a/crypto/ocf/safe/md5.c b/crypto/ocf/safe/md5.c
82597new file mode 100644 82627new file mode 100644
82598index 0000000..077c42e 82628index 0000000..fa10789
82599--- /dev/null 82629--- /dev/null
82600+++ b/crypto/ocf/safe/md5.c 82630+++ b/crypto/ocf/safe/md5.c
82601@@ -0,0 +1,308 @@ 82631@@ -0,0 +1,308 @@
@@ -82991,7 +83021,7 @@ index 0000000..690f5bf
82991+#endif /* ! _NETINET6_MD5_H_*/ 83021+#endif /* ! _NETINET6_MD5_H_*/
82992diff --git a/crypto/ocf/safe/safe.c b/crypto/ocf/safe/safe.c 83022diff --git a/crypto/ocf/safe/safe.c b/crypto/ocf/safe/safe.c
82993new file mode 100644 83023new file mode 100644
82994index 0000000..7e65101 83024index 0000000..87984f7
82995--- /dev/null 83025--- /dev/null
82996+++ b/crypto/ocf/safe/safe.c 83026+++ b/crypto/ocf/safe/safe.c
82997@@ -0,0 +1,2288 @@ 83027@@ -0,0 +1,2288 @@
@@ -85285,7 +85315,7 @@ index 0000000..7e65101
85285+MODULE_DESCRIPTION("OCF driver for safenet PCI crypto devices"); 85315+MODULE_DESCRIPTION("OCF driver for safenet PCI crypto devices");
85286diff --git a/crypto/ocf/safe/safereg.h b/crypto/ocf/safe/safereg.h 85316diff --git a/crypto/ocf/safe/safereg.h b/crypto/ocf/safe/safereg.h
85287new file mode 100644 85317new file mode 100644
85288index 0000000..dbaf98f 85318index 0000000..d3461f9
85289--- /dev/null 85319--- /dev/null
85290+++ b/crypto/ocf/safe/safereg.h 85320+++ b/crypto/ocf/safe/safereg.h
85291@@ -0,0 +1,421 @@ 85321@@ -0,0 +1,421 @@
@@ -86329,7 +86359,7 @@ index 0000000..2591b8a
86329+ 86359+
86330diff --git a/crypto/ocf/talitos/talitos.c b/crypto/ocf/talitos/talitos.c 86360diff --git a/crypto/ocf/talitos/talitos.c b/crypto/ocf/talitos/talitos.c
86331new file mode 100644 86361new file mode 100644
86332index 0000000..9404634 86362index 0000000..0cef3bd
86333--- /dev/null 86363--- /dev/null
86334+++ b/crypto/ocf/talitos/talitos.c 86364+++ b/crypto/ocf/talitos/talitos.c
86335@@ -0,0 +1,1359 @@ 86365@@ -0,0 +1,1359 @@
@@ -87694,7 +87724,7 @@ index 0000000..9404634
87694+MODULE_DESCRIPTION("OCF driver for Freescale SEC (talitos)"); 87724+MODULE_DESCRIPTION("OCF driver for Freescale SEC (talitos)");
87695diff --git a/crypto/ocf/talitos/talitos_dev.h b/crypto/ocf/talitos/talitos_dev.h 87725diff --git a/crypto/ocf/talitos/talitos_dev.h b/crypto/ocf/talitos/talitos_dev.h
87696new file mode 100644 87726new file mode 100644
87697index 0000000..a8b0479 87727index 0000000..86bb57c
87698--- /dev/null 87728--- /dev/null
87699+++ b/crypto/ocf/talitos/talitos_dev.h 87729+++ b/crypto/ocf/talitos/talitos_dev.h
87700@@ -0,0 +1,277 @@ 87730@@ -0,0 +1,277 @@
@@ -88119,12 +88149,12 @@ index 0000000..03a6249
88119+ 88149+
88120+#endif 88150+#endif
88121diff --git a/drivers/char/random.c b/drivers/char/random.c 88151diff --git a/drivers/char/random.c b/drivers/char/random.c
88122index 8258982..d382084 100644 88152index 8258982..6509c94 100644
88123--- a/drivers/char/random.c 88153--- a/drivers/char/random.c
88124+++ b/drivers/char/random.c 88154+++ b/drivers/char/random.c
88125@@ -129,6 +129,9 @@ 88155@@ -129,6 +129,9 @@
88126 * unsigned int value); 88156 * unsigned int value);
88127 * void add_interrupt_randomness(int irq); 88157 * void add_interrupt_randomness(int irq);
88128 * 88158 *
88129+ * void random_input_words(__u32 *buf, size_t wordcount, int ent_count) 88159+ * void random_input_words(__u32 *buf, size_t wordcount, int ent_count)
88130+ * int random_input_wait(void); 88160+ * int random_input_wait(void);
@@ -88149,7 +88179,7 @@ index 8258982..d382084 100644
88149@@ -714,6 +724,61 @@ void add_disk_randomness(struct gendisk *disk) 88179@@ -714,6 +724,61 @@ void add_disk_randomness(struct gendisk *disk)
88150 } 88180 }
88151 #endif 88181 #endif
88152 88182
88153+/* 88183+/*
88154+ * random_input_words - add bulk entropy to pool 88184+ * random_input_words - add bulk entropy to pool
88155+ * 88185+ *
@@ -88206,20 +88236,20 @@ index 8258982..d382084 100644
88206+ 88236+
88207+ 88237+
88208 #define EXTRACT_SIZE 10 88238 #define EXTRACT_SIZE 10
88209 88239
88210 /********************************************************************* 88240 /*********************************************************************
88211diff --git a/fs/fcntl.c b/fs/fcntl.c 88241diff --git a/fs/fcntl.c b/fs/fcntl.c
88212index 2cf93ec..1b6d2bb 100644 88242index 2cf93ec..1b6d2bb 100644
88213--- a/fs/fcntl.c 88243--- a/fs/fcntl.c
88214+++ b/fs/fcntl.c 88244+++ b/fs/fcntl.c
88215@@ -141,6 +141,7 @@ SYSCALL_DEFINE1(dup, unsigned int, fildes) 88245@@ -141,6 +141,7 @@ SYSCALL_DEFINE1(dup, unsigned int, fildes)
88216 } 88246 }
88217 return ret; 88247 return ret;
88218 } 88248 }
88219+EXPORT_SYMBOL(sys_dup); 88249+EXPORT_SYMBOL(sys_dup);
88220 88250
88221 #define SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | O_DIRECT | O_NOATIME) 88251 #define SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | O_DIRECT | O_NOATIME)
88222 88252
88223diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h 88253diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h
88224index adaf3c1..e961a9a 100644 88254index adaf3c1..e961a9a 100644
88225--- a/include/linux/miscdevice.h 88255--- a/include/linux/miscdevice.h
@@ -88237,17 +88267,17 @@ index 25d02fe..b59ec10 100644
88237--- a/include/linux/random.h 88267--- a/include/linux/random.h
88238+++ b/include/linux/random.h 88268+++ b/include/linux/random.h
88239@@ -9,6 +9,7 @@ 88269@@ -9,6 +9,7 @@
88240 88270
88241 #include <linux/types.h> 88271 #include <linux/types.h>
88242 #include <linux/ioctl.h> 88272 #include <linux/ioctl.h>
88243+#include <linux/types.h> /* for __u32 in user space */ 88273+#include <linux/types.h> /* for __u32 in user space */
88244 #include <linux/irqnr.h> 88274 #include <linux/irqnr.h>
88245 88275
88246 /* ioctl()'s for the random number generator */ 88276 /* ioctl()'s for the random number generator */
88247@@ -34,6 +35,30 @@ 88277@@ -34,6 +35,30 @@
88248 /* Clear the entropy pool and associated counters. (Superuser only.) */ 88278 /* Clear the entropy pool and associated counters. (Superuser only.) */
88249 #define RNDCLEARPOOL _IO( 'R', 0x06 ) 88279 #define RNDCLEARPOOL _IO( 'R', 0x06 )
88250 88280
88251+#ifdef CONFIG_FIPS_RNG 88281+#ifdef CONFIG_FIPS_RNG
88252+ 88282+
88253+/* Size of seed value - equal to AES blocksize */ 88283+/* Size of seed value - equal to AES blocksize */
@@ -88273,30 +88303,31 @@ index 25d02fe..b59ec10 100644
88273+#endif /* #ifdef CONFIG_FIPS_RNG */ 88303+#endif /* #ifdef CONFIG_FIPS_RNG */
88274+ 88304+
88275 struct rand_pool_info { 88305 struct rand_pool_info {
88276 int entropy_count; 88306 int entropy_count;
88277 int buf_size; 88307 int buf_size;
88278@@ -50,6 +75,10 @@ extern void add_input_randomness(unsigned int type, unsigned int code, 88308@@ -50,6 +75,10 @@ extern void add_input_randomness(unsigned int type, unsigned int code,
88279 unsigned int value); 88309 unsigned int value);
88280 extern void add_interrupt_randomness(int irq); 88310 extern void add_interrupt_randomness(int irq);
88281 88311
88282+extern void random_input_words(__u32 *buf, size_t wordcount, int ent_count); 88312+extern void random_input_words(__u32 *buf, size_t wordcount, int ent_count);
88283+extern int random_input_wait(void); 88313+extern int random_input_wait(void);
88284+#define HAS_RANDOM_INPUT_WAIT 1 88314+#define HAS_RANDOM_INPUT_WAIT 1
88285+ 88315+
88286 extern void get_random_bytes(void *buf, int nbytes); 88316 extern void get_random_bytes(void *buf, int nbytes);
88287 void generate_random_uuid(unsigned char uuid_out[16]); 88317 void generate_random_uuid(unsigned char uuid_out[16]);
88288 88318
88289diff --git a/kernel/pid.c b/kernel/pid.c 88319diff --git a/kernel/pid.c b/kernel/pid.c
88290index d3f722d..e041b52 100644 88320index d3f722d..e041b52 100644
88291--- a/kernel/pid.c 88321--- a/kernel/pid.c
88292+++ b/kernel/pid.c 88322+++ b/kernel/pid.c
88293@@ -387,6 +387,7 @@ struct task_struct *find_task_by_vpid(pid_t vnr) 88323@@ -387,6 +387,7 @@ struct task_struct *find_task_by_vpid(pid_t vnr)
88294 { 88324 {
88295 return find_task_by_pid_ns(vnr, current->nsproxy->pid_ns); 88325 return find_task_by_pid_ns(vnr, current->nsproxy->pid_ns);
88296 } 88326 }
88297+EXPORT_SYMBOL(find_task_by_vpid); 88327+EXPORT_SYMBOL(find_task_by_vpid);
88298 88328
88299 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) 88329 struct pid *get_task_pid(struct task_struct *task, enum pid_type type)
88300 { 88330 {
88301-- 88331--
883021.7.0.4 883321.6.6.1
88333
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0001-Revert-omap3-beagle-Fix-compile-time-errors.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0001-Revert-omap3-beagle-Fix-compile-time-errors.patch
index 675501da..abcf45b6 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0001-Revert-omap3-beagle-Fix-compile-time-errors.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0001-Revert-omap3-beagle-Fix-compile-time-errors.patch
@@ -1,4 +1,4 @@
1From aab782ab0942d6fd654311b937596b24a0ace3c6 Mon Sep 17 00:00:00 2001 1From 09b6266a567b22e07200973312ffb8f43e7f7d43 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net> 2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Fri, 30 Apr 2010 11:12:24 +0200 3Date: Fri, 30 Apr 2010 11:12:24 +0200
4Subject: [PATCH 01/45] Revert "omap3: beagle: Fix compile-time errors" 4Subject: [PATCH 01/45] Revert "omap3: beagle: Fix compile-time errors"
@@ -11,7 +11,7 @@ This reverts commit da5b291cba631d303cb137fa6a620c494d828197.
11 1 files changed, 3 insertions(+), 31 deletions(-) 11 1 files changed, 3 insertions(+), 31 deletions(-)
12 12
13diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 13diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
14index 865a8d7..15e48f2 100644 14index c5da58e..330fb25 100644
15--- a/arch/arm/mach-omap2/board-omap3beagle.c 15--- a/arch/arm/mach-omap2/board-omap3beagle.c
16+++ b/arch/arm/mach-omap2/board-omap3beagle.c 16+++ b/arch/arm/mach-omap2/board-omap3beagle.c
17@@ -56,22 +56,6 @@ 17@@ -56,22 +56,6 @@
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0001-cgroupfs-create-sys-fs-cgroup-to-mount-cgroupfs-on.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0001-cgroupfs-create-sys-fs-cgroup-to-mount-cgroupfs-on.patch
new file mode 100644
index 00000000..37d5fb90
--- /dev/null
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0001-cgroupfs-create-sys-fs-cgroup-to-mount-cgroupfs-on.patch
@@ -0,0 +1,58 @@
1From 787c524fc478068d18eef72f43074b47722e50b0 Mon Sep 17 00:00:00 2001
2From: Greg KH <gregkh@suse.de>
3Date: Thu, 5 Aug 2010 13:53:35 -0700
4Subject: [PATCH] cgroupfs: create /sys/fs/cgroup to mount cgroupfs on
5
6We really shouldn't be asking userspace to create new root filesystems.
7So follow along with all of the other in-kernel filesystems, and provide
8a mount point in sysfs.
9
10For cgroupfs, this should be in /sys/fs/cgroup/ This change provides
11that mount point when the cgroup filesystem is registered in the kernel.
12
13Acked-by: Paul Menage <menage@google.com>
14Acked-by: Dhaval Giani <dhaval.giani@gmail.com>
15Cc: Li Zefan <lizf@cn.fujitsu.com>
16Cc: Lennart Poettering <lennart@poettering.net>
17Cc: Kay Sievers <kay.sievers@vrfy.org>
18Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19---
20 kernel/cgroup.c | 13 ++++++++++++-
21 1 files changed, 12 insertions(+), 1 deletions(-)
22
23diff --git a/kernel/cgroup.c b/kernel/cgroup.c
24index 0249f4b..db21dd8 100644
25--- a/kernel/cgroup.c
26+++ b/kernel/cgroup.c
27@@ -1472,6 +1472,8 @@ static struct file_system_type cgroup_fs_type = {
28 .kill_sb = cgroup_kill_sb,
29 };
30
31+static struct kobject *cgroup_kobj;
32+
33 static inline struct cgroup *__d_cgrp(struct dentry *dentry)
34 {
35 return dentry->d_fsdata;
36@@ -3283,9 +3285,18 @@ int __init cgroup_init(void)
37 hhead = css_set_hash(init_css_set.subsys);
38 hlist_add_head(&init_css_set.hlist, hhead);
39 BUG_ON(!init_root_id(&rootnode));
40+
41+ cgroup_kobj = kobject_create_and_add("cgroup", fs_kobj);
42+ if (!cgroup_kobj) {
43+ err = -ENOMEM;
44+ goto out;
45+ }
46+
47 err = register_filesystem(&cgroup_fs_type);
48- if (err < 0)
49+ if (err < 0) {
50+ kobject_put(cgroup_kobj);
51 goto out;
52+ }
53
54 proc_create("cgroups", 0, NULL, &proc_cgroupstats_operations);
55
56--
571.6.6.1
58
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0002-OMAP3-craneboard-add-support-for-TinCanTools-Trainer.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0002-OMAP3-craneboard-add-support-for-TinCanTools-Trainer.patch
new file mode 100644
index 00000000..4b1f1096
--- /dev/null
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0002-OMAP3-craneboard-add-support-for-TinCanTools-Trainer.patch
@@ -0,0 +1,55 @@
1From ba5fd3ed4031a826309ab26045d27dbef88de418 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Wed, 19 Jan 2011 16:36:09 +0100
4Subject: [PATCH 2/2] OMAP3: craneboard: add support for TinCanTools Trainer expansion board
5
6Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7---
8 arch/arm/mach-omap2/board-am3517crane.c | 31 +++++++++++++++++++++++++++++++
9 1 files changed, 31 insertions(+), 0 deletions(-)
10
11diff --git a/arch/arm/mach-omap2/board-am3517crane.c b/arch/arm/mach-omap2/board-am3517crane.c
12index 300a79d..cbe2174 100644
13--- a/arch/arm/mach-omap2/board-am3517crane.c
14+++ b/arch/arm/mach-omap2/board-am3517crane.c
15@@ -747,6 +747,37 @@ static void __init am3517_crane_init(void)
16 am3517crane_flash_init();
17 usb_musb_init();
18
19+ if(!strcmp(expansionboard_name, "trainer"))
20+ {
21+ printk(KERN_INFO "Beagle expansionboard: exporting GPIOs 130-141,162 to userspace\n");
22+ gpio_request(130, "sysfs");
23+ gpio_export(130, 1);
24+ gpio_request(131, "sysfs");
25+ gpio_export(131, 1);
26+ gpio_request(132, "sysfs");
27+ gpio_export(132, 1);
28+ gpio_request(133, "sysfs");
29+ gpio_export(133, 1);
30+ gpio_request(134, "sysfs");
31+ gpio_export(134, 1);
32+ gpio_request(135, "sysfs");
33+ gpio_export(135, 1);
34+ gpio_request(136, "sysfs");
35+ gpio_export(136, 1);
36+ gpio_request(137, "sysfs");
37+ gpio_export(137, 1);
38+ gpio_request(138, "sysfs");
39+ gpio_export(138, 1);
40+ gpio_request(139, "sysfs");
41+ gpio_export(139, 1);
42+ gpio_request(140, "sysfs");
43+ gpio_export(140, 1);
44+ gpio_request(141, "sysfs");
45+ gpio_export(141, 1);
46+ gpio_request(162, "sysfs");
47+ gpio_export(162, 1);
48+ }
49+
50 /* Configure GPIO for EHCI port */
51 omap_mux_init_gpio(35, OMAP_PIN_OUTPUT);
52 gpio_request(35, "usb_ehci_enable");
53--
541.6.6.1
55
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0002-board-omap3touchbook-make-it-build-against-TI-linux-.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0002-board-omap3touchbook-make-it-build-against-TI-linux-.patch
index d9fb77b7..c695b712 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0002-board-omap3touchbook-make-it-build-against-TI-linux-.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0002-board-omap3touchbook-make-it-build-against-TI-linux-.patch
@@ -1,4 +1,4 @@
1From 06352060e3862e2c11719a6ef4ac0ae1b5f5fdf6 Mon Sep 17 00:00:00 2001 1From 5e84443afe149d9f503b63b1c87f23b807fe9e46 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <k-kooi@ti.com> 2From: Koen Kooi <k-kooi@ti.com>
3Date: Sat, 30 Jan 2010 15:49:15 +0100 3Date: Sat, 30 Jan 2010 15:49:15 +0100
4Subject: [PATCH 02/45] board-omap3touchbook: make it build against TI linux-omap 2.6.32-PSP 4Subject: [PATCH 02/45] board-omap3touchbook: make it build against TI linux-omap 2.6.32-PSP
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0003-ARM-OMAP-add-support-for-TCT-Zippy-to-Beagle-board-f.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0003-ARM-OMAP-add-support-for-TCT-Zippy-to-Beagle-board-f.patch
index d2e67638..07ade0a5 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0003-ARM-OMAP-add-support-for-TCT-Zippy-to-Beagle-board-f.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0003-ARM-OMAP-add-support-for-TCT-Zippy-to-Beagle-board-f.patch
@@ -1,4 +1,4 @@
1From 4afa80923880088a3d6780257ccce72a88884e19 Mon Sep 17 00:00:00 2001 1From aeef52fa662c9a6d85b11474359fb9504fc1cf49 Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <sakoman@gmail.com> 2From: Steve Sakoman <sakoman@gmail.com>
3Date: Tue, 15 Dec 2009 15:34:29 -0800 3Date: Tue, 15 Dec 2009 15:34:29 -0800
4Subject: [PATCH 03/45] ARM: OMAP: add support for TCT Zippy to Beagle board file 4Subject: [PATCH 03/45] ARM: OMAP: add support for TCT Zippy to Beagle board file
@@ -9,7 +9,7 @@ Signed-off-by: Steve Sakoman <sakoman@gmail.com>
9 1 files changed, 71 insertions(+), 3 deletions(-) 9 1 files changed, 71 insertions(+), 3 deletions(-)
10 10
11diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 11diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
12index 15e48f2..a4a793f 100644 12index 330fb25..ddfb9c0 100644
13--- a/arch/arm/mach-omap2/board-omap3beagle.c 13--- a/arch/arm/mach-omap2/board-omap3beagle.c
14+++ b/arch/arm/mach-omap2/board-omap3beagle.c 14+++ b/arch/arm/mach-omap2/board-omap3beagle.c
15@@ -21,6 +21,7 @@ 15@@ -21,6 +21,7 @@
@@ -121,7 +121,7 @@ index 15e48f2..a4a793f 100644
121 /* Bus 3 is attached to the DVI port where devices like the pico DLP 121 /* Bus 3 is attached to the DVI port where devices like the pico DLP
122 * projector don't work reliably with 400kHz */ 122 * projector don't work reliably with 400kHz */
123 omap_register_i2c_bus(3, 100, NULL, 0); 123 omap_register_i2c_bus(3, 100, NULL, 0);
124@@ -453,6 +519,8 @@ static void __init omap3_beagle_init(void) 124@@ -448,6 +514,8 @@ static void __init omap3_beagle_init(void)
125 /* REVISIT leave DVI powered down until it's needed ... */ 125 /* REVISIT leave DVI powered down until it's needed ... */
126 gpio_direction_output(170, true); 126 gpio_direction_output(170, true);
127 127
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0004-ARM-OMAP-Make-beagle-u-boot-partition-writable.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0004-ARM-OMAP-Make-beagle-u-boot-partition-writable.patch
index 97439a03..46a46e77 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0004-ARM-OMAP-Make-beagle-u-boot-partition-writable.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0004-ARM-OMAP-Make-beagle-u-boot-partition-writable.patch
@@ -1,4 +1,4 @@
1From ef987a45a496dad17bafb2dead78513a7f820dc8 Mon Sep 17 00:00:00 2001 1From 701bababc8f9e458e01bdb512199ce175110fe19 Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <steve@sakoman.com> 2From: Steve Sakoman <steve@sakoman.com>
3Date: Thu, 17 Dec 2009 12:40:24 -0800 3Date: Thu, 17 Dec 2009 12:40:24 -0800
4Subject: [PATCH 04/45] ARM: OMAP: Make beagle u-boot partition writable 4Subject: [PATCH 04/45] ARM: OMAP: Make beagle u-boot partition writable
@@ -8,7 +8,7 @@ Subject: [PATCH 04/45] ARM: OMAP: Make beagle u-boot partition writable
8 1 files changed, 0 insertions(+), 1 deletions(-) 8 1 files changed, 0 insertions(+), 1 deletions(-)
9 9
10diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 10diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
11index a4a793f..4b2dd65 100644 11index ddfb9c0..9f72c7a 100644
12--- a/arch/arm/mach-omap2/board-omap3beagle.c 12--- a/arch/arm/mach-omap2/board-omap3beagle.c
13+++ b/arch/arm/mach-omap2/board-omap3beagle.c 13+++ b/arch/arm/mach-omap2/board-omap3beagle.c
14@@ -112,7 +112,6 @@ static struct mtd_partition omap3beagle_nand_partitions[] = { 14@@ -112,7 +112,6 @@ static struct mtd_partition omap3beagle_nand_partitions[] = {
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0005-board-omap3-beagle-add-DSS2-support.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0005-board-omap3-beagle-add-DSS2-support.patch
index 02c3fbab..e337a4f2 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0005-board-omap3-beagle-add-DSS2-support.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0005-board-omap3-beagle-add-DSS2-support.patch
@@ -1,4 +1,4 @@
1From 3915909dbac222212ee97bd6c8057df442a85bd3 Mon Sep 17 00:00:00 2001 1From 818b8bbfb472de23b10aec58acd55eb31fafe0b9 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net> 2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Wed, 10 Feb 2010 15:07:36 +0100 3Date: Wed, 10 Feb 2010 15:07:36 +0100
4Subject: [PATCH 05/45] board-omap3-beagle: add DSS2 support 4Subject: [PATCH 05/45] board-omap3-beagle: add DSS2 support
@@ -8,7 +8,7 @@ Subject: [PATCH 05/45] board-omap3-beagle: add DSS2 support
8 1 files changed, 103 insertions(+), 27 deletions(-) 8 1 files changed, 103 insertions(+), 27 deletions(-)
9 9
10diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 10diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
11index 4b2dd65..79d43d0 100644 11index 9f72c7a..3b7f6ec 100644
12--- a/arch/arm/mach-omap2/board-omap3beagle.c 12--- a/arch/arm/mach-omap2/board-omap3beagle.c
13+++ b/arch/arm/mach-omap2/board-omap3beagle.c 13+++ b/arch/arm/mach-omap2/board-omap3beagle.c
14@@ -40,6 +40,7 @@ 14@@ -40,6 +40,7 @@
@@ -184,7 +184,7 @@ index 4b2dd65..79d43d0 100644
184 }; 184 };
185 185
186 static void __init omap3beagle_flash_init(void) 186 static void __init omap3beagle_flash_init(void)
187@@ -527,8 +602,9 @@ static void __init omap3_beagle_init(void) 187@@ -522,8 +597,9 @@ static void __init omap3_beagle_init(void)
188 /* Ensure SDRC pins are mux'd for self-refresh */ 188 /* Ensure SDRC pins are mux'd for self-refresh */
189 omap_mux_init_signal("sdrc_cke0", OMAP_PIN_OUTPUT); 189 omap_mux_init_signal("sdrc_cke0", OMAP_PIN_OUTPUT);
190 omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT); 190 omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT);
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0006-board-omap3beagle-prepare-for-DM3730-based-Beagleboa.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0006-board-omap3beagle-prepare-for-DM3730-based-Beagleboa.patch
index 10e728b3..2b326602 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0006-board-omap3beagle-prepare-for-DM3730-based-Beagleboa.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0006-board-omap3beagle-prepare-for-DM3730-based-Beagleboa.patch
@@ -1,4 +1,4 @@
1From f8b1eeb8f3dc580f24b5d2a2b140c74cfa88c5eb Mon Sep 17 00:00:00 2001 1From e36c63f1fe13a60bdf6e9b3dd46ad969d6fe418d Mon Sep 17 00:00:00 2001
2From: Koen Kooi <k-kooi@ti.com> 2From: Koen Kooi <k-kooi@ti.com>
3Date: Wed, 27 Jan 2010 21:57:13 +0100 3Date: Wed, 27 Jan 2010 21:57:13 +0100
4Subject: [PATCH 06/45] board-omap3beagle: prepare for DM3730 based BeagleboardXM 4Subject: [PATCH 06/45] board-omap3beagle: prepare for DM3730 based BeagleboardXM
@@ -11,7 +11,7 @@ Subject: [PATCH 06/45] board-omap3beagle: prepare for DM3730 based BeagleboardXM
11 1 files changed, 54 insertions(+), 8 deletions(-) 11 1 files changed, 54 insertions(+), 8 deletions(-)
12 12
13diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 13diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
14index 79d43d0..b1e4d73 100644 14index 3b7f6ec..429dacb 100644
15--- a/arch/arm/mach-omap2/board-omap3beagle.c 15--- a/arch/arm/mach-omap2/board-omap3beagle.c
16+++ b/arch/arm/mach-omap2/board-omap3beagle.c 16+++ b/arch/arm/mach-omap2/board-omap3beagle.c
17@@ -53,6 +53,23 @@ 17@@ -53,6 +53,23 @@
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0007-ARM-OMAP-beagleboard-Add-infrastructure-to-do-fixups.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0007-ARM-OMAP-beagleboard-Add-infrastructure-to-do-fixups.patch
index feea7fe9..86e6a709 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0007-ARM-OMAP-beagleboard-Add-infrastructure-to-do-fixups.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0007-ARM-OMAP-beagleboard-Add-infrastructure-to-do-fixups.patch
@@ -1,4 +1,4 @@
1From 902bf175d5050e9f9892b594bd6093b65c1be8cc Mon Sep 17 00:00:00 2001 1From 25ae9895ed107a6fe9d9c4345f21bbdaee4ccde6 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net> 2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Mon, 3 May 2010 14:41:29 +0200 3Date: Mon, 3 May 2010 14:41:29 +0200
4Subject: [PATCH 07/45] ARM: OMAP: beagleboard: Add infrastructure to do fixups based on expansionboard name passed by u-boot 4Subject: [PATCH 07/45] ARM: OMAP: beagleboard: Add infrastructure to do fixups based on expansionboard name passed by u-boot
@@ -9,7 +9,7 @@ And add support for zippy2
9 1 files changed, 78 insertions(+), 10 deletions(-) 9 1 files changed, 78 insertions(+), 10 deletions(-)
10 10
11diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 11diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
12index b1e4d73..8223763 100644 12index 429dacb..ac96551 100644
13--- a/arch/arm/mach-omap2/board-omap3beagle.c 13--- a/arch/arm/mach-omap2/board-omap3beagle.c
14+++ b/arch/arm/mach-omap2/board-omap3beagle.c 14+++ b/arch/arm/mach-omap2/board-omap3beagle.c
15@@ -75,6 +75,8 @@ static struct omap_opp * _omap37x_l3_rate_table = NULL; 15@@ -75,6 +75,8 @@ static struct omap_opp * _omap37x_l3_rate_table = NULL;
@@ -131,7 +131,7 @@ index b1e4d73..8223763 100644
131 static void __init omap3_beagle_init(void) 131 static void __init omap3_beagle_init(void)
132 { 132 {
133 omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); 133 omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
134@@ -639,8 +689,24 @@ static void __init omap3_beagle_init(void) 134@@ -634,8 +684,24 @@ static void __init omap3_beagle_init(void)
135 /* REVISIT leave DVI powered down until it's needed ... */ 135 /* REVISIT leave DVI powered down until it's needed ... */
136 gpio_direction_output(170, true); 136 gpio_direction_output(170, true);
137 137
@@ -158,7 +158,7 @@ index b1e4d73..8223763 100644
158 usb_musb_init(); 158 usb_musb_init();
159 usb_ehci_init(&ehci_pdata); 159 usb_ehci_init(&ehci_pdata);
160 omap3beagle_flash_init(); 160 omap3beagle_flash_init();
161@@ -657,6 +723,8 @@ static void __init omap3_beagle_map_io(void) 161@@ -652,6 +718,8 @@ static void __init omap3_beagle_map_io(void)
162 omap2_map_common_io(); 162 omap2_map_common_io();
163 } 163 }
164 164
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0008-ARM-OMAP-beagleboard-pre-export-GPIOs-to-userspace-w.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0008-ARM-OMAP-beagleboard-pre-export-GPIOs-to-userspace-w.patch
index 3cf6d8db..88ca739d 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0008-ARM-OMAP-beagleboard-pre-export-GPIOs-to-userspace-w.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0008-ARM-OMAP-beagleboard-pre-export-GPIOs-to-userspace-w.patch
@@ -1,4 +1,4 @@
1From 35b951339ea47b542c548e102768817d4123a24b Mon Sep 17 00:00:00 2001 1From bf88487c59994b71cc57687915de0dc207a74b6b Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net> 2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Mon, 3 May 2010 21:38:34 +0200 3Date: Mon, 3 May 2010 21:38:34 +0200
4Subject: [PATCH 08/45] ARM: OMAP: beagleboard: pre-export GPIOs to userspace when using a Tincantools trainerboard 4Subject: [PATCH 08/45] ARM: OMAP: beagleboard: pre-export GPIOs to userspace when using a Tincantools trainerboard
@@ -9,10 +9,10 @@ This really needs a for loop, patches welcome
9 1 files changed, 32 insertions(+), 1 deletions(-) 9 1 files changed, 32 insertions(+), 1 deletions(-)
10 10
11diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 11diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
12index 8223763..abbc1b2 100644 12index ac96551..c9af202 100644
13--- a/arch/arm/mach-omap2/board-omap3beagle.c 13--- a/arch/arm/mach-omap2/board-omap3beagle.c
14+++ b/arch/arm/mach-omap2/board-omap3beagle.c 14+++ b/arch/arm/mach-omap2/board-omap3beagle.c
15@@ -706,7 +706,38 @@ static void __init omap3_beagle_init(void) 15@@ -701,7 +701,38 @@ static void __init omap3_beagle_init(void)
16 mmc[1].gpio_wp = 141; 16 mmc[1].gpio_wp = 141;
17 mmc[1].gpio_cd = 162; 17 mmc[1].gpio_cd = 162;
18 } 18 }
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0009-ARM-OMAP-beagleboard-initialize-ds1307-and-eeprom-on.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0009-ARM-OMAP-beagleboard-initialize-ds1307-and-eeprom-on.patch
index 3729aec7..4079bcce 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0009-ARM-OMAP-beagleboard-initialize-ds1307-and-eeprom-on.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0009-ARM-OMAP-beagleboard-initialize-ds1307-and-eeprom-on.patch
@@ -1,4 +1,4 @@
1From 9b98719bf7787f1ec8eef6b09cb5b94100de7d12 Mon Sep 17 00:00:00 2001 1From f957bb53ba0c0056efd2c10d446ed9cfd6bd62ca Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net> 2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Mon, 3 May 2010 22:31:34 +0200 3Date: Mon, 3 May 2010 22:31:34 +0200
4Subject: [PATCH 09/45] ARM: OMAP: beagleboard: initialize ds1307 and eeprom only for zippy and zippy2 4Subject: [PATCH 09/45] ARM: OMAP: beagleboard: initialize ds1307 and eeprom only for zippy and zippy2
@@ -8,7 +8,7 @@ Subject: [PATCH 09/45] ARM: OMAP: beagleboard: initialize ds1307 and eeprom only
8 1 files changed, 35 insertions(+), 4 deletions(-) 8 1 files changed, 35 insertions(+), 4 deletions(-)
9 9
10diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 10diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
11index abbc1b2..cb11b07 100644 11index c9af202..b3c8cb7 100644
12--- a/arch/arm/mach-omap2/board-omap3beagle.c 12--- a/arch/arm/mach-omap2/board-omap3beagle.c
13+++ b/arch/arm/mach-omap2/board-omap3beagle.c 13+++ b/arch/arm/mach-omap2/board-omap3beagle.c
14@@ -496,24 +496,55 @@ static struct i2c_board_info __initdata beagle_i2c1_boardinfo[] = { 14@@ -496,24 +496,55 @@ static struct i2c_board_info __initdata beagle_i2c1_boardinfo[] = {
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0010-ARM-OMAP-update-beagleboard-defconfig.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0010-ARM-OMAP-update-beagleboard-defconfig.patch
index 89bd4eec..aea1ae2a 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0010-ARM-OMAP-update-beagleboard-defconfig.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0010-ARM-OMAP-update-beagleboard-defconfig.patch
@@ -1,4 +1,4 @@
1From f1e6a762a7bf8d7ff7700011f60a005f28025239 Mon Sep 17 00:00:00 2001 1From b552461dec414a8e8705a226de2e6ef6d5931db9 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net> 2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Tue, 27 Apr 2010 10:51:15 +0200 3Date: Tue, 27 Apr 2010 10:51:15 +0200
4Subject: [PATCH 10/45] ARM: OMAP: update beagleboard defconfig 4Subject: [PATCH 10/45] ARM: OMAP: update beagleboard defconfig
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0011-ASoC-enable-audio-capture-by-default-for-twl4030.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0011-ASoC-enable-audio-capture-by-default-for-twl4030.patch
index 75cbf5c1..e02a9ab1 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0011-ASoC-enable-audio-capture-by-default-for-twl4030.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0011-ASoC-enable-audio-capture-by-default-for-twl4030.patch
@@ -1,4 +1,4 @@
1From d9b1154227bf4fde9b08d3d5d427ef6e56e9cae1 Mon Sep 17 00:00:00 2001 1From 3cd85787199204da2faec4b4150302bf2228de48 Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <steve@sakoman.com> 2From: Steve Sakoman <steve@sakoman.com>
3Date: Thu, 17 Dec 2009 12:45:20 -0800 3Date: Thu, 17 Dec 2009 12:45:20 -0800
4Subject: [PATCH 11/45] ASoC: enable audio capture by default for twl4030 4Subject: [PATCH 11/45] ASoC: enable audio capture by default for twl4030
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0012-MTD-NAND-omap2-proper-fix-for-subpage-read-ECC-error.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0012-MTD-NAND-omap2-proper-fix-for-subpage-read-ECC-error.patch
index 0c75a14f..a8f3d8b4 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0012-MTD-NAND-omap2-proper-fix-for-subpage-read-ECC-error.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0012-MTD-NAND-omap2-proper-fix-for-subpage-read-ECC-error.patch
@@ -1,4 +1,4 @@
1From 20276b3c5eb8dabc7169aee30ad38f9308a0572f Mon Sep 17 00:00:00 2001 1From 7d8868d73fdd95eb928f54f881978590643e50cc Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <steve@sakoman.com> 2From: Steve Sakoman <steve@sakoman.com>
3Date: Thu, 31 Dec 2009 07:05:02 -0800 3Date: Thu, 31 Dec 2009 07:05:02 -0800
4Subject: [PATCH 12/45] MTD: NAND: omap2: proper fix for subpage read ECC errors 4Subject: [PATCH 12/45] MTD: NAND: omap2: proper fix for subpage read ECC errors
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0013-OMAP3630-DSS2-Enable-Pre-Multiplied-Alpha-Support.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0013-OMAP3630-DSS2-Enable-Pre-Multiplied-Alpha-Support.patch
index f89d8cb5..7f4954a9 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0013-OMAP3630-DSS2-Enable-Pre-Multiplied-Alpha-Support.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0013-OMAP3630-DSS2-Enable-Pre-Multiplied-Alpha-Support.patch
@@ -1,4 +1,4 @@
1From 37bcddac7dbfe61576489e4c55b32d8b45eb1c5a Mon Sep 17 00:00:00 2001 1From af96930d2412b4af27407a48e262ce1bb2e32427 Mon Sep 17 00:00:00 2001
2From: Sudeep Basavaraj <sudeep.basavaraj@ti.com> 2From: Sudeep Basavaraj <sudeep.basavaraj@ti.com>
3Date: Tue, 5 Jan 2010 18:58:18 +0530 3Date: Tue, 5 Jan 2010 18:58:18 +0530
4Subject: [PATCH 13/45] OMAP3630:DSS2:Enable Pre-Multiplied Alpha Support 4Subject: [PATCH 13/45] OMAP3630:DSS2:Enable Pre-Multiplied Alpha Support
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0014-DSS2-add-bootarg-for-selecting-svideo-or-composite-f.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0014-DSS2-add-bootarg-for-selecting-svideo-or-composite-f.patch
index 0f69e58f..d9554e14 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0014-DSS2-add-bootarg-for-selecting-svideo-or-composite-f.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0014-DSS2-add-bootarg-for-selecting-svideo-or-composite-f.patch
@@ -1,4 +1,4 @@
1From d03b9f3dc00274820bed99cc22d8425d6bf0e7b4 Mon Sep 17 00:00:00 2001 1From ba26db491acb2d0ee6ef6e51756e843dfd56a125 Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <steve@sakoman.com> 2From: Steve Sakoman <steve@sakoman.com>
3Date: Tue, 19 Jan 2010 21:19:15 -0800 3Date: Tue, 19 Jan 2010 21:19:15 -0800
4Subject: [PATCH 14/45] DSS2: add bootarg for selecting svideo or composite for tv output 4Subject: [PATCH 14/45] DSS2: add bootarg for selecting svideo or composite for tv output
@@ -10,7 +10,7 @@ also add pal-16 and ntsc-16 omapfb.mode settings for 16bpp
10 2 files changed, 31 insertions(+), 1 deletions(-) 10 2 files changed, 31 insertions(+), 1 deletions(-)
11 11
12diff --git a/drivers/video/omap2/dss/venc.c b/drivers/video/omap2/dss/venc.c 12diff --git a/drivers/video/omap2/dss/venc.c b/drivers/video/omap2/dss/venc.c
13index 1127e85..53fa54e 100644 13index 8be116f..fbfc24b 100644
14--- a/drivers/video/omap2/dss/venc.c 14--- a/drivers/video/omap2/dss/venc.c
15+++ b/drivers/video/omap2/dss/venc.c 15+++ b/drivers/video/omap2/dss/venc.c
16@@ -87,6 +87,11 @@ 16@@ -87,6 +87,11 @@
@@ -25,7 +25,7 @@ index 1127e85..53fa54e 100644
25 struct venc_config { 25 struct venc_config {
26 u32 f_control; 26 u32 f_control;
27 u32 vidout_ctrl; 27 u32 vidout_ctrl;
28@@ -430,6 +435,23 @@ static int venc_panel_probe(struct omap_dss_device *dssdev) 28@@ -432,6 +437,23 @@ static int venc_panel_probe(struct omap_dss_device *dssdev)
29 { 29 {
30 dssdev->panel.timings = omap_dss_pal_timings; 30 dssdev->panel.timings = omap_dss_pal_timings;
31 31
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0015-ISP-add-some-more-from-Leopard-imaging-patch.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0015-ISP-add-some-more-from-Leopard-imaging-patch.patch
index ce578803..f8030bbd 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0015-ISP-add-some-more-from-Leopard-imaging-patch.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0015-ISP-add-some-more-from-Leopard-imaging-patch.patch
@@ -1,4 +1,4 @@
1From a30000387ff4ec1ab0ca46c2429bfd184210bb24 Mon Sep 17 00:00:00 2001 1From 739ec82561686ad0c5cc8befef3bcd74339d205e Mon Sep 17 00:00:00 2001
2From: Koen Kooi <k-kooi@ti.com> 2From: Koen Kooi <k-kooi@ti.com>
3Date: Thu, 11 Feb 2010 21:34:00 +0100 3Date: Thu, 11 Feb 2010 21:34:00 +0100
4Subject: [PATCH 15/45] ISP: add some more from Leopard imaging patch 4Subject: [PATCH 15/45] ISP: add some more from Leopard imaging patch
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0016-ARM-OMAP-Overo-Add-support-for-second-ethernet-port.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0016-ARM-OMAP-Overo-Add-support-for-second-ethernet-port.patch
index 923efee1..4b9bd215 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0016-ARM-OMAP-Overo-Add-support-for-second-ethernet-port.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0016-ARM-OMAP-Overo-Add-support-for-second-ethernet-port.patch
@@ -1,4 +1,4 @@
1From 0edbb992b0bc4e6a1b39d760695a4857b9b7ffa7 Mon Sep 17 00:00:00 2001 1From 1fc84dc95abaf51294efa10fe111d65bc0b08483 Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <sakoman@gmail.com> 2From: Steve Sakoman <sakoman@gmail.com>
3Date: Tue, 15 Dec 2009 14:59:42 -0800 3Date: Tue, 15 Dec 2009 14:59:42 -0800
4Subject: [PATCH 16/45] ARM: OMAP: Overo: Add support for second ethernet port 4Subject: [PATCH 16/45] ARM: OMAP: Overo: Add support for second ethernet port
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0017-drivers-net-smsc911x-return-ENODEV-if-device-is-not-.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0017-drivers-net-smsc911x-return-ENODEV-if-device-is-not-.patch
index 89812cc4..40fbbff1 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0017-drivers-net-smsc911x-return-ENODEV-if-device-is-not-.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0017-drivers-net-smsc911x-return-ENODEV-if-device-is-not-.patch
@@ -1,4 +1,4 @@
1From 5c527b02d8511b5210bdddc6fcfd009bfcaff3d7 Mon Sep 17 00:00:00 2001 1From f6084470f7861f9cc05faec2a8f8825ec55f7022 Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <sakoman@gmail.com> 2From: Steve Sakoman <sakoman@gmail.com>
3Date: Tue, 15 Dec 2009 15:17:44 -0800 3Date: Tue, 15 Dec 2009 15:17:44 -0800
4Subject: [PATCH 17/45] drivers: net: smsc911x: return ENODEV if device is not found 4Subject: [PATCH 17/45] drivers: net: smsc911x: return ENODEV if device is not found
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0018-drivers-input-touchscreen-ads7846-return-ENODEV-if-d.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0018-drivers-input-touchscreen-ads7846-return-ENODEV-if-d.patch
index c8bfc342..1ee7f324 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0018-drivers-input-touchscreen-ads7846-return-ENODEV-if-d.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0018-drivers-input-touchscreen-ads7846-return-ENODEV-if-d.patch
@@ -1,4 +1,4 @@
1From 88b6ac2d3b90cc8eb8d130673c96645bb439e47c Mon Sep 17 00:00:00 2001 1From 56f59d080226a7a6a033e7f20e8a41d1c327e5a1 Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <sakoman@gmail.com> 2From: Steve Sakoman <sakoman@gmail.com>
3Date: Tue, 15 Dec 2009 15:24:10 -0800 3Date: Tue, 15 Dec 2009 15:24:10 -0800
4Subject: [PATCH 18/45] drivers: input: touchscreen: ads7846: return ENODEV if device is not found 4Subject: [PATCH 18/45] drivers: input: touchscreen: ads7846: return ENODEV if device is not found
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0019-drivers-mfd-add-twl4030-madc-driver.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0019-drivers-mfd-add-twl4030-madc-driver.patch
index 51252a3e..55c5e191 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0019-drivers-mfd-add-twl4030-madc-driver.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0019-drivers-mfd-add-twl4030-madc-driver.patch
@@ -1,6 +1,6 @@
1From 0aee5eef478b55bf987c45ced3365099e28698cb Mon Sep 17 00:00:00 2001 1From b9270dc07b1b66cce33580bca6276c20f1bf68d2 Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <steve@sakoman.com> 2From: Steve Sakoman <steve@sakoman.com>
3Date: Thu, 17 Dec 2009 14:19:34 -0800 3Date: Wed, 19 Jan 2011 16:06:42 +0100
4Subject: [PATCH 19/45] drivers: mfd: add twl4030 madc driver 4Subject: [PATCH 19/45] drivers: mfd: add twl4030 madc driver
5 5
6--- 6---
@@ -11,13 +11,13 @@ Subject: [PATCH 19/45] drivers: mfd: add twl4030 madc driver
11 create mode 100644 drivers/mfd/twl4030-madc.c 11 create mode 100644 drivers/mfd/twl4030-madc.c
12 12
13diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig 13diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
14index 8782978..aefdd66 100644 14index 306b346..6221146 100644
15--- a/drivers/mfd/Kconfig 15--- a/drivers/mfd/Kconfig
16+++ b/drivers/mfd/Kconfig 16+++ b/drivers/mfd/Kconfig
17@@ -135,6 +135,27 @@ config TWL4030_CODEC 17@@ -148,6 +148,27 @@ config TWL4030_CODEC
18 select MFD_CORE
19 default n 18 default n
20 19
20
21+config TWL4030_MADC 21+config TWL4030_MADC
22+ tristate "TWL4030 MADC Driver" 22+ tristate "TWL4030 MADC Driver"
23+ depends on TWL4030_CORE 23+ depends on TWL4030_CORE
@@ -43,7 +43,7 @@ index 8782978..aefdd66 100644
43 bool 43 bool
44 default n 44 default n
45diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile 45diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile
46index ca2f2c4..ec9c4f2 100644 46index 85dc3a7..44350e7 100644
47--- a/drivers/mfd/Makefile 47--- a/drivers/mfd/Makefile
48+++ b/drivers/mfd/Makefile 48+++ b/drivers/mfd/Makefile
49@@ -29,6 +29,7 @@ obj-$(CONFIG_MENELAUS) += menelaus.o 49@@ -29,6 +29,7 @@ obj-$(CONFIG_MENELAUS) += menelaus.o
@@ -52,7 +52,7 @@ index ca2f2c4..ec9c4f2 100644
52 obj-$(CONFIG_TWL4030_CODEC) += twl4030-codec.o 52 obj-$(CONFIG_TWL4030_CODEC) += twl4030-codec.o
53+obj-$(CONFIG_TWL4030_MADC) += twl4030-madc.o 53+obj-$(CONFIG_TWL4030_MADC) += twl4030-madc.o
54 54
55 obj-$(CONFIG_MFD_MC13783) += mc13783-core.o 55 obj-$(CONFIG_TPS65910_CORE) += tps65910-core.o
56 56
57diff --git a/drivers/mfd/twl4030-madc.c b/drivers/mfd/twl4030-madc.c 57diff --git a/drivers/mfd/twl4030-madc.c b/drivers/mfd/twl4030-madc.c
58new file mode 100644 58new file mode 100644
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0020-ARM-OMAP-Add-missing-twl4030-madc-header-file.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0020-ARM-OMAP-Add-missing-twl4030-madc-header-file.patch
index 87ce3188..0e1bdaf7 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0020-ARM-OMAP-Add-missing-twl4030-madc-header-file.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0020-ARM-OMAP-Add-missing-twl4030-madc-header-file.patch
@@ -1,4 +1,4 @@
1From d93f9d5e636931519fb440cf8ad493c95bfaf5ca Mon Sep 17 00:00:00 2001 1From b13ea241d699a10e3f5347a90bc3d31329f3601d Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <steve@sakoman.com> 2From: Steve Sakoman <steve@sakoman.com>
3Date: Thu, 17 Dec 2009 15:54:58 -0800 3Date: Thu, 17 Dec 2009 15:54:58 -0800
4Subject: [PATCH 20/45] ARM: OMAP: Add missing twl4030 madc header file 4Subject: [PATCH 20/45] ARM: OMAP: Add missing twl4030 madc header file
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0021-ARM-OMAP-Add-twl4030-madc-support-to-Overo.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0021-ARM-OMAP-Add-twl4030-madc-support-to-Overo.patch
index 471d07d2..e1515e16 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0021-ARM-OMAP-Add-twl4030-madc-support-to-Overo.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0021-ARM-OMAP-Add-twl4030-madc-support-to-Overo.patch
@@ -1,4 +1,4 @@
1From bdde1d2b9726ebf0dd74f6dad0dfc858333ca784 Mon Sep 17 00:00:00 2001 1From 6b34060f2a665d94e953a7a9b3d66a79e1736cd6 Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <steve@sakoman.com> 2From: Steve Sakoman <steve@sakoman.com>
3Date: Thu, 17 Dec 2009 14:27:15 -0800 3Date: Thu, 17 Dec 2009 14:27:15 -0800
4Subject: [PATCH 21/45] ARM: OMAP: Add twl4030 madc support to Overo 4Subject: [PATCH 21/45] ARM: OMAP: Add twl4030 madc support to Overo
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0022-ARM-OMAP-Add-twl4030-madc-support-to-Beagle.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0022-ARM-OMAP-Add-twl4030-madc-support-to-Beagle.patch
index be53fdaf..48e777ba 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0022-ARM-OMAP-Add-twl4030-madc-support-to-Beagle.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0022-ARM-OMAP-Add-twl4030-madc-support-to-Beagle.patch
@@ -1,4 +1,4 @@
1From 7775140814ed11c0332a57ed30f69c6da0ab466d Mon Sep 17 00:00:00 2001 1From 04101f4527b88fbd540fc89f2a8af06d26030fd1 Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <steve@sakoman.com> 2From: Steve Sakoman <steve@sakoman.com>
3Date: Thu, 17 Dec 2009 14:32:36 -0800 3Date: Thu, 17 Dec 2009 14:32:36 -0800
4Subject: [PATCH 22/45] ARM: OMAP: Add twl4030 madc support to Beagle 4Subject: [PATCH 22/45] ARM: OMAP: Add twl4030 madc support to Beagle
@@ -8,7 +8,7 @@ Subject: [PATCH 22/45] ARM: OMAP: Add twl4030 madc support to Beagle
8 1 files changed, 5 insertions(+), 0 deletions(-) 8 1 files changed, 5 insertions(+), 0 deletions(-)
9 9
10diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 10diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
11index cb11b07..c4ebaab 100644 11index b3c8cb7..dd830b1 100644
12--- a/arch/arm/mach-omap2/board-omap3beagle.c 12--- a/arch/arm/mach-omap2/board-omap3beagle.c
13+++ b/arch/arm/mach-omap2/board-omap3beagle.c 13+++ b/arch/arm/mach-omap2/board-omap3beagle.c
14@@ -473,6 +473,10 @@ static struct twl4030_codec_data beagle_codec_data = { 14@@ -473,6 +473,10 @@ static struct twl4030_codec_data beagle_codec_data = {
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0023-netdev-rt73usb-add-vendor-device-ID-for-Ceiva-Wirele.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0023-netdev-rt73usb-add-vendor-device-ID-for-Ceiva-Wirele.patch
index ec26ee4d..e5ba1d1d 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0023-netdev-rt73usb-add-vendor-device-ID-for-Ceiva-Wirele.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0023-netdev-rt73usb-add-vendor-device-ID-for-Ceiva-Wirele.patch
@@ -1,4 +1,4 @@
1From c59df25a1d1ad6c7fbb11fac6e7404d05639f4bd Mon Sep 17 00:00:00 2001 1From 6c58da582504f23256ec656a03706a1df438f291 Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <steve@sakoman.com> 2From: Steve Sakoman <steve@sakoman.com>
3Date: Tue, 19 Jan 2010 20:00:46 -0800 3Date: Tue, 19 Jan 2010 20:00:46 -0800
4Subject: [PATCH 23/45] netdev: rt73usb - add vendor/device ID for Ceiva Wireless PartNo 81726-00702 4Subject: [PATCH 23/45] netdev: rt73usb - add vendor/device ID for Ceiva Wireless PartNo 81726-00702
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0024-mmc-don-t-display-single-block-read-console-messages.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0024-mmc-don-t-display-single-block-read-console-messages.patch
index 10bdffa0..4b4e54fa 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0024-mmc-don-t-display-single-block-read-console-messages.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0024-mmc-don-t-display-single-block-read-console-messages.patch
@@ -1,4 +1,4 @@
1From 1af64d89d41aae6ab26b61c23060a02af72b6fb2 Mon Sep 17 00:00:00 2001 1From b17b11c0f8d56f868da267641486b62e1a44790b Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <steve@sakoman.com> 2From: Steve Sakoman <steve@sakoman.com>
3Date: Mon, 4 Jan 2010 19:20:25 -0800 3Date: Mon, 4 Jan 2010 19:20:25 -0800
4Subject: [PATCH 24/45] mmc: don't display single block read console messages 4Subject: [PATCH 24/45] mmc: don't display single block read console messages
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0025-ARM-OMAP2-mmc-twl4030-move-clock-input-selection-pri.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0025-ARM-OMAP2-mmc-twl4030-move-clock-input-selection-pri.patch
index 358ba723..78666fb4 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0025-ARM-OMAP2-mmc-twl4030-move-clock-input-selection-pri.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0025-ARM-OMAP2-mmc-twl4030-move-clock-input-selection-pri.patch
@@ -1,4 +1,4 @@
1From 664b6e1a8f1bcd0bed227b367f7ed029a5be0fa7 Mon Sep 17 00:00:00 2001 1From 297f577635fe0182e596112c33b213fd22b4efa7 Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <steve@sakoman.com> 2From: Steve Sakoman <steve@sakoman.com>
3Date: Sun, 24 Jan 2010 09:33:56 -0800 3Date: Sun, 24 Jan 2010 09:33:56 -0800
4Subject: [PATCH 25/45] ARM: OMAP2: mmc-twl4030: move clock input selection prior to vcc test 4Subject: [PATCH 25/45] ARM: OMAP2: mmc-twl4030: move clock input selection prior to vcc test
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0026-board-overo-add-PM-code-and-sync-with-http-www.sakom.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0026-board-overo-add-PM-code-and-sync-with-http-www.sakom.patch
index 41e3846b..53bfbe0d 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0026-board-overo-add-PM-code-and-sync-with-http-www.sakom.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0026-board-overo-add-PM-code-and-sync-with-http-www.sakom.patch
@@ -1,4 +1,4 @@
1From 2b3cfbcd286a0c1b0df90b7af7982c772031abd8 Mon Sep 17 00:00:00 2001 1From 1f91f7f6dea0268e23d5e3e78b6c8dc5ed245313 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net> 2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Sun, 14 Feb 2010 12:52:02 +0100 3Date: Sun, 14 Feb 2010 12:52:02 +0100
4Subject: [PATCH 26/45] board-overo: add PM code and sync with http://www.sakoman.com/cgi-bin/gitweb.cgi?p=linux-omap-2.6.git;a=shortlog;h=refs/heads/omap3-2.6.32 4Subject: [PATCH 26/45] board-overo: add PM code and sync with http://www.sakoman.com/cgi-bin/gitweb.cgi?p=linux-omap-2.6.git;a=shortlog;h=refs/heads/omap3-2.6.32
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0027-twl4030-madc-adjust-for-twl4030-twl-api-changes.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0027-twl4030-madc-adjust-for-twl4030-twl-api-changes.patch
index 3b741c0a..1f8fb069 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0027-twl4030-madc-adjust-for-twl4030-twl-api-changes.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0027-twl4030-madc-adjust-for-twl4030-twl-api-changes.patch
@@ -1,4 +1,4 @@
1From ea14002af533b155db59e15b5bccc6374aa8a5d1 Mon Sep 17 00:00:00 2001 1From e102ffa8fcc1586ed7d4c1390b7b2c7d7d359c40 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net> 2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Mon, 15 Feb 2010 14:20:51 +0100 3Date: Mon, 15 Feb 2010 14:20:51 +0100
4Subject: [PATCH 27/45] twl4030-madc: adjust for twl4030 -> twl api changes 4Subject: [PATCH 27/45] twl4030-madc: adjust for twl4030 -> twl api changes
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0028-OMAP-DSS2-Re-add-support-for-Samsung-lte430wq-f0c-pa.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0028-OMAP-DSS2-Re-add-support-for-Samsung-lte430wq-f0c-pa.patch
index 9857d614..58f4701a 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0028-OMAP-DSS2-Re-add-support-for-Samsung-lte430wq-f0c-pa.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0028-OMAP-DSS2-Re-add-support-for-Samsung-lte430wq-f0c-pa.patch
@@ -1,4 +1,4 @@
1From fea02525d71cc64fb84f011768a5f5d0bb248dc7 Mon Sep 17 00:00:00 2001 1From 5e227dbb55a40c616cca8a2345a159310c729897 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net> 2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Mon, 15 Feb 2010 14:38:00 +0100 3Date: Mon, 15 Feb 2010 14:38:00 +0100
4Subject: [PATCH 28/45] OMAP: DSS2: (Re)add support for Samsung lte430wq-f0c panel 4Subject: [PATCH 28/45] OMAP: DSS2: (Re)add support for Samsung lte430wq-f0c panel
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0029-OMAP-DSS2-Add-support-for-LG-Philips-LB035Q02-panel.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0029-OMAP-DSS2-Add-support-for-LG-Philips-LB035Q02-panel.patch
index e07a1ac0..4f24fdd9 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0029-OMAP-DSS2-Add-support-for-LG-Philips-LB035Q02-panel.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0029-OMAP-DSS2-Add-support-for-LG-Philips-LB035Q02-panel.patch
@@ -1,4 +1,4 @@
1From 528f8c676d21e4eea4599226168f25e684f99eae Mon Sep 17 00:00:00 2001 1From e960b2c16c24198a669a7c49e6282333faa74a3e Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <steve@sakoman.com> 2From: Steve Sakoman <steve@sakoman.com>
3Date: Thu, 17 Dec 2009 15:05:30 -0800 3Date: Thu, 17 Dec 2009 15:05:30 -0800
4Subject: [PATCH 29/45] OMAP: DSS2: Add support for LG Philips LB035Q02 panel 4Subject: [PATCH 29/45] OMAP: DSS2: Add support for LG Philips LB035Q02 panel
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0030-Fix-for-bus-width-which-improves-SD-card-s-peformanc.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0030-Fix-for-bus-width-which-improves-SD-card-s-peformanc.patch
index a19b3beb..306389e7 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0030-Fix-for-bus-width-which-improves-SD-card-s-peformanc.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0030-Fix-for-bus-width-which-improves-SD-card-s-peformanc.patch
@@ -1,4 +1,4 @@
1From 5615ccd89eb521c2365992bdb7c08879fe039daa Mon Sep 17 00:00:00 2001 1From ed355dc59a30638b914152d52752d5e0ca06ecbd Mon Sep 17 00:00:00 2001
2From: Kishore Kadiyala <kishore.kadiyala@ti.com> 2From: Kishore Kadiyala <kishore.kadiyala@ti.com>
3Date: Wed, 17 Feb 2010 19:34:47 +0530 3Date: Wed, 17 Feb 2010 19:34:47 +0530
4Subject: [PATCH 30/45] Fix for bus width which improves SD card's peformance. 4Subject: [PATCH 30/45] Fix for bus width which improves SD card's peformance.
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0031-ARM-VFP-add-support-to-sync-the-VFP-state-of-the-cur.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0031-ARM-VFP-add-support-to-sync-the-VFP-state-of-the-cur.patch
index 85952f28..28d9f376 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0031-ARM-VFP-add-support-to-sync-the-VFP-state-of-the-cur.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0031-ARM-VFP-add-support-to-sync-the-VFP-state-of-the-cur.patch
@@ -1,4 +1,4 @@
1From 14b44ddc3119dc497b4d17901884af4f068c5ada Mon Sep 17 00:00:00 2001 1From b366c2810c736d8d544cf261f3354eebaf5e5655 Mon Sep 17 00:00:00 2001
2From: Imre Deak <imre.deak@nokia.com> 2From: Imre Deak <imre.deak@nokia.com>
3Date: Thu, 4 Feb 2010 21:38:02 +0200 3Date: Thu, 4 Feb 2010 21:38:02 +0200
4Subject: [PATCH 31/45] ARM: VFP: add support to sync the VFP state of the current thread 4Subject: [PATCH 31/45] ARM: VFP: add support to sync the VFP state of the current thread
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0032-ARM-VFP-preserve-the-HW-context-when-calling-signal-.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0032-ARM-VFP-preserve-the-HW-context-when-calling-signal-.patch
index 658c9755..f2571306 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0032-ARM-VFP-preserve-the-HW-context-when-calling-signal-.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0032-ARM-VFP-preserve-the-HW-context-when-calling-signal-.patch
@@ -1,4 +1,4 @@
1From 7cdc806843b28f0f35dd41fb79aac815773a3550 Mon Sep 17 00:00:00 2001 1From 1be18045f852e78bf78d2042a5210c53d830f81b Mon Sep 17 00:00:00 2001
2From: Imre Deak <imre.deak@nokia.com> 2From: Imre Deak <imre.deak@nokia.com>
3Date: Thu, 4 Feb 2010 21:38:30 +0200 3Date: Thu, 4 Feb 2010 21:38:30 +0200
4Subject: [PATCH 32/45] ARM: VFP: preserve the HW context when calling signal handlers 4Subject: [PATCH 32/45] ARM: VFP: preserve the HW context when calling signal handlers
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0033-Switch-SGX-clocks-to-200MHz-on-DM37xx-OMAP36xx.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0033-Switch-SGX-clocks-to-200MHz-on-DM37xx-OMAP36xx.patch
index 00e0b643..5711d393 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0033-Switch-SGX-clocks-to-200MHz-on-DM37xx-OMAP36xx.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0033-Switch-SGX-clocks-to-200MHz-on-DM37xx-OMAP36xx.patch
@@ -1,4 +1,4 @@
1From 19f0835c3c8fa52280ae74bbc23dce747708f4af Mon Sep 17 00:00:00 2001 1From 754249937d4ea60207bd85d172240840caa8fa2c Mon Sep 17 00:00:00 2001
2From: Prabindh Sundareson <prabu@ti.com> 2From: Prabindh Sundareson <prabu@ti.com>
3Date: Wed, 3 Mar 2010 15:45:35 +0100 3Date: Wed, 3 Mar 2010 15:45:35 +0100
4Subject: [PATCH 33/45] Switch SGX clocks to 200MHz on DM37xx/OMAP36xx 4Subject: [PATCH 33/45] Switch SGX clocks to 200MHz on DM37xx/OMAP36xx
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0034-modedb.c-add-proper-720p60-mode.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0034-modedb.c-add-proper-720p60-mode.patch
index d2298e0b..e7d4b25c 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0034-modedb.c-add-proper-720p60-mode.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0034-modedb.c-add-proper-720p60-mode.patch
@@ -1,4 +1,4 @@
1From 2f4193b92096394cfd56e3757c8d6ca8e13d5c4d Mon Sep 17 00:00:00 2001 1From 48fe0d059d9bd5a8486309db26c7780fe3044626 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net> 2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Mon, 8 Mar 2010 14:38:31 +0100 3Date: Mon, 8 Mar 2010 14:38:31 +0100
4Subject: [PATCH 34/45] modedb.c: add proper 720p60 mode 4Subject: [PATCH 34/45] modedb.c: add proper 720p60 mode
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0035-RTC-add-support-for-backup-battery-recharge.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0035-RTC-add-support-for-backup-battery-recharge.patch
index 0f76d7ae..6daabafa 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0035-RTC-add-support-for-backup-battery-recharge.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0035-RTC-add-support-for-backup-battery-recharge.patch
@@ -1,4 +1,4 @@
1From 237492efd365a0f69d41d818fc368f5621aa8f3b Mon Sep 17 00:00:00 2001 1From eade32775fc8fc3c25c9bdace1828fe649a31e0a Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <steve@sakoman.com> 2From: Steve Sakoman <steve@sakoman.com>
3Date: Thu, 4 Feb 2010 12:26:22 -0800 3Date: Thu, 4 Feb 2010 12:26:22 -0800
4Subject: [PATCH 35/45] RTC: add support for backup battery recharge 4Subject: [PATCH 35/45] RTC: add support for backup battery recharge
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0036-ARM-Add-prompt-for-CONFIG_ALIGNMENT_TRAP.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0036-ARM-Add-prompt-for-CONFIG_ALIGNMENT_TRAP.patch
index 9e32d62d..2505f428 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0036-ARM-Add-prompt-for-CONFIG_ALIGNMENT_TRAP.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0036-ARM-Add-prompt-for-CONFIG_ALIGNMENT_TRAP.patch
@@ -1,4 +1,4 @@
1From aa2753fcce815b4a86be5c95238cf029a948e5ff Mon Sep 17 00:00:00 2001 1From f4902a8ee1bbc739a60dcd970705c5665e98691f Mon Sep 17 00:00:00 2001
2From: Mans Rullgard <mans@mansr.com> 2From: Mans Rullgard <mans@mansr.com>
3Date: Mon, 13 Oct 2008 20:32:16 +0100 3Date: Mon, 13 Oct 2008 20:32:16 +0100
4Subject: [PATCH 36/45] ARM: Add prompt for CONFIG_ALIGNMENT_TRAP 4Subject: [PATCH 36/45] ARM: Add prompt for CONFIG_ALIGNMENT_TRAP
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0037-ARM-Print-warning-on-alignment-trap-in-kernel-mode.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0037-ARM-Print-warning-on-alignment-trap-in-kernel-mode.patch
index 5fb8b0dc..9594edd2 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0037-ARM-Print-warning-on-alignment-trap-in-kernel-mode.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0037-ARM-Print-warning-on-alignment-trap-in-kernel-mode.patch
@@ -1,4 +1,4 @@
1From a265396d38d93b371dbba020fb64aee42b4d4905 Mon Sep 17 00:00:00 2001 1From 310ec494b3c860e657290648821dbc98da9fff90 Mon Sep 17 00:00:00 2001
2From: Mans Rullgard <mans@mansr.com> 2From: Mans Rullgard <mans@mansr.com>
3Date: Sat, 28 Mar 2009 13:21:55 +0000 3Date: Sat, 28 Mar 2009 13:21:55 +0000
4Subject: [PATCH 37/45] ARM: Print warning on alignment trap in kernel mode 4Subject: [PATCH 37/45] ARM: Print warning on alignment trap in kernel mode
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0038-ARM-Expose-some-CPU-control-registers-via-sysfs.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0038-ARM-Expose-some-CPU-control-registers-via-sysfs.patch
index 0dc8ff65..0b19cb70 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0038-ARM-Expose-some-CPU-control-registers-via-sysfs.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0038-ARM-Expose-some-CPU-control-registers-via-sysfs.patch
@@ -1,4 +1,4 @@
1From b2792916bb10bdd3093bf88ca62064a3b10ad877 Mon Sep 17 00:00:00 2001 1From 9eeb533964f73b661d23f7b145b96aa5d247e950 Mon Sep 17 00:00:00 2001
2From: Mans Rullgard <mans@mansr.com> 2From: Mans Rullgard <mans@mansr.com>
3Date: Tue, 10 Nov 2009 00:39:21 +0000 3Date: Tue, 10 Nov 2009 00:39:21 +0000
4Subject: [PATCH 38/45] ARM: Expose some CPU control registers via sysfs 4Subject: [PATCH 38/45] ARM: Expose some CPU control registers via sysfs
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0039-ARM-Add-option-to-allow-userspace-PLE-access.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0039-ARM-Add-option-to-allow-userspace-PLE-access.patch
index fb6e86fd..f72c477f 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0039-ARM-Add-option-to-allow-userspace-PLE-access.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0039-ARM-Add-option-to-allow-userspace-PLE-access.patch
@@ -1,4 +1,4 @@
1From f9ab0732a5302bd52026f92430c91b253aa4111b Mon Sep 17 00:00:00 2001 1From 2f716593e3f11859bf98c997183c47587c2dba76 Mon Sep 17 00:00:00 2001
2From: Mans Rullgard <mans@mansr.com> 2From: Mans Rullgard <mans@mansr.com>
3Date: Tue, 10 Nov 2009 00:41:54 +0000 3Date: Tue, 10 Nov 2009 00:41:54 +0000
4Subject: [PATCH 39/45] ARM: Add option to allow userspace PLE access 4Subject: [PATCH 39/45] ARM: Add option to allow userspace PLE access
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0040-ARM-Add-option-to-allow-userspace-access-to-performa.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0040-ARM-Add-option-to-allow-userspace-access-to-performa.patch
index bcd9c9d2..5cecd3fa 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0040-ARM-Add-option-to-allow-userspace-access-to-performa.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0040-ARM-Add-option-to-allow-userspace-access-to-performa.patch
@@ -1,4 +1,4 @@
1From 6efdc547be5f685b4f29b05eba73cb56441fd898 Mon Sep 17 00:00:00 2001 1From dd1e35157bfd32303aaf87b1ec3f85d8dd1c0014 Mon Sep 17 00:00:00 2001
2From: Mans Rullgard <mans@mansr.com> 2From: Mans Rullgard <mans@mansr.com>
3Date: Tue, 10 Nov 2009 00:52:56 +0000 3Date: Tue, 10 Nov 2009 00:52:56 +0000
4Subject: [PATCH 40/45] ARM: Add option to allow userspace access to performance counters 4Subject: [PATCH 40/45] ARM: Add option to allow userspace access to performance counters
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0041-ARM-Expose-some-PMON-registers-through-sysfs.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0041-ARM-Expose-some-PMON-registers-through-sysfs.patch
index 3ceac2fe..c5ee454c 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0041-ARM-Expose-some-PMON-registers-through-sysfs.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0041-ARM-Expose-some-PMON-registers-through-sysfs.patch
@@ -1,4 +1,4 @@
1From 51643be36a5b45636cd7208a81a09638d7913604 Mon Sep 17 00:00:00 2001 1From 13fdb12b3744ca0eaf00d5339919b17ce933c6d5 Mon Sep 17 00:00:00 2001
2From: Mans Rullgard <mans@mansr.com> 2From: Mans Rullgard <mans@mansr.com>
3Date: Sat, 28 Mar 2009 13:05:02 +0000 3Date: Sat, 28 Mar 2009 13:05:02 +0000
4Subject: [PATCH 41/45] ARM: Expose some PMON registers through sysfs 4Subject: [PATCH 41/45] ARM: Expose some PMON registers through sysfs
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0042-musb-allow-host-io-without-gadget-module.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0042-musb-allow-host-io-without-gadget-module.patch
index 7a066d42..65c12c8e 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0042-musb-allow-host-io-without-gadget-module.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0042-musb-allow-host-io-without-gadget-module.patch
@@ -1,4 +1,4 @@
1From 38d07e3ffe848680df123f7422ec4b150bbc8f68 Mon Sep 17 00:00:00 2001 1From 97283f52ea7fbb9b611a65d031c997e4ae44d465 Mon Sep 17 00:00:00 2001
2From: Ajay Kumar Gupta <ajay.gupta@ti.com> 2From: Ajay Kumar Gupta <ajay.gupta@ti.com>
3Date: Wed, 14 Apr 2010 16:08:37 +0530 3Date: Wed, 14 Apr 2010 16:08:37 +0530
4Subject: [PATCH 42/45] musb: allow host io without gadget module 4Subject: [PATCH 42/45] musb: allow host io without gadget module
@@ -10,7 +10,7 @@ Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
10 2 files changed, 9 insertions(+), 31 deletions(-) 10 2 files changed, 9 insertions(+), 31 deletions(-)
11 11
12diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c 12diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
13index 98874c5..a448fa6 100644 13index 71ec7e8..9988553 100644
14--- a/drivers/usb/musb/musb_core.c 14--- a/drivers/usb/musb/musb_core.c
15+++ b/drivers/usb/musb/musb_core.c 15+++ b/drivers/usb/musb/musb_core.c
16@@ -2101,10 +2101,12 @@ bad_config: 16@@ -2101,10 +2101,12 @@ bad_config:
@@ -42,7 +42,7 @@ index 98874c5..a448fa6 100644
42 musb->xceiv->default_a = 0; 42 musb->xceiv->default_a = 0;
43 musb->xceiv->state = OTG_STATE_B_IDLE; 43 musb->xceiv->state = OTG_STATE_B_IDLE;
44diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c 44diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c
45index fd842af..b9ef9f3 100644 45index 454f6db..d0d1cee 100644
46--- a/drivers/usb/musb/musb_gadget.c 46--- a/drivers/usb/musb/musb_gadget.c
47+++ b/drivers/usb/musb/musb_gadget.c 47+++ b/drivers/usb/musb/musb_gadget.c
48@@ -1768,24 +1768,6 @@ int usb_gadget_register_driver(struct usb_gadget_driver *driver) 48@@ -1768,24 +1768,6 @@ int usb_gadget_register_driver(struct usb_gadget_driver *driver)
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0043-MTD-silence-ecc-errors-on-mtdblock0.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0043-MTD-silence-ecc-errors-on-mtdblock0.patch
index 6f210bee..b80e3d62 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0043-MTD-silence-ecc-errors-on-mtdblock0.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0043-MTD-silence-ecc-errors-on-mtdblock0.patch
@@ -1,4 +1,4 @@
1From 089d3a51f0467d68c42b2df88a6f9a0488aada47 Mon Sep 17 00:00:00 2001 1From 2379628bcd6c08e472020c78019ce8ea3fce3027 Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <steve@sakoman.com> 2From: Steve Sakoman <steve@sakoman.com>
3Date: Mon, 26 Apr 2010 11:17:26 -0700 3Date: Mon, 26 Apr 2010 11:17:26 -0700
4Subject: [PATCH 43/45] MTD: silence ecc errors on mtdblock0 4Subject: [PATCH 43/45] MTD: silence ecc errors on mtdblock0
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0044-ARM-OMAP-beagle-every-known-beagle-except-revB-uses-.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0044-ARM-OMAP-beagle-every-known-beagle-except-revB-uses-.patch
index a558fe3c..5656c356 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0044-ARM-OMAP-beagle-every-known-beagle-except-revB-uses-.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0044-ARM-OMAP-beagle-every-known-beagle-except-revB-uses-.patch
@@ -1,4 +1,4 @@
1From 2db9c35d01af6f4b3e44fac3466b5d6b62e52232 Mon Sep 17 00:00:00 2001 1From 71886bfebaf13c74a55f11264096286a554e5a3d Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net> 2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Thu, 13 May 2010 21:43:08 +0200 3Date: Thu, 13 May 2010 21:43:08 +0200
4Subject: [PATCH 44/45] ARM: OMAP: beagle: every known beagle (except revB) uses 2 chipselects so don't use NULL for the second chipselect timings 4Subject: [PATCH 44/45] ARM: OMAP: beagle: every known beagle (except revB) uses 2 chipselects so don't use NULL for the second chipselect timings
@@ -8,7 +8,7 @@ Subject: [PATCH 44/45] ARM: OMAP: beagle: every known beagle (except revB) uses
8 1 files changed, 2 insertions(+), 2 deletions(-) 8 1 files changed, 2 insertions(+), 2 deletions(-)
9 9
10diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 10diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
11index c4ebaab..4aa91cb 100644 11index dd830b1..078e026 100644
12--- a/arch/arm/mach-omap2/board-omap3beagle.c 12--- a/arch/arm/mach-omap2/board-omap3beagle.c
13+++ b/arch/arm/mach-omap2/board-omap3beagle.c 13+++ b/arch/arm/mach-omap2/board-omap3beagle.c
14@@ -614,7 +614,7 @@ static void __init omap3_beagle_init_irq(void) 14@@ -614,7 +614,7 @@ static void __init omap3_beagle_init_irq(void)
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/0045-ARM-OMAP-beagle-add-support-for-beagleFPGA-expansion.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/0045-ARM-OMAP-beagle-add-support-for-beagleFPGA-expansion.patch
index 0278c4e6..2a48a301 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/0045-ARM-OMAP-beagle-add-support-for-beagleFPGA-expansion.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/0045-ARM-OMAP-beagle-add-support-for-beagleFPGA-expansion.patch
@@ -1,4 +1,4 @@
1From 46df6bfeaff6f64bfae3fd9ac930bd6c768a352f Mon Sep 17 00:00:00 2001 1From 1ebb6f864a831fc8efebe4a7a9f65d07fa31466a Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net> 2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Sat, 15 May 2010 21:47:32 +0200 3Date: Sat, 15 May 2010 21:47:32 +0200
4Subject: [PATCH 45/45] ARM: OMAP: beagle: add support for beagleFPGA expansionboard: http://members.cox.net/ebrombaugh1/embedded/beagle/beagle_fpga.html 4Subject: [PATCH 45/45] ARM: OMAP: beagle: add support for beagleFPGA expansionboard: http://members.cox.net/ebrombaugh1/embedded/beagle/beagle_fpga.html
@@ -8,7 +8,7 @@ Subject: [PATCH 45/45] ARM: OMAP: beagle: add support for beagleFPGA expansionbo
8 1 files changed, 26 insertions(+), 0 deletions(-) 8 1 files changed, 26 insertions(+), 0 deletions(-)
9 9
10diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 10diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
11index 4aa91cb..93b9e5f 100644 11index 078e026..b313350 100644
12--- a/arch/arm/mach-omap2/board-omap3beagle.c 12--- a/arch/arm/mach-omap2/board-omap3beagle.c
13+++ b/arch/arm/mach-omap2/board-omap3beagle.c 13+++ b/arch/arm/mach-omap2/board-omap3beagle.c
14@@ -24,6 +24,7 @@ 14@@ -24,6 +24,7 @@
@@ -52,7 +52,7 @@ index 4aa91cb..93b9e5f 100644
52 static void __init omap3_beagle_init_irq(void) 52 static void __init omap3_beagle_init_irq(void)
53 { 53 {
54 if (cpu_is_omap3630()) 54 if (cpu_is_omap3630())
55@@ -774,6 +794,12 @@ static void __init omap3_beagle_init(void) 55@@ -769,6 +789,12 @@ static void __init omap3_beagle_init(void)
56 gpio_export(162, 1); 56 gpio_export(162, 1);
57 } 57 }
58 58
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/beagleboard/defconfig b/recipes-bsp/linux/linux-omap-psp-2.6.32/beagleboard/defconfig
index eff98b4a..2abbd1a7 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/beagleboard/defconfig
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/beagleboard/defconfig
@@ -1,7 +1,7 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.32 3# Linux kernel version: 2.6.32
4# Wed Jul 21 12:01:38 2010 4# Sun May 1 17:33:44 2011
5# 5#
6CONFIG_ARM=y 6CONFIG_ARM=y
7CONFIG_SYS_SUPPORTS_APM_EMULATION=y 7CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -85,7 +85,7 @@ CONFIG_KALLSYMS=y
85CONFIG_HOTPLUG=y 85CONFIG_HOTPLUG=y
86CONFIG_PRINTK=y 86CONFIG_PRINTK=y
87CONFIG_BUG=y 87CONFIG_BUG=y
88# CONFIG_ELF_CORE is not set 88CONFIG_ELF_CORE=y
89CONFIG_BASE_FULL=y 89CONFIG_BASE_FULL=y
90CONFIG_FUTEX=y 90CONFIG_FUTEX=y
91CONFIG_EPOLL=y 91CONFIG_EPOLL=y
@@ -269,6 +269,7 @@ CONFIG_MACH_OMAP3_BEAGLE=y
269# CONFIG_MACH_OVERO is not set 269# CONFIG_MACH_OVERO is not set
270# CONFIG_MACH_OMAP3EVM is not set 270# CONFIG_MACH_OMAP3EVM is not set
271# CONFIG_MACH_OMAP3517EVM is not set 271# CONFIG_MACH_OMAP3517EVM is not set
272# CONFIG_MACH_CRANEBOARD is not set
272# CONFIG_MACH_OMAP3_PANDORA is not set 273# CONFIG_MACH_OMAP3_PANDORA is not set
273# CONFIG_MACH_OMAP3_TOUCHBOOK is not set 274# CONFIG_MACH_OMAP3_TOUCHBOOK is not set
274# CONFIG_MACH_OMAP_3430SDP is not set 275# CONFIG_MACH_OMAP_3430SDP is not set
@@ -380,9 +381,9 @@ CONFIG_CPU_FREQ_TABLE=y
380CONFIG_CPU_FREQ_DEBUG=y 381CONFIG_CPU_FREQ_DEBUG=y
381CONFIG_CPU_FREQ_STAT=y 382CONFIG_CPU_FREQ_STAT=y
382CONFIG_CPU_FREQ_STAT_DETAILS=y 383CONFIG_CPU_FREQ_STAT_DETAILS=y
383# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set 384CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
384# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set 385# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
385CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y 386# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
386# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set 387# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
387# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set 388# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
388CONFIG_CPU_FREQ_GOV_PERFORMANCE=y 389CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
@@ -390,7 +391,9 @@ CONFIG_CPU_FREQ_GOV_POWERSAVE=y
390CONFIG_CPU_FREQ_GOV_USERSPACE=y 391CONFIG_CPU_FREQ_GOV_USERSPACE=y
391CONFIG_CPU_FREQ_GOV_ONDEMAND=y 392CONFIG_CPU_FREQ_GOV_ONDEMAND=y
392CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y 393CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
393# CONFIG_CPU_IDLE is not set 394CONFIG_CPU_IDLE=y
395CONFIG_CPU_IDLE_GOV_LADDER=y
396CONFIG_CPU_IDLE_GOV_MENU=y
394 397
395# 398#
396# Floating point emulation 399# Floating point emulation
@@ -407,6 +410,7 @@ CONFIG_NEON=y
407# Userspace binary formats 410# Userspace binary formats
408# 411#
409CONFIG_BINFMT_ELF=y 412CONFIG_BINFMT_ELF=y
413# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
410CONFIG_HAVE_AOUT=y 414CONFIG_HAVE_AOUT=y
411CONFIG_BINFMT_AOUT=m 415CONFIG_BINFMT_AOUT=m
412CONFIG_BINFMT_MISC=y 416CONFIG_BINFMT_MISC=y
@@ -1617,6 +1621,7 @@ CONFIG_MFD_CORE=y
1617# CONFIG_TPS65010 is not set 1621# CONFIG_TPS65010 is not set
1618CONFIG_TWL4030_CORE=y 1622CONFIG_TWL4030_CORE=y
1619CONFIG_TWL4030_POWER=y 1623CONFIG_TWL4030_POWER=y
1624# CONFIG_TPS65910_CORE is not set
1620CONFIG_TWL4030_CODEC=y 1625CONFIG_TWL4030_CODEC=y
1621# CONFIG_TWL4030_MADC is not set 1626# CONFIG_TWL4030_MADC is not set
1622# CONFIG_MFD_TMIO is not set 1627# CONFIG_MFD_TMIO is not set
@@ -1791,7 +1796,18 @@ CONFIG_VIDEO_OMAP3=y
1791CONFIG_VIDEO_OMAP3_ISP=y 1796CONFIG_VIDEO_OMAP3_ISP=y
1792CONFIG_VIDEO_OMAP34XX_ISP_PREVIEWER=y 1797CONFIG_VIDEO_OMAP34XX_ISP_PREVIEWER=y
1793CONFIG_VIDEO_OMAP34XX_ISP_RESIZER=y 1798CONFIG_VIDEO_OMAP34XX_ISP_RESIZER=y
1794# CONFIG_SOC_CAMERA is not set 1799CONFIG_SOC_CAMERA=y
1800# CONFIG_SOC_CAMERA_MT9M001 is not set
1801# CONFIG_SOC_CAMERA_MT9M111 is not set
1802CONFIG_SOC_CAMERA_MT9P031=m
1803# CONFIG_SOC_CAMERA_MT9T031 is not set
1804# CONFIG_SOC_CAMERA_MT9V022 is not set
1805# CONFIG_SOC_CAMERA_RJ54N1 is not set
1806# CONFIG_SOC_CAMERA_TW9910 is not set
1807# CONFIG_SOC_CAMERA_PLATFORM is not set
1808# CONFIG_SOC_CAMERA_OV772X is not set
1809# CONFIG_SOC_CAMERA_OV9640 is not set
1810# CONFIG_VIDEO_SH_MOBILE_CEU is not set
1795CONFIG_V4L_USB_DRIVERS=y 1811CONFIG_V4L_USB_DRIVERS=y
1796CONFIG_USB_VIDEO_CLASS=m 1812CONFIG_USB_VIDEO_CLASS=m
1797CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y 1813CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
@@ -3021,6 +3037,11 @@ CONFIG_CRYPTO_LZO=y
3021# 3037#
3022CONFIG_CRYPTO_ANSI_CPRNG=m 3038CONFIG_CRYPTO_ANSI_CPRNG=m
3023CONFIG_CRYPTO_HW=y 3039CONFIG_CRYPTO_HW=y
3040
3041#
3042# OCF Configuration
3043#
3044# CONFIG_OCF_OCF is not set
3024CONFIG_BINARY_PRINTF=y 3045CONFIG_BINARY_PRINTF=y
3025 3046
3026# 3047#
@@ -3048,6 +3069,3 @@ CONFIG_HAS_IOMEM=y
3048CONFIG_HAS_IOPORT=y 3069CONFIG_HAS_IOPORT=y
3049CONFIG_HAS_DMA=y 3070CONFIG_HAS_DMA=y
3050CONFIG_NLATTR=y 3071CONFIG_NLATTR=y
3051CONFIG_ELF_CORE=y
3052# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
3053
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0001-mt9t111-first-stab-at-merging-sensor-driver-based-on.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0001-mt9t111-first-stab-at-merging-sensor-driver-based-on.patch
index ccd979c3..bd4a7f88 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0001-mt9t111-first-stab-at-merging-sensor-driver-based-on.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0001-mt9t111-first-stab-at-merging-sensor-driver-based-on.patch
@@ -1,4 +1,4 @@
1From a03a0f8d0c856a152f477efea64e7df1c927c9b1 Mon Sep 17 00:00:00 2001 1From 4e23fe54d7f8ecc1c927d225b1b74e6b00e22997 Mon Sep 17 00:00:00 2001
2From: OpenEmbedded User <oe@OE-builder.(none)> 2From: OpenEmbedded User <oe@OE-builder.(none)>
3Date: Tue, 9 Feb 2010 17:16:13 +0100 3Date: Tue, 9 Feb 2010 17:16:13 +0100
4Subject: [PATCH 01/75] mt9t111: first stab at merging sensor driver based on a patch by Leopard Imaging 4Subject: [PATCH 01/75] mt9t111: first stab at merging sensor driver based on a patch by Leopard Imaging
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0002-mt9t111-Fix-all-checkpatch-errors.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0002-mt9t111-Fix-all-checkpatch-errors.patch
index a44bd482..4fa44f00 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0002-mt9t111-Fix-all-checkpatch-errors.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0002-mt9t111-Fix-all-checkpatch-errors.patch
@@ -1,4 +1,4 @@
1From 29157ffef7f3813c1ec23f9d11eb485242d53454 Mon Sep 17 00:00:00 2001 1From 5609c8fe642a0517bd151ad477fcd05d0abc7dc4 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Fri, 11 Jun 2010 13:51:49 -0500 3Date: Fri, 11 Jun 2010 13:51:49 -0500
4Subject: [PATCH 02/75] mt9t111: Fix all checkpatch errors 4Subject: [PATCH 02/75] mt9t111: Fix all checkpatch errors
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0003-mt9t111-Pass-v4l2_int_device-data.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0003-mt9t111-Pass-v4l2_int_device-data.patch
index a54aeb70..0c6b90aa 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0003-mt9t111-Pass-v4l2_int_device-data.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0003-mt9t111-Pass-v4l2_int_device-data.patch
@@ -1,4 +1,4 @@
1From e6af1e25ce53f1011fe6a1920cc9877ae51d2e95 Mon Sep 17 00:00:00 2001 1From bb40914cf9e313d70385e647f956a55df15e717f Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Fri, 11 Jun 2010 16:17:56 -0500 3Date: Fri, 11 Jun 2010 16:17:56 -0500
4Subject: [PATCH 03/75] mt9t111: Pass v4l2_int_device data 4Subject: [PATCH 03/75] mt9t111: Pass v4l2_int_device data
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0004-omap3beagle-Add-camera-support.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0004-omap3beagle-Add-camera-support.patch
index 1f28b224..511bd93c 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0004-omap3beagle-Add-camera-support.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0004-omap3beagle-Add-camera-support.patch
@@ -1,4 +1,4 @@
1From e91589e4c2736495be6f1252599d5115b33ac8c8 Mon Sep 17 00:00:00 2001 1From 8b7b00860ac8c558c7156ff676655942027f7f53 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Fri, 11 Jun 2010 16:15:58 -0500 3Date: Fri, 11 Jun 2010 16:15:58 -0500
4Subject: [PATCH 04/75] omap3beagle: Add camera support 4Subject: [PATCH 04/75] omap3beagle: Add camera support
@@ -17,7 +17,7 @@ Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
17 create mode 100644 arch/arm/mach-omap2/board-omap3beagle-camera.h 17 create mode 100644 arch/arm/mach-omap2/board-omap3beagle-camera.h
18 18
19diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile 19diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
20index fa01859..4d9dcdd 100644 20index 9042317..a49d436 100644
21--- a/arch/arm/mach-omap2/Makefile 21--- a/arch/arm/mach-omap2/Makefile
22+++ b/arch/arm/mach-omap2/Makefile 22+++ b/arch/arm/mach-omap2/Makefile
23@@ -87,7 +87,8 @@ obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o \ 23@@ -87,7 +87,8 @@ obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o \
@@ -312,7 +312,7 @@ index 0000000..1026aeb
312+ 312+
313+#endif /* __BOARD_OMAP3BEAGLE_LMB_H_ */ 313+#endif /* __BOARD_OMAP3BEAGLE_LMB_H_ */
314diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 314diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
315index 93b9e5f..31de2f9 100644 315index b313350..d6b69a6 100644
316--- a/arch/arm/mach-omap2/board-omap3beagle.c 316--- a/arch/arm/mach-omap2/board-omap3beagle.c
317+++ b/arch/arm/mach-omap2/board-omap3beagle.c 317+++ b/arch/arm/mach-omap2/board-omap3beagle.c
318@@ -712,6 +712,31 @@ static struct ehci_hcd_omap_platform_data ehci_pdata __initdata = { 318@@ -712,6 +712,31 @@ static struct ehci_hcd_omap_platform_data ehci_pdata __initdata = {
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0005-TEMP-omap3beagle-camera-Add-defconfig.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0005-TEMP-omap3beagle-camera-Add-defconfig.patch
index 17f8f589..b14321ba 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0005-TEMP-omap3beagle-camera-Add-defconfig.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0005-TEMP-omap3beagle-camera-Add-defconfig.patch
@@ -1,4 +1,4 @@
1From 1f6871f7ea78c182ebc1ac4b743485b1d48f2882 Mon Sep 17 00:00:00 2001 1From 754e3fe541b0784ed84282b95268fbb9c68d65c5 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Fri, 11 Jun 2010 16:18:30 -0500 3Date: Fri, 11 Jun 2010 16:18:30 -0500
4Subject: [PATCH 05/75] TEMP: omap3beagle: camera: Add defconfig 4Subject: [PATCH 05/75] TEMP: omap3beagle: camera: Add defconfig
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0006-omap3beagle-camera-Add-support-for-regulators.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0006-omap3beagle-camera-Add-support-for-regulators.patch
index 3a445216..1af46198 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0006-omap3beagle-camera-Add-support-for-regulators.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0006-omap3beagle-camera-Add-support-for-regulators.patch
@@ -1,4 +1,4 @@
1From 0f967d630fb4b3e55f202b91cbabbd631107923d Mon Sep 17 00:00:00 2001 1From a8bad5bfa652d2e35575f864da6192d41c85c818 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Fri, 11 Jun 2010 16:50:39 -0500 3Date: Fri, 11 Jun 2010 16:50:39 -0500
4Subject: [PATCH 06/75] omap3beagle: camera: Add support for regulators 4Subject: [PATCH 06/75] omap3beagle: camera: Add support for regulators
@@ -156,7 +156,7 @@ index e93437f..af8581a 100644
156+} 156+}
157 arch_initcall(omap3beaglelmb_init); 157 arch_initcall(omap3beaglelmb_init);
158diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 158diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
159index 31de2f9..448ab23 100644 159index d6b69a6..aa16acd 100644
160--- a/arch/arm/mach-omap2/board-omap3beagle.c 160--- a/arch/arm/mach-omap2/board-omap3beagle.c
161+++ b/arch/arm/mach-omap2/board-omap3beagle.c 161+++ b/arch/arm/mach-omap2/board-omap3beagle.c
162@@ -403,6 +403,56 @@ static struct twl4030_gpio_platform_data beagle_gpio_data = { 162@@ -403,6 +403,56 @@ static struct twl4030_gpio_platform_data beagle_gpio_data = {
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0007-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0007-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch
index 232835d9d..76140eb8 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0007-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0007-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch
@@ -1,4 +1,4 @@
1From 4b111d4e4f4050db9fcca746f9b8a893d3d60f98 Mon Sep 17 00:00:00 2001 1From 297b25089d0a06c89101e4f6a3189419be19369f Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Fri, 11 Jun 2010 16:52:25 -0500 3Date: Fri, 11 Jun 2010 16:52:25 -0500
4Subject: [PATCH 07/75] TEMP: omap3beagle: cam: Enable OMAP_MUX 4Subject: [PATCH 07/75] TEMP: omap3beagle: cam: Enable OMAP_MUX
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0008-omap3beagle-camera-Fix-null-pointer-dereference.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0008-omap3beagle-camera-Fix-null-pointer-dereference.patch
index 2232f94e..ecc83965 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0008-omap3beagle-camera-Fix-null-pointer-dereference.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0008-omap3beagle-camera-Fix-null-pointer-dereference.patch
@@ -1,4 +1,4 @@
1From e5dc69cd15b96c2ffc5807a4127a94a32c9b4242 Mon Sep 17 00:00:00 2001 1From c46eeb468f9bb69ca4c82abd1ff07e0f35aaa50f Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Fri, 11 Jun 2010 17:53:50 -0500 3Date: Fri, 11 Jun 2010 17:53:50 -0500
4Subject: [PATCH 08/75] omap3beagle: camera: Fix null pointer dereference 4Subject: [PATCH 08/75] omap3beagle: camera: Fix null pointer dereference
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0009-Revert-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0009-Revert-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch
index 4bdf4669..cfcd2360 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0009-Revert-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0009-Revert-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch
@@ -1,4 +1,4 @@
1From 0c7579c682c3eb3dc5190e1b28743be0b33571e3 Mon Sep 17 00:00:00 2001 1From 4dc4c88bdb1f4be3de42f1cf5e8d5d62b6a2a04e Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Wed, 16 Jun 2010 03:23:57 +0300 3Date: Wed, 16 Jun 2010 03:23:57 +0300
4Subject: [PATCH 09/75] Revert "TEMP: omap3beagle: cam: Enable OMAP_MUX" 4Subject: [PATCH 09/75] Revert "TEMP: omap3beagle: cam: Enable OMAP_MUX"
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0010-omap3beagle-camera-Change-arch-late_initcall.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0010-omap3beagle-camera-Change-arch-late_initcall.patch
index 9854403d..c9f2340a 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0010-omap3beagle-camera-Change-arch-late_initcall.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0010-omap3beagle-camera-Change-arch-late_initcall.patch
@@ -1,4 +1,4 @@
1From d14c2924e8bb7d9a864dfeb0aca37ef9fc913f7d Mon Sep 17 00:00:00 2001 1From e998edf3c99b4f8a16519a2dc968b1841a274b7f Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Wed, 16 Jun 2010 04:28:06 +0300 3Date: Wed, 16 Jun 2010 04:28:06 +0300
4Subject: [PATCH 10/75] omap3beagle: camera: Change arch -> late_initcall 4Subject: [PATCH 10/75] omap3beagle: camera: Change arch -> late_initcall
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0011-omap3beagle-camera-Move-i2c-registration-to-the-main.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0011-omap3beagle-camera-Move-i2c-registration-to-the-main.patch
index c61ad08e..15e647e5 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0011-omap3beagle-camera-Move-i2c-registration-to-the-main.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0011-omap3beagle-camera-Move-i2c-registration-to-the-main.patch
@@ -1,4 +1,4 @@
1From 527c026c03e34471e34a731322422eacbb30fb35 Mon Sep 17 00:00:00 2001 1From 17c85e1bf42b03f4e764280b8a626853506517e6 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Wed, 16 Jun 2010 04:58:46 +0300 3Date: Wed, 16 Jun 2010 04:58:46 +0300
4Subject: [PATCH 11/75] omap3beagle: camera: Move i2c registration to the main board 4Subject: [PATCH 11/75] omap3beagle: camera: Move i2c registration to the main board
@@ -73,7 +73,7 @@ index 55a113c..1652f15 100644
73 printk(KERN_INFO MODULE_NAME ": Driver registration complete \n"); 73 printk(KERN_INFO MODULE_NAME ": Driver registration complete \n");
74 74
75diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 75diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
76index 448ab23..97ccf04 100644 76index aa16acd..757d430 100644
77--- a/arch/arm/mach-omap2/board-omap3beagle.c 77--- a/arch/arm/mach-omap2/board-omap3beagle.c
78+++ b/arch/arm/mach-omap2/board-omap3beagle.c 78+++ b/arch/arm/mach-omap2/board-omap3beagle.c
79@@ -71,6 +71,11 @@ static struct omap_opp * _omap35x_l3_rate_table = NULL; 79@@ -71,6 +71,11 @@ static struct omap_opp * _omap35x_l3_rate_table = NULL;
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0012-ARM-OMAP3-make-camera-code-build-if-MT9T111-is-built.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0012-ARM-OMAP3-make-camera-code-build-if-MT9T111-is-built.patch
index e83b0785..7edb1563 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0012-ARM-OMAP3-make-camera-code-build-if-MT9T111-is-built.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0012-ARM-OMAP3-make-camera-code-build-if-MT9T111-is-built.patch
@@ -1,4 +1,4 @@
1From 860ff4be70242f2d2964e0d431d09231cbf6bfde Mon Sep 17 00:00:00 2001 1From a36ff286ba2355488bd093f001a722d888cf9a8b Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net> 2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Wed, 16 Jun 2010 09:45:46 +0200 3Date: Wed, 16 Jun 2010 09:45:46 +0200
4Subject: [PATCH 12/75] ARM: OMAP3: make camera code build if MT9T111 is built as module or disabled 4Subject: [PATCH 12/75] ARM: OMAP3: make camera code build if MT9T111 is built as module or disabled
@@ -8,7 +8,7 @@ Subject: [PATCH 12/75] ARM: OMAP3: make camera code build if MT9T111 is built as
8 1 files changed, 3 insertions(+), 1 deletions(-) 8 1 files changed, 3 insertions(+), 1 deletions(-)
9 9
10diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 10diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
11index 97ccf04..3d4b0bc 100644 11index 757d430..1e9a868 100644
12--- a/arch/arm/mach-omap2/board-omap3beagle.c 12--- a/arch/arm/mach-omap2/board-omap3beagle.c
13+++ b/arch/arm/mach-omap2/board-omap3beagle.c 13+++ b/arch/arm/mach-omap2/board-omap3beagle.c
14@@ -71,7 +71,7 @@ static struct omap_opp * _omap35x_l3_rate_table = NULL; 14@@ -71,7 +71,7 @@ static struct omap_opp * _omap35x_l3_rate_table = NULL;
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0013-DEBUG-omap3beagle-camera-Force-mode0-in-cam_xclka.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0013-DEBUG-omap3beagle-camera-Force-mode0-in-cam_xclka.patch
index f2d6a256..fceb5ed4 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0013-DEBUG-omap3beagle-camera-Force-mode0-in-cam_xclka.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0013-DEBUG-omap3beagle-camera-Force-mode0-in-cam_xclka.patch
@@ -1,4 +1,4 @@
1From 1326478d7bdb80f9d7d791e54eeead48ece93bff Mon Sep 17 00:00:00 2001 1From 7c09434499a8daa650b934a62d3f651f868e0e70 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Wed, 23 Jun 2010 15:03:24 -0500 3Date: Wed, 23 Jun 2010 15:03:24 -0500
4Subject: [PATCH 13/75] DEBUG: omap3beagle: camera: Force mode0 in cam_xclka 4Subject: [PATCH 13/75] DEBUG: omap3beagle: camera: Force mode0 in cam_xclka
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0014-OMAP3-CLOCK-Add-capability-to-change-rate-of-dpll4_m.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0014-OMAP3-CLOCK-Add-capability-to-change-rate-of-dpll4_m.patch
index c3968564..0b4df884 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0014-OMAP3-CLOCK-Add-capability-to-change-rate-of-dpll4_m.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0014-OMAP3-CLOCK-Add-capability-to-change-rate-of-dpll4_m.patch
@@ -1,4 +1,4 @@
1From 484186abcf6d44cc690c73d68148edde8b0b365b Mon Sep 17 00:00:00 2001 1From 2841aa647058815680fe3ef969e7fda5e821016f Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 4 Feb 2010 18:12:37 -0600 3Date: Thu, 4 Feb 2010 18:12:37 -0600
4Subject: [PATCH 14/75] OMAP3: CLOCK: Add capability to change rate of dpll4_m5_ck_3630 4Subject: [PATCH 14/75] OMAP3: CLOCK: Add capability to change rate of dpll4_m5_ck_3630
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0015-Revert-DEBUG-omap3beagle-camera-Force-mode0-in-cam_x.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0015-Revert-DEBUG-omap3beagle-camera-Force-mode0-in-cam_x.patch
index a6a42a73..090043b9 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0015-Revert-DEBUG-omap3beagle-camera-Force-mode0-in-cam_x.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0015-Revert-DEBUG-omap3beagle-camera-Force-mode0-in-cam_x.patch
@@ -1,4 +1,4 @@
1From 327cb4ef7120d00bcc6a725375f2eb6aa02de899 Mon Sep 17 00:00:00 2001 1From 1ae58f6d2ec41a1b7d0cdeca4de4b9d9760195bf Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 24 Jun 2010 14:27:39 -0500 3Date: Thu, 24 Jun 2010 14:27:39 -0500
4Subject: [PATCH 15/75] Revert "DEBUG: omap3beagle: camera: Force mode0 in cam_xclka" 4Subject: [PATCH 15/75] Revert "DEBUG: omap3beagle: camera: Force mode0 in cam_xclka"
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0016-omap3beagle-camera-Fix-wrong-XCLKA-selection.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0016-omap3beagle-camera-Fix-wrong-XCLKA-selection.patch
index f5622731..68dd1b50 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0016-omap3beagle-camera-Fix-wrong-XCLKA-selection.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0016-omap3beagle-camera-Fix-wrong-XCLKA-selection.patch
@@ -1,4 +1,4 @@
1From eb9738897009bea572be12bfb812c9a5ad8ef293 Mon Sep 17 00:00:00 2001 1From 00bfc925651aa2c35a1726f15c028ef106f350ab Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 24 Jun 2010 17:31:49 -0500 3Date: Thu, 24 Jun 2010 17:31:49 -0500
4Subject: [PATCH 16/75] omap3beagle: camera: Fix wrong XCLKA selection 4Subject: [PATCH 16/75] omap3beagle: camera: Fix wrong XCLKA selection
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0017-omap3isp-set-CAM_MCLK-to-172.8-MHz-allows-exact-9.6-.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0017-omap3isp-set-CAM_MCLK-to-172.8-MHz-allows-exact-9.6-.patch
index 05821727..78f7296a 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0017-omap3isp-set-CAM_MCLK-to-172.8-MHz-allows-exact-9.6-.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0017-omap3isp-set-CAM_MCLK-to-172.8-MHz-allows-exact-9.6-.patch
@@ -1,4 +1,4 @@
1From 26b873e74231529962132d9d80c8921b584f6e84 Mon Sep 17 00:00:00 2001 1From fc6044176be3518fee98430ebe36cc144d6feed2 Mon Sep 17 00:00:00 2001
2From: Tuukka Toivonen <tuukka.o.toivonen@nokia.com> 2From: Tuukka Toivonen <tuukka.o.toivonen@nokia.com>
3Date: Thu, 2 Jul 2009 16:17:55 +0200 3Date: Thu, 2 Jul 2009 16:17:55 +0200
4Subject: [PATCH 17/75] omap3isp: set CAM_MCLK to 172.8 MHz, allows exact 9.6 MHz for camera xclka/b 4Subject: [PATCH 17/75] omap3isp: set CAM_MCLK to 172.8 MHz, allows exact 9.6 MHz for camera xclka/b
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0018-Fix-Moved-MCLK-setting-to-the-board-file.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0018-Fix-Moved-MCLK-setting-to-the-board-file.patch
index 978ae226..a47ee196 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0018-Fix-Moved-MCLK-setting-to-the-board-file.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0018-Fix-Moved-MCLK-setting-to-the-board-file.patch
@@ -1,4 +1,4 @@
1From 1156c4406ff37b425c596804624ad6014006fcc1 Mon Sep 17 00:00:00 2001 1From 6e9a8ed420020b5692b511b3e8a7c2c1325e1ca2 Mon Sep 17 00:00:00 2001
2From: Penda, Naveen <pnaveen@ti.com> 2From: Penda, Naveen <pnaveen@ti.com>
3Date: Thu, 22 Oct 2009 06:07:01 +0530 3Date: Thu, 22 Oct 2009 06:07:01 +0530
4Subject: [PATCH 18/75] Fix: Moved MCLK setting to the board file 4Subject: [PATCH 18/75] Fix: Moved MCLK setting to the board file
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0019-omap3isp-core-Do-smarter-MCLK-setting.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0019-omap3isp-core-Do-smarter-MCLK-setting.patch
index 8a16d66c..53fe6219 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0019-omap3isp-core-Do-smarter-MCLK-setting.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0019-omap3isp-core-Do-smarter-MCLK-setting.patch
@@ -1,4 +1,4 @@
1From 3da817ad292e1414b175484cf384f1fcca351493 Mon Sep 17 00:00:00 2001 1From 97761e2bdf286662e3c96f5a24fe568cac98fc9b Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Wed, 25 Nov 2009 12:30:46 -0600 3Date: Wed, 25 Nov 2009 12:30:46 -0600
4Subject: [PATCH 19/75] omap3isp: core: Do smarter MCLK setting 4Subject: [PATCH 19/75] omap3isp: core: Do smarter MCLK setting
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0020-omap3beagle-camera-set-mclk-for-mt9t111.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0020-omap3beagle-camera-set-mclk-for-mt9t111.patch
index 6beeac88..97423f94 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0020-omap3beagle-camera-set-mclk-for-mt9t111.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0020-omap3beagle-camera-set-mclk-for-mt9t111.patch
@@ -1,4 +1,4 @@
1From 434ac18f2ac9969570dd9347f9933f4ed5147749 Mon Sep 17 00:00:00 2001 1From b744cbb89e3dd00a3f12d349ec0be604dffb5776 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 24 Jun 2010 16:34:13 -0500 3Date: Thu, 24 Jun 2010 16:34:13 -0500
4Subject: [PATCH 20/75] omap3beagle: camera: set mclk for mt9t111 4Subject: [PATCH 20/75] omap3beagle: camera: set mclk for mt9t111
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0021-mt9t111-Fix-max-supported-xclk.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0021-mt9t111-Fix-max-supported-xclk.patch
index 04ae8e50..731f20e7 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0021-mt9t111-Fix-max-supported-xclk.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0021-mt9t111-Fix-max-supported-xclk.patch
@@ -1,4 +1,4 @@
1From f32acfd90df92c93328c093c2414f6a11b98ce57 Mon Sep 17 00:00:00 2001 1From 3bca76ae1008ba2b2788214a59fd7813c69f9254 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 24 Jun 2010 17:43:23 -0500 3Date: Thu, 24 Jun 2010 17:43:23 -0500
4Subject: [PATCH 21/75] mt9t111: Fix max supported xclk 4Subject: [PATCH 21/75] mt9t111: Fix max supported xclk
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0022-omap3beagle-camera-Clarify-regulators-names.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0022-omap3beagle-camera-Clarify-regulators-names.patch
index 056295c0..8dcb76bb 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0022-omap3beagle-camera-Clarify-regulators-names.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0022-omap3beagle-camera-Clarify-regulators-names.patch
@@ -1,4 +1,4 @@
1From b5058c1ca4af6076dff7e1f592f871030ba31a95 Mon Sep 17 00:00:00 2001 1From db7e3a7af04196e80fe15e2a651440575f9313af Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 24 Jun 2010 17:53:55 -0500 3Date: Thu, 24 Jun 2010 17:53:55 -0500
4Subject: [PATCH 22/75] omap3beagle: camera: Clarify regulators names 4Subject: [PATCH 22/75] omap3beagle: camera: Clarify regulators names
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0023-omap3beagle-camera-Fix-powerup-sequence.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0023-omap3beagle-camera-Fix-powerup-sequence.patch
index 085c80c0..052b9152 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0023-omap3beagle-camera-Fix-powerup-sequence.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0023-omap3beagle-camera-Fix-powerup-sequence.patch
@@ -1,4 +1,4 @@
1From 294459d9500c75256cff282f441b6cf68077a3e9 Mon Sep 17 00:00:00 2001 1From e4f2c3641ccae2cb1614c8fda5ce307170b20921 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 24 Jun 2010 18:21:52 -0500 3Date: Thu, 24 Jun 2010 18:21:52 -0500
4Subject: [PATCH 23/75] omap3beagle: camera: Fix powerup sequence 4Subject: [PATCH 23/75] omap3beagle: camera: Fix powerup sequence
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0024-omap3beagle-camera-Change-vaux4-to-1.8v.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0024-omap3beagle-camera-Change-vaux4-to-1.8v.patch
index 58975458..a0a2e91b 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0024-omap3beagle-camera-Change-vaux4-to-1.8v.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0024-omap3beagle-camera-Change-vaux4-to-1.8v.patch
@@ -1,4 +1,4 @@
1From 967227a235ddafbc5a5391093e95a12972e93e9d Mon Sep 17 00:00:00 2001 1From 9f31f599f847c7eab995d22a683c8b32aaa5be7f Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Fri, 25 Jun 2010 11:24:07 -0500 3Date: Fri, 25 Jun 2010 11:24:07 -0500
4Subject: [PATCH 24/75] omap3beagle: camera: Change vaux4 to 1.8v 4Subject: [PATCH 24/75] omap3beagle: camera: Change vaux4 to 1.8v
@@ -13,7 +13,7 @@ Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
13 1 files changed, 2 insertions(+), 2 deletions(-) 13 1 files changed, 2 insertions(+), 2 deletions(-)
14 14
15diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 15diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
16index 3d4b0bc..09e8459 100644 16index 1e9a868..af9b818 100644
17--- a/arch/arm/mach-omap2/board-omap3beagle.c 17--- a/arch/arm/mach-omap2/board-omap3beagle.c
18+++ b/arch/arm/mach-omap2/board-omap3beagle.c 18+++ b/arch/arm/mach-omap2/board-omap3beagle.c
19@@ -446,8 +446,8 @@ static struct regulator_init_data beagle_vaux3 = { 19@@ -446,8 +446,8 @@ static struct regulator_init_data beagle_vaux3 = {
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0025-omap3beagle-camera-Rename-regulators-to-match-actual.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0025-omap3beagle-camera-Rename-regulators-to-match-actual.patch
index 0f930f56..c32c4405 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0025-omap3beagle-camera-Rename-regulators-to-match-actual.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0025-omap3beagle-camera-Rename-regulators-to-match-actual.patch
@@ -1,4 +1,4 @@
1From f5bc21e02cfc66734591104ec1b58556dccfed70 Mon Sep 17 00:00:00 2001 1From 784407ada9241d907cf08145885410351a7eafc4 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Fri, 25 Jun 2010 12:03:59 -0500 3Date: Fri, 25 Jun 2010 12:03:59 -0500
4Subject: [PATCH 25/75] omap3beagle: camera: Rename regulators to match actual voltage levels 4Subject: [PATCH 25/75] omap3beagle: camera: Rename regulators to match actual voltage levels
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0026-omap3beagle-camera-Complement-remainig-sensor-hw-con.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0026-omap3beagle-camera-Complement-remainig-sensor-hw-con.patch
index b4357a5c..854d1979 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0026-omap3beagle-camera-Complement-remainig-sensor-hw-con.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0026-omap3beagle-camera-Complement-remainig-sensor-hw-con.patch
@@ -1,4 +1,4 @@
1From 871c9ac8687787ff29c5445325acf1ca388b9563 Mon Sep 17 00:00:00 2001 1From e14b36353ea3f3d55192cf986310c275ed8cfcc9 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Fri, 25 Jun 2010 12:04:48 -0500 3Date: Fri, 25 Jun 2010 12:04:48 -0500
4Subject: [PATCH 26/75] omap3beagle: camera: Complement remainig sensor hw config settings 4Subject: [PATCH 26/75] omap3beagle: camera: Complement remainig sensor hw config settings
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0027-mt9t111-Fix-detect-function-retval-and-cleanup-print.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0027-mt9t111-Fix-detect-function-retval-and-cleanup-print.patch
index 537628a7..4ca56e1d 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0027-mt9t111-Fix-detect-function-retval-and-cleanup-print.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0027-mt9t111-Fix-detect-function-retval-and-cleanup-print.patch
@@ -1,4 +1,4 @@
1From a5693b7d9b22036323edf1e4200e6e59f67e8f9d Mon Sep 17 00:00:00 2001 1From db54f40408b0907a6cf314232bbf2b9f12ac0d9d Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Fri, 25 Jun 2010 13:43:54 -0500 3Date: Fri, 25 Jun 2010 13:43:54 -0500
4Subject: [PATCH 27/75] mt9t111: Fix detect function retval and cleanup prints 4Subject: [PATCH 27/75] mt9t111: Fix detect function retval and cleanup prints
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0028-omap3beagle-camera-Set-padconf-settings-in-cam-init.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0028-omap3beagle-camera-Set-padconf-settings-in-cam-init.patch
index 6e77bfda..c9dda1a9 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0028-omap3beagle-camera-Set-padconf-settings-in-cam-init.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0028-omap3beagle-camera-Set-padconf-settings-in-cam-init.patch
@@ -1,4 +1,4 @@
1From 7417633c6dbf657cf3778800d59e94a9b7bf6942 Mon Sep 17 00:00:00 2001 1From 9d152df885cb6f6874259d93df558e649f62774f Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Fri, 25 Jun 2010 16:01:00 -0500 3Date: Fri, 25 Jun 2010 16:01:00 -0500
4Subject: [PATCH 28/75] omap3beagle: camera: Set padconf settings in cam init 4Subject: [PATCH 28/75] omap3beagle: camera: Set padconf settings in cam init
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0029-omap3beagle-camera-only-register-camera-driver-for-3.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0029-omap3beagle-camera-only-register-camera-driver-for-3.patch
index 4b25b598..d642d6cb 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0029-omap3beagle-camera-only-register-camera-driver-for-3.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0029-omap3beagle-camera-only-register-camera-driver-for-3.patch
@@ -1,4 +1,4 @@
1From 6cce810371e763a367b69a38e53635657804694c Mon Sep 17 00:00:00 2001 1From 7a8fe70470bd026b249f47c0aa37578a97fb2bb3 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net> 2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Sun, 27 Jun 2010 16:11:39 +0200 3Date: Sun, 27 Jun 2010 16:11:39 +0200
4Subject: [PATCH 29/75] omap3beagle: camera: only register camera driver for 36xx based SoCs 4Subject: [PATCH 29/75] omap3beagle: camera: only register camera driver for 36xx based SoCs
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0030-WIP-mt9t111-Work-in-progress-for-camera-enablement.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0030-WIP-mt9t111-Work-in-progress-for-camera-enablement.patch
index c2236964..11abb8b4 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0030-WIP-mt9t111-Work-in-progress-for-camera-enablement.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0030-WIP-mt9t111-Work-in-progress-for-camera-enablement.patch
@@ -1,4 +1,4 @@
1From 05232a5ba68cab14877a4032cc7995c15254195d Mon Sep 17 00:00:00 2001 1From b310c5ad504443f0d125ca92106f497e14acd8bd Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Fri, 25 Jun 2010 16:01:47 -0500 3Date: Fri, 25 Jun 2010 16:01:47 -0500
4Subject: [PATCH 30/75] WIP: mt9t111: Work in progress for camera enablement 4Subject: [PATCH 30/75] WIP: mt9t111: Work in progress for camera enablement
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0031-BeagleXM-Cam-Add-support-for-MT9V113-VGA-Sensor.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0031-BeagleXM-Cam-Add-support-for-MT9V113-VGA-Sensor.patch
index 1c19b770..f8b4af9d 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0031-BeagleXM-Cam-Add-support-for-MT9V113-VGA-Sensor.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0031-BeagleXM-Cam-Add-support-for-MT9V113-VGA-Sensor.patch
@@ -1,4 +1,4 @@
1From 4080bcdb05f5fdb51a16faa011a68205f0cb7482 Mon Sep 17 00:00:00 2001 1From 2355a460abc09be0a8c61360792a59056eb09230 Mon Sep 17 00:00:00 2001
2From: Vaibhav Hiremath <hvaibhav@ti.com> 2From: Vaibhav Hiremath <hvaibhav@ti.com>
3Date: Wed, 7 Jul 2010 11:55:43 +0530 3Date: Wed, 7 Jul 2010 11:55:43 +0530
4Subject: [PATCH 31/75] BeagleXM:Cam: Add support for MT9V113 VGA Sensor 4Subject: [PATCH 31/75] BeagleXM:Cam: Add support for MT9V113 VGA Sensor
@@ -327,7 +327,7 @@ index 8faa437..6c06265 100644
327 } 327 }
328 late_initcall(omap3beaglelmb_init); 328 late_initcall(omap3beaglelmb_init);
329diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 329diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
330index 09e8459..6835c1a 100644 330index af9b818..d4b0b0a 100644
331--- a/arch/arm/mach-omap2/board-omap3beagle.c 331--- a/arch/arm/mach-omap2/board-omap3beagle.c
332+++ b/arch/arm/mach-omap2/board-omap3beagle.c 332+++ b/arch/arm/mach-omap2/board-omap3beagle.c
333@@ -71,10 +71,10 @@ static struct omap_opp * _omap35x_l3_rate_table = NULL; 333@@ -71,10 +71,10 @@ static struct omap_opp * _omap35x_l3_rate_table = NULL;
@@ -406,7 +406,7 @@ index 09e8459..6835c1a 100644
406 .mode = SPI_MODE_1, 406 .mode = SPI_MODE_1,
407 }, 407 },
408 }; 408 };
409@@ -835,7 +835,7 @@ static void __init omap3_beagle_init(void) 409@@ -830,7 +830,7 @@ static void __init omap3_beagle_init(void)
410 /* REVISIT leave DVI powered down until it's needed ... */ 410 /* REVISIT leave DVI powered down until it's needed ... */
411 gpio_direction_output(170, true); 411 gpio_direction_output(170, true);
412 412
@@ -415,7 +415,7 @@ index 09e8459..6835c1a 100644
415 { 415 {
416 printk(KERN_INFO "Beagle expansionboard: initializing enc28j60\n"); 416 printk(KERN_INFO "Beagle expansionboard: initializing enc28j60\n");
417 omap3beagle_enc28j60_init(); 417 omap3beagle_enc28j60_init();
418@@ -843,8 +843,8 @@ static void __init omap3_beagle_init(void) 418@@ -838,8 +838,8 @@ static void __init omap3_beagle_init(void)
419 mmc[1].gpio_wp = 141; 419 mmc[1].gpio_wp = 141;
420 mmc[1].gpio_cd = 162; 420 mmc[1].gpio_cd = 162;
421 } 421 }
@@ -426,7 +426,7 @@ index 09e8459..6835c1a 100644
426 { 426 {
427 printk(KERN_INFO "Beagle expansionboard: initializing ks_8851\n"); 427 printk(KERN_INFO "Beagle expansionboard: initializing ks_8851\n");
428 omap3beagle_ks8851_init(); 428 omap3beagle_ks8851_init();
429@@ -885,7 +885,7 @@ static void __init omap3_beagle_init(void) 429@@ -880,7 +880,7 @@ static void __init omap3_beagle_init(void)
430 } 430 }
431 431
432 if(!strcmp(expansionboard_name, "beaglefpga")) 432 if(!strcmp(expansionboard_name, "beaglefpga"))
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0032-MT9V113-Fixed-sensor-nitialization-issues.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0032-MT9V113-Fixed-sensor-nitialization-issues.patch
index ffb1e6b3..72d9aa66 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0032-MT9V113-Fixed-sensor-nitialization-issues.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0032-MT9V113-Fixed-sensor-nitialization-issues.patch
@@ -1,4 +1,4 @@
1From b4d9f3d3f45b3f47ec243df170381b0c2d1049e7 Mon Sep 17 00:00:00 2001 1From d35c02203462b5c94c7be1abeba9be2a175646fe Mon Sep 17 00:00:00 2001
2From: Vaibhav Hiremath <hvaibhav@ti.com> 2From: Vaibhav Hiremath <hvaibhav@ti.com>
3Date: Fri, 9 Jul 2010 17:38:09 +0530 3Date: Fri, 9 Jul 2010 17:38:09 +0530
4Subject: [PATCH 32/75] MT9V113: Fixed sensor nitialization issues 4Subject: [PATCH 32/75] MT9V113: Fixed sensor nitialization issues
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0033-mt9v113-Fix-wrong-active-widths.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0033-mt9v113-Fix-wrong-active-widths.patch
index c436b910..06eec34e 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0033-mt9v113-Fix-wrong-active-widths.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0033-mt9v113-Fix-wrong-active-widths.patch
@@ -1,4 +1,4 @@
1From 77361cf426202a92395921c25e77190b8fb0cdd6 Mon Sep 17 00:00:00 2001 1From 54295e317df7f12a7b9e4f5a55f4801717863bb1 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Fri, 9 Jul 2010 16:22:38 -0500 3Date: Fri, 9 Jul 2010 16:22:38 -0500
4Subject: [PATCH 33/75] mt9v113: Fix wrong active widths 4Subject: [PATCH 33/75] mt9v113: Fix wrong active widths
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0034-omap3isp-Fix-Wrong-check-on-non-interlaced-sensor-on.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0034-omap3isp-Fix-Wrong-check-on-non-interlaced-sensor-on.patch
index 72af3798..6bf18244 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0034-omap3isp-Fix-Wrong-check-on-non-interlaced-sensor-on.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0034-omap3isp-Fix-Wrong-check-on-non-interlaced-sensor-on.patch
@@ -1,4 +1,4 @@
1From d6e6a76aa9d842ed9f8963ed10fc884cff3af5dd Mon Sep 17 00:00:00 2001 1From 0cd100387c233429ce2b9c8ceb7a36e900785fce Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Fri, 9 Jul 2010 16:56:18 -0500 3Date: Fri, 9 Jul 2010 16:56:18 -0500
4Subject: [PATCH 34/75] omap3isp: Fix Wrong check on non-interlaced sensor on isr 4Subject: [PATCH 34/75] omap3isp: Fix Wrong check on non-interlaced sensor on isr
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0035-omap3isp-Fix-bad-YUV_BT-checks-in-datapath_config.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0035-omap3isp-Fix-bad-YUV_BT-checks-in-datapath_config.patch
index bb2a7f14..e0be1a82 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0035-omap3isp-Fix-bad-YUV_BT-checks-in-datapath_config.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0035-omap3isp-Fix-bad-YUV_BT-checks-in-datapath_config.patch
@@ -1,4 +1,4 @@
1From e069619a821aca3569440a4d8ccf3727ebe80ddd Mon Sep 17 00:00:00 2001 1From d9c512d63c23d8f60e897357263bef4668660b13 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Sat, 10 Jul 2010 09:51:16 -0500 3Date: Sat, 10 Jul 2010 09:51:16 -0500
4Subject: [PATCH 35/75] omap3isp: Fix bad YUV_BT checks in datapath_config 4Subject: [PATCH 35/75] omap3isp: Fix bad YUV_BT checks in datapath_config
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0036-omap3isp-Set-vd_pol-to-0-by-default-on-all-cases.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0036-omap3isp-Set-vd_pol-to-0-by-default-on-all-cases.patch
index 6a43782c..f5ceb0d7 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0036-omap3isp-Set-vd_pol-to-0-by-default-on-all-cases.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0036-omap3isp-Set-vd_pol-to-0-by-default-on-all-cases.patch
@@ -1,4 +1,4 @@
1From 2f4a4612cd2fa21468f708a9c981e39a3927611f Mon Sep 17 00:00:00 2001 1From 5f87765bb16091048e67bc56f7ce1ab0694d9186 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Sat, 10 Jul 2010 09:57:40 -0500 3Date: Sat, 10 Jul 2010 09:57:40 -0500
4Subject: [PATCH 36/75] omap3isp: Set vd_pol to 0 by default on all cases 4Subject: [PATCH 36/75] omap3isp: Set vd_pol to 0 by default on all cases
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0037-omap3isp-ccdc-Set-datalines-to-10-for-YUV_SYNC.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0037-omap3isp-ccdc-Set-datalines-to-10-for-YUV_SYNC.patch
index ebb3686d..12e59601 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0037-omap3isp-ccdc-Set-datalines-to-10-for-YUV_SYNC.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0037-omap3isp-ccdc-Set-datalines-to-10-for-YUV_SYNC.patch
@@ -1,4 +1,4 @@
1From 67e3840b98c88da4417e386d3e955385a120138e Mon Sep 17 00:00:00 2001 1From d9c257a16e4f4c5c6bff57cbe3b9673d3cf61bfa Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Mon, 12 Jul 2010 14:09:38 -0500 3Date: Mon, 12 Jul 2010 14:09:38 -0500
4Subject: [PATCH 37/75] omap3isp: ccdc: Set datalines to 10 for YUV_SYNC 4Subject: [PATCH 37/75] omap3isp: ccdc: Set datalines to 10 for YUV_SYNC
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0038-omap3beagle-camera-Fix-parallel-i-f-settings.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0038-omap3beagle-camera-Fix-parallel-i-f-settings.patch
index 456c4d2c..a9589719 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0038-omap3beagle-camera-Fix-parallel-i-f-settings.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0038-omap3beagle-camera-Fix-parallel-i-f-settings.patch
@@ -1,4 +1,4 @@
1From efa8018485d29f3545e174dc10af0d01b9197077 Mon Sep 17 00:00:00 2001 1From cd05a2c5c623cc497f0d56b35b29d28a9206a3bd Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Mon, 12 Jul 2010 14:11:44 -0500 3Date: Mon, 12 Jul 2010 14:11:44 -0500
4Subject: [PATCH 38/75] omap3beagle: camera: Fix parallel i/f settings 4Subject: [PATCH 38/75] omap3beagle: camera: Fix parallel i/f settings
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0039-omap3beagle-camera-Clean-up-Remove-unneccessary-code.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0039-omap3beagle-camera-Clean-up-Remove-unneccessary-code.patch
index 0c836dba..77b19fad 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0039-omap3beagle-camera-Clean-up-Remove-unneccessary-code.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0039-omap3beagle-camera-Clean-up-Remove-unneccessary-code.patch
@@ -1,4 +1,4 @@
1From 9f2341ea93de0e76d71c075791cdada7b9ce163b Mon Sep 17 00:00:00 2001 1From 6466bc74ab74cafb6aec47040b3408fc2be3455b Mon Sep 17 00:00:00 2001
2From: Vaibhav Hiremath <hvaibhav@ti.com> 2From: Vaibhav Hiremath <hvaibhav@ti.com>
3Date: Tue, 13 Jul 2010 19:38:51 +0530 3Date: Tue, 13 Jul 2010 19:38:51 +0530
4Subject: [PATCH 39/75] omap3beagle-camera:Clean up: Remove unneccessary code/printf 4Subject: [PATCH 39/75] omap3beagle-camera:Clean up: Remove unneccessary code/printf
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0040-mt9v113-Clean-Up-Remove-unneccessary-code-printf.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0040-mt9v113-Clean-Up-Remove-unneccessary-code-printf.patch
index 9e0361d8..80121607 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0040-mt9v113-Clean-Up-Remove-unneccessary-code-printf.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0040-mt9v113-Clean-Up-Remove-unneccessary-code-printf.patch
@@ -1,4 +1,4 @@
1From c0b564c145013ca024787702dc9f43c56016c5ec Mon Sep 17 00:00:00 2001 1From 9c9215eade28a09ac12888e9a02af107955009c5 Mon Sep 17 00:00:00 2001
2From: Vaibhav Hiremath <hvaibhav@ti.com> 2From: Vaibhav Hiremath <hvaibhav@ti.com>
3Date: Tue, 13 Jul 2010 19:39:34 +0530 3Date: Tue, 13 Jul 2010 19:39:34 +0530
4Subject: [PATCH 40/75] mt9v113:Clean Up: Remove unneccessary code/printf 4Subject: [PATCH 40/75] mt9v113:Clean Up: Remove unneccessary code/printf
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0041-MT9V113-Min-Max-clk-input-changed-as-per-the-spec.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0041-MT9V113-Min-Max-clk-input-changed-as-per-the-spec.patch
index a9cac28b..bae51993 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0041-MT9V113-Min-Max-clk-input-changed-as-per-the-spec.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0041-MT9V113-Min-Max-clk-input-changed-as-per-the-spec.patch
@@ -1,4 +1,4 @@
1From b174adfdb2836b01f8306f6112b7a8c36540f7d2 Mon Sep 17 00:00:00 2001 1From f92ea92f012235a17c04021de470b65aeb7fbe29 Mon Sep 17 00:00:00 2001
2From: Vaibhav Hiremath <hvaibhav@ti.com> 2From: Vaibhav Hiremath <hvaibhav@ti.com>
3Date: Tue, 13 Jul 2010 19:40:39 +0530 3Date: Tue, 13 Jul 2010 19:40:39 +0530
4Subject: [PATCH 41/75] MT9V113: Min, Max clk input changed as per the spec 4Subject: [PATCH 41/75] MT9V113: Min, Max clk input changed as per the spec
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0042-omap3beagle-camera-Further-clode-cleanup.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0042-omap3beagle-camera-Further-clode-cleanup.patch
index 19fb41ea..8855e6d6 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0042-omap3beagle-camera-Further-clode-cleanup.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0042-omap3beagle-camera-Further-clode-cleanup.patch
@@ -1,4 +1,4 @@
1From a23ae536374534ed021479b63ec093d5e58a9186 Mon Sep 17 00:00:00 2001 1From 7f6cbc648dcf2d7805f12e7b56bb2c7b602ca61d Mon Sep 17 00:00:00 2001
2From: Vaibhav Hiremath <hvaibhav@ti.com> 2From: Vaibhav Hiremath <hvaibhav@ti.com>
3Date: Wed, 14 Jul 2010 19:07:06 +0530 3Date: Wed, 14 Jul 2010 19:07:06 +0530
4Subject: [PATCH 42/75] omap3beagle-camera: Further clode cleanup 4Subject: [PATCH 42/75] omap3beagle-camera: Further clode cleanup
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0043-mt9v113-Settings-from-Aptima-used-to-increase-FPS.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0043-mt9v113-Settings-from-Aptima-used-to-increase-FPS.patch
index 262bd30a..af7e4d08 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0043-mt9v113-Settings-from-Aptima-used-to-increase-FPS.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0043-mt9v113-Settings-from-Aptima-used-to-increase-FPS.patch
@@ -1,4 +1,4 @@
1From 3f7280192c69d6437c5d0e7c46ab2de345b52e5d Mon Sep 17 00:00:00 2001 1From b13a4b53a958c182adf61af6b1ea35826fe97de5 Mon Sep 17 00:00:00 2001
2From: Vaibhav Hiremath <hvaibhav@ti.com> 2From: Vaibhav Hiremath <hvaibhav@ti.com>
3Date: Wed, 14 Jul 2010 19:07:34 +0530 3Date: Wed, 14 Jul 2010 19:07:34 +0530
4Subject: [PATCH 43/75] mt9v113: Settings from Aptima used to increase FPS 4Subject: [PATCH 43/75] mt9v113: Settings from Aptima used to increase FPS
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0044-mt9v113-AE-param-tuned-to-get-28-30FPS.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0044-mt9v113-AE-param-tuned-to-get-28-30FPS.patch
index 24e36fc2..bf8347ce 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0044-mt9v113-AE-param-tuned-to-get-28-30FPS.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0044-mt9v113-AE-param-tuned-to-get-28-30FPS.patch
@@ -1,4 +1,4 @@
1From f33e1a25ca1d7e8418f076a9aead8fa66341f964 Mon Sep 17 00:00:00 2001 1From 12b4010768d5bf36bdc1100204be1a9de913d4f4 Mon Sep 17 00:00:00 2001
2From: Vaibhav Hiremath <hvaibhav@ti.com> 2From: Vaibhav Hiremath <hvaibhav@ti.com>
3Date: Thu, 15 Jul 2010 13:53:03 +0530 3Date: Thu, 15 Jul 2010 13:53:03 +0530
4Subject: [PATCH 44/75] mt9v113: AE param tuned to get 28~30FPS 4Subject: [PATCH 44/75] mt9v113: AE param tuned to get 28~30FPS
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0045-omap3beagle-camera-Cleanup-of-boardfile.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0045-omap3beagle-camera-Cleanup-of-boardfile.patch
index 6e60351f..f4c6ba02 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0045-omap3beagle-camera-Cleanup-of-boardfile.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0045-omap3beagle-camera-Cleanup-of-boardfile.patch
@@ -1,4 +1,4 @@
1From c442dbd71313f119dce989b0b8d5ebaca9296863 Mon Sep 17 00:00:00 2001 1From 62059bb8a86836a042bf1720a9bc4bdfa301026f Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Mon, 12 Jul 2010 15:44:18 -0500 3Date: Mon, 12 Jul 2010 15:44:18 -0500
4Subject: [PATCH 45/75] omap3beagle: camera: Cleanup of boardfile 4Subject: [PATCH 45/75] omap3beagle: camera: Cleanup of boardfile
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0046-omap3beagle-camera-Cleanup-regulator-usage.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0046-omap3beagle-camera-Cleanup-regulator-usage.patch
index cca32620..9f3cbb26 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0046-omap3beagle-camera-Cleanup-regulator-usage.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0046-omap3beagle-camera-Cleanup-regulator-usage.patch
@@ -1,4 +1,4 @@
1From 240def7eda2939e944ab70726cdecf270865553d Mon Sep 17 00:00:00 2001 1From d3ea23ea580848bb5e0ed423db4d914661cd1d7d Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Mon, 12 Jul 2010 15:53:44 -0500 3Date: Mon, 12 Jul 2010 15:53:44 -0500
4Subject: [PATCH 46/75] omap3beagle: camera: Cleanup regulator usage 4Subject: [PATCH 46/75] omap3beagle: camera: Cleanup regulator usage
@@ -117,7 +117,7 @@ index befa7d4..c91529d 100644
117 gpio_free(LEOPARD_RESET_GPIO); 117 gpio_free(LEOPARD_RESET_GPIO);
118 118
119diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 119diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
120index 6835c1a..a1535ca 100644 120index d4b0b0a..b0da483 100644
121--- a/arch/arm/mach-omap2/board-omap3beagle.c 121--- a/arch/arm/mach-omap2/board-omap3beagle.c
122+++ b/arch/arm/mach-omap2/board-omap3beagle.c 122+++ b/arch/arm/mach-omap2/board-omap3beagle.c
123@@ -414,18 +414,14 @@ static struct platform_device beagle_cam_device = { 123@@ -414,18 +414,14 @@ static struct platform_device beagle_cam_device = {
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0047-omap3beagle-camera-Bring-back-mt9t111-support.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0047-omap3beagle-camera-Bring-back-mt9t111-support.patch
index b058200a..d8614776 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0047-omap3beagle-camera-Bring-back-mt9t111-support.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0047-omap3beagle-camera-Bring-back-mt9t111-support.patch
@@ -1,4 +1,4 @@
1From 046dac666301c0df22679424169675045c70defd Mon Sep 17 00:00:00 2001 1From e81cdbd3c914965685e213ceef5a14775bfb9397 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Mon, 12 Jul 2010 16:42:41 -0500 3Date: Mon, 12 Jul 2010 16:42:41 -0500
4Subject: [PATCH 47/75] omap3beagle: camera: Bring back mt9t111 support 4Subject: [PATCH 47/75] omap3beagle: camera: Bring back mt9t111 support
@@ -217,7 +217,7 @@ index c91529d..2e49158 100644
217 { 217 {
218 cam_1v8_reg = regulator_get(&pdev->dev, "cam_1v8"); 218 cam_1v8_reg = regulator_get(&pdev->dev, "cam_1v8");
219diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 219diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
220index a1535ca..239bd44 100644 220index b0da483..0e7e8b2 100644
221--- a/arch/arm/mach-omap2/board-omap3beagle.c 221--- a/arch/arm/mach-omap2/board-omap3beagle.c
222+++ b/arch/arm/mach-omap2/board-omap3beagle.c 222+++ b/arch/arm/mach-omap2/board-omap3beagle.c
223@@ -77,6 +77,12 @@ static struct omap_opp * _omap37x_l3_rate_table = NULL; 223@@ -77,6 +77,12 @@ static struct omap_opp * _omap37x_l3_rate_table = NULL;
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0048-REMOVE-v4l2-Delete-MT9T111-sensor-driver.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0048-REMOVE-v4l2-Delete-MT9T111-sensor-driver.patch
index 6a9919f5..79ea2b57 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0048-REMOVE-v4l2-Delete-MT9T111-sensor-driver.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0048-REMOVE-v4l2-Delete-MT9T111-sensor-driver.patch
@@ -1,4 +1,4 @@
1From 682012ca5bc9b6e3dc2536736d3eedbad3598d64 Mon Sep 17 00:00:00 2001 1From 59d42cae8d60b7e86013293055f6c989ab578f26 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 15 Jul 2010 00:50:07 -0500 3Date: Thu, 15 Jul 2010 00:50:07 -0500
4Subject: [PATCH 48/75] REMOVE: v4l2: Delete MT9T111 sensor driver 4Subject: [PATCH 48/75] REMOVE: v4l2: Delete MT9T111 sensor driver
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0049-V4L-DVB-13670-soc-camera-Add-mt9t112-camera-driver.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0049-V4L-DVB-13670-soc-camera-Add-mt9t112-camera-driver.patch
index 5f34fa13..b4ca4a6c 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0049-V4L-DVB-13670-soc-camera-Add-mt9t112-camera-driver.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0049-V4L-DVB-13670-soc-camera-Add-mt9t112-camera-driver.patch
@@ -1,4 +1,4 @@
1From fab15f2df5c6ee2dc9fc5256d5c4330e6447dd3b Mon Sep 17 00:00:00 2001 1From 1164e8b10b5237d1cf60c1e9752324b62f30a6bc Mon Sep 17 00:00:00 2001
2From: Kuninori Morimoto <morimoto.kuninori@renesas.com> 2From: Kuninori Morimoto <morimoto.kuninori@renesas.com>
3Date: Fri, 11 Dec 2009 11:53:55 -0300 3Date: Fri, 11 Dec 2009 11:53:55 -0300
4Subject: [PATCH 49/75] V4L/DVB (13670): soc-camera: Add mt9t112 camera driver 4Subject: [PATCH 49/75] V4L/DVB (13670): soc-camera: Add mt9t112 camera driver
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0050-soc-camera-mt9t112-modify-exiting-conditions-from-st.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0050-soc-camera-mt9t112-modify-exiting-conditions-from-st.patch
index 81c74f14..551717dd 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0050-soc-camera-mt9t112-modify-exiting-conditions-from-st.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0050-soc-camera-mt9t112-modify-exiting-conditions-from-st.patch
@@ -1,4 +1,4 @@
1From c3080e6e6ea59efc7f7812951a9972229fcc5078 Mon Sep 17 00:00:00 2001 1From eb14ff193fa8cbe52f47349c0aeca2d91ea5cfd8 Mon Sep 17 00:00:00 2001
2From: Kuninori Morimoto <morimoto.kuninori@renesas.com> 2From: Kuninori Morimoto <morimoto.kuninori@renesas.com>
3Date: Tue, 2 Feb 2010 13:17:54 +0900 3Date: Tue, 2 Feb 2010 13:17:54 +0900
4Subject: [PATCH 50/75] soc-camera: mt9t112: modify exiting conditions from standby mode 4Subject: [PATCH 50/75] soc-camera: mt9t112: modify exiting conditions from standby mode
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0051-mt9t112-Migrate-from-soc_camera-to-v4l2-int-device.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0051-mt9t112-Migrate-from-soc_camera-to-v4l2-int-device.patch
index d2cdbffc..0c3b7af2 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0051-mt9t112-Migrate-from-soc_camera-to-v4l2-int-device.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0051-mt9t112-Migrate-from-soc_camera-to-v4l2-int-device.patch
@@ -1,4 +1,4 @@
1From f4b417bf9b373e042f6cfb921bc67dd18d0a752f Mon Sep 17 00:00:00 2001 1From bd42ce1ffea1be835f54ac61bb7ea4e0cd99e7aa Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 1 Jul 2010 07:26:38 -0500 3Date: Thu, 1 Jul 2010 07:26:38 -0500
4Subject: [PATCH 51/75] mt9t112: Migrate from soc_camera to v4l2-int-device 4Subject: [PATCH 51/75] mt9t112: Migrate from soc_camera to v4l2-int-device
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0052-mt9t112-Add-more-info-to-public-header.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0052-mt9t112-Add-more-info-to-public-header.patch
index 22c9c4d4..3aeea03a 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0052-mt9t112-Add-more-info-to-public-header.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0052-mt9t112-Add-more-info-to-public-header.patch
@@ -1,4 +1,4 @@
1From 4e0c0d1ec79c097bb2e580f186a89963b9e35d8c Mon Sep 17 00:00:00 2001 1From d72241c7dc39f0976bcd7d05d43a86935e0deb68 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 1 Jul 2010 07:33:49 -0500 3Date: Thu, 1 Jul 2010 07:33:49 -0500
4Subject: [PATCH 52/75] mt9t112: Add more info to public header 4Subject: [PATCH 52/75] mt9t112: Add more info to public header
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0053-mt9t112-Fix-null-pointer-kernel-bug.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0053-mt9t112-Fix-null-pointer-kernel-bug.patch
index b24638f8..d03795f5 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0053-mt9t112-Fix-null-pointer-kernel-bug.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0053-mt9t112-Fix-null-pointer-kernel-bug.patch
@@ -1,4 +1,4 @@
1From 8ef0425ef8bc0d228e03666cf7d0af564882fcef Mon Sep 17 00:00:00 2001 1From 0f6b697fb422f8eb8df539f82df49f0f6f976bc3 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 1 Jul 2010 09:12:37 -0500 3Date: Thu, 1 Jul 2010 09:12:37 -0500
4Subject: [PATCH 53/75] mt9t112: Fix null pointer kernel bug 4Subject: [PATCH 53/75] mt9t112: Fix null pointer kernel bug
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0054-DEBUG-omap3beagle-Add-MT9T112-to-defconfig.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0054-DEBUG-omap3beagle-Add-MT9T112-to-defconfig.patch
index ff364bd1..e5ae822d 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0054-DEBUG-omap3beagle-Add-MT9T112-to-defconfig.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0054-DEBUG-omap3beagle-Add-MT9T112-to-defconfig.patch
@@ -1,4 +1,4 @@
1From b5eb720c7424a1018fd7b76b7bfb3a1e720ab77b Mon Sep 17 00:00:00 2001 1From f66312bff0655778847882a26dfb14a54e9b92ca Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 15 Jul 2010 00:55:43 -0500 3Date: Thu, 15 Jul 2010 00:55:43 -0500
4Subject: [PATCH 54/75] DEBUG: omap3beagle: Add MT9T112 to defconfig 4Subject: [PATCH 54/75] DEBUG: omap3beagle: Add MT9T112 to defconfig
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0055-omap3beagle-camera-Change-MT9T111-references-to-new-.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0055-omap3beagle-camera-Change-MT9T111-references-to-new-.patch
index 38618cd7..1a58dea8 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0055-omap3beagle-camera-Change-MT9T111-references-to-new-.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0055-omap3beagle-camera-Change-MT9T111-references-to-new-.patch
@@ -1,4 +1,4 @@
1From ecf53d3104b6b73b1b32a9a5b39af2f258d74f8d Mon Sep 17 00:00:00 2001 1From fad06fbbfb3e25683672d41c3f5649500d5eda73 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 15 Jul 2010 15:47:23 -0500 3Date: Thu, 15 Jul 2010 15:47:23 -0500
4Subject: [PATCH 55/75] omap3beagle: camera: Change MT9T111 references to new MT9T112 driver 4Subject: [PATCH 55/75] omap3beagle: camera: Change MT9T111 references to new MT9T112 driver
@@ -171,7 +171,7 @@ index 2e49158..0b4dff7 100644
171 static int beagle_cam_probe(struct platform_device *pdev) 171 static int beagle_cam_probe(struct platform_device *pdev)
172 { 172 {
173diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 173diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
174index 239bd44..f93616b 100644 174index 0e7e8b2..7c9e40a 100644
175--- a/arch/arm/mach-omap2/board-omap3beagle.c 175--- a/arch/arm/mach-omap2/board-omap3beagle.c
176+++ b/arch/arm/mach-omap2/board-omap3beagle.c 176+++ b/arch/arm/mach-omap2/board-omap3beagle.c
177@@ -77,10 +77,10 @@ static struct omap_opp * _omap37x_l3_rate_table = NULL; 177@@ -77,10 +77,10 @@ static struct omap_opp * _omap37x_l3_rate_table = NULL;
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0056-omap34xxcam-Fix-multi-pixel-format-negotiation.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0056-omap34xxcam-Fix-multi-pixel-format-negotiation.patch
index 8040b32f..9c041c75 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0056-omap34xxcam-Fix-multi-pixel-format-negotiation.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0056-omap34xxcam-Fix-multi-pixel-format-negotiation.patch
@@ -1,4 +1,4 @@
1From bfca10fcff055b53728881c4c443f18e1387c722 Mon Sep 17 00:00:00 2001 1From 13238be1e612ab4113413cf21e83307ea9e18f1e Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 1 Jul 2010 13:57:26 -0500 3Date: Thu, 1 Jul 2010 13:57:26 -0500
4Subject: [PATCH 56/75] omap34xxcam: Fix multi pixel format negotiation 4Subject: [PATCH 56/75] omap34xxcam: Fix multi pixel format negotiation
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0057-SQUASH-omap3beagle-camera-Bring-back-mt9t111-support.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0057-SQUASH-omap3beagle-camera-Bring-back-mt9t111-support.patch
index 81614069..4ee6758c 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0057-SQUASH-omap3beagle-camera-Bring-back-mt9t111-support.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0057-SQUASH-omap3beagle-camera-Bring-back-mt9t111-support.patch
@@ -1,4 +1,4 @@
1From 42caf665931e5f86e514fcf5e011daff395836c2 Mon Sep 17 00:00:00 2001 1From 535b7f5333636f7e42f6bea67ed9f298afe0fe3c Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 15 Jul 2010 17:53:07 -0500 3Date: Thu, 15 Jul 2010 17:53:07 -0500
4Subject: [PATCH 57/75] SQUASH: omap3beagle: camera: Bring back mt9t111 support 4Subject: [PATCH 57/75] SQUASH: omap3beagle: camera: Bring back mt9t111 support
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0058-mt9t112-Do-init_camera-every-powerup.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0058-mt9t112-Do-init_camera-every-powerup.patch
index a0cf68d3..66c4e173 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0058-mt9t112-Do-init_camera-every-powerup.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0058-mt9t112-Do-init_camera-every-powerup.patch
@@ -1,4 +1,4 @@
1From a9afe5db3c54dc9dcc1025d493afe854a6e86914 Mon Sep 17 00:00:00 2001 1From 52bfcc9b6bcb30cf81589c483f1344c568be7300 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 15 Jul 2010 17:53:44 -0500 3Date: Thu, 15 Jul 2010 17:53:44 -0500
4Subject: [PATCH 58/75] mt9t112: Do init_camera every powerup 4Subject: [PATCH 58/75] mt9t112: Do init_camera every powerup
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0059-omap3beagle-camera-Switch-flag-for-no-sensor-ISP.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0059-omap3beagle-camera-Switch-flag-for-no-sensor-ISP.patch
index c2730357..9c856742 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0059-omap3beagle-camera-Switch-flag-for-no-sensor-ISP.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0059-omap3beagle-camera-Switch-flag-for-no-sensor-ISP.patch
@@ -1,4 +1,4 @@
1From 86ecf1214056406f84852a9863b2e0f4cd64c52c Mon Sep 17 00:00:00 2001 1From 1865b5a5f27a7de1e12d52a096e435e5dd177a48 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 15 Jul 2010 18:15:32 -0500 3Date: Thu, 15 Jul 2010 18:15:32 -0500
4Subject: [PATCH 59/75] omap3beagle: camera: Switch flag for no sensor ISP 4Subject: [PATCH 59/75] omap3beagle: camera: Switch flag for no sensor ISP
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0060-mt9t112-Add-back-3MP-basesize.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0060-mt9t112-Add-back-3MP-basesize.patch
index e7b7403e..32b825bf 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0060-mt9t112-Add-back-3MP-basesize.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0060-mt9t112-Add-back-3MP-basesize.patch
@@ -1,4 +1,4 @@
1From 022aa1373b5bfb77bc90f9e1abb485e0717f28c2 Mon Sep 17 00:00:00 2001 1From 9cfb19dd4093463361f279276e67d2c61e0f7d5e Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 15 Jul 2010 18:33:00 -0500 3Date: Thu, 15 Jul 2010 18:33:00 -0500
4Subject: [PATCH 60/75] mt9t112: Add back 3MP basesize 4Subject: [PATCH 60/75] mt9t112: Add back 3MP basesize
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0061-mt9t112-Prepare-for-24MHz-EXTCLK-and-30-fps.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0061-mt9t112-Prepare-for-24MHz-EXTCLK-and-30-fps.patch
index 6f47dd91..af30cb73 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0061-mt9t112-Prepare-for-24MHz-EXTCLK-and-30-fps.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0061-mt9t112-Prepare-for-24MHz-EXTCLK-and-30-fps.patch
@@ -1,4 +1,4 @@
1From aabf8386a23795f73722bf74901bd8aa46ebe1ba Mon Sep 17 00:00:00 2001 1From 8da9ec7ae90f238bd9b245bc80a1c6559df61f59 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 15 Jul 2010 23:41:32 -0500 3Date: Thu, 15 Jul 2010 23:41:32 -0500
4Subject: [PATCH 61/75] mt9t112: Prepare for 24MHz EXTCLK and 30 fps 4Subject: [PATCH 61/75] mt9t112: Prepare for 24MHz EXTCLK and 30 fps
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0062-omap3beagle-camera-Prepare-24MHz-xclk-for-mt9t112.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0062-omap3beagle-camera-Prepare-24MHz-xclk-for-mt9t112.patch
index 0d5a047c..2550430c 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0062-omap3beagle-camera-Prepare-24MHz-xclk-for-mt9t112.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0062-omap3beagle-camera-Prepare-24MHz-xclk-for-mt9t112.patch
@@ -1,4 +1,4 @@
1From 00cd18c8b6bd6b7f6c627d2b1284ca8f98f1fda4 Mon Sep 17 00:00:00 2001 1From b00bc4caeb798661983eca4f548f0f69301bfb32 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 15 Jul 2010 23:43:20 -0500 3Date: Thu, 15 Jul 2010 23:43:20 -0500
4Subject: [PATCH 62/75] omap3beagle: camera: Prepare 24MHz xclk for mt9t112 4Subject: [PATCH 62/75] omap3beagle: camera: Prepare 24MHz xclk for mt9t112
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0063-mt9t112-Correct-register-settings-for-mt9t111-sensor.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0063-mt9t112-Correct-register-settings-for-mt9t111-sensor.patch
index ad5297fa..7f5261fb 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0063-mt9t112-Correct-register-settings-for-mt9t111-sensor.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0063-mt9t112-Correct-register-settings-for-mt9t111-sensor.patch
@@ -1,4 +1,4 @@
1From 898d1ae2cad72e2b74a0a354b323ba91f2cd4a2a Mon Sep 17 00:00:00 2001 1From fa6380a53783b185189c372dd5e9d17f46c5c4d7 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Fri, 16 Jul 2010 07:52:06 -0500 3Date: Fri, 16 Jul 2010 07:52:06 -0500
4Subject: [PATCH 63/75] mt9t112: Correct register settings for mt9t111 sensor 4Subject: [PATCH 63/75] mt9t112: Correct register settings for mt9t111 sensor
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0064-mt9t112-Remove-smart-size-selection.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0064-mt9t112-Remove-smart-size-selection.patch
index a39eeba1..b3506dc2 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0064-mt9t112-Remove-smart-size-selection.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0064-mt9t112-Remove-smart-size-selection.patch
@@ -1,4 +1,4 @@
1From f6b91f473fe590e80eff6fd16e6fbcc15ce12b9a Mon Sep 17 00:00:00 2001 1From 2c8e7e157de32ebc5c8d60bf642c2f29f607c3d0 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Fri, 16 Jul 2010 17:09:10 -0500 3Date: Fri, 16 Jul 2010 17:09:10 -0500
4Subject: [PATCH 64/75] mt9t112: Remove "smart" size selection 4Subject: [PATCH 64/75] mt9t112: Remove "smart" size selection
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0065-rtl8192su-remove-bogus-Kconfig-depend-on-PCI-and-add.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0065-rtl8192su-remove-bogus-Kconfig-depend-on-PCI-and-add.patch
index 0ceb1a50..72697f74 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0065-rtl8192su-remove-bogus-Kconfig-depend-on-PCI-and-add.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0065-rtl8192su-remove-bogus-Kconfig-depend-on-PCI-and-add.patch
@@ -1,4 +1,4 @@
1From 088fc53bfda23acd009213c5ff83f411bf09e307 Mon Sep 17 00:00:00 2001 1From 132469e10e712ff4b386fb78a4c78343f151ebc4 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net> 2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Sun, 18 Jul 2010 11:25:12 +0200 3Date: Sun, 18 Jul 2010 11:25:12 +0200
4Subject: [PATCH 65/75] rtl8192su: remove bogus Kconfig depend on PCI and add another product ID 4Subject: [PATCH 65/75] rtl8192su: remove bogus Kconfig depend on PCI and add another product ID
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0066-mt9t112-Add-Context-selection-to-configuration.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0066-mt9t112-Add-Context-selection-to-configuration.patch
index f797f1e4..0afb340d 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0066-mt9t112-Add-Context-selection-to-configuration.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0066-mt9t112-Add-Context-selection-to-configuration.patch
@@ -1,4 +1,4 @@
1From c085125afaa6641b5db8e88f227eb4141ed6d59c Mon Sep 17 00:00:00 2001 1From a1066fd19c56f96201b877b394247db9c41c3c18 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Sun, 18 Jul 2010 01:12:41 -0500 3Date: Sun, 18 Jul 2010 01:12:41 -0500
4Subject: [PATCH 66/75] mt9t112: Add Context selection to configuration 4Subject: [PATCH 66/75] mt9t112: Add Context selection to configuration
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0067-mt9t112-Disable-JPEG-in-Context-B.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0067-mt9t112-Disable-JPEG-in-Context-B.patch
index 060764ec..954e0761 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0067-mt9t112-Disable-JPEG-in-Context-B.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0067-mt9t112-Disable-JPEG-in-Context-B.patch
@@ -1,4 +1,4 @@
1From 4fd52aac9743364e805cb3b4d1c9e8cb53a434a5 Mon Sep 17 00:00:00 2001 1From b1196ec5f007cef5cd3342ed3dbf3415bf721bd4 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Sun, 18 Jul 2010 01:45:29 -0500 3Date: Sun, 18 Jul 2010 01:45:29 -0500
4Subject: [PATCH 67/75] mt9t112: Disable JPEG in Context B 4Subject: [PATCH 67/75] mt9t112: Disable JPEG in Context B
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0068-mt9t112-Make-context-B-stream-unlimited-frames.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0068-mt9t112-Make-context-B-stream-unlimited-frames.patch
index f630d2ea..6025dc29 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0068-mt9t112-Make-context-B-stream-unlimited-frames.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0068-mt9t112-Make-context-B-stream-unlimited-frames.patch
@@ -1,4 +1,4 @@
1From c8f30b77094542bca32a3c900e6afc4d9d4d7a74 Mon Sep 17 00:00:00 2001 1From 362f211f85aa5e0f7519fca599428e03b05cb05f Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Sun, 18 Jul 2010 01:47:41 -0500 3Date: Sun, 18 Jul 2010 01:47:41 -0500
4Subject: [PATCH 68/75] mt9t112: Make context B stream unlimited frames 4Subject: [PATCH 68/75] mt9t112: Make context B stream unlimited frames
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0069-mt9t112-Fix-pll-p-dividers-abstraction.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0069-mt9t112-Fix-pll-p-dividers-abstraction.patch
index 8b993190..07c2e201 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0069-mt9t112-Fix-pll-p-dividers-abstraction.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0069-mt9t112-Fix-pll-p-dividers-abstraction.patch
@@ -1,4 +1,4 @@
1From 9c37d9acd3f7909cb1f4e437e0b5fe31dd6214d6 Mon Sep 17 00:00:00 2001 1From bf70e34844f0a3984d4ca48614fa39896ce5ca5f Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Mon, 19 Jul 2010 12:31:47 -0500 3Date: Mon, 19 Jul 2010 12:31:47 -0500
4Subject: [PATCH 69/75] mt9t112: Fix pll p-dividers abstraction 4Subject: [PATCH 69/75] mt9t112: Fix pll p-dividers abstraction
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0070-mt9t112-Adjust-50-60Hz-flickering-settings.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0070-mt9t112-Adjust-50-60Hz-flickering-settings.patch
index 593b29bb..e9d4fe87 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0070-mt9t112-Adjust-50-60Hz-flickering-settings.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0070-mt9t112-Adjust-50-60Hz-flickering-settings.patch
@@ -1,4 +1,4 @@
1From 3768ad7fb5304b05ee2184ba929a9896a3f8212a Mon Sep 17 00:00:00 2001 1From aa90dfe987d42500ff2306baf66f526509fdfae0 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Mon, 19 Jul 2010 17:30:29 -0500 3Date: Mon, 19 Jul 2010 17:30:29 -0500
4Subject: [PATCH 70/75] mt9t112: Adjust 50/60Hz flickering settings 4Subject: [PATCH 70/75] mt9t112: Adjust 50/60Hz flickering settings
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0071-mt9t112-Trigger-autofocus-at-the-end-of-context-swit.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0071-mt9t112-Trigger-autofocus-at-the-end-of-context-swit.patch
index dda88c4d..10ba57db 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0071-mt9t112-Trigger-autofocus-at-the-end-of-context-swit.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0071-mt9t112-Trigger-autofocus-at-the-end-of-context-swit.patch
@@ -1,4 +1,4 @@
1From a807b9f107bdcfbc9ba54ee4e67960f2e9912912 Mon Sep 17 00:00:00 2001 1From 18589703f191cee2568324b475ae479dd7f3b779 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Mon, 19 Jul 2010 17:45:38 -0500 3Date: Mon, 19 Jul 2010 17:45:38 -0500
4Subject: [PATCH 71/75] mt9t112: Trigger autofocus at the end of context switch 4Subject: [PATCH 71/75] mt9t112: Trigger autofocus at the end of context switch
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0072-omap3beagle-camera-Fix-dual-sensor-registration.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0072-omap3beagle-camera-Fix-dual-sensor-registration.patch
index ab040e14..409c08fb 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0072-omap3beagle-camera-Fix-dual-sensor-registration.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0072-omap3beagle-camera-Fix-dual-sensor-registration.patch
@@ -1,4 +1,4 @@
1From 4ceb51197a0f0f2ebd9fc9530033f38de289a1cf Mon Sep 17 00:00:00 2001 1From 838aed68f8efa16e9915795ddb968157d40fca6b Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 22 Jul 2010 11:03:33 -0500 3Date: Thu, 22 Jul 2010 11:03:33 -0500
4Subject: [PATCH 72/75] omap3beagle: camera: Fix dual sensor registration 4Subject: [PATCH 72/75] omap3beagle: camera: Fix dual sensor registration
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0073-mt9v113-Fix-State-variable-handling.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0073-mt9v113-Fix-State-variable-handling.patch
index 42e685eb..9bd006e1 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0073-mt9v113-Fix-State-variable-handling.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0073-mt9v113-Fix-State-variable-handling.patch
@@ -1,4 +1,4 @@
1From ac6564db6442fe40c974f233750c2fdd20735006 Mon Sep 17 00:00:00 2001 1From e3d5c3eb67e2ef91e08b0fcd26778b8505268a8a Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 22 Jul 2010 13:29:16 -0500 3Date: Thu, 22 Jul 2010 13:29:16 -0500
4Subject: [PATCH 73/75] mt9v113: Fix State variable handling 4Subject: [PATCH 73/75] mt9v113: Fix State variable handling
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0074-Move-sensor-rest-to-after-applying-power.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0074-Move-sensor-rest-to-after-applying-power.patch
index aaab1f74..24fb458a 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0074-Move-sensor-rest-to-after-applying-power.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0074-Move-sensor-rest-to-after-applying-power.patch
@@ -1,4 +1,4 @@
1From cf2b4381eeb1bb33c60fa48ea7ba27de13bca5ab Mon Sep 17 00:00:00 2001 1From f68eb83d33624b83b4ddd77daf3966de686ffaf0 Mon Sep 17 00:00:00 2001
2From: Steve Kipisz <s-kipisz2@ti.com> 2From: Steve Kipisz <s-kipisz2@ti.com>
3Date: Thu, 5 Aug 2010 10:51:11 -0500 3Date: Thu, 5 Aug 2010 10:51:11 -0500
4Subject: [PATCH 74/75] Move sensor rest to after applying power. 4Subject: [PATCH 74/75] Move sensor rest to after applying power.
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0075-omap3beagle-Add-camera-bootarg.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0075-omap3beagle-Add-camera-bootarg.patch
index fb1b0492..066bbb48 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0075-omap3beagle-Add-camera-bootarg.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/0075-omap3beagle-Add-camera-bootarg.patch
@@ -1,4 +1,4 @@
1From b23565171bddf4f2e454f7857d52a5a79da00ba7 Mon Sep 17 00:00:00 2001 1From d15c09a8ed5441dd843257b6a4396dd058a2e68f Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com> 2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 22 Jul 2010 15:38:43 -0500 3Date: Thu, 22 Jul 2010 15:38:43 -0500
4Subject: [PATCH 75/75] omap3beagle: Add camera bootarg 4Subject: [PATCH 75/75] omap3beagle: Add camera bootarg
@@ -15,7 +15,7 @@ Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
15 1 files changed, 34 insertions(+), 8 deletions(-) 15 1 files changed, 34 insertions(+), 8 deletions(-)
16 16
17diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c 17diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
18index f93616b..2677b41 100644 18index 7c9e40a..1e8b77b 100644
19--- a/arch/arm/mach-omap2/board-omap3beagle.c 19--- a/arch/arm/mach-omap2/board-omap3beagle.c
20+++ b/arch/arm/mach-omap2/board-omap3beagle.c 20+++ b/arch/arm/mach-omap2/board-omap3beagle.c
21@@ -89,6 +89,7 @@ extern struct mt9t112_platform_data mt9t112_pdata; 21@@ -89,6 +89,7 @@ extern struct mt9t112_platform_data mt9t112_pdata;
@@ -95,7 +95,7 @@ index f93616b..2677b41 100644
95 static void __init omap3_beagle_init(void) 95 static void __init omap3_beagle_init(void)
96 { 96 {
97 omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); 97 omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
98@@ -915,6 +940,7 @@ static void __init omap3_beagle_map_io(void) 98@@ -910,6 +935,7 @@ static void __init omap3_beagle_map_io(void)
99 } 99 }
100 100
101 early_param("buddy", expansionboard_setup); 101 early_param("buddy", expansionboard_setup);
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/5m03/0001-mt9p031-import-driver-from-https-github.com-Aptina-B.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/5m03/0001-mt9p031-import-driver-from-https-github.com-Aptina-B.patch
new file mode 100644
index 00000000..ee728b9d
--- /dev/null
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/5m03/0001-mt9p031-import-driver-from-https-github.com-Aptina-B.patch
@@ -0,0 +1,1547 @@
1From eefcf5de4689fbd00119d7a7df75244ca6ca1187 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Sun, 1 May 2011 16:40:54 +0200
4Subject: [PATCH 1/2] mt9p031: import driver from https://github.com/Aptina/BeagleBoard-xM/tree/master/Angstrom/MT9P031
5
6Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7---
8 drivers/media/video/Kconfig | 6 +
9 drivers/media/video/Makefile | 1 +
10 drivers/media/video/mt9p031.c | 1445 +++++++++++++++++++++++++++++++++++++++
11 include/media/mt9p031.h | 30 +
12 include/media/v4l2-chip-ident.h | 1 +
13 5 files changed, 1483 insertions(+), 0 deletions(-)
14 create mode 100644 drivers/media/video/mt9p031.c
15 create mode 100644 include/media/mt9p031.h
16
17diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
18index 4c1fb0f..59f1133 100644
19--- a/drivers/media/video/Kconfig
20+++ b/drivers/media/video/Kconfig
21@@ -832,6 +832,12 @@ config SOC_CAMERA_MT9M111
22 help
23 This driver supports MT9M111 and MT9M112 cameras from Micron
24
25+config SOC_CAMERA_MT9P031
26+ tristate "mt9p031 support"
27+ depends on SOC_CAMERA && I2C
28+ help
29+ This driver supports MT9P031 cameras from Micron.
30+
31 config SOC_CAMERA_MT9T031
32 tristate "mt9t031 support"
33 depends on SOC_CAMERA && I2C
34diff --git a/drivers/media/video/Makefile b/drivers/media/video/Makefile
35index fb7e46c..f3110e7 100644
36--- a/drivers/media/video/Makefile
37+++ b/drivers/media/video/Makefile
38@@ -79,6 +79,7 @@ obj-$(CONFIG_VIDEO_MT9V113) += mt9v113.o
39
40 obj-$(CONFIG_SOC_CAMERA_MT9M001) += mt9m001.o
41 obj-$(CONFIG_SOC_CAMERA_MT9M111) += mt9m111.o
42+obj-$(CONFIG_SOC_CAMERA_MT9P031) += mt9p031.o
43 obj-$(CONFIG_SOC_CAMERA_MT9T031) += mt9t031.o
44 obj-$(CONFIG_SOC_CAMERA_MT9V022) += mt9v022.o
45 obj-$(CONFIG_SOC_CAMERA_OV772X) += ov772x.o
46diff --git a/drivers/media/video/mt9p031.c b/drivers/media/video/mt9p031.c
47new file mode 100644
48index 0000000..3047e43
49--- /dev/null
50+++ b/drivers/media/video/mt9p031.c
51@@ -0,0 +1,1445 @@
52+/*
53+ * drivers/media/video/mt9p031.c
54+ *
55+ * Aptina mt9p031 sensor driver
56+ *
57+ *
58+ * Copyright (C) 2010 Aptina Imaging
59+ *
60+ *
61+ * Leverage mt9p012.c
62+ *
63+ * This program is free software; you can redistribute it and/or modify
64+ * it under the terms of the GNU General Public License version 2 as
65+ * published by the Free Software Foundation.
66+ *
67+ * This program is distributed in the hope that it will be useful,
68+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
69+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
70+ * GNU General Public License for more details.
71+ *
72+ * You should have received a copy of the GNU General Public License
73+ * along with this program; if not, write to the Free Software
74+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
75+ *
76+ */
77+
78+
79+#include <linux/delay.h>
80+#include <linux/i2c.h>
81+#include <linux/init.h>
82+#include <linux/module.h>
83+#include <linux/slab.h>
84+#include <linux/kernel.h>
85+#include <linux/videodev2.h>
86+#include <linux/sysfs.h>
87+
88+#include <media/mt9p031.h>
89+#include <media/v4l2-int-device.h>
90+#include <media/v4l2-chip-ident.h>
91+
92+#define MT9P031_DEBUG
93+
94+#ifdef MT9P031_DEBUG
95+#define DPRINTK_DRIVER(format, ...) \
96+ printk(KERN_INFO "_MT9P031_DRIVER: " format, ## __VA_ARGS__)
97+#else
98+#define DPRINTK_DRIVER(format, ...)
99+#endif
100+/************************************************************************
101+ macro
102+************************************************************************/
103+// Macro to configure I2c level shifter. Use only for MT9P031 Headboards from Aptina; not required for Leopard Imaging or elsewise.
104+#define MT9P031_HEADBOARD
105+
106+#define MT9P031_CHIP_ID 0x1801
107+#define MT9P031_MAX_HEIGHT 1944
108+#define MT9P031_MAX_WIDTH 2592
109+#define MT9P031_MIN_HEIGHT 2
110+#define MT9P031_MIN_WIDTH 2
111+
112+#define VGA_HEIGHT 480
113+#define VGA_WIDTH 640
114+
115+#define MT9P031_NORMAL_OPERATION_MODE (0x1F82) //write
116+#define MT9P031_OUTPUT_CTRL_CHIP_UNSELECT (0x1F80)
117+#define MT9P031_OUTPUT_CTRL_HALT (0x1F83)
118+
119+/* FPS Capabilities */
120+#define MT9P031_MIN_FPS 10
121+#define MT9P031_DEF_FPS 30
122+#define MT9P031_MAX_FPS 50
123+
124+#define MT9P031_XCLK_NOM_1 12000000
125+#define MT9P031_XCLK_NOM_2 24000000
126+
127+/* Analog gain values */
128+#define MT9P031_EV_MIN_GAIN 0
129+#define MT9P031_EV_MAX_GAIN 47
130+#define MT9P031_EV_DEF_GAIN 24
131+#define MT9P031_EV_GAIN_STEP 1
132+
133+/* Exposure time values */
134+#define MT9P031_MIN_EXPOSURE 15000
135+#define MT9P031_MAX_EXPOSURE 128000
136+#define MT9P031_DEF_EXPOSURE 33000
137+#define MT9P031_EXPOSURE_STEP 100
138+#define Q12 4096
139+/************************************************************************
140+ Register Address
141+************************************************************************/
142+
143+#define REG_MT9P031_CHIP_VERSION 0x00
144+#define REG_MT9P031_ROWSTART 0x01
145+#define REG_MT9P031_COLSTART 0x02
146+#define REG_MT9P031_HEIGHT 0x03
147+#define REG_MT9P031_WIDTH 0x04
148+#define REG_MT9P031_HBLANK 0x05
149+#define REG_MT9P031_VBLANK 0x06
150+#define REG_MT9P031_OUT_CTRL 0x07
151+#define REG_MT9P031_SHUTTER_WIDTH_U 0x08
152+#define REG_MT9P031_SHUTTER_WIDTH_L 0x09
153+#define REG_MT9P031_PCLK_CTRL 0x0a
154+#define REG_MT9P031_RESTART 0x0b
155+#define REG_MT9P031_SHUTTER_DELAY 0x0c
156+#define REG_MT9P031_RESET 0x0d
157+
158+#define REG_MT9P031_PLL_CTRL 0x10
159+#define REG_MT9P031_PLL_CONF1 0x11
160+#define REG_MT9P031_PLL_CONF2 0x12
161+
162+#define REG_MT9P031_READ_MODE1 0x1e
163+#define REG_MT9P031_READ_MODE2 0x20
164+#define REG_MT9P031_ROW_ADDR_MODE 0x22
165+#define REG_MT9P031_COL_ADDR_MODE 0x23
166+#define REG_MT9P031_GREEN_1_GAIN 0x2b
167+#define REG_MT9P031_BLUE_GAIN 0x2c
168+#define REG_MT9P031_RED_GAIN 0x2d
169+#define REG_MT9P031_GREEN_2_GAIN 0x2e
170+#define REG_MT9P031_GLOBAL_GAIN 0x35
171+#define REG_MT9P031_CHIP_VERSION_ALT 0x0FF
172+
173+/************************************************************************
174+ struct
175+************************************************************************/
176+struct mt9p031_frame_size {
177+ u16 width;
178+ u16 height;
179+};
180+
181+struct mt9p031_priv {
182+ struct mt9p031_platform_data *pdata;
183+ struct v4l2_int_device *v4l2_int_device;
184+ struct i2c_client *client;
185+ struct v4l2_pix_format pix;
186+ struct v4l2_fract timeperframe;
187+ unsigned long xclk_current;
188+ int fps;
189+ int scaler;
190+ int ver;
191+ int model;
192+ u32 flags;
193+/* for flags */
194+#define INIT_DONE (1<<0)
195+};
196+
197+struct mt9p031_priv sysPriv;
198+
199+static const struct v4l2_fmtdesc mt9p031_formats[] = {
200+ {
201+ .description = "Bayer (sRGB) 10 bit",
202+ .pixelformat = V4L2_PIX_FMT_SRGGB10,
203+ },
204+};
205+
206+static const unsigned int mt9p031_num_formats = ARRAY_SIZE(mt9p031_formats);
207+
208+/***********************Minimum Horizontal blanking*********************/
209+int hb_min[4][4] = {
210+ { 450, 430, 0, 420 },
211+ { 796, 776, 0, 766 },
212+ { 0, 0, 0, 0 },
213+ { 1488, 1468, 0, 1458 },
214+};
215+
216+/**************************supported sizes******************************/
217+const static struct mt9p031_frame_size mt9p031_sizes[] = {
218+ { 640, 480 },
219+ { 1280, 720 },
220+ { 1920, 1080 },
221+ { 2048, 1536 }, //3MP
222+ { 2592, 1944 }, //5MP
223+};
224+
225+
226+struct mt9p031_format_params {
227+ int width;
228+ int height;
229+ int row_start;
230+ int col_start;
231+ int row_size;
232+ int col_size;
233+ int hblank;
234+ int vblank;
235+ int integ_time;
236+ int row_addr_mode;
237+ int col_addr_mode;
238+ int read_mode_2_config;
239+ int shutter_width_hi;
240+ int shutter_delay;
241+ int row_bin;
242+ int col_bin;
243+};
244+
245+enum mt9p031_image_size {
246+ VGA_BIN_30FPS,
247+ HDV_720P_30FPS,
248+ //HDV_720P_60FPS,
249+ //HDV_720P_60FPS_LVB,
250+ HDV_1080P_30FPS,
251+ MT9P031_THREE_MP,
252+ MT9P031_FIVE_MP,
253+};
254+
255+enum mt9p031_image_size mt9p031_current_format;
256+
257+const struct mt9p031_format_params mt9p031_supported_formats[] = {
258+ { 640, 480, 64, 24, 1919, 2559, 0, 0, 0x0296, 0x0033, 0x0033, 0x0060, 0, 0, 3, 3 }, // VGA_BIN_30FPS
259+ { 1280, 720, 64, 24, 1439, 2559, 0, 0, 0x0296, 0x0011, 0x0011, 0x0060, 0, 0, 1, 1 }, // 720P_HD_30FPS
260+ //{ 1280, 720, 0x0040, 0x0018, 0x059F, 0x09FF, 0, 0, 0x0296, 0x0011, 0x0011, 0x0060, 0, 0, 1, 1 }, // 720P_HD_60FPS
261+ //{ 1280, 720, 0x0040, 0x0018, 0x059F, 0x09FF, 0, 0x02D0, 0x0296, 0x0011, 0x0011, 0x0060, 0, 0, 1, 1 }, // 720P_HD_60FPS_LVB
262+ { 1920, 1080, 431, 335, 1079, 1919, 0, 0x0037, 0x01AC, 0, 0, 0x0040, 0, 0, 0, 0 }, // 1080P_30FPS
263+ { 2048, 1536, 431, 335, 1535, 2047, 0, 0x0037, 0x01AC, 0, 0, 0x0040, 0, 0, 0, 0 }, // 3MP CAPTURE
264+ { 2592, 1944, 431, 335, 1943, 2591, 0, 0x0037, 0x01AC, 0, 0, 0x0040, 0, 0, 0, 0 }, // 5MP CAPTURE
265+};
266+
267+
268+const struct v4l2_fract mt9p031_frameintervals[] = {
269+ { .numerator = 1, .denominator = 10 },
270+ { .numerator = 1, .denominator = 20 },
271+ { .numerator = 1, .denominator = 30 },
272+ { .numerator = 1, .denominator = 40 },
273+ { .numerator = 1, .denominator = 50 },
274+};
275+
276+
277+const u16 MT9P031_EV_GAIN_TBL[48] = {
278+ /* Gain x1 */
279+ 8, 9, 10, 11, 12, 13, 14, 15,
280+ /* Gain x2 */
281+ 16, 17, 18, 19, 20, 21, 22, 23,
282+ /* Gain x3 */
283+ 24, 25, 26, 27, 28, 29, 30, 31,
284+ /* Gain x4 */
285+ 32, 33, 34, 35,
286+ /* Gain x5 */
287+ 81, 82, 83,
288+ /* Gain x6 */
289+ 84, 85, 86, 87, 88, 89, 90, 91,
290+ /* Gain x7 */
291+ 92, 93, 94, 95, 96, 97, 98, 99,
292+ /* Gain x8 */
293+ 100,
294+};
295+
296+#ifdef MT9P031_HEADBOARD
297+/**
298+ * mt9p031_config_PCA9543A - configure on-board I2c level-shifter PCA9543A of MT9P031 Headboards from Aptina
299+ * @client: pointer to i2c client
300+ * Configures the level shifter to enable channel 0
301+ */
302+static int mt9p031_config_PCA9543A(const struct i2c_client *client)
303+{
304+ struct i2c_msg msg;
305+ int ret;
306+ u8 buf;
307+ buf = 0x21;
308+
309+ msg.addr = (0xE6 >> 1); //slave address of PCA9543A
310+ msg.flags = 0;
311+ msg.len = 1;
312+ msg.buf = &buf;
313+
314+ ret = i2c_transfer(client->adapter, &msg, 1);
315+
316+ return 0;
317+
318+}
319+#endif //MT9P031_HEADBOARD
320+
321+/**
322+ * mt9p031_reg_read - read resgiter value
323+ * @client: pointer to i2c client
324+ * @command: register address
325+ */
326+static int mt9p031_reg_read(const struct i2c_client *client, u16 command, u16 *val)
327+{
328+ struct i2c_msg msg[2];
329+ u8 buf[2];
330+ int ret;
331+
332+ // 8-bit/ byte addressable register
333+ buf[0] = command & 0xff;
334+
335+ msg[0].addr = client->addr;
336+ msg[0].flags = 0;
337+ msg[0].len = 1;
338+ msg[0].buf = buf ;
339+ ret = i2c_transfer(client->adapter, &msg[0], 1);
340+
341+ if(ret >= 0) {
342+ msg[1].addr = client->addr;
343+ msg[1].flags = I2C_M_RD; //1
344+ msg[1].len = 2;
345+ msg[1].buf = buf;
346+ ret = i2c_transfer(client->adapter, &msg[1], 1);
347+ }
348+ /*
349+ * if return value of this function is < 0,
350+ * it mean error.
351+ * else, under 16bit is valid data.
352+ */
353+ if(ret >= 0) {
354+ *val = 0;
355+ *val = buf[1] + (buf[0] << 8);
356+ return 0;
357+ }
358+
359+ v4l_err(client, "read from offset 0x%x error %d", command, ret);
360+ return ret;
361+}
362+
363+/**
364+ * mt9p031_reg_write - read resgiter value
365+ * @client: pointer to i2c client
366+ * @command: register address
367+ * @data: value to be written
368+ */
369+static int mt9p031_reg_write(const struct i2c_client *client,
370+ u16 command, u16 data)
371+{
372+ struct i2c_msg msg;
373+ u8 buf[3];
374+ int ret;
375+
376+ // 8-bit/ byte addressable register
377+
378+ buf[0] = command & 0xff;
379+ data = swab16(data);
380+ memcpy(buf + 1, &data, 2);
381+
382+ msg.addr = client->addr;
383+ msg.flags = 0;
384+ msg.len = 3;
385+ msg.buf = buf;
386+
387+ /*
388+ * i2c_transfer return message length,
389+ * but this function should return 0 if correct case
390+ */
391+ ret = i2c_transfer(client->adapter, &msg, 1);
392+ if (ret >= 0)
393+ ret = 0;
394+
395+ return ret;
396+}
397+
398+/**
399+ * struct vcontrol - Video controls
400+ * @v4l2_queryctrl: V4L2 VIDIOC_QUERYCTRL ioctl structure
401+ * @current_value: current value of this control
402+ */
403+static struct vcontrol {
404+ struct v4l2_queryctrl qc;
405+ int current_value;
406+} mt9p031_video_control[] = {
407+ {
408+ {
409+ .id = V4L2_CID_EXPOSURE,
410+ .type = V4L2_CTRL_TYPE_INTEGER,
411+ .name = "Exposure",
412+ .minimum = MT9P031_MIN_EXPOSURE,
413+ .maximum = MT9P031_MAX_EXPOSURE,
414+ .step = MT9P031_EXPOSURE_STEP,
415+ .default_value = MT9P031_DEF_EXPOSURE,
416+ },
417+ .current_value = MT9P031_DEF_EXPOSURE,
418+ },
419+ {
420+ {
421+ .id = V4L2_CID_GAIN,
422+ .type = V4L2_CTRL_TYPE_INTEGER,
423+ .name = "Analog Gain",
424+ .minimum = MT9P031_EV_MIN_GAIN,
425+ .maximum = MT9P031_EV_MAX_GAIN,
426+ .step = MT9P031_EV_GAIN_STEP,
427+ .default_value = MT9P031_EV_DEF_GAIN,
428+ },
429+ .current_value = MT9P031_EV_DEF_GAIN,
430+ },
431+};
432+
433+/**
434+ * find_vctrl - Finds the requested ID in the video control structure array
435+ * @id: ID of control to search the video control array for
436+ *
437+ * Returns the index of the requested ID from the control structure array
438+ */
439+static int
440+find_vctrl(int id)
441+{
442+ int i;
443+
444+ if (id < V4L2_CID_BASE)
445+ return -EDOM;
446+
447+ for (i = (ARRAY_SIZE(mt9p031_video_control) - 1); i >= 0; i--)
448+ if (mt9p031_video_control[i].qc.id == id)
449+ break;
450+ if (i < 0)
451+ i = -EINVAL;
452+ return i;
453+}
454+
455+/**
456+ * mt9p031_calc_size - Find the best match for a requested image capture size
457+ * @width: requested image width in pixels
458+ * @height: requested image height in pixels
459+ *
460+ * Find the best match for a requested image capture size. The best match
461+ * is chosen as the nearest match that has the same number or fewer pixels
462+ * as the requested size, or the smallest image size if the requested size
463+ * has fewer pixels than the smallest image.
464+ */
465+static enum mt9p031_image_size mt9p031_calc_size(unsigned int width,
466+ unsigned int height)
467+{
468+ enum mt9p031_image_size isize;
469+ unsigned long pixels = width * height;
470+
471+ for (isize = VGA_BIN_30FPS; isize <= MT9P031_FIVE_MP; isize++) {
472+ if (mt9p031_sizes[isize].height *
473+ mt9p031_sizes[isize].width >= pixels) {
474+
475+ return isize;
476+ }
477+ }
478+
479+ return MT9P031_FIVE_MP;
480+}
481+
482+/**
483+ * mt9p031_find_isize - Find the best match for a requested image capture size
484+ * @width: requested image width in pixels
485+ * @height: requested image height in pixels
486+ *
487+ * Find the best match for a requested image capture size. The best match
488+ * is chosen as the nearest match that has the same number or fewer pixels
489+ * as the requested size, or the smallest image size if the requested size
490+ * has fewer pixels than the smallest image.
491+ */
492+static enum mt9p031_image_size mt9p031_find_isize(unsigned int width)
493+{
494+ enum mt9p031_image_size isize;
495+
496+ for (isize = VGA_BIN_30FPS; isize <= MT9P031_FIVE_MP; isize++) {
497+ if (mt9p031_sizes[isize].width >= width)
498+ break;
499+ }
500+
501+ return isize;
502+}
503+
504+/**
505+ * mt9p031_calc_xclk - Calculate the required xclk frequency
506+ * @c: i2c client driver structure
507+ *
508+ * Given the image capture format in pix, the nominal frame period in
509+ * timeperframe, calculate and return the required xclk frequency
510+ */
511+static unsigned long mt9p031_calc_xclk(struct i2c_client *c)
512+{
513+ struct mt9p031_priv *priv = i2c_get_clientdata(c);
514+ struct v4l2_fract *timeperframe = &priv->timeperframe;
515+
516+ if (timeperframe->numerator == 0 ||
517+ timeperframe->denominator == 0) {
518+ /* supply a default nominal_timeperframe */
519+ timeperframe->numerator = 1;
520+ timeperframe->denominator = MT9P031_DEF_FPS;
521+ }
522+
523+ priv->fps = timeperframe->denominator / timeperframe->numerator;
524+ if (priv->fps < MT9P031_MIN_FPS)
525+ priv->fps = MT9P031_MIN_FPS;
526+ else if (priv->fps > MT9P031_MAX_FPS)
527+ priv->fps = MT9P031_MAX_FPS;
528+
529+ timeperframe->numerator = 1;
530+ timeperframe->denominator = priv->fps;
531+
532+ return MT9P031_XCLK_NOM_1;
533+}
534+
535+/**
536+ * mt9p031_set_params - sets register settings according to resolution
537+ * @client: pointer to standard i2c client
538+ * @width: width as queried by ioctl
539+ * @height: height as queried by ioctl
540+ */
541+static int mt9p031_set_params(struct i2c_client *client, u32 width, u32 height)
542+{
543+ struct mt9p031_priv *priv = i2c_get_clientdata(client);
544+ struct v4l2_pix_format *pix = &priv->pix;
545+ int ret;
546+ enum mt9p031_image_size i;
547+
548+ i = mt9p031_find_isize(pix->width);
549+ priv->pix.width = mt9p031_supported_formats[i].width;
550+ priv->pix.height = mt9p031_supported_formats[i].height;
551+
552+ ret = mt9p031_reg_write(client, REG_MT9P031_ROWSTART, mt9p031_supported_formats[i].row_start); //ROW_WINDOW_START_REG
553+ ret |= mt9p031_reg_write(client, REG_MT9P031_COLSTART, mt9p031_supported_formats[i].col_start); //COL_WINDOW_START_REG
554+ ret |= mt9p031_reg_write(client, REG_MT9P031_HEIGHT, mt9p031_supported_formats[i].row_size); //ROW_WINDOW_SIZE_REG=1439
555+ ret |= mt9p031_reg_write(client, REG_MT9P031_WIDTH, mt9p031_supported_formats[i].col_size); //COL_WINDOW_SIZE_REG=2559
556+ ret |= mt9p031_reg_write(client, REG_MT9P031_HBLANK, mt9p031_supported_formats[i].hblank); //HORZ_BLANK=0
557+ ret |= mt9p031_reg_write(client, REG_MT9P031_VBLANK, mt9p031_supported_formats[i].vblank); //VERT_BLANK_REG=720
558+ ret |= mt9p031_reg_write(client, REG_MT9P031_SHUTTER_WIDTH_L, 0x0400); //SHUTTER_WIDTH_LOW (INTEG_TIME_REG = 1024)
559+ ret |= mt9p031_reg_write(client, REG_MT9P031_ROW_ADDR_MODE, mt9p031_supported_formats[i].row_addr_mode); //ROW_MODE, ROW_SKIP=1, ROW_BIN=1
560+ ret |= mt9p031_reg_write(client, REG_MT9P031_COL_ADDR_MODE, mt9p031_supported_formats[i].col_addr_mode); //COL_MODE, COL_SKIP=1, COL_BIN=1
561+ ret |= mt9p031_reg_write(client, REG_MT9P031_READ_MODE2, mt9p031_supported_formats[i].read_mode_2_config); //READ_MODE_2, COL_SUM
562+ ret |= mt9p031_reg_write(client, REG_MT9P031_SHUTTER_WIDTH_U, mt9p031_supported_formats[i].shutter_width_hi); //SHUTTER_WIDTH_HI
563+ ret |= mt9p031_reg_write(client, REG_MT9P031_SHUTTER_WIDTH_L, mt9p031_supported_formats[i].integ_time); //SHUTTER_WIDTH_LOW (INTEG_TIME_REG)
564+ ret |= mt9p031_reg_write(client, REG_MT9P031_SHUTTER_DELAY, mt9p031_supported_formats[i].shutter_delay); //SHUTTER_DELAY_REG
565+
566+ return ret;
567+}
568+
569+/**
570+ * mt9p031_init_camera - initialize camera settings
571+ * @client: pointer to i2c client
572+ * Initialize camera settings
573+ */
574+static int mt9p031_init_camera(const struct i2c_client *client)
575+{
576+ int ret;
577+ struct mt9p031_priv *priv = i2c_get_clientdata(client);
578+ struct v4l2_pix_format *pix = &priv->pix;
579+
580+ ret = mt9p031_reg_write(client, REG_MT9P031_PLL_CTRL, 0x0051); //PLL_CTRL; power up pll
581+ ret |= mt9p031_reg_write(client, REG_MT9P031_PLL_CONF1, 0x1801); //PLL_CONFIG_1: m=24, n=1
582+ ret |= mt9p031_reg_write(client, REG_MT9P031_PLL_CONF2, 0x0002); //PLL_CONFIG_2: p1=2, p2=0
583+ mdelay(10); //wait 10 ms for VCO to lock
584+ ret |= mt9p031_reg_write(client, REG_MT9P031_PLL_CTRL, 0x0053); //PLL_CONTROL; use PLL
585+ mdelay(200);
586+
587+ ret |= mt9p031_set_params(priv->client, pix->width, pix->height);
588+
589+ ret |= mt9p031_reg_write(client, REG_MT9P031_RESET, 0x0001); //High
590+ ret |= mt9p031_reg_write(client, REG_MT9P031_RESET, 0x0000); //Low
591+ mdelay(100);
592+
593+ ret |= mt9p031_reg_write(client, REG_MT9P031_GREEN_1_GAIN, 0x0051); //Green1_gain_reg
594+ ret |= mt9p031_reg_write(client, REG_MT9P031_BLUE_GAIN, 0x0051); //Blue_gain_reg
595+ ret |= mt9p031_reg_write(client, REG_MT9P031_RED_GAIN, 0x0051); //Red_gain_reg
596+ ret |= mt9p031_reg_write(client, REG_MT9P031_GREEN_2_GAIN, 0x0051); //Green2_gain_reg
597+ ret |= mt9p031_reg_write(client, REG_MT9P031_GLOBAL_GAIN, 0x0008); //Analog Gain
598+ ret |= mt9p031_reg_write(client, REG_MT9P031_READ_MODE1, 0x0006); //Read_mode_1 //disable AB
599+ ret |= mt9p031_reg_write(client, REG_MT9P031_OUT_CTRL, 0x1F8E); //Enable parll fifo data
600+
601+ return ret>= 0 ? 0 : -EIO;
602+}
603+
604+/************************************************************************
605+ i2c driver
606+************************************************************************/
607+/**
608+ * mt9p031_detect - Detect if an mt9p031 is present, and if so which revision
609+ * @client: pointer to the i2c client driver structure
610+ *
611+ * Returns a negative error number if no device is detected
612+ */
613+static int mt9p031_detect(struct i2c_client *client)
614+{
615+ struct mt9p031_priv *priv = i2c_get_clientdata(client);
616+ const char *devname;
617+ u16 chipid;
618+
619+ if (!client)
620+ return -ENODEV;
621+ /*
622+ * Set Normal Mode
623+ */
624+ if(mt9p031_reg_write(client, REG_MT9P031_OUT_CTRL, MT9P031_NORMAL_OPERATION_MODE))
625+ return -ENODEV;
626+ /*
627+ * check and show chip ID
628+ */
629+ if(mt9p031_reg_read(client, REG_MT9P031_CHIP_VERSION, &chipid))
630+ return -ENODEV;
631+
632+ if(chipid == MT9P031_CHIP_ID) {
633+ devname = "mt9p031";
634+ priv->model = V4L2_IDENT_MT9P031;
635+ dev_info(&client->dev, "%s chip ID %04x\n", devname, chipid);
636+ return 0;
637+ }
638+
639+ dev_err(&client->dev, "Product ID error %04x\n", chipid);
640+ return -ENODEV;
641+}
642+
643+/**
644+ * mt9p031_set_exposure_time - sets exposure time per input value
645+ * @exp_time: exposure time to be set on device
646+ * @client: pointer to standard i2c client
647+ * @lvc: pointer to V4L2 exposure entry in video_controls array
648+ *
649+ * If the requested exposure time is within the allowed limits, the HW
650+ * is configured to use the new exposure time, and the video_controls
651+ * array is updated with the new current value.
652+ * The function returns 0 upon success. Otherwise an error code is
653+ * returned.
654+ */
655+static int mt9p031_set_exposure_time(u32 exp_time, struct i2c_client *client,
656+ struct vcontrol *lvc)
657+{
658+ int ret = 0, i, shutter_width, so_p, t_pix_clk, sd_p, shutter_delay;
659+ int sw_l ,sw_u ,W ,h_blanking, t_row;
660+
661+ if(exp_time < MT9P031_MIN_EXPOSURE)
662+ exp_time = MT9P031_MIN_EXPOSURE;
663+ else if(exp_time > MT9P031_MAX_EXPOSURE)
664+ exp_time = MT9P031_MAX_EXPOSURE;
665+
666+ shutter_delay = mt9p031_supported_formats[mt9p031_current_format].shutter_delay;
667+ sd_p = min(shutter_delay + 1, 1504);
668+ so_p = 208 * (mt9p031_supported_formats[mt9p031_current_format].row_bin + 1) + 98 + sd_p - 94;
669+ t_pix_clk = (Q12/96 );
670+ h_blanking = mt9p031_supported_formats[mt9p031_current_format].hblank + 1;
671+ W = 2 * (int)((mt9p031_supported_formats[mt9p031_current_format].row_size + 1) / (2 * (mt9p031_supported_formats[mt9p031_current_format].row_bin + 1)) + 1);
672+ t_row = 2 * t_pix_clk * max(W/2 + max(h_blanking, hb_min[mt9p031_supported_formats[mt9p031_current_format].row_bin][mt9p031_supported_formats[mt9p031_current_format].col_bin]),
673+ (41 + 346 * (mt9p031_supported_formats[mt9p031_current_format].row_bin + 1) + 99))/Q12;
674+
675+ shutter_width = (exp_time + 2*so_p*t_pix_clk) / t_row;
676+
677+ if (shutter_width< 3) {
678+ sd_p = 1232 > shutter_delay ? 1232 : shutter_delay;
679+ so_p = 208 * (mt9p031_supported_formats[mt9p031_current_format].row_bin + 1) + 98 + sd_p - 94;
680+ shutter_width = ((exp_time*Q12 + 2*so_p*t_pix_clk) / (t_row * Q12));
681+ }
682+
683+ if (shutter_width < 1)
684+ shutter_width = 1;
685+ sw_l = shutter_width& 0xffff;
686+ sw_u = (shutter_width)>> 16;
687+ ret = mt9p031_reg_write(client, REG_MT9P031_SHUTTER_WIDTH_L,sw_l);
688+ mdelay(1);
689+ ret = mt9p031_reg_write(client, REG_MT9P031_SHUTTER_WIDTH_U,sw_u);
690+
691+ if (ret)
692+ dev_err(&client->dev, "Error setting exposure time %d\n",
693+ ret);
694+ else{
695+ i = find_vctrl(V4L2_CID_EXPOSURE);
696+ if (i >= 0) {
697+ lvc = &mt9p031_video_control[i];
698+ lvc->current_value = exp_time;
699+ }
700+ }
701+
702+ return ret;
703+}
704+
705+/**
706+ * mt9p031_set_gain - sets sensor analog gain per input value
707+ * @lineargain: analog gain value index to be set on device
708+ * @client: pointer to standard i2c client
709+ * @lvc: pointer to V4L2 analog gain entry in video_controls array
710+ *
711+ * If the requested analog gain is within the allowed limits, the HW
712+ * is configured to use the new gain value, and the video_controls
713+ * array is updated with the new current value.
714+ * The function returns 0 upon success. Otherwise an error code is
715+ * returned.
716+ */
717+int mt9p031_set_gain(u16 lineargain, struct i2c_client *client,
718+ struct vcontrol *lvc)
719+{
720+ int ret= 0, i;
721+ u16 reg_gain = 0;
722+
723+ if (lineargain < MT9P031_EV_MIN_GAIN) {
724+ lineargain = MT9P031_EV_MIN_GAIN;
725+ v4l_err(client, "Gain out of legal range.");
726+ }
727+ if (lineargain > MT9P031_EV_MAX_GAIN) {
728+ lineargain = MT9P031_EV_MAX_GAIN;
729+ v4l_err(client, "Gain out of legal range.");
730+ }
731+
732+ reg_gain = MT9P031_EV_GAIN_TBL[lineargain];
733+ ret = mt9p031_reg_write(client, REG_MT9P031_GLOBAL_GAIN,
734+ reg_gain);
735+
736+ if (ret) {
737+ dev_err(&client->dev, "Error setting gain.%d", ret);
738+ return ret;
739+ }
740+ else {
741+ i = find_vctrl(V4L2_CID_GAIN);
742+ if (i >= 0) {
743+ lvc = &mt9p031_video_control[i];
744+ lvc->current_value = lineargain;
745+ }
746+ }
747+
748+ return ret;
749+}
750+
751+/************************************************************************
752+ v4l2_ioctls
753+************************************************************************/
754+
755+/**
756+ * mt9p031_v4l2_int_s_power - V4L2 sensor interface handler for vidioc_int_s_power_num
757+ * @s: pointer to standard V4L2 device structure
758+ * @on: power state to which device is to be set
759+ *
760+ * Sets devices power state to requrested state, if possible.
761+ */
762+static int mt9p031_v4l2_int_s_power(struct v4l2_int_device *s,
763+ enum v4l2_power power)
764+{
765+ struct mt9p031_priv *priv = s->priv;
766+ struct i2c_client *client = priv->client;
767+
768+ int ret;
769+
770+ switch (power) {
771+ case V4L2_POWER_STANDBY:
772+ /* FALLTHROUGH */
773+ case V4L2_POWER_OFF:
774+ ret = priv->pdata->power_set(s, power);
775+ if (ret < 0) {
776+ dev_err(&client->dev, "Unable to set target board power "
777+ "state (OFF/STANDBY)\n");
778+ return ret;
779+ }
780+ break;
781+ case V4L2_POWER_ON:
782+ ret = priv->pdata->power_set(s, power);
783+
784+ if (ret < 0) {
785+ dev_err(&client->dev, "Unable to set target board power "
786+ "state (ON)\n");
787+ return ret;
788+ }
789+ if (!(priv->flags & INIT_DONE)) {
790+ ret = mt9p031_detect(client);
791+ if (ret < 0) {
792+ dev_err(&client->dev, "Unable to detect sensor\n");
793+ return ret;
794+ }
795+ priv->flags |= INIT_DONE;
796+ }
797+
798+ ret = mt9p031_init_camera(client);
799+ if (ret < 0) {
800+ dev_err(&client->dev, "Unable to initialize sensor\n");
801+ return ret;
802+ }
803+ }
804+
805+ return 0;
806+}
807+
808+/**
809+ * mt9p031_v4l2_s_ctrl - V4L2 sensor interface handler for VIDIOC_S_CTRL ioctl
810+ * @s: pointer to standard V4L2 device structure
811+ * @vc: standard V4L2 VIDIOC_S_CTRL ioctl structure
812+ *
813+ * If the requested control is supported, sets the control's current
814+ * value in HW (and updates the video_control[] array). Otherwise,
815+ * returns -EINVAL if the control is not supported.
816+ */
817+static int mt9p031_v4l2_s_ctrl(struct v4l2_int_device *s,
818+ struct v4l2_control *vc)
819+{
820+ int retval = -EINVAL;
821+ int i;
822+ struct vcontrol *lvc;
823+ struct mt9p031_priv *priv = s->priv;
824+ struct i2c_client *client = priv->client;
825+
826+ i = find_vctrl(vc->id);
827+ if (i < 0)
828+ return -EINVAL;
829+ lvc = &mt9p031_video_control[i];
830+
831+ switch (vc->id) {
832+ case V4L2_CID_EXPOSURE:
833+ retval = mt9p031_set_exposure_time(vc->value, client, lvc);
834+ break;
835+ case V4L2_CID_GAIN:
836+ retval = mt9p031_set_gain(vc->value, client, lvc);
837+ break;
838+ }
839+
840+ return retval;
841+}
842+
843+/**
844+ * mt9p031_v4l2_g_ctrl - V4L2 sensor interface handler for VIDIOC_G_CTRL ioctl
845+ * @s: pointer to standard V4L2 device structure
846+ * @vc: standard V4L2 VIDIOC_G_CTRL ioctl structure
847+ *
848+ * If the requested control is supported, returns the control's current
849+ * value from the video_control[] array. Otherwise, returns -EINVAL
850+ * if the control is not supported.
851+ */
852+static int mt9p031_v4l2_g_ctrl(struct v4l2_int_device *s,
853+ struct v4l2_control *vc)
854+{
855+ struct vcontrol *lvc;
856+ int i;
857+
858+ i = find_vctrl(vc->id);
859+ if (i < 0)
860+ return -EINVAL;
861+ lvc = &mt9p031_video_control[i];
862+
863+ switch (vc->id) {
864+ case V4L2_CID_EXPOSURE:
865+ vc->value = lvc->current_value;
866+ break;
867+ case V4L2_CID_GAIN:
868+ vc->value = lvc->current_value;
869+ break;
870+ }
871+
872+ return 0;
873+}
874+
875+/**
876+ * mt9p031_v4l2_queryctrl - V4L2 sensor interface handler for VIDIOC_QUERYCTRL ioctl
877+ * @s: pointer to standard V4L2 device structure
878+ * @qc: standard V4L2 VIDIOC_QUERYCTRL ioctl structure
879+ *
880+ * If the requested control is supported, returns the control information
881+ * from the video_control[] array. Otherwise, returns -EINVAL if the
882+ * control is not supported.
883+ */
884+static int mt9p031_v4l2_queryctrl(struct v4l2_int_device *s, struct v4l2_queryctrl *qc)
885+{
886+ int i;
887+
888+ i = find_vctrl(qc->id);
889+ if (i == -EINVAL)
890+ qc->flags = V4L2_CTRL_FLAG_DISABLED;
891+
892+ if (i < 0)
893+ return -EINVAL;
894+
895+ *qc = mt9p031_video_control[i].qc;
896+ return 0;
897+}
898+
899+
900+/**
901+ * mt9p031_v4l2_int_enum_fmt_cap - Implement the CAPTURE buffer VIDIOC_ENUM_FMT ioctl
902+ * @s: pointer to standard V4L2 device structure
903+ * @fmt: standard V4L2 VIDIOC_ENUM_FMT ioctl structure
904+ *
905+ * Implement the VIDIOC_ENUM_FMT ioctl for the CAPTURE buffer type.
906+ */
907+static int mt9p031_v4l2_int_enum_fmt_cap(struct v4l2_int_device *s,
908+ struct v4l2_fmtdesc *fmt)
909+{
910+ int index = fmt->index;
911+ enum v4l2_buf_type type = fmt->type;
912+
913+ memset(fmt, 0, sizeof(*fmt));
914+ fmt->index = index;
915+ fmt->type = type;
916+
917+ switch (fmt->type) {
918+ case V4L2_BUF_TYPE_VIDEO_CAPTURE:
919+ if (index >= ARRAY_SIZE(mt9p031_formats))
920+ return -EINVAL;
921+ break;
922+ default:
923+ return -EINVAL;
924+ }
925+
926+ strlcpy(fmt->description, mt9p031_formats[index].description,
927+ sizeof(fmt->description));
928+ fmt->pixelformat = mt9p031_formats[index].pixelformat;
929+
930+ return 0;
931+}
932+
933+/**
934+ * mt9p031_v4l2_int_try_fmt_cap - Implement the CAPTURE buffer VIDIOC_TRY_FMT ioctl
935+ * @s: pointer to standard V4L2 device structure
936+ * @f: pointer to standard V4L2 VIDIOC_TRY_FMT ioctl structure
937+ *
938+ * Implement the VIDIOC_TRY_FMT ioctl for the CAPTURE buffer type. This
939+ * ioctl is used to negotiate the image capture size and pixel format
940+ * without actually making it take effect.
941+ */
942+static int mt9p031_v4l2_int_try_fmt_cap(struct v4l2_int_device *s,
943+ struct v4l2_format *f)
944+{
945+ enum mt9p031_image_size isize;
946+ int ifmt;
947+ struct v4l2_pix_format *pix = &f->fmt.pix;
948+ struct mt9p031_priv *priv = s->priv;
949+ struct v4l2_pix_format *pix2 = &priv->pix;
950+
951+ isize = mt9p031_calc_size(pix->width, pix->height);
952+ mt9p031_current_format = isize;
953+
954+ pix->width = mt9p031_sizes[isize].width;
955+ pix->height = mt9p031_sizes[isize].height;
956+ for (ifmt = 0; ifmt < mt9p031_num_formats; ifmt++) {
957+ if (pix->pixelformat == mt9p031_formats[ifmt].pixelformat)
958+ break;
959+ }
960+ if (ifmt == mt9p031_num_formats)
961+ ifmt = 0;
962+ pix->pixelformat = mt9p031_formats[ifmt].pixelformat;
963+ pix->field = V4L2_FIELD_NONE;
964+ pix->bytesperline = pix->width * 2;
965+ pix->sizeimage = pix->bytesperline * pix->height;
966+ pix->priv = 0;
967+ pix->colorspace = V4L2_COLORSPACE_SRGB;
968+
969+ *pix2 = *pix;
970+
971+ return 0;
972+}
973+
974+/**
975+ * mt9p031_v4l2_int_s_fmt_cap - V4L2 sensor interface handler for VIDIOC_S_FMT ioctl
976+ * @s: pointer to standard V4L2 device structure
977+ * @f: pointer to standard V4L2 VIDIOC_S_FMT ioctl structure
978+ *
979+ * If the requested format is supported, configures the HW to use that
980+ * format, returns error code if format not supported or HW can't be
981+ * correctly configured.
982+ */
983+static int mt9p031_v4l2_int_s_fmt_cap(struct v4l2_int_device *s,
984+ struct v4l2_format *f)
985+{
986+ struct mt9p031_priv *priv = s->priv;
987+ struct v4l2_pix_format *pix = &f->fmt.pix;
988+ int rval;
989+
990+ rval = mt9p031_v4l2_int_try_fmt_cap(s, f);
991+ if (!rval)
992+ priv->pix = *pix;
993+
994+ return rval;
995+}
996+
997+/**
998+ * mt9p031_v4l2_int_g_fmt_cap - V4L2 sensor interface handler for ioctl_g_fmt_cap
999+ * @s: pointer to standard V4L2 device structure
1000+ * @f: pointer to standard V4L2 v4l2_format structure
1001+ *
1002+ * Returns the sensor's current pixel format in the v4l2_format
1003+ * parameter.
1004+ */
1005+static int mt9p031_v4l2_int_g_fmt_cap(struct v4l2_int_device *s,
1006+ struct v4l2_format *f)
1007+{
1008+ struct mt9p031_priv *priv = s->priv;
1009+
1010+ f->fmt.pix.width = priv->pix.width;
1011+ f->fmt.pix.height = priv->pix.height;
1012+ f->fmt.pix.pixelformat = V4L2_COLORSPACE_SRGB;
1013+ f->fmt.pix.pixelformat = priv->pix.pixelformat;
1014+ f->fmt.pix.field = V4L2_FIELD_NONE;
1015+
1016+ return 0;
1017+}
1018+
1019+/**
1020+ * mt9p031_v4l2_int_s_parm - V4L2 sensor interface handler for VIDIOC_S_PARM ioctl
1021+ * @s: pointer to standard V4L2 device structure
1022+ * @a: pointer to standard V4L2 VIDIOC_S_PARM ioctl structure
1023+ *
1024+ * Configures the sensor to use the input parameters, if possible. If
1025+ * not possible, reverts to the old parameters and returns the
1026+ * appropriate error code.
1027+ */
1028+
1029+
1030+static int mt9p031_v4l2_int_s_parm(struct v4l2_int_device *s,
1031+ struct v4l2_streamparm *a)
1032+{
1033+ struct mt9p031_priv *priv = s->priv;
1034+ struct i2c_client *client = priv->client;
1035+ struct v4l2_fract *timeperframe = &a->parm.capture.timeperframe;
1036+
1037+ priv->timeperframe = *timeperframe;
1038+ priv->xclk_current = mt9p031_calc_xclk(client);
1039+ *timeperframe = priv->timeperframe;
1040+
1041+ return 0;
1042+}
1043+
1044+/**
1045+ * mt9p031_v4l2_int_g_parm - V4L2 sensor interface handler for VIDIOC_G_PARM ioctl
1046+ * @s: pointer to standard V4L2 device structure
1047+ * @a: pointer to standard V4L2 VIDIOC_G_PARM ioctl structure
1048+ *
1049+ * Returns the sensor's video CAPTURE parameters.
1050+ */
1051+static int mt9p031_v4l2_int_g_parm(struct v4l2_int_device *s,
1052+ struct v4l2_streamparm *a)
1053+{
1054+ struct mt9p031_priv *priv = s->priv;
1055+ struct v4l2_captureparm *cparm = &a->parm.capture;
1056+
1057+ if (a->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
1058+ return -EINVAL;
1059+
1060+ memset(a, 0, sizeof(*a));
1061+ a->type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
1062+
1063+ cparm->capability = V4L2_CAP_TIMEPERFRAME;
1064+ cparm->timeperframe.numerator = 1;
1065+ cparm->timeperframe = priv->timeperframe;
1066+
1067+ return 0;
1068+}
1069+
1070+/**
1071+ * mt9p031_v4l2_int_g_priv - V4L2 sensor interface handler for vidioc_int_g_priv_num
1072+ * @s: pointer to standard V4L2 device structure
1073+ * @p: void pointer to hold sensor's private data address
1074+ *
1075+ * Returns device's (sensor's) private data area address in p parameter
1076+ */
1077+static int mt9p031_v4l2_int_g_priv(struct v4l2_int_device *s, void *p)
1078+{
1079+ struct mt9p031_priv *priv = s->priv;
1080+
1081+ return priv->pdata->priv_data_set(p);
1082+}
1083+
1084+/**
1085+ * mt9p031_v4l2_int_g_ifparm - V4L2 sensor interface handler for vidioc_int_g_priv_num
1086+ * @s: pointer to standard V4L2 device structure
1087+ * @p: void pointer to hold sensor's ifparm
1088+ *
1089+ * Returns device's (sensor's) ifparm in p parameter
1090+ */
1091+static int mt9p031_v4l2_int_g_ifparm(struct v4l2_int_device *s,
1092+ struct v4l2_ifparm *p)
1093+{
1094+ struct mt9p031_priv *priv = s->priv;
1095+ int rval;
1096+
1097+ if (p == NULL)
1098+ return -EINVAL;
1099+
1100+ if (!priv->pdata->ifparm)
1101+ return -EINVAL;
1102+
1103+ rval = priv->pdata->ifparm(p);
1104+ if (rval) {
1105+ v4l_err(priv->client, "g_ifparm.Err[%d]\n", rval);
1106+ return rval;
1107+ }
1108+
1109+ return 0;
1110+}
1111+
1112+/**
1113+ * mt9p031_v4l2_int_enum_framesizes - V4L2 sensor if handler for vidioc_int_enum_framesizes
1114+ * @s: pointer to standard V4L2 device structure
1115+ * @frms: pointer to standard V4L2 framesizes enumeration structure
1116+ *
1117+ * Returns possible framesizes depending on choosen pixel format
1118+ */
1119+static int mt9p031_v4l2_int_enum_framesizes(struct v4l2_int_device *s,
1120+ struct v4l2_frmsizeenum *frms)
1121+{
1122+ int ifmt;
1123+
1124+ for (ifmt = 0; ifmt < ARRAY_SIZE(mt9p031_formats); ifmt++)
1125+ if (mt9p031_formats[ifmt].pixelformat == frms->pixel_format)
1126+ break;
1127+
1128+ if (ifmt == ARRAY_SIZE(mt9p031_formats))
1129+ return -EINVAL;
1130+
1131+ /* Do we already reached all discrete framesizes? */
1132+ if (frms->index >= ARRAY_SIZE(mt9p031_sizes))
1133+ return -EINVAL;
1134+
1135+ frms->type = V4L2_FRMSIZE_TYPE_DISCRETE;
1136+ frms->discrete.width = mt9p031_sizes[frms->index].width;
1137+ frms->discrete.height = mt9p031_sizes[frms->index].height;
1138+
1139+ return 0;
1140+}
1141+
1142+static int mt9p031_v4l2_int_enum_frameintervals(struct v4l2_int_device *s,
1143+ struct v4l2_frmivalenum *frmi)
1144+{
1145+ int ifmt;
1146+ int max_size;
1147+
1148+ for (ifmt = 0; ifmt < ARRAY_SIZE(mt9p031_formats); ifmt++)
1149+ if (mt9p031_formats[ifmt].pixelformat == frmi->pixel_format)
1150+ break;
1151+
1152+ if (ifmt == ARRAY_SIZE(mt9p031_formats))
1153+ return -EINVAL;
1154+
1155+ max_size = ARRAY_SIZE(mt9p031_sizes);
1156+
1157+ for(ifmt = 0; ifmt < max_size; ifmt++) {
1158+ if(frmi->width <= mt9p031_sizes[ifmt].width) {
1159+ frmi->type = V4L2_FRMSIZE_TYPE_DISCRETE;
1160+ frmi->discrete.numerator =
1161+ mt9p031_frameintervals[frmi->index].numerator;
1162+ frmi->discrete.denominator =
1163+ mt9p031_frameintervals[frmi->index].denominator;
1164+
1165+ if(frmi->discrete.denominator <= mt9p031_frameintervals[max_size - ifmt - 1].denominator)
1166+ return 0;
1167+ else
1168+ return -EINVAL;
1169+ }
1170+ }
1171+
1172+ return 0;
1173+}
1174+
1175+static struct v4l2_int_ioctl_desc mt9p031_ioctl_desc[] = {
1176+ { .num = vidioc_int_enum_framesizes_num,
1177+ .func = (v4l2_int_ioctl_func *)mt9p031_v4l2_int_enum_framesizes },
1178+ { .num = vidioc_int_enum_frameintervals_num,
1179+ .func = (v4l2_int_ioctl_func *)mt9p031_v4l2_int_enum_frameintervals },
1180+ { .num = vidioc_int_s_power_num,
1181+ .func = (v4l2_int_ioctl_func *)mt9p031_v4l2_int_s_power },
1182+ { .num = vidioc_int_g_priv_num,
1183+ .func = (v4l2_int_ioctl_func *)mt9p031_v4l2_int_g_priv },
1184+ { .num = vidioc_int_g_ifparm_num,
1185+ .func = (v4l2_int_ioctl_func *)mt9p031_v4l2_int_g_ifparm },
1186+ { .num = vidioc_int_enum_fmt_cap_num,
1187+ .func = (v4l2_int_ioctl_func *)mt9p031_v4l2_int_enum_fmt_cap },
1188+ { .num = vidioc_int_try_fmt_cap_num,
1189+ .func = (v4l2_int_ioctl_func *)mt9p031_v4l2_int_try_fmt_cap },
1190+ { .num = vidioc_int_g_fmt_cap_num,
1191+ .func = (v4l2_int_ioctl_func *)mt9p031_v4l2_int_g_fmt_cap },
1192+ { .num = vidioc_int_s_fmt_cap_num,
1193+ .func = (v4l2_int_ioctl_func *)mt9p031_v4l2_int_s_fmt_cap },
1194+ { .num = vidioc_int_g_parm_num,
1195+ .func = (v4l2_int_ioctl_func *)mt9p031_v4l2_int_g_parm },
1196+ { .num = vidioc_int_s_parm_num,
1197+ .func = (v4l2_int_ioctl_func *)mt9p031_v4l2_int_s_parm },
1198+ { .num = vidioc_int_g_ctrl_num,
1199+ .func = (v4l2_int_ioctl_func *)mt9p031_v4l2_g_ctrl },
1200+ { .num = vidioc_int_s_ctrl_num,
1201+ .func = (v4l2_int_ioctl_func *)mt9p031_v4l2_s_ctrl },
1202+ { .num = vidioc_int_queryctrl_num,
1203+ .func = (v4l2_int_ioctl_func *)mt9p031_v4l2_queryctrl },
1204+};
1205+
1206+#ifdef MT9P031_DEBUG
1207+/**
1208+ * ---------------------------------------------------------------------------------
1209+ * Sysfs
1210+ * ---------------------------------------------------------------------------------
1211+ */
1212+
1213+/* Basic register read write support */
1214+static u16 mt9p031_attr_basic_addr = 0x0000;
1215+
1216+static ssize_t
1217+mt9p031_basic_reg_addr_show( struct device *dev, struct device_attribute *attr, char *buf)
1218+{
1219+ return sprintf(buf, "0x%x\n", mt9p031_attr_basic_addr);
1220+}
1221+
1222+static ssize_t
1223+mt9p031_basic_reg_addr_store( struct device *dev, struct device_attribute *attr, const char *buf, size_t n)
1224+{
1225+ u16 val;
1226+ sscanf(buf, "%hx", &val);
1227+ mt9p031_attr_basic_addr = (u16) val;
1228+ return n;
1229+}
1230+
1231+static DEVICE_ATTR( basic_reg_addr, S_IRUGO|S_IWUSR, mt9p031_basic_reg_addr_show, mt9p031_basic_reg_addr_store);
1232+
1233+
1234+static ssize_t
1235+mt9p031_basic_reg_val_show( struct device *dev, struct device_attribute *attr, char *buf)
1236+{
1237+ u16 val;
1238+ int ret;
1239+ ret = mt9p031_reg_read(sysPriv.client, mt9p031_attr_basic_addr, &val);
1240+ if(ret < 0){
1241+ printk(KERN_INFO "mt9p031: Basic register read failed");
1242+ return 1; // nothing processed
1243+ } else {
1244+ return sprintf(buf, "0x%x\n", val);
1245+ }
1246+}
1247+
1248+static ssize_t
1249+mt9p031_basic_reg_val_store( struct device *dev, struct device_attribute *attr, const char *buf, size_t n)
1250+{
1251+ u32 val;
1252+ sscanf(buf, "%x", &val);
1253+
1254+ if (mt9p031_reg_write(sysPriv.client, mt9p031_attr_basic_addr, (u16)val)) {
1255+ printk(KERN_INFO "mt9p031: Basic regiser write failed");
1256+ return n; // nothing processed
1257+ } else {
1258+ return n;
1259+ }
1260+}
1261+static DEVICE_ATTR( basic_reg_val, S_IRUGO|S_IWUSR, mt9p031_basic_reg_val_show, mt9p031_basic_reg_val_store);
1262+
1263+
1264+/* Exposure time access support */
1265+static ssize_t
1266+mt9p031_exposure_val_show( struct device *dev, struct device_attribute *attr, char *buf)
1267+{
1268+ u32 val;
1269+ struct vcontrol *lvc;
1270+ int i = find_vctrl(V4L2_CID_EXPOSURE);
1271+ if (i < 0)
1272+ return -EINVAL;
1273+ lvc = &mt9p031_video_control[i];
1274+ val = lvc->current_value;
1275+
1276+ if(val < 0){
1277+ printk(KERN_INFO "mt9p031: Exposure value read failed");
1278+ return 1; // nothing processed
1279+ } else {
1280+ return sprintf(buf, "%d\n", val);
1281+ }
1282+}
1283+
1284+
1285+static ssize_t
1286+mt9p031_exposure_val_store( struct device *dev, struct device_attribute *attr, const char *buf, size_t n)
1287+{
1288+ u32 val;
1289+ struct i2c_client *client;
1290+ struct vcontrol *lvc;
1291+
1292+ sscanf(buf, "%d", &val);
1293+ client = sysPriv.client;
1294+
1295+ lvc = &mt9p031_video_control[V4L2_CID_EXPOSURE];
1296+
1297+ if (mt9p031_set_exposure_time((u32)val, client, lvc)) {
1298+ printk(KERN_INFO "mt9p031: Exposure write failed");
1299+ return n; // nothing processed
1300+ } else {
1301+ return n;
1302+ }
1303+}
1304+
1305+static DEVICE_ATTR( exposure_val, S_IRUGO|S_IWUSR, mt9p031_exposure_val_show, mt9p031_exposure_val_store);
1306+
1307+
1308+/* Global Gain access support */
1309+static ssize_t
1310+mt9p031_gain_val_show( struct device *dev, struct device_attribute *attr, char *buf)
1311+{
1312+ u16 val;
1313+ struct vcontrol *lvc;
1314+
1315+ int i = find_vctrl(V4L2_CID_GAIN);
1316+ if (i < 0)
1317+ return -EINVAL;
1318+ lvc = &mt9p031_video_control[i];
1319+ val = lvc->current_value;
1320+
1321+ if(val < 0){
1322+ printk(KERN_INFO "mt9p031: Global Gain value read failed");
1323+ return 1; // nothing processed
1324+ } else {
1325+ return sprintf(buf, "%d\n", val);
1326+ }
1327+}
1328+
1329+static ssize_t
1330+mt9p031_gain_val_store( struct device *dev, struct device_attribute *attr, const char *buf, size_t n)
1331+{
1332+ u16 val;
1333+ struct i2c_client *client;
1334+ struct vcontrol *lvc;
1335+
1336+ sscanf(buf, "%hd", &val);
1337+ client = sysPriv.client;
1338+
1339+ lvc = &mt9p031_video_control[V4L2_CID_GAIN];
1340+
1341+ if (mt9p031_set_gain(val, client, lvc)) {
1342+ printk(KERN_INFO "mt9p031: Global gain write failed");
1343+ return n; // nothing processed
1344+ } else {
1345+ return n;
1346+ }
1347+}
1348+
1349+static DEVICE_ATTR( gain_val, S_IRUGO|S_IWUSR, mt9p031_gain_val_show, mt9p031_gain_val_store);
1350+
1351+
1352+static struct attribute *mt9p031_sysfs_attr[] = {
1353+ &dev_attr_basic_reg_addr.attr,
1354+ &dev_attr_basic_reg_val.attr,
1355+ &dev_attr_exposure_val.attr,
1356+ &dev_attr_gain_val.attr,
1357+};
1358+
1359+static int mt9p031_sysfs_add(struct kobject *kobj)
1360+{
1361+ int i = ARRAY_SIZE(mt9p031_sysfs_attr);
1362+ int rval = 0;
1363+
1364+ do {
1365+ rval = sysfs_create_file(kobj, mt9p031_sysfs_attr[--i]);
1366+ } while((i > 0) && (rval == 0));
1367+ return rval;
1368+}
1369+
1370+static int mt9p031_sysfs_rm(struct kobject *kobj)
1371+{
1372+ int i = ARRAY_SIZE(mt9p031_sysfs_attr);
1373+ int rval = 0;
1374+
1375+ do {
1376+ sysfs_remove_file(kobj, mt9p031_sysfs_attr[--i]);
1377+ } while(i > 0);
1378+ return rval;
1379+}
1380+#endif //MT9P031_DEBUG
1381+
1382+static struct v4l2_int_slave mt9p031_slave = {
1383+ .ioctls = mt9p031_ioctl_desc,
1384+ .num_ioctls = ARRAY_SIZE(mt9p031_ioctl_desc),
1385+};
1386+
1387+static int mt9p031_probe(struct i2c_client *client,
1388+ const struct i2c_device_id *did)
1389+{
1390+ struct mt9p031_priv *priv;
1391+ struct v4l2_int_device *v4l2_int_device;
1392+ int ret;
1393+ if (!client->dev.platform_data) {
1394+ dev_err(&client->dev, "no platform data?\n");
1395+ return -ENODEV;
1396+ }
1397+
1398+ priv = kzalloc(sizeof(*priv), GFP_KERNEL);
1399+ if (!priv)
1400+ return -ENOMEM;
1401+
1402+ v4l2_int_device = kzalloc(sizeof(*v4l2_int_device), GFP_KERNEL);
1403+ if (!v4l2_int_device) {
1404+ kfree(priv);
1405+ return -ENOMEM;
1406+ }
1407+
1408+#ifdef MT9P031_HEADBOARD
1409+ mt9p031_config_PCA9543A(client); //configure i2c level shifter on mt9p031 head-board, no need for Leopard module
1410+ mdelay(10);
1411+#endif //MT9P031_HEADBOARD
1412+
1413+ v4l2_int_device->module = THIS_MODULE;
1414+ strncpy(v4l2_int_device->name, "mt9p031", sizeof(v4l2_int_device->name));
1415+
1416+ v4l2_int_device->type = v4l2_int_type_slave;
1417+ v4l2_int_device->u.slave = &mt9p031_slave;
1418+
1419+ v4l2_int_device->priv = priv;
1420+
1421+ priv->v4l2_int_device = v4l2_int_device;
1422+ priv->client = client;
1423+ priv->pdata = client->dev.platform_data;
1424+
1425+ priv->pdata->flags = MT9P031_FLAG_PCLK_RISING_EDGE;
1426+
1427+ /* Setting Pixel Values */
1428+ priv->pix.width = mt9p031_sizes[0].width;
1429+ priv->pix.height = mt9p031_sizes[0].height;
1430+ priv->pix.pixelformat = mt9p031_formats[0].pixelformat;
1431+
1432+ i2c_set_clientdata(client, priv);
1433+
1434+ sysPriv.client = priv->client;
1435+
1436+ ret = v4l2_int_device_register(priv->v4l2_int_device);
1437+ if (ret) {
1438+ i2c_set_clientdata(client, NULL);
1439+ kfree(v4l2_int_device);
1440+ kfree(priv);
1441+ }
1442+
1443+#ifdef MT9P031_DEBUG
1444+ mt9p031_sysfs_add(&client->dev.kobj);
1445+#endif //MT9P031_DEBUG
1446+ return ret;
1447+}
1448+
1449+static int mt9p031_remove(struct i2c_client *client)
1450+{
1451+ struct mt9p031_priv *priv = i2c_get_clientdata(client);
1452+
1453+ v4l2_int_device_unregister(priv->v4l2_int_device);
1454+ i2c_set_clientdata(client, NULL);
1455+ mt9p031_sysfs_rm(&client->dev.kobj);
1456+
1457+ kfree(priv->v4l2_int_device);
1458+ kfree(priv);
1459+ return 0;
1460+}
1461+
1462+static const struct i2c_device_id mt9p031_id[] = {
1463+ { "mt9p031", 0 },
1464+ { }
1465+};
1466+MODULE_DEVICE_TABLE(i2c, mt9p031_id);
1467+
1468+static struct i2c_driver mt9p031_i2c_driver = {
1469+ .driver = {
1470+ .name = "mt9p031",
1471+ },
1472+ .probe = mt9p031_probe,
1473+ .remove = mt9p031_remove,
1474+ .id_table = mt9p031_id,
1475+};
1476+
1477+/************************************************************************
1478+ module function
1479+************************************************************************/
1480+static int __init mt9p031_module_init(void)
1481+{
1482+ return i2c_add_driver(&mt9p031_i2c_driver);
1483+}
1484+
1485+static void __exit mt9p031_module_exit(void)
1486+{
1487+ i2c_del_driver(&mt9p031_i2c_driver);
1488+}
1489+
1490+module_init(mt9p031_module_init);
1491+module_exit(mt9p031_module_exit);
1492+
1493+MODULE_DESCRIPTION("mt9p031 sensor driver");
1494+MODULE_AUTHOR("Aptina");
1495+MODULE_LICENSE("GPL v2");
1496+
1497diff --git a/include/media/mt9p031.h b/include/media/mt9p031.h
1498new file mode 100644
1499index 0000000..d119589
1500--- /dev/null
1501+++ b/include/media/mt9p031.h
1502@@ -0,0 +1,30 @@
1503+/* mt9p031 Camera
1504+ *
1505+ * This program is free software; you can redistribute it and/or modify
1506+ * it under the terms of the GNU General Public License version 2 as
1507+ * published by the Free Software Foundation.
1508+ */
1509+
1510+#ifndef __MT9P031_H__
1511+#define __MT9P031_H__
1512+
1513+#include <media/v4l2-int-device.h>
1514+
1515+#define MT9P031_I2C_ADDR 0x48 //(0x90 >> 1)
1516+
1517+#define MT9P031_CLK_MAX (27000000) /* 27MHz */
1518+#define MT9P031_CLK_MIN (6000000) /* 6Mhz */
1519+
1520+#define MT9P031_FLAG_PCLK_RISING_EDGE (1 << 0)
1521+#define MT9P031_FLAG_DATAWIDTH_8 (1 << 1) /* default width is 10 */
1522+
1523+struct mt9p031_platform_data {
1524+ char *master;
1525+ int (*power_set) (struct v4l2_int_device *s, enum v4l2_power on);
1526+ int (*ifparm) (struct v4l2_ifparm *p);
1527+ int (*priv_data_set) (void *);
1528+ u32 (*set_xclk) (struct v4l2_int_device *s, u32 xclkfreq);
1529+ u32 flags;
1530+};
1531+
1532+#endif /* __MT9P031_H__ */
1533diff --git a/include/media/v4l2-chip-ident.h b/include/media/v4l2-chip-ident.h
1534index 6cc107d..7599bf1 100644
1535--- a/include/media/v4l2-chip-ident.h
1536+++ b/include/media/v4l2-chip-ident.h
1537@@ -271,6 +271,7 @@ enum {
1538 V4L2_IDENT_MT9T112 = 45022,
1539 V4L2_IDENT_MT9V111 = 45031,
1540 V4L2_IDENT_MT9V112 = 45032,
1541+ V4L2_IDENT_MT9P031 = 6145,
1542
1543 /* HV7131R CMOS sensor: just ident 46000 */
1544 V4L2_IDENT_HV7131R = 46000,
1545--
15461.6.6.1
1547
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/5m03/0002-board-omap3beagle-import-li5m03-driver-from-https-gi.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/5m03/0002-board-omap3beagle-import-li5m03-driver-from-https-gi.patch
new file mode 100644
index 00000000..2b45f197
--- /dev/null
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/cam/5m03/0002-board-omap3beagle-import-li5m03-driver-from-https-gi.patch
@@ -0,0 +1,294 @@
1From 675ad06f53fbb0c7f398aaff8c3508196dfeb9bc Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Sun, 1 May 2011 16:41:57 +0200
4Subject: [PATCH 2/2] board-omap3beagle: import li5m03 driver from https://github.com/Aptina/BeagleBoard-xM/tree/master/Angstrom/MT9P031
5
6Properly hook it into the board file and some more updates
7
8Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
9---
10 arch/arm/mach-omap2/board-omap3beagle-camera.c | 186 +++++++++++++++++++++++-
11 arch/arm/mach-omap2/board-omap3beagle.c | 20 +++
12 2 files changed, 198 insertions(+), 8 deletions(-)
13
14diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c b/arch/arm/mach-omap2/board-omap3beagle-camera.c
15index 110c2c9..97f0e7a 100644
16--- a/arch/arm/mach-omap2/board-omap3beagle-camera.c
17+++ b/arch/arm/mach-omap2/board-omap3beagle-camera.c
18@@ -160,6 +160,8 @@ static int mt9v113_power_set(struct v4l2_int_device *s, enum v4l2_power power)
19 case V4L2_POWER_ON:
20
21 isp_configure_interface(vdev->cam->isp, &mt9v113_if_config);
22+ /* Set RESET_BAR to 0 */
23+ gpio_set_value(LEOPARD_RESET_GPIO, 0);
24
25 /* turn on VDD */
26 regulator_enable(cam_1v8_reg);
27@@ -168,9 +170,6 @@ static int mt9v113_power_set(struct v4l2_int_device *s, enum v4l2_power power)
28 regulator_enable(cam_2v8_reg);
29 mdelay(50);
30
31- /* Set RESET_BAR to 0 */
32- gpio_set_value(LEOPARD_RESET_GPIO, 0);
33-
34 /* Enable EXTCLK */
35 isp_set_xclk(vdev->cam->isp, MT9V113_CLK_MIN*2, CAM_USE_XCLKA);
36 /*
37@@ -294,7 +293,7 @@ static int mt9t112_set_prv_data(void *priv)
38 }
39
40 /**
41- * @brief mt9t112_power_set - Power-on or power-off TVP5146 device
42+ * @brief mt9t112_power_set - Power-on or power-off MT9T112 device
43 *
44 * @param power - enum, Power on/off, resume/standby
45 *
46@@ -320,6 +319,8 @@ static int mt9t112_power_set(struct v4l2_int_device *s, enum v4l2_power power)
47 isp_configure_interface(vdev->cam->isp, &mt9t112_if_config);
48 #endif
49
50+ /* Set RESET_BAR to 0 */
51+ gpio_set_value(LEOPARD_RESET_GPIO, 0);
52
53 /* turn on VDD */
54 regulator_enable(cam_1v8_reg);
55@@ -331,11 +332,8 @@ static int mt9t112_power_set(struct v4l2_int_device *s, enum v4l2_power power)
56
57 mdelay(50);
58
59- /* Set RESET_BAR to 0 */
60- gpio_set_value(LEOPARD_RESET_GPIO, 0);
61-
62 /* Enable EXTCLK */
63- isp_set_xclk(vdev->cam->isp, 24000000, CAM_USE_XCLKA);
64+ isp_set_xclk(vdev->cam->isp, 12000000, CAM_USE_XCLKA);
65
66 /*
67 * Wait at least 70 CLK cycles (w/EXTCLK = 24MHz):
68@@ -372,6 +370,178 @@ struct mt9t112_platform_data mt9t112_pdata = {
69
70 #endif /* #ifdef CONFIG_VIDEO_MT9T112 */
71
72+#if defined(CONFIG_SOC_CAMERA_MT9P031) || defined(CONFIG_SOC_CAMERA_MT9P031_MODULE)
73+#include <media/mt9p031.h>
74+
75+#define ISP_MT9P031_MCLK 216000000
76+
77+/* Arbitrary memory handling limit */
78+#define MT9P031_BIGGEST_FRAME_BYTE_SIZE PAGE_ALIGN((2592 * 1944) * 2 * 4 )
79+
80+static struct isp_interface_config mt9p031_if_config = {
81+ .ccdc_par_ser = ISP_PARLL,
82+ .dataline_shift = 0x1,
83+ .hsvs_syncdetect = ISPCTRL_SYNC_DETECT_VSRISE,
84+ .strobe = 0x0,
85+ .prestrobe = 0x0,
86+ .shutter = 0x0,
87+ .cam_mclk = ISP_MT9P031_MCLK,
88+ .wenlog = ISPCCDC_CFG_WENLOG_AND,
89+ .wait_hs_vs = 2,
90+ .u.par.par_bridge = 0x0,
91+ .u.par.par_clk_pol = 0x0,
92+};
93+
94+static struct v4l2_ifparm mt9p031_ifparm_s = {
95+ .if_type = V4L2_IF_TYPE_RAW,
96+ .u = {
97+ .raw = {
98+ .frame_start_on_rising_vs = 1,
99+ .bt_sync_correct = 0,
100+ .swap = 0,
101+ .latch_clk_inv = 0,
102+ .nobt_hs_inv = 0, /* active high */
103+ .nobt_vs_inv = 0, /* active high */
104+ .clock_min = MT9P031_CLK_MIN,
105+ .clock_max = MT9P031_CLK_MAX,
106+ },
107+ },
108+};
109+
110+/**
111+ * @brief mt9p031_ifparm - Returns the mt9p031 interface parameters
112+ *
113+ * @param p - pointer to v4l2_ifparm structure
114+ *
115+ * @return result of operation - 0 is success
116+ */
117+static int mt9p031_ifparm(struct v4l2_ifparm *p)
118+{
119+ if (p == NULL)
120+ return -EINVAL;
121+
122+ *p = mt9p031_ifparm_s;
123+ return 0;
124+}
125+
126+#if defined(CONFIG_VIDEO_OMAP3) || defined(CONFIG_VIDEO_OMAP3_MODULE)
127+static struct omap34xxcam_hw_config mt9p031_hwc = {
128+ .dev_index = 1,
129+ .dev_minor = -1,
130+ .dev_type = OMAP34XXCAM_SLAVE_SENSOR,
131+ .u.sensor.sensor_isp = 0,
132+ .u.sensor.capture_mem = MT9P031_BIGGEST_FRAME_BYTE_SIZE,
133+ .u.sensor.ival_default = { 1, 30 },
134+};
135+#endif
136+
137+/**
138+ * @brief mt9p031_set_prv_data - Returns mt9p031 omap34xx driver private data
139+ *
140+ * @param priv - pointer to omap34xxcam_hw_config structure
141+ *
142+ * @return result of operation - 0 is success
143+ */
144+static int mt9p031_set_prv_data(void *priv)
145+{
146+#if defined(CONFIG_VIDEO_OMAP3) || defined(CONFIG_VIDEO_OMAP3_MODULE)
147+ struct omap34xxcam_hw_config *hwc = priv;
148+
149+ if (priv == NULL)
150+ return -EINVAL;
151+
152+ *hwc = mt9p031_hwc;
153+ return 0;
154+#else
155+ return -EINVAL;
156+#endif
157+}
158+
159+/**
160+ * @brief mt9p031_power_set - Power-on or power-off mt9p031 device
161+ *
162+ * @param power - enum, Power on/off, resume/standby
163+ *
164+ * @return result of operation - 0 is success
165+ */
166+static int mt9p031_power_set(struct v4l2_int_device *s, enum v4l2_power power)
167+{
168+ struct omap34xxcam_videodev *vdev = s->u.slave->master->priv;
169+ switch (power) {
170+ case V4L2_POWER_OFF:
171+ case V4L2_POWER_STANDBY:
172+ isp_set_xclk(vdev->cam->isp, 0, CAM_USE_XCLKA);
173+
174+ if (regulator_is_enabled(cam_1v8_reg))
175+ regulator_disable(cam_1v8_reg);
176+ if (regulator_is_enabled(cam_2v8_reg))
177+ regulator_disable(cam_2v8_reg);
178+ break;
179+
180+ case V4L2_POWER_ON:
181+#if defined(CONFIG_VIDEO_OMAP3) || defined(CONFIG_VIDEO_OMAP3_MODULE)
182+ isp_configure_interface(vdev->cam->isp, &mt9p031_if_config);
183+#endif
184+
185+ /* Set RESET_BAR to 0 */
186+ gpio_set_value(LEOPARD_RESET_GPIO, 0);
187+
188+ /* turn on VDD */
189+ regulator_enable(cam_1v8_reg);
190+
191+ mdelay(1);
192+
193+ /* turn on VDD_IO */
194+ regulator_enable(cam_2v8_reg);
195+
196+ mdelay(50);
197+
198+ /* Enable EXTCLK */
199+ isp_set_xclk(vdev->cam->isp, 24000000, CAM_USE_XCLKA); //works for 36MHz too; try at lower freq
200+
201+ /*
202+ * Wait at least 70 CLK cycles (w/EXTCLK = 24MHz):
203+ * ((1000000 * 70) / 24000000) = aprox 2.91 us.
204+ */
205+
206+ udelay(3);
207+
208+ /* Set RESET_BAR to 1 */
209+ gpio_set_value(LEOPARD_RESET_GPIO, 1);
210+
211+ /*
212+ * Wait at least 100 CLK cycles (w/EXTCLK = 24MHz):
213+ * ((1000000 * 100) / 24000000) = aprox 4.16 us.
214+ */
215+
216+ udelay(5);
217+
218+ break;
219+
220+ default:
221+ return -ENODEV;
222+ break;
223+ }
224+ return 0;
225+}
226+
227+static u32 mt9p031_set_xclk(struct v4l2_int_device *s, u32 xclkfreq)
228+{
229+ struct omap34xxcam_videodev *vdev = s->u.slave->master->priv;
230+ return isp_set_xclk(vdev->cam->isp, xclkfreq, 0);
231+}
232+
233+
234+struct mt9p031_platform_data mt9p031_pdata = {
235+ .master = "omap34xxcam",
236+ .power_set = mt9p031_power_set,
237+ .set_xclk = mt9p031_set_xclk,
238+ .priv_data_set = mt9p031_set_prv_data,
239+ .ifparm = mt9p031_ifparm,
240+};
241+
242+#endif /* #ifdef CONFIG_SOC_CAMERA_MT9P031 */
243+
244 static int beagle_cam_probe(struct platform_device *pdev)
245 {
246 cam_1v8_reg = regulator_get(&pdev->dev, "cam_1v8");
247diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
248index 2677b41..e561431 100644
249--- a/arch/arm/mach-omap2/board-omap3beagle.c
250+++ b/arch/arm/mach-omap2/board-omap3beagle.c
251@@ -83,6 +83,12 @@ extern struct mt9v113_platform_data mt9v113_pdata;
252 extern struct mt9t112_platform_data mt9t112_pdata;
253 #endif
254
255+#if defined(CONFIG_SOC_CAMERA_MT9P031) || defined(CONFIG_SOC_CAMERA_MT9P031_MODULE)
256+#include <media/v4l2-int-device.h>
257+#include <media/mt9p031.h>
258+extern struct mt9p031_platform_data mt9p031_pdata;
259+#endif
260+
261 #define GPMC_CS0_BASE 0x60
262 #define GPMC_CS_SIZE 0x30
263
264@@ -614,6 +620,15 @@ static struct i2c_board_info __initdata beagle_lbcm3m1_i2c2_boardinfo[] = {
265 #endif
266 };
267
268+static struct i2c_board_info __initdata beagle_lbcm5m03_i2c2_boardinfo[] = {
269+#if defined(CONFIG_SOC_CAMERA_MT9P031) || defined(CONFIG_SOC_CAMERA_MT9P031_MODULE)
270+ {
271+ I2C_BOARD_INFO("mt9p031", MT9P031_I2C_ADDR),
272+ .platform_data = &mt9p031_pdata,
273+ },
274+#endif
275+};
276+
277 static int __init omap3_beagle_i2c_init(void)
278 {
279 omap_register_i2c_bus(1, 2600, beagle_i2c1_boardinfo,
280@@ -636,6 +651,11 @@ static int __init omap3_beagle_i2c_init(void)
281 " registering i2c2 bus for lbcm3m1\n");
282 omap_register_i2c_bus(2, 400, beagle_lbcm3m1_i2c2_boardinfo,
283 ARRAY_SIZE(beagle_lbcm3m1_i2c2_boardinfo));
284+ } else if (!strcmp(cameraboard_name, "lbcm5m03")) {
285+ printk(KERN_INFO "Beagle cameraboard:"
286+ " registering i2c2 bus for lbcm5m03\n");
287+ omap_register_i2c_bus(2, 400, beagle_lbcm5m03_i2c2_boardinfo,
288+ ARRAY_SIZE(beagle_lbcm5m03_i2c2_boardinfo));
289 } else {
290 omap_register_i2c_bus(2, 400, NULL, 0);
291 }
292--
2931.6.6.1
294
diff --git a/recipes-bsp/linux/linux-omap-psp-2.6.32/porches.patch b/recipes-bsp/linux/linux-omap-psp-2.6.32/porches.patch
index 630af6f1..d631c6fe 100644
--- a/recipes-bsp/linux/linux-omap-psp-2.6.32/porches.patch
+++ b/recipes-bsp/linux/linux-omap-psp-2.6.32/porches.patch
@@ -1,4 +1,4 @@
1From 00a84122fd2c1974f6dc79fce11a34154caab848 Mon Sep 17 00:00:00 2001 1From 91dc9ee523ad7f2a09cabf8082396eca0ef68000 Mon Sep 17 00:00:00 2001
2From: Tasslehoff Kjappfot <tasskjapp@gmail.com> 2From: Tasslehoff Kjappfot <tasskjapp@gmail.com>
3Date: Wed, 8 Sep 2010 12:46:14 +0200 3Date: Wed, 8 Sep 2010 12:46:14 +0200
4Subject: [PATCH] OMAP: DSS2: OMAPFB: swap front and back porches for both hsync and vsync 4Subject: [PATCH] OMAP: DSS2: OMAPFB: swap front and back porches for both hsync and vsync
@@ -17,10 +17,10 @@ Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
17 1 files changed, 8 insertions(+), 8 deletions(-) 17 1 files changed, 8 insertions(+), 8 deletions(-)
18 18
19diff --git a/drivers/video/omap2/omapfb/omapfb-main.c b/drivers/video/omap2/omapfb/omapfb-main.c 19diff --git a/drivers/video/omap2/omapfb/omapfb-main.c b/drivers/video/omap2/omapfb/omapfb-main.c
20index 39f53b1..bddfca6 100644 20index 0fe87e0..4cb8355 100644
21--- a/drivers/video/omap2/omapfb/omapfb-main.c 21--- a/drivers/video/omap2/omapfb/omapfb-main.c
22+++ b/drivers/video/omap2/omapfb/omapfb-main.c 22+++ b/drivers/video/omap2/omapfb/omapfb-main.c
23@@ -714,10 +714,10 @@ int check_fb_var(struct fb_info *fbi, struct fb_var_screeninfo *var) 23@@ -737,10 +737,10 @@ int check_fb_var(struct fb_info *fbi, struct fb_var_screeninfo *var)
24 var->pixclock = timings.pixel_clock != 0 ? 24 var->pixclock = timings.pixel_clock != 0 ?
25 KHZ2PICOS(timings.pixel_clock) : 25 KHZ2PICOS(timings.pixel_clock) :
26 0; 26 0;
@@ -35,7 +35,7 @@ index 39f53b1..bddfca6 100644
35 var->hsync_len = timings.hsw; 35 var->hsync_len = timings.hsw;
36 var->vsync_len = timings.vsw; 36 var->vsync_len = timings.vsw;
37 } else { 37 } else {
38@@ -2059,10 +2059,10 @@ static int omapfb_mode_to_timings(const char *mode_str, 38@@ -2019,10 +2019,10 @@ static int omapfb_mode_to_timings(const char *mode_str,
39 39
40 if (r != 0) { 40 if (r != 0) {
41 timings->pixel_clock = PICOS2KHZ(var.pixclock); 41 timings->pixel_clock = PICOS2KHZ(var.pixclock);
@@ -51,5 +51,5 @@ index 39f53b1..bddfca6 100644
51 timings->vsw = var.vsync_len; 51 timings->vsw = var.vsync_len;
52 timings->x_res = var.xres; 52 timings->x_res = var.xres;
53-- 53--
541.6.1 541.6.6.1
55 55
diff --git a/recipes-bsp/linux/linux-omap-psp_2.6.32.bb b/recipes-bsp/linux/linux-omap-psp_2.6.32.bb
index f21761fc..e7ee5eb2 100644
--- a/recipes-bsp/linux/linux-omap-psp_2.6.32.bb
+++ b/recipes-bsp/linux/linux-omap-psp_2.6.32.bb
@@ -9,7 +9,7 @@ COMPATIBLE_MACHINE = "am3517-crane|beagleboard|omap3evm|am3517-evm|dm37x-evm|am3
9SRCREV = "5fc29e7b2a76a64a739f857858ef0b98294aa155" 9SRCREV = "5fc29e7b2a76a64a739f857858ef0b98294aa155"
10 10
11# The main PR is now using MACHINE_KERNEL_PR, for omap3 see conf/machine/include/omap3.inc 11# The main PR is now using MACHINE_KERNEL_PR, for omap3 see conf/machine/include/omap3.inc
12MACHINE_KERNEL_PR_append = "a+gitr${SRCREV}" 12MACHINE_KERNEL_PR_append = "b+gitr${SRCREV}"
13 13
14SRC_URI += "git://arago-project.org/git/projects/linux-omap3.git;protocol=git;branch=master \ 14SRC_URI += "git://arago-project.org/git/projects/linux-omap3.git;protocol=git;branch=master \
15 file://0001-Added-Crane-Board-support.patch \ 15 file://0001-Added-Crane-Board-support.patch \
@@ -133,9 +133,13 @@ SRC_URI += "git://arago-project.org/git/projects/linux-omap3.git;protocol=git;br
133 file://cam/0073-mt9v113-Fix-State-variable-handling.patch \ 133 file://cam/0073-mt9v113-Fix-State-variable-handling.patch \
134 file://cam/0074-Move-sensor-rest-to-after-applying-power.patch \ 134 file://cam/0074-Move-sensor-rest-to-after-applying-power.patch \
135 file://cam/0075-omap3beagle-Add-camera-bootarg.patch \ 135 file://cam/0075-omap3beagle-Add-camera-bootarg.patch \
136 file://cam/5m03/0001-mt9p031-import-driver-from-https-github.com-Aptina-B.patch \
136 file://0001-BeagleBoard-Adjust-USER-button-pin-for-xM.patch \ 137 file://0001-BeagleBoard-Adjust-USER-button-pin-for-xM.patch \
137 file://0001-PSP-3.0.1.6-kernel-source-patched-with-OCF-Linux.patch \ 138 file://0001-PSP-3.0.1.6-kernel-source-patched-with-OCF-Linux.patch \
138 file://porches.patch \ 139 file://porches.patch \
140 file://0001-OMAP3-craneboard-print-expansionboard-name-detected-.patch \
141 file://0002-OMAP3-craneboard-add-support-for-TinCanTools-Trainer.patch \
142 file://0001-cgroupfs-create-sys-fs-cgroup-to-mount-cgroupfs-on.patch \
139 file://defconfig" 143 file://defconfig"
140 144
141SRC_URI_append_beagleboard = " file://logo_linux_clut224.ppm \ 145SRC_URI_append_beagleboard = " file://logo_linux_clut224.ppm \
@@ -147,6 +151,7 @@ SRC_URI_append_beagleboard = " file://logo_linux_clut224.ppm \
147 file://beagleboard-xmc/0006-omap3-beaglexm-fix-power-on-of-DVI.patch \ 151 file://beagleboard-xmc/0006-omap3-beaglexm-fix-power-on-of-DVI.patch \
148 file://beagleboard-xmc/0007-beagleboard-hack-in-support-from-xM-rev-C.patch \ 152 file://beagleboard-xmc/0007-beagleboard-hack-in-support-from-xM-rev-C.patch \
149 file://beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch \ 153 file://beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch \
154 file://cam/5m03/0002-board-omap3beagle-import-li5m03-driver-from-https-gi.patch \
150" 155"
151 156
152SRC_URI_append_omap3-touchbook = " \ 157SRC_URI_append_omap3-touchbook = " \