linux-ti33x-psp 3.2: fix ehrPWM polarity inversion
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-ti33x-psp_3.2.bb
1 SECTION = "kernel"
2 DESCRIPTION = "Linux kernel for TI33x EVM from PSP, based on am335x-kernel"
3 LICENSE = "GPLv2"
4 KERNEL_IMAGETYPE = "uImage"
6 require multi-kernel.inc
8 S = "${WORKDIR}/git"
10 MULTI_CONFIG_BASE_SUFFIX = ""
12 BRANCH = "v3.2-staging"
13 SRCREV = "09e9651bcf2ee8d86685f2a8075bc6557b1d3b91"
14 MACHINE_KERNEL_PR_append = "f+gitr${SRCREV}"
16 COMPATIBLE_MACHINE = "(ti33x)"
18 THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
19 CONFIGS_PSP = "${@base_set_filespath(["${THISDIR}/${PN}-${PV}/tipspkernel"], d)}:\
20 ${@base_set_filespath(["${THISDIR}/${PN}/tipspkernel"], d)}:\
21 ${@base_set_filespath(["${THISDIR}/files/tipspkernel"], d)}:"
22 FILESPATH =. "${@base_contains('DISTRO_FEATURES', 'tipspkernel', "${CONFIGS_PSP}", "", d)}"
24 SRC_URI += "git://arago-project.org/git/projects/linux-am33x.git;protocol=http;branch=${BRANCH} \
25         file://defconfig"
27 PATCHES_OVER_PSP = " \
28         file://0002-f_rndis-HACK-around-undefined-variables.patch \
29         file://0003-da8xx-fb-add-DVI-support-for-beaglebone.patch \
30         file://0004-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch \
31         file://0005-more-beaglebone-merges.patch \
32         file://0006-beaglebone-disable-tsadc.patch \
33         file://0007-tscadc-Add-general-purpose-mode-untested-with-touchs.patch \
34         file://0008-tscadc-Add-board-file-mfd-support-fix-warning.patch \
35         file://0009-AM335X-init-tsc-bone-style-for-new-boards.patch \
36         file://0010-tscadc-make-stepconfig-channel-configurable.patch \
37         file://0011-tscadc-Trigger-through-sysfs.patch \
38         file://0012-meta-ti-Remove-debug-messages-for-meta-ti.patch \
39         file://0013-tscadc-switch-to-polling-instead-of-interrupts.patch \
40         file://0014-beaglebone-fix-ADC-init.patch \
41         file://0015-AM335x-MUX-add-ehrpwm1A.patch \
42         file://0016-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch \
43         file://0017-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch \
44         file://0018-beaglebone-set-default-brightness-to-50-for-pwm-back.patch \
45         file://0019-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch \
46         file://0020-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch \
47         file://0021-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch \
48 "
50 SRC_URI += "${@base_contains('DISTRO_FEATURES', 'tipspkernel', "", "${PATCHES_OVER_PSP}", d)}"
51 SRC_URI_append_beaglebone = " file://logo_linux_clut224.ppm"