e7ee5eb22f76d9539982832b8391a5cabf576b18
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-omap-psp_2.6.32.bb
1 require multi-kernel.inc
3 DESCRIPTION = "Linux kernel for OMAP processors"
4 KERNEL_IMAGETYPE = "uImage"
6 COMPATIBLE_MACHINE = "am3517-crane|beagleboard|omap3evm|am3517-evm|dm37x-evm|am37x-evm|omap3-touchbook|overo"
8 # This is on the master branch
9 SRCREV = "5fc29e7b2a76a64a739f857858ef0b98294aa155"
11 # The main PR is now using MACHINE_KERNEL_PR, for omap3 see conf/machine/include/omap3.inc
12 MACHINE_KERNEL_PR_append = "b+gitr${SRCREV}"
14 SRC_URI += "git://arago-project.org/git/projects/linux-omap3.git;protocol=git;branch=master \
15            file://0001-Added-Crane-Board-support.patch \
16            file://0001-Revert-omap3-beagle-Fix-compile-time-errors.patch \
17            file://0002-board-omap3touchbook-make-it-build-against-TI-linux-.patch \
18            file://0003-ARM-OMAP-add-support-for-TCT-Zippy-to-Beagle-board-f.patch \
19            file://0004-ARM-OMAP-Make-beagle-u-boot-partition-writable.patch \
20            file://0005-board-omap3-beagle-add-DSS2-support.patch \
21            file://0006-board-omap3beagle-prepare-for-DM3730-based-Beagleboa.patch \
22            file://0007-ARM-OMAP-beagleboard-Add-infrastructure-to-do-fixups.patch \
23            file://0008-ARM-OMAP-beagleboard-pre-export-GPIOs-to-userspace-w.patch \
24            file://0009-ARM-OMAP-beagleboard-initialize-ds1307-and-eeprom-on.patch \
25            file://0010-ARM-OMAP-update-beagleboard-defconfig.patch \
26            file://0011-ASoC-enable-audio-capture-by-default-for-twl4030.patch \
27            file://0012-MTD-NAND-omap2-proper-fix-for-subpage-read-ECC-error.patch \
28            file://0013-OMAP3630-DSS2-Enable-Pre-Multiplied-Alpha-Support.patch \
29            file://0014-DSS2-add-bootarg-for-selecting-svideo-or-composite-f.patch \
30            file://0015-ISP-add-some-more-from-Leopard-imaging-patch.patch \
31            file://0016-ARM-OMAP-Overo-Add-support-for-second-ethernet-port.patch \
32            file://0017-drivers-net-smsc911x-return-ENODEV-if-device-is-not-.patch \
33            file://0018-drivers-input-touchscreen-ads7846-return-ENODEV-if-d.patch \
34            file://0019-drivers-mfd-add-twl4030-madc-driver.patch \
35            file://0020-ARM-OMAP-Add-missing-twl4030-madc-header-file.patch \
36            file://0021-ARM-OMAP-Add-twl4030-madc-support-to-Overo.patch \
37            file://0022-ARM-OMAP-Add-twl4030-madc-support-to-Beagle.patch \
38            file://0023-netdev-rt73usb-add-vendor-device-ID-for-Ceiva-Wirele.patch \
39            file://0024-mmc-don-t-display-single-block-read-console-messages.patch \
40            file://0025-ARM-OMAP2-mmc-twl4030-move-clock-input-selection-pri.patch \
41            file://0026-board-overo-add-PM-code-and-sync-with-http-www.sakom.patch \
42            file://0027-twl4030-madc-adjust-for-twl4030-twl-api-changes.patch \
43            file://0028-OMAP-DSS2-Re-add-support-for-Samsung-lte430wq-f0c-pa.patch \
44            file://0029-OMAP-DSS2-Add-support-for-LG-Philips-LB035Q02-panel.patch \
45            file://0030-Fix-for-bus-width-which-improves-SD-card-s-peformanc.patch \
46            file://0031-ARM-VFP-add-support-to-sync-the-VFP-state-of-the-cur.patch \
47            file://0032-ARM-VFP-preserve-the-HW-context-when-calling-signal-.patch \
48            file://0033-Switch-SGX-clocks-to-200MHz-on-DM37xx-OMAP36xx.patch \
49            file://0034-modedb.c-add-proper-720p60-mode.patch \
50            file://0035-RTC-add-support-for-backup-battery-recharge.patch \
51            file://0036-ARM-Add-prompt-for-CONFIG_ALIGNMENT_TRAP.patch \
52            file://0037-ARM-Print-warning-on-alignment-trap-in-kernel-mode.patch \
53            file://0038-ARM-Expose-some-CPU-control-registers-via-sysfs.patch \
54            file://0039-ARM-Add-option-to-allow-userspace-PLE-access.patch \
55            file://0040-ARM-Add-option-to-allow-userspace-access-to-performa.patch \
56            file://0041-ARM-Expose-some-PMON-registers-through-sysfs.patch \
57            file://0042-musb-allow-host-io-without-gadget-module.patch \
58            file://0043-MTD-silence-ecc-errors-on-mtdblock0.patch \
59            file://0044-ARM-OMAP-beagle-every-known-beagle-except-revB-uses-.patch \
60            file://0045-ARM-OMAP-beagle-add-support-for-beagleFPGA-expansion.patch \
61            file://cam/0001-mt9t111-first-stab-at-merging-sensor-driver-based-on.patch \
62            file://cam/0002-mt9t111-Fix-all-checkpatch-errors.patch \
63            file://cam/0003-mt9t111-Pass-v4l2_int_device-data.patch \
64            file://cam/0004-omap3beagle-Add-camera-support.patch \
65            file://cam/0005-TEMP-omap3beagle-camera-Add-defconfig.patch \
66            file://cam/0006-omap3beagle-camera-Add-support-for-regulators.patch \
67            file://cam/0007-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch \
68            file://cam/0008-omap3beagle-camera-Fix-null-pointer-dereference.patch \
69            file://cam/0009-Revert-TEMP-omap3beagle-cam-Enable-OMAP_MUX.patch \  
70            file://cam/0010-omap3beagle-camera-Change-arch-late_initcall.patch \ 
71            file://cam/0011-omap3beagle-camera-Move-i2c-registration-to-the-main.patch \
72            file://cam/0012-ARM-OMAP3-make-camera-code-build-if-MT9T111-is-built.patch \
73            file://cam/0013-DEBUG-omap3beagle-camera-Force-mode0-in-cam_xclka.patch \
74            file://cam/0014-OMAP3-CLOCK-Add-capability-to-change-rate-of-dpll4_m.patch \
75            file://cam/0015-Revert-DEBUG-omap3beagle-camera-Force-mode0-in-cam_x.patch \
76            file://cam/0016-omap3beagle-camera-Fix-wrong-XCLKA-selection.patch \ 
77            file://cam/0017-omap3isp-set-CAM_MCLK-to-172.8-MHz-allows-exact-9.6-.patch \
78            file://cam/0018-Fix-Moved-MCLK-setting-to-the-board-file.patch \
79            file://cam/0019-omap3isp-core-Do-smarter-MCLK-setting.patch \
80            file://cam/0020-omap3beagle-camera-set-mclk-for-mt9t111.patch \
81            file://cam/0021-mt9t111-Fix-max-supported-xclk.patch \
82            file://cam/0022-omap3beagle-camera-Clarify-regulators-names.patch \
83            file://cam/0023-omap3beagle-camera-Fix-powerup-sequence.patch \
84            file://cam/0024-omap3beagle-camera-Change-vaux4-to-1.8v.patch \
85            file://cam/0025-omap3beagle-camera-Rename-regulators-to-match-actual.patch \
86            file://cam/0026-omap3beagle-camera-Complement-remainig-sensor-hw-con.patch \
87            file://cam/0027-mt9t111-Fix-detect-function-retval-and-cleanup-print.patch \
88            file://cam/0028-omap3beagle-camera-Set-padconf-settings-in-cam-init.patch \
89            file://cam/0029-omap3beagle-camera-only-register-camera-driver-for-3.patch \
90            file://cam/0030-WIP-mt9t111-Work-in-progress-for-camera-enablement.patch \
91            file://cam/0031-BeagleXM-Cam-Add-support-for-MT9V113-VGA-Sensor.patch \
92            file://cam/0032-MT9V113-Fixed-sensor-nitialization-issues.patch \
93            file://cam/0033-mt9v113-Fix-wrong-active-widths.patch \
94            file://cam/0034-omap3isp-Fix-Wrong-check-on-non-interlaced-sensor-on.patch \
95            file://cam/0035-omap3isp-Fix-bad-YUV_BT-checks-in-datapath_config.patch \
96            file://cam/0036-omap3isp-Set-vd_pol-to-0-by-default-on-all-cases.patch \
97            file://cam/0037-omap3isp-ccdc-Set-datalines-to-10-for-YUV_SYNC.patch \
98            file://cam/0038-omap3beagle-camera-Fix-parallel-i-f-settings.patch \
99            file://cam/0039-omap3beagle-camera-Clean-up-Remove-unneccessary-code.patch \
100            file://cam/0040-mt9v113-Clean-Up-Remove-unneccessary-code-printf.patch \
101            file://cam/0041-MT9V113-Min-Max-clk-input-changed-as-per-the-spec.patch \
102            file://cam/0042-omap3beagle-camera-Further-clode-cleanup.patch \
103            file://cam/0043-mt9v113-Settings-from-Aptima-used-to-increase-FPS.patch \
104            file://cam/0044-mt9v113-AE-param-tuned-to-get-28-30FPS.patch \
105            file://cam/0045-omap3beagle-camera-Cleanup-of-boardfile.patch \
106            file://cam/0046-omap3beagle-camera-Cleanup-regulator-usage.patch \
107            file://cam/0047-omap3beagle-camera-Bring-back-mt9t111-support.patch \
108            file://cam/0048-REMOVE-v4l2-Delete-MT9T111-sensor-driver.patch \
109            file://cam/0049-V4L-DVB-13670-soc-camera-Add-mt9t112-camera-driver.patch \
110            file://cam/0050-soc-camera-mt9t112-modify-exiting-conditions-from-st.patch \
111            file://cam/0051-mt9t112-Migrate-from-soc_camera-to-v4l2-int-device.patch \
112            file://cam/0052-mt9t112-Add-more-info-to-public-header.patch \
113            file://cam/0053-mt9t112-Fix-null-pointer-kernel-bug.patch \
114            file://cam/0054-DEBUG-omap3beagle-Add-MT9T112-to-defconfig.patch \
115            file://cam/0055-omap3beagle-camera-Change-MT9T111-references-to-new-.patch \
116            file://cam/0056-omap34xxcam-Fix-multi-pixel-format-negotiation.patch \
117            file://cam/0057-SQUASH-omap3beagle-camera-Bring-back-mt9t111-support.patch \
118            file://cam/0058-mt9t112-Do-init_camera-every-powerup.patch \
119            file://cam/0059-omap3beagle-camera-Switch-flag-for-no-sensor-ISP.patch \
120            file://cam/0060-mt9t112-Add-back-3MP-basesize.patch \
121            file://cam/0061-mt9t112-Prepare-for-24MHz-EXTCLK-and-30-fps.patch \
122            file://cam/0062-omap3beagle-camera-Prepare-24MHz-xclk-for-mt9t112.patch \
123            file://cam/0063-mt9t112-Correct-register-settings-for-mt9t111-sensor.patch \
124            file://cam/0064-mt9t112-Remove-smart-size-selection.patch \
125            file://cam/0065-rtl8192su-remove-bogus-Kconfig-depend-on-PCI-and-add.patch \
126            file://cam/0066-mt9t112-Add-Context-selection-to-configuration.patch \
127            file://cam/0067-mt9t112-Disable-JPEG-in-Context-B.patch \
128            file://cam/0068-mt9t112-Make-context-B-stream-unlimited-frames.patch \
129            file://cam/0069-mt9t112-Fix-pll-p-dividers-abstraction.patch \
130            file://cam/0070-mt9t112-Adjust-50-60Hz-flickering-settings.patch \
131            file://cam/0071-mt9t112-Trigger-autofocus-at-the-end-of-context-swit.patch \
132            file://cam/0072-omap3beagle-camera-Fix-dual-sensor-registration.patch \
133            file://cam/0073-mt9v113-Fix-State-variable-handling.patch \
134            file://cam/0074-Move-sensor-rest-to-after-applying-power.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 \
137            file://0001-BeagleBoard-Adjust-USER-button-pin-for-xM.patch \
138            file://0001-PSP-3.0.1.6-kernel-source-patched-with-OCF-Linux.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 \
143            file://defconfig"
145 SRC_URI_append_beagleboard = " file://logo_linux_clut224.ppm \
146            file://beagleboard-xmc/0001-omap-Beagle-revision-detection.patch \
147            file://beagleboard-xmc/0002-omap-Beagle-only-Cx-boards-use-pin-23-for-write-prot.patch \
148            file://beagleboard-xmc/0003-omap-Beagle-no-gpio_wp-pin-connection-on-xM.patch \
149            file://beagleboard-xmc/0004-omap3-beaglexm-fix-EHCI-power-up-GPIO-dir.patch \
150            file://beagleboard-xmc/0005-omap3-beaglexm-fix-DVI-reset-GPIO.patch \
151            file://beagleboard-xmc/0006-omap3-beaglexm-fix-power-on-of-DVI.patch \
152            file://beagleboard-xmc/0007-beagleboard-hack-in-support-from-xM-rev-C.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 \
157 SRC_URI_append_omap3-touchbook = " \
158                                   file://0001-ARM-OMAP-add-spi-platform-devices.patch \
159                                   file://0002-MMA7455L-accelerometer-driver.patch \
160                                   file://0003-bq27x00_battery-remove-error-message-output.patch \
161                                   file://0004-bq27x00_battery-add-charged-gpio.patch \
162                                   file://0005-adf7846-add-more-debugging.patch \
163                                   file://0006-ads7846-read-max-mix-x-y-from-pdata.patch \
164                                   file://0007-ads7846-add-settling-delay-to-pdata.patch \
165                                   file://0008-DSS2-OMAPFB-Translate-X-Y-coordinates-for-the-video-.patch \
166                                   file://0009-DSS2-Fix-scaling-checks-when-rotation-is-90-or-270-d.patch \
167                                   file://0010-add-touchbook-hid-driver.patch \
168                                   file://0011-Make-backlight-controls-accessible-to-users.patch \
169                                   file://0012-ads7846-don-t-error-out-when-there-s-no-pendown-gpio.patch \
170                                   file://0013-ASoC-add-driver-for-omap3-touchbook.patch \
171                                   file://0014-backlight-add-PWM-support.patch \
172                                   file://0015-Forward-port-TWL4030-BCI-driver-from-2.6.29-to-2.6.3.patch \
173                                   file://0016-ARM-OMAP-omap3-touchbook-update-boardfile.patch \
174 #                                 file://0017-ARM-OMAP-add-800MHz-OPP-and-remove-125MHz-one.patch \
177 addtask quiltfixup before do_patch after do_unpack
178 do_quiltfixup() {
179         rm ${S}/.pc -rf
182 S = "${WORKDIR}/git"
184 # Perf in 2.6.32 has broken perl handling, so disable it
185 do_compile_perf() {
186         :
189 do_install_perf() {
190         :
193 do_install_prepend() {
194         mkdir headerstash -p
195         cp include/linux/bounds.h headerstash/
196         cp include/asm-arm/asm-offsets.h headerstash/
199 do_install_append() {
200         cp headerstash/bounds.h $kerneldir/include/linux/
201         cp headerstash/asm-offsets.h $kerneldir/include/asm-arm/asm-offsets.h
202         rm -rf headerstash/
204         install -d ${D}/boot
205         install -m 0644 Documentation/arm/OMAP/DSS ${D}/boot/
208 PACKAGES =+ "omap-dss-doc"
209 FILES_omap-dss-doc = "/boot/DSS"