summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-09-26debug quench pvr init debugtilt-linaro-android-3.0-e823e5fabfd18473e94d896fd7a7815af6b503b6Andy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23i2c additional constanttilt-linaro-android-3.0-7840e5d9be030f239a5b40231a22a97bebad40b6Andy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23I2C: OMAP2+: Introduce I2C IP versioning constantsAndy Green
These represent the two kinds of (incompatible) OMAP I2C peripheral unit in use so far. The constants are in linux/i2c-omap.h so the omap i2c driver can have them too. Cc: patches@linaro.org Cc: Ben Dooks <ben-linux@fluff.org> Reported-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Andy Green <andy.green@linaro.org> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Kevin Hilman <khilman@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
2011-09-23INSTE to MODEAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23OMAP4: ID: add omap_has_feature for max freq supportedAneesh V
Macros for identifying the max frequency supported by various OMAP4 variants - Expanding along the lines of OMAP3's feature handling. [nm@ti.com: minor fixes for checks that should only for 443x|446x] Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Rajendra Nayak <rnayak@ti.com> Reviewed-by: Kevin Hilman <khilman@ti.com> Reviewed-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2011-09-23omapdrm dont use omapdrm include if not drm configAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23config remove CONFIG_DEBUG_LLJassi Brar
The sporadic boot crashes are down to stuff at real console init time happening when the UART has been under DEBUG_LL control until then. This disables CONFIG_LL from our defconfig. Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
2011-09-23config CONFIG_INPUT_UINPUTAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23config mfd 6040 for onboard audioAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23soc 4430sdp revert stuff from linux linaroAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23config dmm dmaAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23fix duplicated clkevent registerAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23config just android gadget builtinAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23document boot scr neededAndy Green
The following boot.scr contents are needed for 3D operation setenv bootcmd 'fatload mmc 0:1 0x80200000 uImage; fatload mmc 0:1 0x81600000 uInitrd; bootm 0x80200000 0x81600000' setenv bootargs 'console=ttyO2,115200n8r rootwait ro fixrtc nocompcache loglevel=4 mem=456M@0x80000000 mem=512M@0xA0000000 init=/init vram=32M omapfb.vram=0:16M,1:16M' boot boot.scr needs a funky header so this patch adds it to the tree for ease of use and maintainence Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23asoc omap handle out of range mute unmute on suspend resumeAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23config android disable ram consoleAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23omap2 panda include omap4_pmic_get_config in buildAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23arm mm reintroduce ISA_DMA_THRESHOLDAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23config android use new video apisAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23config enable hdmi audioAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23wakelock mmc looping on suspend workaroundAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23config remove all omap boards except pandaAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23config remove junkAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23config androidAndy Green
make ARCH=arm android_omap4_defconfig to create your .config Notice with 3.0, you need current x-loader (MLO) and current U-Boot (u-boot.bin) to get SGX coming Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23omap-hwmod: Add hwmod definitions for SysLink related devicesSubramaniam C.A
This patch adds hwmod definitions for all devices that are used/ requested by Syslink/ipu-pm. The devices are: --sl2if fdif Signed-off-by: Benoit Cousson <b-cousson@ti.com> Signed-off-by: Miguel Vadillo <vadillo@ti.com> Signed-off-by: Simon Que <sque@ti.com> Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com> Cc: Paul Walmsley <paul@pwsan.com> Cc: Kevin Hilman <khilman@deeprootsystems.com> Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23omap ipu add additional includesAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23omap ipu include prcm constantsAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23omap prcm 4430 add constantsAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23Staging: OMAPDRM: Changing driver's name to be compatible with userspaceRicardo Salveti de Araujo
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
2011-09-23OMAP4460: L2X0 workaround applies just at 4460 ES1.0Ricardo Salveti de Araujo
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
2011-09-23OMAP4460: HDMI: Disable HDMI DDC internal pull up resistorRicardo Salveti de Araujo
Disables the internal pull resistor for SDA and SCL enabled by default as there are expernal pull up's to avoid the EDID read failure. Patch done mainly by Mythri P K <mythripk@ti.com> Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
2011-09-23OMAP: hwmod: fix the i2c-reset timeout during bootupAvinash.H.M
The sequence of _ocp_softreset doesn't work for i2c. The i2c module has a special sequence to reset the module. The sequence is - Disable the I2C. - Write to SOFTRESET bit. - Enable the I2C. - Poll on the RESETDONE bit. The sequence is implemented as a function and the i2c_class is updated with the correct 'reset' pointer. omap_hwmod_softreset function is implemented which triggers the softreset by writing into sysconfig register. On following this sequence, i2c module resets properly and timeouts are not seen. Cc: Rajendra Nayak <rnayak@ti.com> Cc: Paul Walmsley <paul@pwsan.com> Cc: Benoit Cousson <b-cousson@ti.com> Cc: Kevin Hilman <khilman@ti.com> Signed-off-by: Avinash.H.M <avinashhm@ti.com> [paul@pwsan.com: combined this patch with a patch to remove HWMOD_INIT_NO_RESET from the 44xx hwmod flags; change register offset conditional code to use the IP block revision; minor code cleanup] Signed-off-by: Paul Walmsley <paul@pwsan.com>
2011-09-23I2C: OMAP2+: add correct functionality flags to all omap2plus i2c dev_attrAndy Green
This adds the new functionality flags for omap i2c unit to all OMAP2 hwmod definitions Cc: patches@linaro.org Cc: Ben Dooks <ben-linux@fluff.org> Reported-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Andy Green <andy.green@linaro.org> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Kevin Hilman <khilman@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
2011-09-23I2C: OMAP2+: Tag all OMAP2+ hwmod defintions with I2C IP revisionAndy Green
Since we cannot trust (or even reliably find) the OMAP I2C peripheral unit's own revision register, we must inform the OMAP i2c driver of which IP version it is running on. We do this by tagging the omap_hwmod_class for i2c on all the OMAP2+ platform / cpu specific hwmod init and passing it up to the driver (next patches). Cc: patches@linaro.org Cc: Ben Dooks <ben-linux@fluff.org> Reported-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Andy Green <andy.green@linaro.org> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Kevin Hilman <khilman@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
2011-09-23I2C: OMAP2+: Set hwmod flags to only allow 16-bit accesses to i2cAndy Green
Peter Maydell noticed when running under QEMU he was getting errors reporting 32-bit access to I2C peripheral unit registers that are documented to be 8 or 16-bit only[1][2] The I2C driver is blameless as it wraps its accesses in a function using __raw_writew and __raw_readw, it turned out it is the hwmod stuff. However the hwmod code already has a flag to force a perhipheral unit to only be accessed using 16-bit operations. This patch applies the 16-bit only flag to the 2430, OMAP3xxx and OMAP44xx hwmod structs. 2420 was already correctly marked up as 16-bit. The 2430 change will need testing by TI as arranged in the comments to the previous patch version. When the 16-bit flag is or-ed with other flags, it is placed first as requested in comments. [1] OMAP4430 Technical reference manual section 23.1.6.2 [2] OMAP3530 Techincal reference manual section 18.6 Cc: patches@linaro.org Cc: Ben Dooks <ben-linux@fluff.org> Reported-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Andy Green <andy.green@linaro.org> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Kevin Hilman <khilman@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
2011-09-23OMAP4: hwmod changes to make it work with 4460Ricardo Salveti de Araujo
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
2011-09-23OMAP4: Adding ID for OMAP4460 ES1.1Ricardo Salveti de Araujo
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
2011-09-23OMAP4: Pandaboard: Fixing Leds for 4460Ricardo Salveti de Araujo
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
2011-09-23sound soc remove abe debug loggingAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23usb: musb: fix pm_runtime calls while atomicVikram Pandita
musb pm_runtime_get_sync call happens in intrrupt context on cable attach case That can result in re-enabling the interrupts and cause side affects. So move the code to a work queue. Following is the error path hit on cable attach: BUG: sleeping function called from invalid context at drivers/base/power/runtime.c:802 in_atomic(): 0, irqs_disabled(): 0, pid: 18, name: irq/378-twl6030 Backtrace: [<c00520f0>] (dump_backtrace+0x0/0x110) from [<c054f454>] (dump_stack+0x18/0x1c) [<c054f43c>] (dump_stack+0x0/0x1c) from [<c007f59c>] (__might_sleep+0x130/0x134) [<c007f46c>] (__might_sleep+0x0/0x134) from [<c02c2794>] (__pm_runtime_resume+0x94/0x98) [<c02c2700>] (__pm_runtime_resume+0x0/0x98) from [<c033e7e4>] (musb_otg_notifications+0x9c/0x164) [<c033e748>] (musb_otg_notifications+0x0/0x164) from [<c00b3df0>] (notifier_call_chain+0x4c/0x8c) [<c00b3da4>] (notifier_call_chain+0x0/0x8c) from [<c00b44a8>] (__atomic_notifier_call_chain+0x40/0x54) [<c00b4468>] (__atomic_notifier_call_chain+0x0/0x54) from [<c00b44dc>] (atomic_notifier_call_chain+0x20/0x28) [<c00b44bc>] (atomic_notifier_call_chain+0x0/0x28) from [<c033f124>] (twl6030_usb_irq+0xc8/0xdc) [<c033f05c>] (twl6030_usb_irq+0x0/0xdc) from [<c00d79f8>] (irq_thread_fn+0x24/0x40) [<c00d79d4>] (irq_thread_fn+0x0/0x40) from [<c00d7b64>] (irq_thread+0x150/0x1d8) [<c00d7a14>] (irq_thread+0x0/0x1d8) from [<c00adf70>] (kthread+0x94/0x98) [<c00adedc>] (kthread+0x0/0x98) from [<c0094388>] (do_exit+0x0/0x720) Tested with: MUSB Device mode: Cold boot / Hot plug MUSB Host mode: Cold boot / Hot plug Signed-off-by: Vikram Pandita <vikram.pandita@ti.com> Signed-off-by: Moiz Sonasath <m-sonasath@ti.com> Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
2011-09-23mfd: twl6030: Revert commit 94fda02a3a71baadJassi Brar
We live in better times now. Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
2011-09-23usb: ehci: fix update qtd->token in qh_append_tdsMing Lei
This patch fixs one performance bug on ARM Cortex A9 dual core platform, which has been reported on quite a few ARM machines(OMAP4, Tegra 2, snowball...), see details from link of https://bugs.launchpad.net/bugs/709245. In fact, one mb() on ARM is enough to flush L2 cache, but 'dummy->hw_token = token;' after mb() is added just for obeying correct mb() usage. The patch has been tested ok on OMAP4 panda A1 board, the performance of 'dd' over usb mass storage can be increased from 4~5MB/sec to 14~16MB/sec after applying this patch. Signed-off-by: Ming Lei <ming.lei@canonical.com>
2011-09-23Subject: drivers:misc: ti-st: reinit completion on ver readPavan Savoy
X-Git-Tag: next-20110823~95^2~5 X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fnext%2Flinux-next.git;a=commitdiff_plain;h=74a4fcf19eed6550651f455db5741fd216b4f004 drivers:misc: ti-st: reinit completion on ver read After the version information has been read, the completion which assists in wait_for_completion during the firmware send/wait sequence is being re-used and hence this needs to be re-initialised for fool proof firmware download retries. Signed-off-by: Pavan Savoy <pavan_savoy@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-23From 78bb9697e2c4b62c426f1a2571c293a2e4463adf Mon Sep 17 00:00:00 2001Vijay Badawadagi
Subject: [PATCH] drivers:misc: ti-st: fail-safe on wrong pkt type Texas Instrument's shared transport driver interpret incoming data from the UART based on the various protocol drivers registered to the driver such as btwilink driver or FM or GPS driver which provide logical channel IDs. In case of bad-behavior from chip such as HCI Event response for a GPS command or a HCI Event (h/w error event) for a FM response & In case of bad-behavior from UART driver such as dropping data bytes a fail-safe is required to avoid kernel panic. Signed-off-by: Pavan Savoy <pavan_savoy@ti.com> Signed-off-by: Vijay Badawadagi <bvijay@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-23Remove last 256MB from being listed as "unaccessable"David A. Long
Signed-off-by: David A Long <dave.long@linaro.org>
2011-09-23config set DMM_DMAAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23config set drm no sgxAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-09-23Subject: [PATCH 20/20] OMAP SYSLINK_OLD: Disable h/w control of ducatiJassi Brar
Old api driver isn't designed to manage Ducati in HW_AUTO mode. Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
2011-09-23Subject: [PATCH 19/20] OMAP DSS: Fix compilation errorsJassi Brar
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
2011-09-23Subject: [PATCH 18/20] OMAP4: Enable old api video by defaultJassi Brar
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>