summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-omap-pm_2.6.29.bb
blob: 1c7f778a66b393e43d26b5b3bbf3a1109a6a829c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
require linux.inc

DESCRIPTION = "Linux kernel for OMAP processors"
KERNEL_IMAGETYPE = "uImage"

COMPATIBLE_MACHINE = "omap5912osk|omap1710h3|omap2430sdp|omap2420h4|beagleboard|omap3evm|omap3-pandora|overo|omap3-touchbook"

SRCREV = "e63cf0710a4fb639d91d3e8b05aa485fbfa381b3"

PV = "2.6.29"
MACHINE_KERNEL_PR_append = "-pm2+gitr${SRCREV}"

SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git;protocol=git;branch=pm-2.6.29 \
	   file://defconfig"

SRC_URI_append = " \
           file://no-empty-flash-warnings.patch;patch=1 \
           file://no-cortex-deadlock.patch;patch=1 \
           file://read_die_ids.patch;patch=1 \
           file://fix-install.patch;patch=1 \
           file://0124-leds-gpio-broken-with-current-git.patch;patch=1 \
           file://ehci.patch;patch=1 \
           file://dss2/0001-Revert-gro-Fix-legacy-path-napi_complete-crash.patch;patch=1 \
           file://dss2/0002-OMAPFB-move-omapfb.h-to-include-linux.patch;patch=1 \
           file://dss2/0003-DSS2-OMAP2-3-Display-Subsystem-driver.patch;patch=1 \
           file://dss2/0004-DSS2-OMAP-framebuffer-driver.patch;patch=1 \
           file://dss2/0005-DSS2-Add-panel-drivers.patch;patch=1 \
           file://dss2/0006-DSS2-HACK-Add-DSS2-support-for-N800.patch;patch=1 \
           file://dss2/0007-DSS2-Add-DSS2-support-for-SDP-Beagle-Overo-EVM.patch;patch=1 \
           file://dss2/0008-DSS2-Add-function-to-display-object-to-get-the-back.patch;patch=1 \
           file://dss2/0009-DSS2-Add-acx565akm-panel.patch;patch=1 \
           file://dss2/0010-DSS2-Small-VRFB-context-allocation-bug-fixed.patch;patch=1 \
           file://dss2/0011-DSS2-Allocated-memory-for-Color-Look-up-table.patch;patch=1 \
           file://dss2/0012-DSS2-Fix-DMA-rotation.patch;patch=1 \
           file://dss2/0013-DSS2-Verify-that-overlay-paddr-0.patch;patch=1 \
           file://dss2/0014-DSS2-Add-function-to-get-DSS-logic-clock-rate.patch;patch=1 \
           file://dss2/0015-DSS2-DSI-calculate-VP_CLK_RATIO-properly.patch;patch=1 \
           file://dss2/0016-DSS2-DSI-improve-packet-len-calculation.patch;patch=1 \
           file://dss2/0017-DSS2-Disable-video-planes-on-sync-lost-error.patch;patch=1 \
           file://dss2/0018-DSS2-check-for-ovl-paddr-only-when-enabling.patch;patch=1 \
           file://dss2/0019-DSS2-Check-fclk-limits-when-configuring-video-plane.patch;patch=1 \
           file://dss2/0020-DSS2-Check-scaling-limits-against-proper-values.patch;patch=1 \
           file://dss2/0021-DSS2-Add-venc-register-dump.patch;patch=1 \
           file://dss2/0022-DSS2-FB-remove-unused-var-warning.patch;patch=1 \
           file://dss2/0023-DSS2-pass-the-default-FB-color-format-through-board.patch;patch=1 \
           file://dss2/0024-DSS2-Beagle-Use-gpio_set_value.patch;patch=1 \
           file://dss2/0025-DSS2-VRFB-Macro-for-calculating-base-address-of-th.patch;patch=1 \
           file://dss2/0026-DSS2-DSI-sidlemode-to-noidle-while-sending-frame.patch;patch=1 \
           file://dss2/0027-DSS2-VRFB-rotation-and-mirroring-implemented.patch;patch=1 \
           file://dss2/0028-DSS2-OMAPFB-Added-support-for-the-YUV-VRFB-rotatio.patch;patch=1 \
           file://dss2/0029-DSS2-OMAPFB-Set-line_length-correctly-for-YUV-with.patch;patch=1 \
           file://dss2/0030-DSS2-dispc_get_trans_key-was-returning-wrong-key-ty.patch;patch=1 \
           file://dss2/0031-DSS2-do-bootmem-reserve-for-exclusive-access.patch;patch=1 \
           file://dss2/0032-DSS2-Fix-DISPC_VID_FIR-value-for-omap34xx.patch;patch=1 \
           file://dss2/0033-DSS2-Prefer-3-tap-filter.patch;patch=1 \
           file://dss2/0034-DSS2-VRAM-improve-omap_vram_add_region.patch;patch=1 \
           file://dss2/0035-DSS2-Added-the-function-pointer-for-getting-default.patch;patch=1 \
           file://dss2/0036-DSS2-Added-support-for-setting-and-querying-alpha-b.patch;patch=1 \
           file://dss2/0037-DSS2-Added-support-for-querying-color-keying.patch;patch=1 \
           file://dss2/0038-DSS2-OMAPFB-Some-color-keying-pointerd-renamed-in-D.patch;patch=1 \
           file://dss2/0039-DSS2-Add-sysfs-entry-to-for-the-alpha-blending-supp.patch;patch=1 \
           file://dss2/0040-DSS2-Provided-proper-exclusion-for-destination-colo.patch;patch=1 \
           file://dss2/0041-DSS2-Disable-vertical-offset-with-fieldmode.patch;patch=1 \
           file://dss2/0042-DSS2-Don-t-enable-fieldmode-automatically.patch;patch=1 \
           file://dss2/0043-DSS2-Swap-field-0-and-field-1-registers.patch;patch=1 \
           file://dss2/0044-DSS2-add-sysfs-entry-for-seting-the-rotate-type.patch;patch=1 \
           file://dss2/0045-DSS2-Fixed-line-endings-from-to.patch;patch=1 \
           file://dss2/0046-DSS2-DSI-decrease-sync-timeout-from-60s-to-2s.patch;patch=1 \
           file://dss2/0047-DSS2-fix-return-value-for-rotate_type-sysfs-functio.patch;patch=1 \
           file://dss2/0048-OMAP2-3-DMA-implement-trans-copy-and-const-fill.patch;patch=1 \
           file://dss2/0049-DSS2-VRAM-clear-allocated-area-with-DMA.patch;patch=1 \
           file://dss2/0050-DSS2-OMAPFB-remove-fb-clearing-code.patch;patch=1 \
           file://dss2/0051-DSS2-VRAM-use-debugfs-not-procfs.patch;patch=1 \
           file://dss2/0052-DSS2-VRAM-fix-section-mismatch-warning.patch;patch=1 \
           file://dss2/0053-DSS2-disable-LCD-DIGIT-before-resetting-DSS.patch;patch=1 \
           file://dss2/0054-DSS2-DSI-more-error-handling.patch;patch=1 \
           file://dss2/0055-DSS2-Added-global-alpha-support.patch;patch=1 \
           file://dss2/0056-DSS2-Rotation-attrs-for-YUV-need-not-to-be-reversed.patch;patch=1 \
           file://dss2/0057-DSS2-Documentation-update-for-new-sysfs-entries-in.patch;patch=1 \
           file://dss2/0058-DSS2-Don-t-touch-plane-coordinates-when-changing-fb.patch;patch=1 \
           file://dss2/0059-DSS2-DSI-configure-ENTER-EXIT_HS_MODE_LATENCY.patch;patch=1 \
           file://dss2/0060-DSS2-Avoid-div-by-zero-when-calculating-required-fc.patch;patch=1 \
           file://dss2/0061-DSS2-VRFB-save-restore-context.patch;patch=1 \
           file://dss2/0062-DSS2-VRAM-Fix-indentation.patch;patch=1 \
           file://dss2/0063-DSS2-fix-the-usage-of-get_last_off_on_transaction_i.patch;patch=1 \
           file://dss2/0064-VRFB-fix-debug-messages.patch;patch=1 \
           file://dss2/0065-VRFB-add-suspend-resume-functionality.patch;patch=1 \
           file://dss2/0066-DSS2-DSI-tune-the-timings-to-be-more-relaxed.patch;patch=1 \
           file://dss2/0067-DSS2-VRFB-don-t-WARN-when-releasing-inactive-ctx.patch;patch=1 \
           file://dss2/0068-DSS2-Swap-field-offset-values-w-VRFB-rotation.patch;patch=1 \
           file://dss2/0069-DSS2-OMAP3EVM-Added-DSI-powerup-and-powerdown-func.patch;patch=1 \
           file://dss2/0070-DSS2-fix-irq1.diff;patch=1 \
           file://dss2/0071-DSS2-fix-irq2.diff;patch=1 \
           file://dss2/merge-fixups.diff;patch=1 \
           file://overo-cpufreq.diff;patch=1 \
           file://register-all-OPPs.diff;patch=1 \
           file://isp/v4l/0001-V4L2-Add-COLORFX-user-control.patch;patch=1 \
           file://isp/v4l/0002-V4L-Int-if-v4l2_int_device_try_attach_all-requires.patch;patch=1 \
           file://isp/v4l/0003-V4L-Int-if-Dummy-slave.patch;patch=1 \
           file://isp/v4l/0004-V4L-int-device-add-support-for-VIDIOC_QUERYMENU.patch;patch=1 \
           file://isp/v4l/0005-V4L-Int-if-Add-vidioc_int_querycap.patch;patch=1 \
           file://isp/iommu/0001-omap-iommu-tlb-and-pagetable-primitives.patch;patch=1 \
           file://isp/iommu/0002-omap-iommu-omap2-architecture-specific-functions.patch;patch=1 \
           file://isp/iommu/0003-omap-iommu-omap3-iommu-device-registration.patch;patch=1 \
           file://isp/iommu/0004-omap-iommu-simple-virtual-address-space-management.patch;patch=1 \
           file://isp/iommu/0005-omap-iommu-entries-for-Kconfig-and-Makefile.patch;patch=1 \
           file://isp/iommu/0006-omap-iommu-Don-t-try-BUG_ON-in_interrupt.patch;patch=1 \
           file://isp/iommu/0007-omap-iommu-We-support-chained-scatterlists-probabl.patch;patch=1 \
           file://isp/iommu/0008-omap2-iommu-entries-for-Kconfig-and-Makefile.patch;patch=1 \
           file://isp/omap3camera/0001-omap3isp-Add-ISP-main-driver-and-register-definitio.patch;patch=1 \
           file://isp/omap3camera/0002-omap3isp-Add-ISP-MMU-wrapper.patch;patch=1 \
           file://isp/omap3camera/0003-omap3isp-Add-userspace-header.patch;patch=1 \
           file://isp/omap3camera/0004-omap3isp-Add-ISP-frontend-CCDC.patch;patch=1 \
           file://isp/omap3camera/0005-omap3isp-Add-ISP-backend-PRV-and-RSZ.patch;patch=1 \
           file://isp/omap3camera/0006-omap3isp-Add-statistics-collection-modules-H3A-and.patch;patch=1 \
           file://isp/omap3camera/0007-omap3isp-Add-CSI2-interface-support.patch;patch=1 \
           file://isp/omap3camera/0008-omap3isp-Add-ISP-tables.patch;patch=1 \
           file://isp/omap3camera/0009-omap34xxcam-Add-camera-driver.patch;patch=1 \
           file://isp/resizer/0023-OMAP-Resizer-Basic-Resizer-refreshed-with-latest-gi.patch;patch=1 \
           file://isp/resizer/0024-OMAP3-Resizer-V4L2-buf-layer-issues-fixed.patch;patch=1 \
           file://isp/resizer/0025-OMAP3-Resizer-Build-issues-fixed.patch;patch=1 \
           file://modedb-hd720.patch;patch=1 \
           file://0001-implement-TIF_RESTORE_SIGMASK-support-and-enable-the.patch;patch=1 \
           file://vfp/02-vfp-ptrace.patch;patch=1 \
           file://vfp/03-vfp-corruption.patch;patch=1 \
           file://vfp/04-vfp-threads.patch;patch=1 \
           file://vfp/05-vfp-signal-handlers.patch;patch=1 \
           file://arch-has-holes.diff;patch=1 \
           file://musb/0001-USB-musb-only-turn-off-vbus-in-OTG-hosts.patch;patch=1 \
           file://musb/0002-USB-composite-avoid-inconsistent-lock-state.patch;patch=1 \
           file://musb/0003-USB-musb-NAK-timeout-scheme-on-bulk-RX-endpoint.patch;patch=1 \
           file://musb/0004-USB-musb-rewrite-host-periodic-endpoint-allocation.patch;patch=1 \
           file://musb/0005-USB-TWL-disable-VUSB-regulators-when-cable-unplugg.patch;patch=1 \
           file://musb/0006-USB-gadget-composite-device-level-suspend-resume-h.patch;patch=1 \
           file://musb/0007-usb-gadget-fix-ethernet-link-reports-to-ethtool.patch;patch=1 \
           file://musb/0008-usb-musb_host-minor-enqueue-locking-fix-v2.patch;patch=1 \
           file://musb/0009-usb-musb_host-fix-ep0-fifo-flushing.patch;patch=1 \
           file://musb/0010-musb-sanitize-clearing-TXCSR-DMA-bits-take-2.patch;patch=1 \
           file://musb/0011-musb-fix-isochronous-TXDMA-take-2.patch;patch=1 \
           file://musb/0012-musb-fix-possible-panic-while-resuming.patch;patch=1 \
           file://musb/0013-musb_host-refactor-musb_save_toggle-take-2.patch;patch=1 \
           file://musb/0014-musb_gadget-suppress-parasitic-TX-interrupts-with.patch;patch=1 \
           file://musb/0015-musb_gadget-fix-unhandled-endpoint-0-IRQs.patch;patch=1 \
           file://musb/0016-musb_host-factor-out-musb_ep_-get-set-_qh.patch;patch=1 \
           file://musb/0017-musb_host-refactor-URB-giveback.patch;patch=1 \
           file://musb/0018-musb-split-out-CPPI-interrupt-handler.patch;patch=1 \
           file://musb/0019-musb_host-simplify-check-for-active-URB.patch;patch=1 \
           file://musb/0020-musb_host-streamline-musb_cleanup_urb-calls.patch;patch=1 \
           file://musb/0021-twl4030-usb-fix-minor-reporting-goofage.patch;patch=1 \
           file://musb/0022-musb-use-dma-mode-1-for-TX-if-transfer-size-equals.patch;patch=1 \
           file://musb/0023-musb-add-high-bandwidth-ISO-support.patch;patch=1 \
           file://musb/0024-USB-otg-adding-nop-usb-transceiver.patch;patch=1 \
           file://musb/0025-nop-usb-xceiv-behave-when-linked-as-a-module.patch;patch=1 \
           file://musb/0026-musb-proper-hookup-to-transceiver-drivers.patch;patch=1 \
           file://musb/0027-musb-otg-timer-cleanup.patch;patch=1 \
           file://musb/0028-musb-make-initial-HNP-roleswitch-work-v2.patch;patch=1 \
           file://musb/0029-musb-support-disconnect-after-HNP-roleswitch.patch;patch=1 \
           file://cache/l1cache-shift.patch;patch=1 \
           file://cache/copy-page-tweak.patch;patch=1 \
"


