beagleboard-validation:linux.git
7 years agotwl4030-madc: adjust for twl4030 -> twl api changes
Koen Kooi [Mon, 15 Feb 2010 13:20:51 +0000 (14:20 +0100)]
twl4030-madc: adjust for twl4030 -> twl api changes

7 years agoboard-overo: add PM code and sync with http://www.sakoman.com/cgi-bin/gitweb.cgi...
Koen Kooi [Sun, 14 Feb 2010 11:52:02 +0000 (12:52 +0100)]
board-overo: add PM code and sync with sakoman.com/cgi-bin/gitweb.cgi?p=linux-omap-2.6.git;a=shortlog;h=refs/heads/omap3-2.6.32

7 years agoARM: OMAP2: mmc-twl4030: move clock input selection prior to vcc test
Steve Sakoman [Sun, 24 Jan 2010 17:33:56 +0000 (09:33 -0800)]
ARM: OMAP2: mmc-twl4030: move clock input selection prior to vcc test

otherwise it is not executed on systems that use non-twl regulators

7 years agommc: don't display single block read console messages
Steve Sakoman [Tue, 5 Jan 2010 03:20:25 +0000 (19:20 -0800)]
mmc: don't display single block read console messages

mmc: don't display single block read console messages

7 years agonetdev: rt73usb - add vendor/device ID for Ceiva Wireless PartNo 81726-00702
Steve Sakoman [Wed, 20 Jan 2010 04:00:46 +0000 (20:00 -0800)]
netdev: rt73usb - add vendor/device ID for Ceiva Wireless PartNo 81726-00702

7 years agoARM: OMAP: Add twl4030 madc support to Beagle
Steve Sakoman [Thu, 17 Dec 2009 22:32:36 +0000 (14:32 -0800)]
ARM: OMAP: Add twl4030 madc support to Beagle

7 years agoARM: OMAP: Add twl4030 madc support to Overo
Steve Sakoman [Thu, 17 Dec 2009 22:27:15 +0000 (14:27 -0800)]
ARM: OMAP: Add twl4030 madc support to Overo

7 years agoARM: OMAP: Add missing twl4030 madc header file
Steve Sakoman [Thu, 17 Dec 2009 23:54:58 +0000 (15:54 -0800)]
ARM: OMAP: Add missing twl4030 madc header file

7 years agodrivers: mfd: add twl4030 madc driver
Steve Sakoman [Thu, 17 Dec 2009 22:19:34 +0000 (14:19 -0800)]
drivers: mfd: add twl4030 madc driver

7 years agodrivers: input: touchscreen: ads7846: return ENODEV if device is not found
Steve Sakoman [Tue, 15 Dec 2009 23:24:10 +0000 (15:24 -0800)]
drivers: input: touchscreen: ads7846: return ENODEV if device is not found

Signed-off-by: Steve Sakoman <sakoman@gmail.com>
7 years agodrivers: net: smsc911x: return ENODEV if device is not found
Steve Sakoman [Tue, 15 Dec 2009 23:17:44 +0000 (15:17 -0800)]
drivers: net: smsc911x: return ENODEV if device is not found

Signed-off-by: Steve Sakoman <sakoman@gmail.com>
7 years agoARM: OMAP: Overo: Add support for second ethernet port
Steve Sakoman [Tue, 15 Dec 2009 22:59:42 +0000 (14:59 -0800)]
ARM: OMAP: Overo: Add support for second ethernet port

Signed-off-by: Steve Sakoman <sakoman@gmail.com>
7 years agoISP: add some more from Leopard imaging patch
Koen Kooi [Thu, 11 Feb 2010 20:34:00 +0000 (21:34 +0100)]
ISP: add some more from Leopard imaging patch

7 years agoDSS2: add bootarg for selecting svideo or composite for tv output
Steve Sakoman [Wed, 20 Jan 2010 05:19:15 +0000 (21:19 -0800)]
DSS2: add bootarg for selecting svideo or composite for tv output

also add pal-16 and ntsc-16 omapfb.mode settings for 16bpp

7 years agoOMAP3630:DSS2:Enable Pre-Multiplied Alpha Support
Sudeep Basavaraj [Tue, 5 Jan 2010 13:28:18 +0000 (18:58 +0530)]
OMAP3630:DSS2:Enable Pre-Multiplied Alpha Support

Enables dss to process color formats with pre-mulitplied alpha values.
With this we can have alpha values defined for each pixel
and hence can have different blending values for each pixel.

