Age | Commit message (Collapse) | Author |
|
This reverts commit 55d03f400148ef63e9cb73232fc2a261dca27e6f.
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Eric Miao <eric.miao@canonical.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
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>
|
|
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>
|
|
thermal_framework is capable of this...
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
There was an error in the logs that 'fck was already an alias'
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
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>
|
|
Call smartreflex enable in the board-4430sdp.c init
function
Change-Id: I9cf8c1426513705dde74a401d6e2f22e4ac78f65
Signed-off-by: Dan Murphy <dmurphy@ti.com>
|
|
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>
|
|
Add call to enable smartreflex in panda board file
Change-Id: I769e233d2828a30849a016b44e0d7ab6874ede42
Signed-off-by: Dan Murphy <dmurphy@ti.com>
|
|
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>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
HW_PERF_EVENTS is dependent on !ARCH_OMAP3 unfortunately...
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
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>
|
|
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
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>
|