Commit Graph

214038 Commits

Author SHA1 Message Date
makarand.karvekar
cbdfcbc03f leds: lp8550: get backlight scaling factor from platform data
backlight scaling factor varies with display panel

Change-Id: I45ea0d76526d4297412d177481acded082ce7104
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
2011-03-04 10:54:29 -08:00
Benoit Goby
047910a562 net: usb: qcusbnet: Fix kernel panic on probe/disconnect
Use list_for_each_safe since the loop kfree the current list entry.

If qc_register fails, probe calls qc_deregister. qc_deregister accesses
the cdev struct, so make sure it has been initialized before returning
from qc_register.

Fix missing spin_unlock_irqrestore

Change-Id: I56db6ffaa0c7b258d383d0a6211f63318fa9c08f
Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-03 19:36:51 -08:00
James Wylder
7ca9bb05f0 ARM: tegra: stingray: Update Memory tables
Change all rates to integer multipliers, and
Add table for 40nm Elpida

Change-Id: Ie3a4e47948f541326da664537604e2c3061e3a92
Signed-off-by: James Wylder <james.wylder@motorola.com>
2011-03-03 18:57:46 -08:00
James Wylder
ae2833c5e5 ARM: tegra: stingray: use generic memory vendor matching
Initialize arrays to utilize new signature of tegra_init_emc.
Memory types are matched internally and command line
option is no longer needed.

Change-Id: Icc7d44e4a82031638c78eeac3b172b713e0ca97b
Signed-off-by: James Wylder <james.wylder@motorola.com>
2011-03-03 18:57:31 -08:00
Colin Cross
1d05dd86db Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36 2011-03-03 18:55:51 -08:00
Colin Cross
07a84a1ce6 Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36 2011-03-03 18:55:38 -08:00
James Wylder
1bc517b59d ARM: tegra: add generic memory vendor matching
Update tegra_init_emc to provide generic memory
vendor matching.  Read values from EMC_MRR_0, to
uniquely identify memory types and compare them
to table of memory passed in.

Change-Id: Ie116fa6f497076149c87ff6c0ae0621309bac65f
Signed-off-by: James Wylder <james.wylder@motorola.com>
2011-03-03 18:54:12 -08:00
Colin Cross
8e15ee8536 ARM: tegra: Use readl/writel_relaxed for reset
tegra_assert_system_reset is called after the cache is disabled.
Calling writel will cause the PL310 store buffers to be drained,
which requires taking a spinlock.  Taking a spinlock is not safe
after the caches are disabled.  Convert to readl_relaxed and
writel_relaxed.

Change-Id: I6850179b931ca865580c0fd3fe003b46bdfa43ae
Signed-off-by: Colin Cross <ccross@android.com>
2011-03-03 18:53:08 -08:00
makarand.karvekar
653b4fd76a [ARM]: tegra: stingray: update ABS x,y max/min values to 0-base
Change-Id: I40e40c843ca732980d454aba721b338ee2e78f4d
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
2011-03-03 17:14:39 -08:00
makarand.karvekar
e3ef598681 [ARM]: tegra: stingray: update ALS interrupt delay to 400mS
Change-Id: Ib8ac11ed7397df1c65097a7d341c29b80c1aafeb
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
2011-03-03 16:32:35 -08:00
makarand.karvekar
8357c9c3d0 misc: kxtf9: corrected cancel work sync call for delayed work
Change-Id: Iec914fd1102b8b6dba5d9b818b6eacb0d6481187
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
2011-03-03 16:28:27 -08:00
makarand.karvekar
1f373314b7 misc: amk8975: correct y-axis and orientation status reporting
y-axis: REL_WHEEL
orientation status: REL_HWHEEL

Change-Id: I1268b4cffe281b8871be6a34856cab21f4ca3da3
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
2011-03-03 16:27:16 -08:00
Rebecca Schultz Zavin
e50f433beb Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36 2011-03-03 14:30:35 -08:00
Rebecca Schultz Zavin
492f2efde4 Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36 2011-03-03 14:29:26 -08:00
Rebecca Schultz Zavin
b3cc1d84d0 Revert "tegra: host: move stale wait checking into the kernel"
This reverts commit 2d49bf33f3.
2011-03-03 14:28:07 -08:00
Benoit Goby
7544916bf3 ARM: tegra: stingray: Add CONFIG_USB_NET_GOBI
Change-Id: I6e62613f3092578f62af0b87660ffd153e7b2d1e
2011-03-02 18:24:26 -08:00
Benoit Goby
e026f740c6 net: usb: qcusbnet: Add support for poll/select
Change-Id: I974c3e0337b3c4eebd821919966979e670c93b6b
Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-02 18:24:26 -08:00
Benoit Goby
9933a51090 net: usb: qcusbnet: Add support for stingray modem
1. Implement reset_resume
2. Remove hardcoding of qmi to interface 0
3. Correctly assign bulk in and out endpoints
4. Change ethernet interface name from usbX to qmiX to remove conflicts with other drivers
5. Assign individual MAC address to each ethernet interface
6. Modify the usb device table to include subclass interface ids for motorola products
7. Remove any hardcoded interface, endpoint numbers