Signed-off-by: Sudeep Basavaraj <sudeep.basavaraj@ti.com>
Signed-off-by: Kishore Y <kishore.y@ti.com>
7 years agoMTD: NAND: omap2: proper fix for subpage read ECC errors
Steve Sakoman [Thu, 31 Dec 2009 15:05:02 +0000 (07:05 -0800)]
MTD: NAND: omap2: proper fix for subpage read ECC errors

7 years agoASoC: enable audio capture by default for twl4030
Steve Sakoman [Thu, 17 Dec 2009 20:45:20 +0000 (12:45 -0800)]
ASoC: enable audio capture by default for twl4030

7 years agoARM: OMAP: update beagleboard defconfig
Koen Kooi [Tue, 27 Apr 2010 08:51:15 +0000 (10:51 +0200)]
ARM: OMAP: update beagleboard defconfig

7 years agoARM: OMAP: beagleboard: initialize ds1307 and eeprom only for zippy and zippy2
Koen Kooi [Mon, 3 May 2010 20:31:34 +0000 (22:31 +0200)]
ARM: OMAP: beagleboard: initialize ds1307 and eeprom only for zippy and zippy2

7 years agoARM: OMAP: beagleboard: pre-export GPIOs to userspace when using a Tincantools traine...
Koen Kooi [Mon, 3 May 2010 19:38:34 +0000 (21:38 +0200)]
ARM: OMAP: beagleboard: pre-export GPIOs to userspace when using a Tincantools trainerboard

This really needs a for loop, patches welcome

7 years agoARM: OMAP: beagleboard: Add infrastructure to do fixups based on expansionboard name...
Koen Kooi [Mon, 3 May 2010 12:41:29 +0000 (14:41 +0200)]
ARM: OMAP: beagleboard: Add infrastructure to do fixups based on expansionboard name passed by u-boot

And add support for zippy2

7 years agoboard-omap3beagle: prepare for DM3730 based BeagleboardXM
Koen Kooi [Wed, 27 Jan 2010 20:57:13 +0000 (21:57 +0100)]
board-omap3beagle: prepare for DM3730 based BeagleboardXM

* OPP changes copy/pasted from board-omap3evm.c
* EHCI changes copy/pasted from Steve Kipisz' 2.6.33rcX work
* turn on power to camera on boot and add some comments

7 years agoboard-omap3-beagle: add DSS2 support
Koen Kooi [Wed, 10 Feb 2010 14:07:36 +0000 (15:07 +0100)]
board-omap3-beagle: add DSS2 support

7 years agoARM: OMAP: Make beagle u-boot partition writable
Steve Sakoman [Thu, 17 Dec 2009 20:40:24 +0000 (12:40 -0800)]
ARM: OMAP: Make beagle u-boot partition writable

7 years agoARM: OMAP: add support for TCT Zippy to Beagle board file
Steve Sakoman [Tue, 15 Dec 2009 23:34:29 +0000 (15:34 -0800)]
ARM: OMAP: add support for TCT Zippy to Beagle board file

Signed-off-by: Steve Sakoman <sakoman@gmail.com>
7 years agoboard-omap3touchbook: make it build against TI linux-omap 2.6.32-PSP
Koen Kooi [Sat, 30 Jan 2010 14:49:15 +0000 (15:49 +0100)]
board-omap3touchbook: make it build against TI linux-omap 2.6.32-PSP

7 years agoRevert "omap3: beagle: Fix compile-time errors"
Koen Kooi [Fri, 30 Apr 2010 09:12:24 +0000 (11:12 +0200)]
Revert "omap3: beagle: Fix compile-time errors"

This commit clashes with the other beagle patches we apply on top

This reverts commit da5b291cba631d303cb137fa6a620c494d828197.

7 years agoomap3evm: Enable Shared Resource Framework 20100720-base
Sanjeev Premi [Fri, 7 May 2010 09:42:39 +0000 (15:12 +0530)]
omap3evm: Enable Shared Resource Framework

This patch enables SRF for the OMAP3EVM.

7 years agoomap3evm: Enable cpufreq in defconfig
Sanjeev Premi [Thu, 6 May 2010 11:42:21 +0000 (17:12 +0530)]
omap3evm: Enable cpufreq in defconfig

This patch enables the cpufreq driver with userspace
governor in the default configuration for OMAP3EVM.

7 years agomusb: pm: Revert disabling clocks in bus_suspend/resume
Ajay Kumar Gupta [Thu, 6 May 2010 05:20:39 +0000 (10:50 +0530)]
musb: pm: Revert disabling clocks in bus_suspend/resume

