5d72af5886adbc69a42a7c7db4a58e7d58003a35
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-omap-psp_2.6.37.bb
1 require linux.inc
2 require setup-defconfig.inc
4 DESCRIPTION = "Linux kernel for OMAP3 EVM from PSP, based on linux-omap3 kernel"
6 COMPATIBLE_MACHINE = "omap3"
8 SRCREV= "20c003f2f024d9f50f59edf9f1b8f5f035fb15b8"
10 # The main PR is now using MACHINE_KERNEL_PR, for omap3 devices
11 # see conf/machine/include/omap3.inc
12 MACHINE_KERNEL_PR_append = "b"
14 SRC_URI = "git://arago-project.org/git/projects/linux-omap3.git;protocol=git \
15            file://defconfig"
17 # The following patches below have been upstreamed to linux kernel 2.6.39 tree
18 # and will not be needed once we move to this kernel.
19 # The only exception is "0002-allow-selecting-WL12XX_PLATFROM_DATA-independently.patch"
20 # which is needed for building against a compat-wireless package
21 SRC_URI += " \
22     file://0001-linux-omap3-Add-OCF-support-to-2.6.37-kernel.patch \
23     file://0001-omap3evm-add-support-for-the-WL12xx-WLAN-module.patch \
24     file://0002-allow-selecting-WL12XX_PLATFROM_DATA-independently.patch \
25     file://0003-mmc-skip-detection-of-nonremovable-cards-on-rescan.patch \
26     file://0004-mmc-sdio-don-t-reinitialize-nonremovable-powered-res.patch \
27     file://0005-mmc-sdio-don-t-power-up-cards-on-system-suspend.patch \
28     file://0006-wl12xx-Backport-wl12xx-platform-data.patch \
29     file://0007-activate-wireless-extensions.patch \
30 "
32 # Update the kernel to support suspend/resume when the file system is located
33 # on the SD card.  This is also being submitted to the PSP team for inclusion
34 # in future releases.
35 SRC_URI += " \
36     file://0001-Fix-matrix-suspend.patch \
37 "
39 # Update the OCF kernel patch to remove non-existing components for
40 # non-TI hardware.  This allows the make clean target to work.
41 # Update the defconfig for omap3 to enable OCF and WLAN by default
42 SRC_URI += " \
43     file://0001-OCF-support-remove-support-for-non-TI-hardware.patch \
44     file://0002-omap3_evm_defconfig-add-OCF-driver-support.patch \
45     file://0003-omap3_evm_defconfig-add-WLAN-config-options.patch \
46 "
48 # Enable clock pad register in mt9t111 sensor driver. This fixes the issue where
49 # sensor sync pulses were not generated during first loopback after boot-up.
50 SRC_URI += " \
51     file://0001-mt9t111-enable-clock-pad-register-in-configuration.patch \
52 "
54 # The following patches add support for wake on wlan (WoWlan)
55 # which is supported in nlcp R4 release
56 SRC_URI += "file://0001-omap3evm-add-wake-on-wlan-support.patch \
57     file://0001-nlcp-sdio-fixes-for-wowlan-support.patch \
58     file://0002-mmc-sdio-support-suspend-resume-while-runtime-suspen.patch \
59     file://0003-mmc_card_keep_power-cleanups.patch \
60     file://0004-mmc-do-not-switch-to-1-bit-mode-if-not-required.patch \
61     file://0005-mmc-fix-division-by-zero-in-MMC-core.patch \
62     file://0006-revert-duplicate-insertion-of-mmc_card_keep_power-fu.patch \
63 "
65 # The following patches allow for NOR to be enabled and built
66 # easily.
67 SRC_URI += " \
68     file://0001-omap3-am3517evm-Allow-for-NAND-to-really-be-disabled.patch \
69     file://0002-omap3-am3517evm-Update-NOR-partition-table.patch \
70     file://0003-AM3517-Add-am3517_evn_nor_defconfig.patch \
71 "
73 # The following patch sets the dto timeout for SD cards to the max of 14.
74 # This has been found to make SD cards work more reliably in the omap3 systems
75 SRC_URI += " \
76     file://0001-omap_hsmmc-make-default-dto-value-14.patch \
77 "
79 # Add ABB support to the Linux kernel to enable 1GHz OPP and to allow
80 # booting at 1GHz
81 SRC_URI += " \
82     file://0001-am37x-Adding-ABB-Support-for-1GHz-OPP.patch \
83 "
85 # Fix USB role switching when leaving USB cable connected
86 SRC_URI += " \
87     file://0001-usb-musb-am35x-set-default-VBUS-timeout-value.patch \
88     file://0002-usb-musb-am35x-fix-role-switching-issue.patch \
89 "
91 # Fix alignment issue with gcc-4.7
92 SRC_URI += " \
93     file://0001-arm-fix-builds-with-gcc-4.7.patch \
94 "
96 # Updated PIO mode for MUSB help description
97 SRC_URI_append_am3517-evm = " file://0001-musb-update-PIO-mode-help-information-in-Kconfig.patch"
99 S = "${WORKDIR}/git"