Change-Id: I3b08a5b0acb841e38177cdd758a16f32913246bb
Signed-off-by: Srinivas Gowrishetty <srinivas.gowrishetty@motorola.com>
2011-03-02 18:24:26 -08:00
Rebecca Schultz Zavin
d85524233a Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36 2011-03-02 17:41:04 -08:00
Rebecca Schultz Zavin
85d34d3140 Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36 2011-03-02 17:31:34 -08:00
Prajakta Gudadhe
2d49bf33f3 tegra: host: move stale wait checking into the kernel
The kernel now receives wait tracking data (similar to gathers and
relocs) and compares the current syncpt with the threshold value.

If it's old, it gets a kernel mapping and rewrites the method data
to use a kernel reserved syncpt that is always 0 (so trivially pops
when seen by the HW).

Patch has dependency to the user-space patches

Submitted on behalf of: Chris Johnson <cjohnson@nvidia.com>
original work by: Chris Johnson <cjohnson@nvidia.com>

Change-Id: I4d4e5d3b49cab860485c4172f87247f5b4f5ea6e
2011-03-02 17:16:55 -08:00
Benoit Goby
d6b7215b95 mdm6600: Match subclass interface info during probe
Change-Id: I0c17747b51a888e53b29cef4c409da2d67733ae1
Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-02 16:36:24 -08:00
James Wylder
9f0b555056 usb: serial: Add new motoflash pid for wrigley
Add the updated wrigley datacard pid to the
list of flashable devices.

Change-Id: I44c0dc1d64136003eeb50df436f20e7765f058dc
Signed-off-by: James Wylder <james.wylder@motorola.com>
2011-03-02 14:43:27 -08:00
Benoit Goby
cedfafd0e0 ARM: tegra: stingray: Change wifi-only devices product name
Change-Id: I2f3b0176115b0f52345c61c02359ee6cb62e907f
Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01 20:15:23 -08:00
Benoit Goby
c5ee62dc90 ARM: tegra: stingray: Moved tegra_usb.h to linux/platform_data
Change-Id: Iee9df4021ffa82eb5f8f4915072466f0ab20cb89
Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01 17:29:04 -08:00
Benoit Goby
853ee0a9a7 usb: otg: cpcap: Moved tegra_usb.h to linux/platform_data
Change-Id: Id745ee5684f079b09f5076a4453f4f925ddc1210
Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01 17:29:04 -08:00
Benoit Goby
0f5f6373e3 ARM: tegra: stingray_defconfig: Renamed CONFIG_USB_EHCI_TEGRA
Change-Id: I81e3a0221e04280155e2523e954d9b4bcd1b8066
Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01 17:29:03 -08:00
Colin Cross
11267bd7f0 Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36 2011-03-01 17:27:10 -08:00
Colin Cross
4f72bb8edd Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36 2011-03-01 17:26:56 -08:00
Benoit Goby
58570bc0c4 usb: host: Renamed USB_TEGRA_HCD -> USB_EHCI_TEGRA
Change-Id: I2eec79186d6dc258caa2f3c8f3cd071222d1c5c7
Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01 17:13:34 -08:00
Benoit Goby
e859d82480 ARM: tegra: select USB_ARCH_HAS_EHCI
usb_phy now depends on USB_ULPI_VIEWPORT

Change-Id: I5f3c996b41b50e74aa2b53eb246e100926108bff
Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01 17:13:34 -08:00
Benoit Goby
bca6fceaeb usb: do not force select has_ehci for tegra
Change-Id: If6219a3ba9671a2c4c10b35461e1cc2ffe50ab0a
Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01 17:13:33 -08:00
Benoit Goby
614d2e5a27 ARM: tegra: use generic ulpi operations
Change-Id: I5b56a8a1b10532683accfe885387afb309b26b19
Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01 17:13:33 -08:00
Benoit Goby
406248bb21 usb: otg: Add ulpi viewport access ops
Add generic access ops for controllers with a ulpi viewport register
(e.g. Chipidea based controller).