This needs more testing so reverting for now.

7 years agomusb: sdma: Revert use optimal transfer element
Ajay Kumar Gupta [Wed, 5 May 2010 13:58:19 +0000 (19:28 +0530)]
musb: sdma: Revert use optimal transfer element

This patch is affetcing MSC host class operation on OMAP3EVM.
So revert this for now.

7 years agoUpdate PSP version entry in PROCFS
Sriramakrishnan [Tue, 4 May 2010 16:42:13 +0000 (22:12 +0530)]
Update PSP version entry in PROCFS

Update the release version string for
PSP 03.00.01.06 release.

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoOMAP3EVM,AM3517EVM: Enable ARM errata workaround.
Sriramakrishnan [Tue, 4 May 2010 11:37:56 +0000 (17:07 +0530)]
OMAP3EVM,AM3517EVM: Enable ARM errata workaround.

Enabled ARM errata workaround in the kernel configuration for
OMAP3EVM and AM3517EVM.

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoRevert "OMAP: DSS2: FIFI UNDERFLOW issue fixed"
Vaibhav Hiremath [Tue, 4 May 2010 10:48:22 +0000 (16:18 +0530)]
Revert "OMAP: DSS2: FIFI UNDERFLOW issue fixed"

This reverts commit 4b58d194fd8f5a1c68803eb326e9a71621571696.

7 years agoOMAP:V4L2 Display: Module_param parsing issue fixed
Vaibhav Hiremath [Mon, 3 May 2010 14:02:33 +0000 (19:32 +0530)]
OMAP:V4L2 Display: Module_param parsing issue fixed

7 years agoOMAP:VENC: Implemented DSI support for Venc
Vaibhav Hiremath [Mon, 3 May 2010 10:40:24 +0000 (16:10 +0530)]
OMAP:VENC: Implemented DSI support for Venc

7 years agoOMAP34XXCAM:FIX: ISP UserPtr buf released in buf_release API
Vaibhav Hiremath [Mon, 3 May 2010 08:29:40 +0000 (13:59 +0530)]
OMAP34XXCAM:FIX: ISP UserPtr buf released in buf_release API

Without this, in case of user pointer mode the buffers are not getting
upmapped and due to this for the buffers which are not queued before streaming
we are recieving blank data.

7 years agoOMAP3: SDRC: add timing data for Hynix H8KDS0UN0MER-4EM
Ranjith Lohithakshan [Mon, 3 May 2010 10:06:58 +0000 (15:36 +0530)]
OMAP3: SDRC: add timing data for Hynix H8KDS0UN0MER-4EM

Add timing data for Hynix H8KDS0UN0MER-4EM SDRAM chip. This chip is used
on the OMAP3 EVM boards with DM3730 SOM's.

Currently, timing data for 200MHz SDRC rate is only available. The 100MHz
data will be added in a subsequent patch.

Signed-off-by: Ranjith Lohithakshan <ranjithl@ti.com>
7 years agoOMAP:VENC:FIX:DSI clk init added in venc_power_on
Vaibhav Hiremath [Mon, 3 May 2010 07:09:14 +0000 (12:39 +0530)]
OMAP:VENC:FIX:DSI clk init added in venc_power_on

If user uses DSI clock as a source clock and if dynamically user
switched to TV out from LCD/DVI, the TV gets initialized but nothing
comes up on TV, since DSI clock init is not happening in venc.c file

7 years agoomap3: Fix errors in earlier workaround
Sanjeev Premi [Fri, 30 Apr 2010 14:35:05 +0000 (20:05 +0530)]
omap3: Fix errors in earlier workaround

The workaround to support 1GHz had few problems:
- Possible issue when mpurate is not specified in
  the bootargs.
- Compiler warning due to mismatch in print format
  and the variable type.

7 years agoDM37x: Changed OMAp35x and DM37x mux settings
Vaibhav Hiremath [Fri, 30 Apr 2010 14:18:23 +0000 (19:48 +0530)]
DM37x: Changed OMAp35x and DM37x mux settings

Merge to previous patch

7 years agoDM37x: DSS mux configuration work-around for >Rev-B processor cards
Vaibhav Hiremath [Fri, 30 Apr 2010 11:41:55 +0000 (17:11 +0530)]
DM37x: DSS mux configuration work-around for >Rev-B processor cards

Merge to previous patch

7 years agoomap3: Workaround to support 1GHz processor speed
Sanjeev Premi [Thu, 29 Apr 2010 09:10:24 +0000 (14:40 +0530)]
omap3: Workaround to support 1GHz processor speed