SRC_URI_append_beagleboard = " file://logo_linux_clut224.ppm \
                               file://tincantools-puppy.diff;patch=1 \
                               file://tincantools-zippy.diff;patch=1 \
"

SRC_URI_append_omap3-touchbook = " file://logo_linux_clut224.ppm \
                                           file://../beagleboard/beagle-asoc.patch;patch=1 \
           file://accelerometer-mma7455l.patch;patch=1 \
           file://accelerometer-touchscreen-mux-spi.patch;patch=1 \
           file://touchscreen-ads7846-export-settings.patch;patch=1 \
           file://touchscreen-ads7846-rotation-support.patch;patch=1 \
           file://dspbridge.patch;patch=1 \
           file://battery2-bq27200-no-error-message.patch;patch=1 \
           file://sound-headphone-detection.patch;patch=1 \
           file://dss2-fix-XY-coordinates-when-rotating.patch;patch=1 \
           file://battery1-tps65950-charging-management-1.patch;patch=1 \
           file://dss2-fix-scaling-when-rotating.patch;patch=1 \
           file://dss2-export-status.patch;patch=1 \
           file://usb-otg-pc-connection.patch;patch=1 \
           file://battery1-tps65950-charging-management-2.patch;patch=1 \
           file://memory-move-malloc-end.patch;patch=1 \
           file://aufs-1.patch;patch=1 \
           file://aufs-2.patch;patch=1 \
           file://aufs-3.patch;patch=1 \
           file://aufs-squashfs-mount-to-avoid-initramfs.patch;patch=1 \
           file://screen-backlight-accessible-by-user.patch;patch=1 \
           file://dss2-blank-rotate-accessible-by-user.patch;patch=1 \
           file://boot-no-power-message.patch;patch=1 \
           file://usb-lower-current-consumption-upon-insertion.patch;patch=1 \
           file://battery2-bq27200-gpio-charged.patch;patch=1 \
           file://keyboard-special-keys.patch;patch=1 \
           file://dss2-fix-rotation-offsets.patch;patch=1 \
           file://touchbook-config.patch;patch=1 \
           file://board-omap3touchbook.c \
#           file://boot-trace-for-optimization.patch;patch=1 \
"

SRC_URI_append_omap3evm = " \
	file://evm-mcspi-ts.diff;patch=1 \
"

S = "${WORKDIR}/git"

do_configure_prepend_omap3-touchbook() {
        cp ${WORKDIR}/board-omap3touchbook.c ${S}/arch/arm/mach-omap2
}

do_install_append() {
        install -d ${D}/boot
        install -m 0644 Documentation/arm/OMAP/DSS ${D}/boot || true
}

PACKAGES =+ "omap-dss-doc"
FILES_omap-dss-doc = "/boot/DSS"

module_autoload_ohci-hcd_omap5912osk = "ohci-hcd"