Change-Id: I53d50857d4716f8df708af199ad1def1ff9d4beb
Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01 17:13:32 -08:00
Benoit Goby
54463de0ff usb: host: tegra: Cleanup before sending upstream
Change-Id: I846d43b1ecbe6c726f024b6a0fb318d6300a3746
Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01 17:13:31 -08:00
Benoit Goby
27c50127f6 ARM: tegra: usb_phy: Fix return values
Changed frequency table into a struct

Change-Id: I202f808b912ce61e1f804103ea6d1197a57c1e62
Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01 17:13:31 -08:00
Benoit Goby
a0c8749ef1 ARM: tegra: usb_phy: Cleanup before sending upstream
Change-Id: I2548ca931f8ae37757115b7753d520d576bb173d
Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01 17:13:30 -08:00
Benoit Goby
79c37f0193 usb: otg: tegra: Moved tegra_usb.h to include/linux/platform_data
Change-Id: I201b6476979f6e1ef8ffadb4398b99a1728f3083
Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01 17:13:30 -08:00
Benoit Goby
adbe9c4871 usb: host: Moved tegra_usb.h to include/linux/platform_data
Change-Id: Ic093d07858eb6e27aae9cd04d4c59407b5b1d76d
Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01 17:13:29 -08:00
Benoit Goby
730a86cc35 Revert "usb: host: ehci-hcd: add controller_resets_phy quirk"
This reverts commit 2c7d591aa1.

Change-Id: Ic9994dafc424e16d5d8251c287f8be65832b611b
2011-03-01 17:11:56 -08:00
Andrei Warkentin
aaf98d1380 serial: tegra_hsuart: Clean-up FIFO flush and set baudrate operations.
Do necessary waits and fifo clear according to NV. Also use 115200
as the rate set while bringing-up rx dma during init, to decrease
start-up time.

Change-Id: I5211c75607cf2880ab2b1c22ab30f2c265534a1c
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
2011-03-01 16:41:59 -08:00
Mike Lockwood
1c9cf0db33 [ARM] tegra: stingray: Fix RNDIS support
The RNDIS driver must be the first interface on the list

Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-01 11:39:27 -08:00
Greg Meiste
7ab7ab9c5c [ARM] tegra: stingray: Add ehci3 for all devices
Even though the wifi-only model has nothing attached to ehci3, the
driver still needs to be probed.  This is because the USB register
settings are lost in LP0. So currently after the device resumes from
LP0 the first time, the current drain is 12mA higher!  When the
ehci3 driver is present, its resume code runs and restores the
registers to a known good state, which solves the power management
issue.

Change-Id: I6329704f7a1161eb139b62002a50085eb05d2fdc
Signed-off-by: Greg Meiste <w30289@motorola.com>
2011-02-28 20:28:58 -08:00
John Michelau
fa69876f48 Add dump_log cmd to mdm6600_ctrl
This command triggers a dump of the MDM6600 RAM log buffers
into non-volatile memory, so that they can be retrieved by
bugreport or the RIL when submitting error reports. It
provides a simple path for this which does not rely on the
typical (and more error-prone) IPC mechanism.

Change-Id: I17708704b94426b1541533978478192d3f4dab89
2011-02-28 20:10:58 -08:00
John Kramer
498e62c0b4 media: video: tegra: Correct mclk settings for ov5650
Change-Id: I6d18b25fd88927c7ac4311fa73504badede54dd3
Signed-off-by: John Kramer <john.kramer@motorola.com>
2011-02-28 16:21:13 -08:00
Erik Gilling
e730d2a1b9 Merge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36
Change-Id: I7e6c38730fba12e9d60910da5df8470a9584f29b
2011-02-28 15:30:01 -08:00
Erik Gilling
557c621d8a Merge branch linux-tegra-2.6.36 into android-tegra-2.6.36
Change-Id: Ie01fff1ceddfbada480ef2928ac4791853787a49
2011-02-28 15:29:00 -08:00
Erik Gilling
b8fcb1733b video: tegra: hdmi: enable wakeup on hotplug
Change-Id: Idbb3f81c3c2d8a4f7f6b76736e11dd07cdd3a413
Signed-off-by: Erik Gilling <konkers@android.com>
2011-02-28 14:37:01 -08:00
Erik Gilling
e4f0680d21 video: tegra: hdcp: move call to hdcp suspend out of atomic context
Change-Id: I62a9d810637df221862898536f990eda77e50644
Signed-off-by: Erik Gilling <konkers@android.com>
2011-02-28 14:37:00 -08:00
Erik Gilling
1cf032e70d video: tegra: hdmi: fix vic detection for avi infoframe
typeo was causing 1080p VICs to never be populated

Change-Id: Idde037cf0d4b71370cff7e65a2135b8c60a91fa0
Signed-off-by: Erik Gilling <konkers@android.com>
2011-02-28 14:37:00 -08:00