With mpurate=1000 (for the AM/DM37x parts), the kernel
doesn't boot. The operating voltage is not sufficient
for running MPU at 1GHz. Voltage needs to be increased
before increasing the frequency.

I2C subsystem is not initialized when omap2_clk_arch_init()
is called.

This patch implements workaround to delay the frequency
change until SmartReflex driver is initialized to set the
desired frequency.

7 years agoDM37x: DSS mux configuration work-around for >Rev-B processor cards
Vaibhav Hiremath [Thu, 29 Apr 2010 15:01:03 +0000 (20:31 +0530)]
DM37x: DSS mux configuration work-around for >Rev-B processor cards

7 years agoehci-lcd: setup display gpios only when selected
Ajay Kumar Gupta [Thu, 29 Apr 2010 13:11:41 +0000 (18:41 +0530)]
ehci-lcd: setup display gpios only when selected

This is required for EHCI port on UI card to work properly.

7 years agoomap3: Increase limit on bootarg 'mpurate'
Sanjeev Premi [Thu, 29 Apr 2010 08:39:42 +0000 (14:09 +0530)]
omap3: Increase limit on bootarg 'mpurate'

The value of mpurate is currently expected to be less
than 1000 when specified in MHz.

This patch raises this limit to 2000 to support 1GHz
processors.

7 years agoAM/DM37x: Update 1GHz OPP definition
Sanjeev Premi [Wed, 28 Apr 2010 11:35:49 +0000 (17:05 +0530)]
AM/DM37x: Update 1GHz OPP definition

Changed the definition of 1GHz OPP based on the
fresh recommendations from the silicon team.

old: ARM/1000M DSP/875M @ 1.31V
new: ARM/1000M DSP/800M @ 1.35V

7 years agoomap3: beagle: Fix compile-time errors
Sanjeev Premi [Wed, 28 Apr 2010 08:32:12 +0000 (14:02 +0530)]
omap3: beagle: Fix compile-time errors

This patch fixes the compile-time errors when building
for BeagleBoard. The errors are caused by movement of
OPP tables to pm34xx.c

The patch has been compile-tested only.

7 years agosdma: fix compiler warnings
Ajay Kumar Gupta [Tue, 20 Apr 2010 07:10:22 +0000 (12:40 +0530)]
sdma: fix compiler warnings

Merge to:
commit 387c6ae27def1eae84cfd5d2de2e78e61f7bc753
musb: sdma: use optimal transfer element

7 years agomusb: sdma: use optimal transfer element
Ajay Kumar Gupta [Mon, 19 Apr 2010 10:08:20 +0000 (15:38 +0530)]
musb: sdma: use optimal transfer element

Merge to:
commit cb0cc55f9ae1e254f597af98144db8863fb6211b
musb: fix Inventra DMA lockup issue

7 years agoAM/DM37x: musb: Use system DMA for unaligned buffers
Ajay Kumar Gupta [Mon, 19 Apr 2010 07:56:15 +0000 (13:26 +0530)]
AM/DM37x: musb: Use system DMA for unaligned buffers

Mentor DMA on AM/DM37x requires the buffers to be aligned on a four byte
boundary. This affects the USB CDC/RNDIS class applications as networking
buffers are always unaligned for it.

Fixing this by using system DMA for unaligned buffers.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
7 years agousb: pm: disbale autosuspend in default mode
Ajay Kumar Gupta [Tue, 30 Mar 2010 06:03:23 +0000 (11:33 +0530)]
usb: pm: disbale autosuspend in default mode

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
7 years agomusb: pm: disable clocks in bus_suspend/resume
Ajay Kumar Gupta [Mon, 29 Mar 2010 14:28:44 +0000 (19:58 +0530)]
musb: pm: disable clocks in bus_suspend/resume

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
7 years agoehci: pm: disable clocks in bus_suspend/resume
Ajay Kumar Gupta [Mon, 29 Mar 2010 10:03:55 +0000 (15:33 +0530)]
ehci: pm: disable clocks in bus_suspend/resume

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
7 years agoRevert "ehci: pm: Handle bus SR in HCD for PHY reset"
Ajay Kumar Gupta [Fri, 26 Mar 2010 08:04:52 +0000 (13:34 +0530)]
Revert "ehci: pm: Handle bus SR in HCD for PHY reset"

This reverts commit 719f860c2cbd89ec08538d744fb9aa95f9de492d.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
7 years agoRevert "musb: start session only if A-device"
Ajay Kumar Gupta [Fri, 26 Mar 2010 07:18:31 +0000 (12:48 +0530)]
Revert "musb: start session only if A-device"

