aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
AgeCommit message (Collapse)Author
2011-11-18Revert "UBUNTU: SAUCE: ARM: OMAP: Add macros for comparing silicon revision"Leann Ogasawara
This reverts commit 55d03f400148ef63e9cb73232fc2a261dca27e6f. Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
2011-11-18UBUNTU: SAUCE: omap3: beagle: if rev unknown, assume xM revision CRobert Nelson
BugLink: http://bugs.launchpad.net/bugs/770679 Signed-off-by: Robert Nelson <robertcnelson@gmail.com> Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2011-11-18UBUNTU: SAUCE: omap3: beagle: detect new xM revision BRobert Nelson
The xM B uses a DM3730 ES1.1 over the ES1.0 on xM A's, no other board changes. BugLink: http://bugs.launchpad.net/bugs/770679 Signed-off-by: Robert Nelson <robertcnelson@gmail.com> Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2011-11-18UBUNTU: SAUCE: [arm] fixup __aeabi_uldivmod undefined build errorLeann Ogasawara
When building on arm we run into the following build error due to gcc-4.6 optimizing do_div into a uldivmod call: ERROR: "__aeabi_uldivmod" [drivers/scsi/megaraid/megaraid_sas.ko] undefined! Inline some assembly to prevent the compiler optimization. Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
2011-11-18UBUNTU: SAUCE: omap3: beaglexm: fix DVI initializationRicardo Salveti de Araujo
Function beagle_twl_gpio_setup is called after beagle_display_init, what makes lets reset_gpio with an invalid value at the time it request the gpio. As a side effect the DVI reset GPIO is not properly set. Also removing old code that power down DVI in a hardcoded way, as it's not necessary anymore. Tested with Beagle-xM and C4. Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2011-11-18UBUNTU: SAUCE: ARM: OMAP: Add macros for comparing silicon revisionLee Jones
BugLink: http://bugs.launchpad.net/bugs/608095 Adapted from arago project patch by Sanjeev Premi <premi@ti.com> This helps provide the required setup to enable USB Ethernet (usb0) and USB host on the XM Beagleboard (A rev). This will be submitted upstream by Steve Sakoman. Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Lee Jones <lee.jones@canonical.com> Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
2011-11-18UBUNTU: (no-up) arm -- enable ubuntu/ directoryEric Miao
Signed-off-by: Eric Miao <eric.miao@canonical.com> Signed-off-by: Andy Whitcroft <apw@canonical.com>
2011-11-19quench thermal debugAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19omap4 clocks allow 1MHz leewayAndy Green
With smartreflex(?) pll settings no long always match exactly this allows match on up to 1MHz lower frequency. Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19omap2plus clock fix dcc error path and solve random crashesAndy Green
This corrects dcc state if there is an error in dpll_set_rate. It also migrates dcc setting to AFTER clock setting on >1GHz case. This is necessary to stop random crashes when cpufreq does this code. Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19omap2plus cpufreq disallow setting zero clock rateAndy Green
thermal_framework is capable of this... Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19omap4 clocks detect clock rounding errorAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19move smartreflex init earlierAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19fix fck alias on scmAndy Green
There was an error in the logs that 'fck was already an alias' Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19debug thermal messages as errAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19config errata 754322Andy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19OMAP4: ERRATA 751472 for OMAP44XXSebastien Jan
Applies to OMAP44XX. Generic ARM implementation requires priviledged mode access, not possible directly from kernel on OMAP4 (trustzone enabled). Reported-by: Margarita Fisher <margaritafisher@gmail.com> Signed-off-by: Sebastien Jan <s-jan@ti.com>
2011-11-19[Blaze] Call smartreflex enable in the blaze board fileDan Murphy
Call smartreflex enable in the board-4430sdp.c init function Change-Id: I9cf8c1426513705dde74a401d6e2f22e4ac78f65 Signed-off-by: Dan Murphy <dmurphy@ti.com>
2011-11-19arch/arm/mach-omap2/smartreflex.c: add missing error-handling codeJulia Lawall
At this point, the ioremap has taken place, so the error handling code at the label err_iounmap should be used rather than returning directly. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r@ identifier x; @@ kfree(x) @@ identifier r.x; expression E1!=0,E2,E3,E4; statement S; @@ ( if (<+...x...+>) S | if (...) { ... when != kfree(x) when != if (...) { ... kfree(x); ... } when != x = E3 * return E1; } ... when != x = E2 if (...) { ... when != x = E4 kfree(x); ... return ...; } ) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Acked-by: Kevin Hilman <khilman@ti.com>
2011-11-19ARM: Panda: Add smartreflex call in panda board configDan Murphy
Add call to enable smartreflex in panda board file Change-Id: I769e233d2828a30849a016b44e0d7ab6874ede42 Signed-off-by: Dan Murphy <dmurphy@ti.com>
2011-11-19Setting enable_bit flag for bandgap_fclkKeerthy
The clock macros are so enabled that both bandgap_fclk and bandgap_ts_fclk are enabled for OMAP4460. Since nobody requests for bandgap_fclk the clock is gated at the later stages of boot-up. This causes a problem since both enable bit and enable register are the same for bandgap_fclk and bandgap_ts_fclk. Gating bandgap_fclk is also gating bandgap_ts_fclk in OMAP4460. This resulted in unpredictable temperature measurements and hang when cpuloadgen was run. Fixing it by increasing the use count of bandgap_fclk which will avoid gating bandgap_fclk. With this thermal framework is working. Signed-off-by: Keerthy <j-keerthy@ti.com>
2011-11-19tps62361 default to nominal voltageAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19revert config set default governor performanceAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19revert config disable thermal frameworkAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19revert omap2plus opp DISABLE FAST BIN SPEEDSAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19OMAP: hwmod: Fix the addr space, irq, dma count APIssricharan
The address spaces, irqs and dma reqs count API returns the number of corresponding entries in a hwmod including a additional null value or a -1 terminator in the structure introduced recently. More information here: - 212738a4 (omap_hwmod: use a terminator record with omap_hwmod_mpu_irqs arrays) - 78183f3f (omap_hwmod: use a null structure record to terminate omap_hwmod_addr_space arrays) - bc614958 (omap_hwmod: use a terminator record with omap_hwmod_dma_info arrays) The issue with irqs and dma info was originally reported by Benoit Cousson. The devices which have multiple hwmods and use device_build_ss are broken with this, as their resources are populated with a extra null value, subsequently the probe fails. So fix the API not to include the array terminator in the count. Reported-by: Benoit Cousson <b-cousson@xxxxxx> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@xxxxxx> Signed-off-by: sricharan <r.sricharan@xxxxxx> Acked: Benoit Cousson <b-cousson@xxxxxx> Signed-off-by: Sebastien Jan <s-jan@ti.com>
2011-11-19OMAP4: ERRATA 742230 for OMAP4430Sebastien Jan
Applies to OMAP4430 ES2.2+. Generic ARM implementation requires priviledged mode access, not possible directly from kernel on OMAP4 (trustzone enabled). Reported-by: Margarita Fisher <margaritafisher@gmail.com> Signed-off-by: Sebastien Jan <s-jan@ti.com>
2011-11-19omap4430: disable OPP50 support for core and ivaSebastien Jan
Prevent core and iva voltage domains from scaling (they will remain in OPP100). This will prevent borders effects while constrains and notification frameworks are not in place (ex: avoid scaling down core if an high L3 bdw is requried). MPU can still scale, which is sufficient for thermal considerations. But SGX, IVA, Ducati and L3 won't scale anymore and stay at OPP100. Signed-off-by: Sebastien Jan <s-jan@ti.com>
2011-11-19omap4460: Fix core domain frequencySebastien Jan
Signed-off-by: Sebastien Jan <s-jan@ti.com>
2011-11-19omap4460: disable OPP50 for iva and coreSebastien Jan
IVA and Core will remain at OPP100, to avoid various border effects. MPU can still scale. Signed-off-by: Sebastien Jan <s-jan@ti.com>
2011-11-19OMAP: DSS2: HDMI: use default dividersTomi Valkeinen
Use default regn and regm2 dividers in the hdmi driver if the board file does not define them. Cc: Mythri P K <mythripk@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2011-11-19OMAP: DSS2: DSI: Improve dsi_mux_pads parametersTomi Valkeinen
dsi_mux_pads() needs to know about the DSI HW module and the DSI lanes used. Split the function into two, enable and disable, which take necessary arguments, and add empty implementations for both. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2011-11-19OMAP: DSS2: Change DSI device namingTomi Valkeinen
Currently, there are 2 differently named platform devices generated for the 2 DSS DSI modules. In order to use the same driver, the dsi devices should be 2 instances of the same platform device. Change the platform device names from "omapdss_dsi1" and "omapdss_dsi2" to omapdss_dsi", and set the device indices to 0 and 1. Signed-off-by: Archit Taneja <archit@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2011-11-19OMAP: Revert DSS DRM patchesJassi Brar
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
2011-11-19config remove libertasAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19config remove OMAP3 support add HW_PERF_EVENTSAndy Green
HW_PERF_EVENTS is dependent on !ARCH_OMAP3 unfortunately... Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19config PERF_EVENTSAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19split out voltage errorsAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19hwmod disable fdifAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19iommu add plat irqs 44xx.h for ducati mmu irqAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19iommu uplevel platform dataAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19l2cache use l2x0_cache_idAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19hwmod uplevel sl2ifAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-11-19OMAP2+: mailbox: fix lookups for multiple mailboxesSebastien Jan
Re-apply the following patch. It was partially reverted by a merge with mutex addition. This fix is required because, as expected, the concerned code generates an error with gcc4.6 (but not with gcc4.5!). OMAP2+: mailbox: fix lookups for multiple mailboxes The pointer math in omap_mbox_get() is not quite right, and leads to passing NULL to strcmp() when searching for an mbox that is not first in the list. Convert to using array indexing as is done in all the other functions which walk the mbox list. Tested on OMAP2420/n810, OMAP3630/zoom3, OMAP4430/Blaze Signed-off-by: Kevin Hilman <khilman@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com> Conflicts: arch/arm/plat-omap/mailbox.c Signed-off-by: Sebastien Jan <s-jan@ti.com>
2011-11-19Config: enable musb in OTG modeSebastien Jan
Signed-off-by: Sebastien Jan <s-jan@ti.com>
2011-11-19ARM: cache-l2x0: update workaround for PL310 errata 727915Colin Cross
ARM errata 727915 for PL310 has been updated to include a new workaround required for PL310 r2p0 for l2x0_flush_all, which also affects l2x0_clean_all in my testing. For r2p0, clean or flush each set/way individually. For r3p0 or greater, use the debug register for cleaning and flushing. Requires exporting the cache_id, sets and ways detected in the init function for later use. Change-Id: I215055cbe5dc7e4e8184fb2befc4aff672ef0a12 Signed-off-by: Colin Cross <ccross@android.com>
2011-11-19ducati: switch clockdomain to SW managedSebastien Jan
Ducati reset procedure fails in HW managed (HW_AUTO) mode. The failure trace is: omap_hwmod: ipu_c0: failed to hardreset Signed-off-by: Sebastien Jan <s-jan@ti.com>
2011-11-19omap4: remoteproc: return proper status for status and stopSuman Anna
The return status for the userspace ProcMgr_start and ProcMgr_stop API is not returned properly. This causes the user-space to ignore and proceed with the IPC synchronization sequence even if the processor has not been put into a proper device state (asserting or deasserting Reset). Change-Id: Icfa9fbba3e7753809a3934b961afe15016ebfd70 Signed-off-by: Suman Anna <s-anna@ti.com>
2011-11-19hwmod: add missing ipu addressesSebastien Jan
Signed-off-by: Sebastien Jan <s-jan@ti.com>
2011-11-19hwspinlock: deactivate upstream implementationSebastien Jan
Upstream hwspinlocks implementation conflicts with legacy one. For now, deactivate the upstream version and use the legacy one. Signed-off-by: Sebastien Jan <s-jan@ti.com>