This reverts commit 6f27d039e6c8485131c620398c41be8cc8447fdd.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
7 years agoOMAP35x: enable CONFIG_USB_SUSPEND
Ajay Kumar Gupta [Fri, 26 Mar 2010 07:05:13 +0000 (12:35 +0530)]
OMAP35x: enable CONFIG_USB_SUSPEND

Merge to:
commit daebf4f2202da752aa8cce3a96ffef683a17d00b
OMAP35x: usb: enable usb in defconfig

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
7 years agoAM35x: enable CONFIG_USB_SUSPEND
Ajay Kumar Gupta [Fri, 26 Mar 2010 06:58:37 +0000 (12:28 +0530)]
AM35x: enable CONFIG_USB_SUSPEND

Merge to:
commit 06ef8dabc5a759934f04472d4dbcff374a85730f
AM3517: usb: enable usb on defconfig

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
7 years agoRevert "AM/DM35x: musb: workaround for USB_SUSPEND"
Ajay Kumar Gupta [Fri, 26 Mar 2010 06:54:56 +0000 (12:24 +0530)]
Revert "AM/DM35x: musb: workaround for USB_SUSPEND"

This reverts commit c76e51fbb6bee5e0f0b6f430e79ac076bcab1e95.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
7 years agoRevert "DM35x: musb: Fix core off issue with suspend"
Ajay Kumar Gupta [Fri, 26 Mar 2010 06:54:46 +0000 (12:24 +0530)]
Revert "DM35x: musb: Fix core off issue with suspend"

This reverts commit 483d8ce783f2ebf1cafdbe9d9d26ad7323e19882.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
7 years agoOMAP35xx: Put IVA to idle before rate switching at boot
Ranjith Lohithakshan [Mon, 5 Apr 2010 05:36:27 +0000 (11:06 +0530)]
OMAP35xx: Put IVA to idle before rate switching at boot

As a part of the mpu rate switch at boot (using mpurate), the IVA and
core rates are switched as well. This patch puts IVA module to idle
before switching IVA rate. Also, in the case of lowering rates, the
core rate is lowered only after lowering mpu and IVA rates.

This fixes the issue of IVA/CORE/PER powerdomains not entering RET/OFF
states when mpurate is set to 125 (SDOCM00067652).

Signed-off-by: Ranjith Lohithakshan <ranjithl@ti.com>
7 years agoUSB: musb: allow unaligned memory data transfers
Ajay Kumar Gupta [Thu, 1 Apr 2010 05:47:05 +0000 (11:17 +0530)]
USB: musb: allow unaligned memory data transfers

On MUSB:IP rev RTL1.8 and above(OMAP3630, OMAP4),
DMA addresses have to be word aligned.

g-ether gadget passes unaligned buffers to the controller
For such buffers, dma fails and a fall back mechanism of interrupt
mode is used

Validated on Zoom3 with g-ether diver

Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
7 years agomusb: hsdma: update inventra lockup
Ajay Kumar Gupta [Thu, 1 Apr 2010 05:49:46 +0000 (11:19 +0530)]
musb: hsdma: update inventra lockup

Inventra DMA lockup issue in not applicable for DM37x.

Merge to:
commit cb0cc55f9ae1e254f597af98144db8863fb6211b
musb: fix Inventra DMA lockup issue

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
7 years agoRevert "MUSB: Workaround for Ethernet data alignment issue"
Ajay Kumar Gupta [Thu, 1 Apr 2010 05:48:33 +0000 (11:18 +0530)]
Revert "MUSB: Workaround for Ethernet data alignment issue"

This reverts commit 6a6d3473f0df9318612cd0a7d608215e16c34f8f.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
7 years agoRTC-S35390: Modular build issue fixed, freed irq in release
Vaibhav Hiremath [Wed, 10 Mar 2010 08:05:46 +0000 (13:35 +0530)]
RTC-S35390: Modular build issue fixed, freed irq in release

7 years agoAM3517: musb: Add timeout in while loop of phy_on()
Ajay Kumar Gupta [Wed, 10 Mar 2010 14:16:27 +0000 (19:46 +0530)]
AM3517: musb: Add timeout in while loop of phy_on()

Fixes the system hang during resume on some AM3517 EVMs
where PHY clock good status is not set to 'good state'
but still musb works fine.

7 years agoOMAP3EVM: Add OneNAND partition information to board file
Vaibhav Hiremath [Thu, 18 Mar 2010 12:03:44 +0000 (17:33 +0530)]
OMAP3EVM: Add OneNAND partition information to board file

7 years agoOMAP-Resizer: Error check added in QBUF
Vaibhav Hiremath [Wed, 3 Mar 2010 10:35:18 +0000 (16:05 +0530)]
OMAP-Resizer: Error check added in QBUF

7 years agoRTC: S35390A: Warning message fixed
Vaibhav Hiremath [Wed, 3 Mar 2010 10:35:53 +0000 (16:05 +0530)]
RTC: S35390A: Warning message fixed

7 years agoDM35x: musb: Fix core off issue with suspend
Ajay Kumar Gupta [Wed, 3 Mar 2010 10:07:08 +0000 (15:37 +0530)]
DM35x: musb: Fix core off issue with suspend

Enabling FORCESTDBY for musb is blocking core to enter off mode
in DM35x. Reverting it to SMARTDTBBY.

Squash to:
commit c76e51fbb6bee5e0f0b6f430e79ac076bcab1e95
AM/DM35x: musb: workaround for USB_SUSPEND

7 years agoNAND : Add data memory barrier to enforce ordering
Sriramakrishnan [Wed, 3 Mar 2010 09:28:03 +0000 (14:58 +0530)]
NAND : Add data memory barrier to enforce ordering

When using delay loop for wait states, need to ascertain that
the write to OMAP HW register is reflected befor the delay
loop starts. This patch adds a dmb() instruction to this effect.
Without this fix, NAND read failures reported with mtd_oobtests.

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoOMAP35xx:SDIO IRQ Support for OMAP35xx
Phaneendra kumar [Mon, 21 Dec 2009 13:04:06 +0000 (13:04 +0000)]
OMAP35xx:SDIO IRQ Support for OMAP35xx

This patch adds SDIO IRQ support for OMAP35xx. Tested on OMAP3530EVM
with Marvell 88W8686 card and below are the observed throughput results
(ttcp utility): 13Mbps (Downlink), 10.5 Mbps(Uplink)

Signed-off-by: Phaneendra Kumar <phani@embwise.com>
7 years agoAM3517: ehci: Fix crash during rmmod
Ajay Kumar Gupta [Wed, 3 Mar 2010 09:29:30 +0000 (14:59 +0530)]
AM3517: ehci: Fix crash during rmmod

Regulators has to be set to NULL if regulator_get() fails. Without
this kernel panic is observed during EHCI module removal.

7 years agoAM/DM35x: musb: workaround for USB_SUSPEND
Ajay Kumar Gupta [Wed, 3 Mar 2010 05:16:17 +0000 (10:46 +0530)]
AM/DM35x: musb: workaround for USB_SUSPEND

CONFIG_USB_SUSPEND need to be enabled for musb to enter into
suspend mode while it is active. But when we enable this flag
EHCI becomes unusable after resume if any device was connected
during suspend.

Also using the FORCE IDLE/STDBY to allow core to enter off mode
during suspend.

This workaround allows musb to enter into suspend mode and doesn't
require CONFIG_USB_SUSPEND to be enabled.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
7 years agoehci: pm: Handle bus SR in HCD for PHY reset
Ajay Kumar Gupta [Mon, 1 Mar 2010 09:48:06 +0000 (15:18 +0530)]
ehci: pm: Handle bus SR in HCD for PHY reset

We need to reset the EHCI PHY after resume to avoid the re-enumeration
of attached devices to EHCI port. As PHY reset has to be performed
after bus suspend/resume so calling them at OMAP HCD layer and then
doing a PHY reset.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
7 years agoomap3: Fix warning in pm-debug.c
Sanjeev Premi [Tue, 2 Mar 2010 15:38:27 +0000 (21:08 +0530)]
omap3: Fix warning in pm-debug.c

The function pm_dbg_init() was declared static but
gets defined only when CONFIG_DEBUG_FS is set. This
leads to following warning:

arch/arm/mach-omap2/pm-debug.c:58: warning: 'pm_dbg
_init' declared 'static' but never defined

7 years agoehci: Disable SAR when EHCI is not used
Ajay Kumar Gupta [Tue, 2 Mar 2010 08:18:51 +0000 (13:48 +0530)]
ehci: Disable SAR when EHCI is not used

USNHOST SAR flag prevents sleep during system suspend.

7 years agoOMAP: DSS: Workaround for DSS out of sync when sleep_while_idle
Vaibhav Hiremath [Mon, 1 Mar 2010 16:04:13 +0000 (21:34 +0530)]
OMAP: DSS: Workaround for DSS out of sync when sleep_while_idle

If DISPC.MIDLEMODE bit configured to "Smart Idle" state, DSS allows
Core pwdm to enter into off state which will inturn take
DSS to off state causing driver to go out-of-sync, since driver executes
save/restore on clock usage count.

The work around for this issue is to put DISPC.MIDLEMODE bit to "Force Idle"
state, which will make sure that the Core pwdm won't enter into off state if
DSS is active.

7 years agoDM37xx: PM: Fix OPP table indexing
Ranjith Lohithakshan [Fri, 26 Feb 2010 13:48:16 +0000 (19:18 +0530)]
DM37xx: PM: Fix OPP table indexing

The OPP table indexing on DM37xx was using the min max VDD1/2
macros that is defined for 35xx. This was causing the cpufreq table inits
to be erroneous. This patch replaces the use of hard defined macros
with get_max_vdd1/2 functions which returns the correct bounds based on
cpu type.

Signed-off-by: Ranjith Lohithakshan <ranjithl@ti.com>
7 years agomusb: save/restore MUSB_ULPI_BUSCONTROL register
Ajay Kumar Gupta [Fri, 26 Feb 2010 11:26:23 +0000 (16:56 +0530)]
musb: save/restore MUSB_ULPI_BUSCONTROL register

This is required for OMAP3EVM-2 where musb needs extvbus programming.

musb starts working after coming back from suspend when all the
three off mode flags are enabled.

7 years agomusb: Add workqueue for URB giveback
Ajay Kumar Gupta [Fri, 26 Feb 2010 05:45:58 +0000 (11:15 +0530)]
musb: Add workqueue for URB giveback

Current musb host driver does the giveback of completed urb first and
then start the next request. This is significantly affecting the streaming
from an USB camera wherein we observe huge delay between the two IN tokens
from musb host. This is due to the fact that UVC driver is doing decoding
and further processing in giveback context.

The patch tries to defer the giveback part to a workqueue and continues
with the start of new request in completion path.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
7 years agoDM37x: musb: Fix core off issue
Ajay Kumar Gupta [Thu, 25 Feb 2010 12:13:29 +0000 (17:43 +0530)]
DM37x: musb: Fix core off issue

Enable FORCEIDLE for musb as SMARTIDLE is bocking the core to enter
into off mode when off mode flags are enabled.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
7 years agoOMAP3EVM: Enable wakeup from touchscreen
Ranjith Lohithakshan [Thu, 25 Feb 2010 04:26:53 +0000 (09:56 +0530)]
OMAP3EVM: Enable wakeup from touchscreen

This  patch enables the wakeup capabilities of ads7846 touchscreen driver.
ads7846 driver can now wakeup the system from suspend on OMAP3 EVM.

Signed-off-by: Ranjith Lohithakshan <ranjithl@ti.com>
7 years agoInput: ads7846 - add wakeup support
Ranjith Lohithakshan [Thu, 25 Feb 2010 04:24:53 +0000 (09:54 +0530)]
Input: ads7846 - add wakeup support

Add wakeup support to the ads7846 driver. Platforms can enable wakeup
capability by setting the wakeup flag in ads7846_platform_data. With this
patch the ads7846 driver can be used to wake the system from suspend.

Signed-off-by: Ranjith Lohithakshan <ranjithl@ti.com>
7 years agoRevert "OMAP3730: PM: Restrict PER pwrdm entering to OFF when DSS pwrdm is active"
Vaibhav Hiremath [Wed, 24 Feb 2010 15:14:37 +0000 (20:44 +0530)]
Revert "OMAP3730: PM: Restrict PER pwrdm entering to OFF when DSS pwrdm is active"

This reverts commit e493310e5b5e0c069e3d4af2ec236fd998f962cc.

7 years agoDM37x: DSS: enable HSDIVIDER for DSI PLL
Vaibhav Hiremath [Wed, 24 Feb 2010 14:37:50 +0000 (20:07 +0530)]
DM37x: DSS: enable HSDIVIDER for DSI PLL

7 years agoRevert "OMAP: LS037V7 Panel: Pixel clock changed to 24MHz"
Vaibhav Hiremath [Wed, 24 Feb 2010 14:37:26 +0000 (20:07 +0530)]
Revert "OMAP: LS037V7 Panel: Pixel clock changed to 24MHz"

This reverts commit e6feaae76c3685d7ff465e62335f6c0109e98083.

7 years agoAM3517: DSS: regulator API's encapsulated under !cpu_is_omap3517
Vaibhav Hiremath [Wed, 24 Feb 2010 14:35:46 +0000 (20:05 +0530)]
AM3517: DSS: regulator API's encapsulated under !cpu_is_omap3517

7 years agoRevert "adding initial version for video drivers for upstream"
Vaibhav Hiremath [Wed, 24 Feb 2010 13:55:49 +0000 (19:25 +0530)]
Revert "adding initial version for video drivers for upstream"

This reverts commit 4f1da1481486888ec1743b969e7216cc11d12974.

7 years agoOMAP3EVM: Update pad configuration for wakeup enabled pads
Ranjith Lohithakshan [Tue, 23 Feb 2010 11:33:34 +0000 (17:03 +0530)]
OMAP3EVM: Update pad configuration for wakeup enabled pads

TRM section 7.4.4.4.2 requires OFFOUTENABLE to be set (active low)
if wakeup capabilities are enabled on a pad. Not configuring this
can prevent full OFF mode entry.

The pad configuration is included only if the respective drivers are
enabled in the defconfig.

Signed-off-by: Ranjith Lohithakshan <ranjithl@ti.com>
7 years agoReverted LCD_ENVDD disable change
Vaibhav Hiremath [Wed, 24 Feb 2010 10:21:31 +0000 (15:51 +0530)]
Reverted LCD_ENVDD disable change

The LCD_ENVDD (GPIO153) powers up both LCD panel and TSC controller, and due to
this TouchScreen doesn't work sometimes.

7 years agoUpdate PSP version entry in PROCFS
Sriramakrishnan [Tue, 23 Feb 2010 08:06:02 +0000 (13:36 +0530)]
Update PSP version entry in PROCFS

Update the release version string for
PSP 03.00.00.05 release.

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoOMAP: LS037V7 Panel: Pixel clock changed to 24MHz
Vaibhav Hiremath [Mon, 22 Feb 2010 15:33:04 +0000 (21:03 +0530)]
OMAP: LS037V7 Panel: Pixel clock changed to 24MHz

As per LCD spec the pixel clock configuration for VGA resolution
is 39.7 nsec, which gives us around 25.188Mhz. So roudnig it
24 (integer divider to 96).

7 years agoOMAP: DSS: Added cpu_is_3630 check for DSI FREQSEL configuration
Vaibhav Hiremath [Mon, 22 Feb 2010 15:30:40 +0000 (21:00 +0530)]
OMAP: DSS: Added cpu_is_3630 check for DSI FREQSEL configuration

FREQSEL bit fields is marked as reserved under OMAP36x/AM37x, so encapsulated
it under !cpu_is_3630()

7 years agoehci: pm: support off mode with memory suspend
Ajay Kumar Gupta [Thu, 18 Feb 2010 11:46:54 +0000 (17:16 +0530)]
ehci: pm: support off mode with memory suspend

Changes:
        - Removed PHY reset part as port didn;t work after resume
          if devices were already connected.
        - Enabled HD_SAR for USBHOST in powerdomain34xx.h

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
7 years agoehci: pm: update power management support
Ajay Kumar Gupta [Wed, 17 Feb 2010 10:02:26 +0000 (15:32 +0530)]
ehci: pm: update power management support

Added PM_OPS to platform_driver.

Squash to:
ehci: pm: Add power management support

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
7 years agoAM3517: Disabled LCD panel in __init board init
Vaibhav Hiremath [Fri, 19 Feb 2010 13:32:28 +0000 (19:02 +0530)]
AM3517: Disabled LCD panel in __init board init

If you choose default output to DVI, the LCD panel used to
stay on, since panel->disable function never gets called.

So, during init put panel GPIO to off state and the driver
code will decide which output to enable.

7 years agoAM3517: Interrupt support added for S35390 RTC driver
Vaibhav Hiremath [Wed, 17 Feb 2010 15:44:48 +0000 (21:14 +0530)]
AM3517: Interrupt support added for S35390 RTC driver

7 years agoOMAP3: DSS: Support for suspend/resume with DSI clock as a source
Vaibhav Hiremath [Thu, 18 Feb 2010 12:32:59 +0000 (18:02 +0530)]
OMAP3: DSS: Support for suspend/resume with DSI clock as a source

7 years agoOMAP3EVM: Add support for backlight class driver
Vaibhav Hiremath [Thu, 18 Feb 2010 10:41:13 +0000 (16:11 +0530)]
OMAP3EVM: Add support for backlight class driver