Benoit Goby [Tue, 21 Sep 2010 22:25:28 +0000 (15:25 -0700)]
mdm6600: Don't hardcode the number of ports
Change-Id: I5ca689922638fb27546d1a27aa293751bd9c9790
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Tue, 21 Sep 2010 04:19:37 +0000 (21:19 -0700)]
usb: gadget: Fix dTDs allocation gfp flags
fsl_build_dtd may be called from atomic context. Don't hardcode the gfp
flag to GFP_KERNEL. Pass down to dma_pool_alloc the flag used by the
function driver to enqueue the request.
Change-Id: Iba1ccf73bbcd648b8c13228157431d2ce52979ef
Signed-off-by: Benoit Goby <benoit@android.com>
Greg Meiste [Fri, 10 Sep 2010 14:05:36 +0000 (09:05 -0500)]
[ARM] tegra: stingray: Optimize regulator modes for better current drain
Change-Id: Ia94830c1aeb7736029711dd5f00a3a7842c839fb
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Fri, 10 Sep 2010 14:04:46 +0000 (09:04 -0500)]
mfd: cpcap-uc: Add support to control regulators with secondary standby
The uC can now be used to write the secondary SPI standby bits.
Change-Id: I0f6a69d78b941fdf7b65d893c0ae8b29cc8bd740
Signed-off-by: Greg Meiste <w30289@motorola.com>
Benoit Goby [Tue, 21 Sep 2010 00:40:34 +0000 (17:40 -0700)]
mdm6600: Enable the wakeup irq on suspend
Other ports may need the wakeup irq even if the modem main port is not
opened. Enable the wakeup irq when the first opened port is suspended,
instead of enabling it when the main port is opened.
Change-Id: I15f32bb885673765cf5c7a574896e1c427d24977
Signed-off-by: Benoit Goby <benoit@android.com>
Greg Meiste [Tue, 7 Sep 2010 15:42:54 +0000 (10:42 -0500)]
mfd: cpcap-whisper: Increase delay before ADC
The accessory team has requested that detection wait 200ms before
taking the ADC read to give the ID line time to settle to the
correct state. This fixes audio cable detection on real docks.
Change-Id: I7744bb3927a07c299e7efa27eee24d3267aa6856
Signed-off-by: Greg Meiste <w30289@motorola.com>
Dmitry Shmidt [Mon, 20 Sep 2010 18:16:59 +0000 (11:16 -0700)]
ARM: stingray: config: Enable L2TP
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
makarand.karvekar [Fri, 17 Sep 2010 15:12:11 +0000 (10:12 -0500)]
[ARM] tegra: stingray_defconfig: Enable led options
CONFIG_LEDS_TRIGGERS
CONFIG_LEDS_TRIGGER_TIMER
Change-Id: I04b70f522e90a89b7a5297595ec8255501386f20
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Fri, 17 Sep 2010 15:10:01 +0000 (10:10 -0500)]
[ARM] tegra: stingray: led cpcap registers configuration
remove button led configuration.
Change-Id: I17c79c83cae6d8b2d34290fc5e3c4fb4dc54209c
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Fri, 17 Sep 2010 15:05:11 +0000 (10:05 -0500)]
leds: leds-ld-cpcap: blink and timer trigger updates
Set default trigger as timer.
Seperate blink function from brightness.
Change-Id: I1dd789ae8b5df88ea26c40ed544807ec0f3bb52a
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Benoit Goby [Fri, 17 Sep 2010 03:09:31 +0000 (20:09 -0700)]
[ARM] tegra: board-stingray: Add mdm6600 platform device
Change-Id: Ifb61c8f5350665c4d398da343da265f8d1e9deef
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Wed, 8 Sep 2010 00:33:02 +0000 (17:33 -0700)]
mdm6600: Add support for auto-suspend and out-of-band wakeup
Allow auto-suspend and suspend when there are no pending writes and
no data have been received for 2s.
While the modem is suspended, enqueue write urbs and submit them once
the modem is resumed.
Request the wakeup gpio irq so that the modem can wakeup from lp0.
Change-Id: If2a47756e9a2138d6c1a7c2e7bf235dfc396cec5
Signed-off-by: Benoit Goby <benoit@android.com>
Erik Gilling [Fri, 17 Sep 2010 22:43:47 +0000 (15:43 -0700)]
video: tegra: drain syncpt waits on display disable
Change-Id: I815c7be652f03b7d675200918b258950b49795d3
Signed-off-by: Erik Gilling <konkers@android.com>
Dmitry Shmidt [Fri, 17 Sep 2010 21:38:25 +0000 (14:38 -0700)]
misc: max9635: Fix unbalanced enable_irq() call
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Dima Zavin [Fri, 10 Sep 2010 21:41:53 +0000 (14:41 -0700)]
ARM: tegra: stingray: default mpe clock config @ 250Mhz
Change-Id: Ifad3b11da3b0c50505465e2c309dd9edb1a5b0f9
Signed-off-by: Dima Zavin <dima@android.com>
Dima Zavin [Sat, 11 Sep 2010 02:17:32 +0000 (19:17 -0700)]
ARM: tegra: add a duplicate MPE clock for the host1x driver
Change-Id: Icf35e562a4e3f7506d826dd52905dde5f6c7cfcc
Signed-off-by: Dima Zavin <dima@android.com>
vhiremath [Thu, 9 Sep 2010 19:34:32 +0000 (01:04 +0530)]
ARM: tegra: nvrm: add MPE module to nvrm
Change-Id: Ib4465b2e92e1650905fbf2e01847410d60d631da
Signed-off-by: Dima Zavin <dima@android.com>
Erik Gilling [Fri, 17 Sep 2010 21:44:28 +0000 (14:44 -0700)]
video: tegra: update overlay stride in fb_set_par
Fixes recovery graphics
Change-Id: I68824dfcd29b40eaa27a8b5ee437e5763288a49e
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Thu, 16 Sep 2010 23:18:10 +0000 (16:18 -0700)]
[ARM] tegra: remove debug printing in stingray-panel early suspend/resume
Change-Id: I3a0d125456aa6e47dc28e05a925fc8d8133cdbe1
Signed-off-by: Erik Gilling <konkers@android.com>
Benoit Goby [Wed, 15 Sep 2010 04:39:04 +0000 (21:39 -0700)]
[ARM] tegra: board-stingray: Enable BP wakeup gpio
Change-Id: I357a55c897b7335627f53ee450a16344ab6e3bb7
Signed-off-by: Benoit Goby <benoit@android.com>
Erik Gilling [Thu, 16 Sep 2010 21:44:16 +0000 (14:44 -0700)]
[ARM] tegra: add early_suspend/late resume hooks to stringay panel
Signed-off-by: Erik Gilling <konkers@android.com>
Change-Id: Id8c33f04fa776bdf846b97a01081c145005c9ad5
Iliyan Malchev [Thu, 16 Sep 2010 01:33:20 +0000 (18:33 -0700)]
[ARM] cpcap-audio-core: adjust cpcap register CPCAP_REG_CC (513) values
Signed-off-by: Iliyan Malchev <malchev@google.com>
Iliyan Malchev [Tue, 14 Sep 2010 18:15:53 +0000 (11:15 -0700)]
[ARM] cpcap-audio-core: set gains through cpcap_audio_set_audio_state()
Remove functions cpcap_set_volume() and cpcap_set_mic_volume() and instead set
the gains through cpcap_audio_set_audio_state(), which is the correct way to do
so.
Signed-off-by: Iliyan Malchev <malchev@google.com>
Iliyan Malchev [Tue, 14 Sep 2010 19:49:55 +0000 (12:49 -0700)]
[ARM] tegra: stingray: fix board_boot_mode_init() return value
Signed-off-by: Iliyan Malchev <malchev@google.com>
Erik Gilling [Wed, 15 Sep 2010 21:37:10 +0000 (14:37 -0700)]
video: tegra: add channel command fifo debugging support
Change-Id: Iaab4b04aec8feb61000e5423ea32811cca007444
Signed-off-by: Erik Gilling <konkers@dirtysouth.mtv.corp.google.com>
Benoit Goby [Fri, 10 Sep 2010 07:52:27 +0000 (00:52 -0700)]
[ARM] tegra: board-stingray: Platform data for ehci devices
Change-Id: I8a0120d016ed5cf5b0080a86af6b324b1f3e9d1c
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Fri, 10 Sep 2010 08:10:57 +0000 (01:10 -0700)]
usb: otg: Copy usb1 platform data
Change-Id: I878339ab53cad1687c1022137f00ecc494b60b9e
Signed-off-by: Benoit Goby <benoit@android.com>
James Wylder [Sun, 5 Sep 2010 14:09:27 +0000 (09:09 -0500)]
regulator: max8649: add support for max8649s and max8952
From a driver standpoint the max8649s and 8952 variants
for the max8649 differ only in the minimum and maximum
voltages.
Change-Id: Icc90af48a6c2d99577aa479218564d2ebee71e56
Signed-off-by: James Wylder <james.wylder@motorola.com>
makarand.karvekar [Mon, 13 Sep 2010 20:22:01 +0000 (15:22 -0500)]
[ARM]: tegra: Enable noise suppression for touch in stingray board file
Firmware settings for noise suppression object.
Change-Id: I6da91da6b4d17d93cfb5b26f38bae76039a8c8f4
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Kazuhiro Ondo [Wed, 8 Sep 2010 15:21:54 +0000 (10:21 -0500)]
misc: mdm6600_ctrl: Add query and control of BP status via sysfs.
The following sysfs nodes will be exposed.
/sys/class/radio/mdm6600/status (query BP status)
/sys/class/radio/mdm6600/power_status (query BP power status)
/sys/class/radio/mdm6600/command (To control BP status)
Change-Id: I4ed4b6d0d9df010713732e79f3a0598e09ad5dec
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Chien-Yu Chen [Tue, 31 Aug 2010 20:45:09 +0000 (13:45 -0700)]
media: video: tegra: ov5650: fixing exposure blip
When changing mode, also program frame length, coarse time,
and gain so it can keep the same exposure value. Without this
API change, exposure time and gain will be reset to the default
values in the mode table and the image brightness may change
suddenly.
Change-Id: I82fe8a7d838a041b27af7dd6b9b3d27030318456
makarand.karvekar [Fri, 10 Sep 2010 21:57:52 +0000 (16:57 -0500)]
[ARM] tegra: stingray: defconfig: Disable CONFIG_INPUT_KEYRESET
Change-Id: I268b6c6e5f9e0cce55bdfb27111e72f7e5a3433f
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Fri, 10 Sep 2010 21:53:11 +0000 (16:53 -0500)]
[ARM] tegra: stingray: remove legacy keys
removed all keys except vol-up and vol-down.
remove reset_keys_device
Change-Id: I16bf3c8f663373eb0fa225bb8904655e9ccc7632
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Sergey Kudakov [Fri, 3 Sep 2010 16:28:21 +0000 (11:28 -0500)]
[ARM] tegra: stingray: enable usblan based on kernel command line
Change-Id: I819f2fc67fb76f618b6e3c25703d3a57c9f25043
Signed-off-by: Sergey Kudakov <sergey.kudakov@motorola.com>
John Michelau [Thu, 9 Sep 2010 21:54:41 +0000 (16:54 -0500)]
Enabled LTE DataCard driver
CONFIG_USB_USBNET
CONFIG_USB_NET_CDCETHER
Change-Id: I474a309cba80115093ba86ecf414b2b31527430e
Greg Meiste [Tue, 7 Sep 2010 14:48:44 +0000 (09:48 -0500)]
mfd: cpcap-whisper: Fix defect introduced by I2c374a98
Fix issue where the ID Float interrupt may occur during the 200ms
where state is set to USB_POWER, causing the state machine to get
into a bad state.
Change-Id: I99e7b5de84f4b091c5b6e4f3e522876561603b61
Signed-off-by: Greg Meiste <w30289@motorola.com>
Antti Hatala [Wed, 8 Sep 2010 23:11:20 +0000 (16:11 -0700)]
video: tegra: add multiple windows support to flip ioctl
Change-Id: I8521d1f6737e0972d8385e0ceecfc3a1bcae8550
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Thu, 9 Sep 2010 03:18:27 +0000 (20:18 -0700)]
Revert "video: tegra: add multiple windows support to flip ioctl"
This reverts commit
09d367bee9da1b5ecd931dc1d26317707a8c4085.
Antti Hatala [Wed, 8 Sep 2010 23:11:20 +0000 (16:11 -0700)]
video: tegra: add multiple windows support to flip ioctl
Change-Id: I8521d1f6737e0972d8385e0ceecfc3a1bcae8550
Signed-off-by: Erik Gilling <konkers@android.com>
James Wylder [Fri, 20 Aug 2010 01:24:59 +0000 (20:24 -0500)]
[ARM] tegra: stingray: boardfiles changes for mdm6600_ctrl
- give more meaningful names to ap-bp gpios,
Change-Id: I1a7eea918c15271b90fb09ce882eff1691a28c21
Signed-off-by: James Wylder <james.wylder@motorola.com>
James Wylder [Fri, 20 Aug 2010 01:23:12 +0000 (20:23 -0500)]
misc: mdm6600_ctrl: update shutdown to reset unresponsive modem.
- fix initialization of BP_PWRON (PS6), and BP_RESIN (PZ1) gpios,
- cleanup kernel log messages,
- assert BP_RESIN gpio to reset unresponsive modem.
Change-Id: Iaf6b7d553fec1a6e9254b7183c1beacf7ad4d555
Signed-off-by: James Wylder <james.wylder@motorola.com>
Greg Meiste [Wed, 8 Sep 2010 18:45:06 +0000 (13:45 -0500)]
[ARM] tegra: stingray: Fix CPU DVFS
P0 and later models were changed to put the cpu_vdd regulator
in MODE 1, rather than the previous MODE 3 value. This caused
DVFS to appear to work but actually have no impact on the
cpu voltage.
In addition, when resuming from LP0, the CPU voltage must be
1.0v. To guarantee this, the voltage needs to be set upon
entering suspend, so when the regulator is re-enabled, it is
the correct voltage before code begins executing.
Change-Id: I3580c832dbb4b5ce9ce7bd0089352a72b3b3869c
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Wed, 8 Sep 2010 18:42:09 +0000 (13:42 -0500)]
regulator: max8649: Add support for suspend
With this change, the regulator framework can configure the regulator
for suspend if necessary.
Change-Id: Idf1fc085d7182368ae1bfdcc54cf3c8de0f93005
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Wed, 8 Sep 2010 18:38:36 +0000 (13:38 -0500)]
[ARM] tegra: Setup regulators for suspend
The regulator framework may need to change certain regulators when
entering suspend.
Change-Id: I584e92b3c32cbd1a63325831822e2704a3dd2774
Signed-off-by: Greg Meiste <w30289@motorola.com>
Antti Hatala [Thu, 26 Aug 2010 11:16:58 +0000 (04:16 -0700)]
[ARM] tegra: stingray: remove clock and powergate hacks
Remove unpowergating of 3d on board init to let the host1x driver
handle it.
Remove enabling hw module clocks on board init for modules behind
host1x.
Keep pll_m clock force-enabled for now as the pll clk disable code
path is not fully functional.
Change-Id: I4721d117b736a591b3cf3ee9f8967b88212f88b8
Signed-off-by: Erik Gilling <konkers@android.com>
Benoit Goby [Tue, 7 Sep 2010 22:50:52 +0000 (15:50 -0700)]
usb: mdm6600: Remove urbs from in_flight list on completion
This fixes an issue where uncompleted urbs get added to the pending
anchor.
Change-Id: I9504fea0ca42e9d18dfe255744ba8f6638e1f324
Signed-off-by: Benoit Goby <benoit@android.com>
Antti Hatala [Thu, 26 Aug 2010 11:15:12 +0000 (04:15 -0700)]
video: tegra: automatic powergating for 3d and mpe
Change-Id: I50784dec578c4c20b790ce25e53e849412c1443a
Signed-off-by: Erik Gilling <konkers@android.com>
Greg Meiste [Tue, 31 Aug 2010 16:56:55 +0000 (11:56 -0500)]
[ARM] tegra: stingray: CHG_DISABLE is connected to PS7 on P2
On P2 hardware, PS7 is now connected to CHG_DISABLE. HS_DET_EN has not
been connected (or needed) since M1, so audio should not be controlling
PS7.
Change-Id: I19b96295cb956bffdd1f4b0e7ba48b1a0bec3242
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Tue, 7 Sep 2010 16:24:08 +0000 (11:24 -0500)]
power: ds2781: Report charging correctly
Previously, charging was being reporting whenever a charger was present.
While true most of the time, there are cases where that won't be the
case. This patch updates the driver to only report charging if charging
is actually occurring.
Change-Id: Ibc5881fed5d11f89d87d0c7adcd7ac1c2b273688
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Tue, 7 Sep 2010 16:20:39 +0000 (11:20 -0500)]
power: bq24617: Add support to report charging separately
Just because the charger is present, doesn't mean that the battery is
being charged. For example, the battery can be overheating, which
will prevent charging.
Change-Id: If5d8dc325fc6dc507808216f1e45a180d74b5d73
Signed-off-by: Greg Meiste <w30289@motorola.com>
makarand.karvekar [Tue, 7 Sep 2010 19:54:28 +0000 (14:54 -0500)]
input: touchscreep :qtouch: report the finger tracking id
USE ABS_MT_TRACKING_ID to report the finger tracking id
Change-Id: I8198eea12c5a90607a6dab48d96c6872a1c5e783
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Rebecca Schultz Zavin [Sat, 4 Sep 2010 02:17:17 +0000 (19:17 -0700)]
[ARM] configs: Add config options to enable oprofile in stingray_defconfig
Change-Id: I1ea33a44ec3c963338e3dc09dee575139d801227
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Benoit Goby [Fri, 3 Sep 2010 01:13:09 +0000 (18:13 -0700)]
[ARM] tegra: board-stingray: Add USB2 (LTE DataCard connector)
Change-Id: I59c09898394ac72966fa2057eb69130f7439c2f6
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Fri, 3 Sep 2010 01:04:09 +0000 (18:04 -0700)]
[ARM] tegra: pinmux: Disable pull-ups on ULPI pins
Pull-ups on ULPI pins must be disabled to select the Link ULPI
PHY interface (TRM 25.3.3.2).
Change-Id: Ic9a4a798954c97c10360a5968ad4184a07cc6ee4
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Wed, 1 Sep 2010 00:40:25 +0000 (17:40 -0700)]
mfd: cpcap-whisper: Workaround for the enumeration issue
The Tegra root hub sometines does not enumarate the device when the OTG
cable is first inserted. Delaying the activation of vbus, to leave time
for the controller to initialize seems to fix the problem.
Change-Id: I2c374a98b2931bc724efb1678fad4fbb873b2a3b
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Wed, 1 Sep 2010 00:22:26 +0000 (17:22 -0700)]
usb: otg: Remove the force_irq hack
Dynamically add/remove the ehci platform device and use
vbus_connect/vbus_disconnect to notify the gadget driver of
OTG state changes.
Only enable the clock when needed, as we rarely need to access
the registers.
Change-Id: Id198822c58f50252361333c3a99c416a3baaace2
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Tue, 31 Aug 2010 23:00:41 +0000 (16:00 -0700)]
[ARM] tegra: board-stingray: Don't register usb1 ehci platform device
The cpcap-otg driver will register the device when ID pin is grounded
Change-Id: Ibe95dcd00d7e1dfe0103ca94b59afe8769d91759
Signed-off-by: Benoit Goby <benoit@android.com>
Greg Meiste [Fri, 3 Sep 2010 19:05:30 +0000 (14:05 -0500)]
mfd: cpcap-whisper: Detect invalid chargers
Change-Id: Iaea0ebc594ac8b050f241ff5eef3d2ed7441a19a
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Thu, 2 Sep 2010 16:03:30 +0000 (11:03 -0500)]
input: qtouch: Change suspend level
Touch should be disabled after the display is suspended and enabled
before the display is resumed. Resuming after the display can cause
touch to stop functioning.
Change-Id: Ib9861b325994ebfbf3e93554aaa86747f7bde469
Signed-off-by: Greg Meiste <w30289@motorola.com>
makarand.karvekar [Fri, 3 Sep 2010 19:05:27 +0000 (14:05 -0500)]
[ARM] tegra: Stingray: pull down on TEGRA_PINGROUP_SDIO1 (UARTE)
UARTE used by GPS is a 3-wire connect between
Broadcom chip and Tegra.
uart5_cts_n is not connected, pull down on the
pin group keeps cts line low.
Change-Id: I8c9fa70058e92fce3c09e036051cb89b4c808434
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Praveen Bharathi [Wed, 1 Sep 2010 17:34:15 +0000 (12:34 -0500)]
[ARM] tegra: stingray: remove unwanted ALS platform variables from board file
Removed threshold boundaries as they are no longer needed.
Change-Id: Ie395f9042fbf3e61ca0c6ff448441f52fc5929f9
Signed-off-by: Praveen Bharathi <pbharathi@motorola.com>
Praveen Bharathi [Wed, 1 Sep 2010 17:30:48 +0000 (12:30 -0500)]
misc: max9635: Fix issues with LUX register read
Modified driver to report lux every 2 secs.
Also rearranged data/removed unused variables in header file.
Change-Id: I3261a51497b2a55be735fbc73a6f15f7838b0b27
Signed-off-by: Praveen Bharathi <pbharathi@motorola.com>
Greg Meiste [Mon, 30 Aug 2010 16:19:07 +0000 (11:19 -0500)]
mfd: cpcap-whisper: Config EMUMODE for audio when MODE_PU set
When the 100K ID PU is enabled, it puts the basic dock into audio
mode. The EMUMODE bits in CPCAP should also be configured so
audio can be routed out the D+/D- lines.
Change-Id: I9bc7718391156932c116c980ccb4d41942356c8b
Signed-off-by: Greg Meiste <w30289@motorola.com>
Iliyan Malchev [Fri, 3 Sep 2010 17:12:10 +0000 (10:12 -0700)]
[ARM] tegra: stingray: cpcap-audio: integrate Motorola's driver
This reverts commit
02e784126d67e77c039123fed3f2ece48b6559f9.
Rebecca Schultz Zavin [Fri, 3 Sep 2010 08:27:24 +0000 (01:27 -0700)]
Revert "[ARM] tegra: stingray: cpcap-audio: integrate Motorola's driver"
This reverts commit
f01ee18d3d1f7e03216b652a04ba82161fd069aa.
Andrei Warkentin [Fri, 3 Sep 2010 01:27:08 +0000 (18:27 -0700)]
[ARM] configs: Add focuser to stingray_defconfig
Change-Id: I3372c3c42ad7a829e438d34924373c0afbef4fb5
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Fri, 3 Sep 2010 01:22:20 +0000 (18:22 -0700)]
[ARM] tegra: stingray: Add specific regulator constraints for focuser
Change-Id: I45cb0331731b585ebdc021b38e87fec31fe6895f
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Fri, 3 Sep 2010 01:24:51 +0000 (18:24 -0700)]
[ARM] tegra: stingray: Add focuser to board-stingray-sensors
Also remove management of vcam ioctl, it will now be managed by
the focuser driver
Change-Id: I8114d831bbe62019ec022003fb61bd354093ee85
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Andrei Warkentin [Fri, 3 Sep 2010 01:26:33 +0000 (18:26 -0700)]
media: video: tegra: Add dw9714l focuser driver
Change-Id: I4e3c690c782ea25c50fec25bf6252acd32a64242
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Andrei Warkentin [Fri, 3 Sep 2010 01:12:14 +0000 (18:12 -0700)]
media: video: tegra: ov5650: Several changes to 5MP imager sensor
Add ability to read sensor otp.
Add support for pattern generators.
Cleans up the ioctl parameters.
Change-Id: I78b585fb94b5d97e2adebe718972019e4e2142de
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Fri, 3 Sep 2010 01:11:26 +0000 (18:11 -0700)]
media: video: tegra_camera: Change value written into clock register for vi
Change-Id: I5e4d4a14f055ea8a19f715f8bf8fb3d7b88b7cda
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Iliyan Malchev [Thu, 26 Aug 2010 21:58:52 +0000 (14:58 -0700)]
[ARM] tegra: stingray: cpcap-audio: integrate Motorola's driver
-- Replace the board-file table-based CPCAP audio with Motorola's original
-- Rename drivers/mfd/cpcap-audio.c to tegra-cpcap-audio.c
-- In tegra-cpcap-audio, use Motorola's CPCAP-audio driver
-- Enable support for headsets with microphones
-- Add support for muting a microphone
-- Enable routing of audio through speaker and headset simultaneously
Rebecca Schultz Zavin [Thu, 2 Sep 2010 04:07:07 +0000 (21:07 -0700)]
w1: master: tegra_w1: Hold the mutex around w1_setup as well
Change-Id: I4989ebd892e35e0fdd49bd529ac8bc4f54a8f15e
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Wed, 1 Sep 2010 23:14:24 +0000 (16:14 -0700)]
w1: masters: tegra_w1: Clear device ready flag when suspended
This will prevent any device from trying to read/write via w1
before the w1 master has resumed.
Change-Id: Ic3a27f07db6fcefb76937adf471d2fd44033b178
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Gary King [Wed, 1 Sep 2010 20:19:38 +0000 (13:19 -0700)]
[ARM] tegra: nvrm_transport: handshake AVP reset with kernel
the AVP kernel modifies the AVP reset vector after it starts to its
own value; poll this register to verify that the AVP kernel has
started properly.
Change-Id: I5d9f36dd2763c0df28576f3cb86de20f6aae0ef2
Signed-off-by: Gary King <gking@nvidia.com>
Gary King [Wed, 1 Sep 2010 20:13:45 +0000 (13:13 -0700)]
[ARM] tegra: nvrm_transport: send address message after AVP init
rather than storing the address message in the mailbox when the shared
message memory is allocated during kernel init, send the message after
the AVP is initialized.
this prevents the message from being "lost" if the system enters LP0
before initializing the AVP.
Change-Id: I14634e2a53abacf840ed906451f1a07016a99015
Signed-off-by: Gary King <gking@nvidia.com>
makarand.karvekar [Mon, 30 Aug 2010 20:48:27 +0000 (15:48 -0500)]
[ARM] tegra: updated touch interrupt line for Stingray P2 HW
touch interrupt has moved from PV2 to PZ2 on P2 HW.
Change-Id: Ic9375e1e081c3ac746f5fa2c21657bd1af1668a3
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Greg Meiste [Fri, 27 Aug 2010 21:38:09 +0000 (16:38 -0500)]
[ARM] tegra: stingray: Disable SW5 on newer hardware
SW5 is no longer connected on newer hardware. Turn it off.
Change-Id: I56442e70adf4fdf7357bf8fc0b634f8b6d4f18cd
Signed-off-by: Greg Meiste <w30289@motorola.com>
Nick Pelly [Tue, 31 Aug 2010 00:23:41 +0000 (17:23 -0700)]
mdm6600: implement reset_resume
Change-Id: I39dbc4f611691acac62e48f47da9e743230cbb3c
Signed-off-by: Nick Pelly <npelly@google.com>
Colin Cross [Mon, 30 Aug 2010 19:41:23 +0000 (12:41 -0700)]
video: tegra: fix syncpoint timeouts in host1x driver
Change-Id: Ief81ad3ce74cc446e21e54c2d2acca977f0fa934
Signed-off-by: Erik Gilling <konkers@android.com>
Rebecca Schultz Zavin [Tue, 31 Aug 2010 17:35:07 +0000 (10:35 -0700)]
Revert "[ARM]: tegra: Various tuning for touchpanel in stingray board file"
This reverts commit
dc1c98e105e7cba173ee674e3c8f47f0c453a4fd.
Greg Meiste [Tue, 31 Aug 2010 15:30:52 +0000 (10:30 -0500)]
firmware: cpcap: uC was stopping on soft reset power up
This new firmware fixes the issue where the uC was stopping during a
soft reset power up.
Change-Id: I6c495c4d4765d0210f0451617c32a7401580c35e
Signed-off-by: Greg Meiste <w30289@motorola.com>
Dmitry Shmidt [Mon, 30 Aug 2010 21:31:07 +0000 (14:31 -0700)]
Revert "Revert "[ARM] tegra: stingray: Switch to level interrupt for wlan""
This reverts commit
48a2f6fed56c391e888368423becd2eecfa1cb31.
Erik Gilling [Wed, 8 Sep 2010 00:46:59 +0000 (17:46 -0700)]
add tegrafb.h
Change-Id: If86b82253915196c2962e04286b9ac7ea400c193
Erik Gilling [Tue, 31 Aug 2010 01:22:55 +0000 (18:22 -0700)]
HACK: no disp2 device
Change-Id: I5e914c907eec28b99b0d9de056a61e1ea2c63380
Erik Gilling [Mon, 30 Aug 2010 22:17:04 +0000 (15:17 -0700)]
HACK: host1x mega commit
Change-Id: Ibf5d4d58c24ca4db26450bb7a5c68154ba73d7c5
Dmitry Shmidt [Mon, 30 Aug 2010 18:14:28 +0000 (11:14 -0700)]
[ARM] tegra: stingray: Turn Off CONFIG_RPS
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Rebecca Schultz Zavin [Sat, 28 Aug 2010 02:01:24 +0000 (19:01 -0700)]
Revert "[ARM] tegra: stingray: Switch to level interrupt for wlan"
This reverts commit
2cfc65414e7356c0f91f8283802975fd9b5f34c8.
Rebecca Schultz Zavin [Fri, 27 Aug 2010 22:10:46 +0000 (15:10 -0700)]
Revert "sched: Add a generic notifier when a task struct is about to be freed"
This reverts commit
262ffb28f3c0af4cc88e33d5635fe6be5259b37b.
Rebecca Schultz Zavin [Fri, 27 Aug 2010 21:46:33 +0000 (14:46 -0700)]
Revert "staging: android: lowmemkiller: Substantially reduce overhead during reclaim"
This reverts commit
db0c96452e4c9e2f14e54f1fa648d90ef894bcc6.
Conflicts:
drivers/staging/android/lowmemorykiller.c
Change-Id: Iac522ffa3f751d4ef8d2fb2e0f2e08dee8e6b118
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Fri, 27 Aug 2010 21:44:21 +0000 (14:44 -0700)]
Revert "staging: android: lowmemorykiller: Fix task_struct leak"
This reverts commit
8e46542d2f8dc730d4fc1b9cd3df0fe9fc236ed1.
Rebecca Schultz Zavin [Fri, 27 Aug 2010 21:44:14 +0000 (14:44 -0700)]
Revert "staging: android: lowmemorykiller: Remove bitrotted codepath"
This reverts commit
d3cf24cfefda01d1dfcafd63fe1f6e6179908878.
Gary King [Thu, 26 Aug 2010 00:50:51 +0000 (17:50 -0700)]
[ARM] tegra: nvrm: make RM transport a bit quieter.
Change-Id: Ic82c256ed229e7c8042bd23270ae443bbe7534cf
Signed-off-by: Gary King <gking@nvidia.com>
Gary King [Wed, 25 Aug 2010 02:06:58 +0000 (19:06 -0700)]
[ARM] tegra: nvrm: remove AVP module relocation
Change-Id: I8ba0907f7c1dec77e7ca3f22874837cf044300a2
Signed-off-by: Dima Zavin <dima@android.com>
Nick Pelly [Fri, 27 Aug 2010 22:08:56 +0000 (15:08 -0700)]
mdm6600: First pass at suspend/resume support.
Add suspend/resume handler. Usb framework will no longer de-register tty on
suspend/resume now. Kill URB's with usbcore while in suspend.
Switch from dev_foo() to pr_foo() printk helpers. The dev_ ones are a pain to
find the right device struct, and occasionally caused null pointer panics.
Change-Id: I38769dc3befaef1a783ec5ab77169db2e963a9bc
Signed-off-by: Nick Pelly <npelly@google.com>
Dmitry Shmidt [Fri, 27 Aug 2010 22:02:56 +0000 (15:02 -0700)]
[ARM] tegra: stingray: Switch to level interrupt for wlan
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Greg Meiste [Fri, 27 Aug 2010 16:51:11 +0000 (11:51 -0500)]
firmware: cpcap: Reset SW2 and SW4 voltage to 1.2v when exiting LP0
Previously, the uC was only turning on/off SW2 by changing the
switcher mode. It must also return SW2 and SW4 to 1.2v in case
DVS has set the voltages lower before entering LP0.
Change-Id: I9900d36f50c43b8ba3f6d38d8ddb8647789e020f
Signed-off-by: Greg Meiste <w30289@motorola.com>
Signed-off-by: Nick Pelly <npelly@google.com>
Greg Meiste [Fri, 27 Aug 2010 14:51:44 +0000 (09:51 -0500)]
[ARM] tegra: stingray: CPCAP switcher voltage settings correction
CPCAP should not be automatically dropping SW2 and SW4 to 0.95v
when the primary standby line drops. This must be controlled by
DVS as per nVidia.
Change-Id: I336dd3fc30ec0ff8672c88eeed81a6b0a8617b00
Signed-off-by: Greg Meiste <w30289@motorola.com>
Signed-off-by: Nick Pelly <npelly@google.com>
makarand.karvekar [Thu, 26 Aug 2010 20:15:05 +0000 (15:15 -0500)]
magnetometer: akm8975: remove accelerometer and temperature code
8975 does have accelerometer and temperature features.
corrected flag values.
Change-Id: Ie061bd67ab34fb2da7ddcd7c44d362bfc5016dde
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Rebecca Schultz Zavin [Thu, 26 Aug 2010 22:07:45 +0000 (15:07 -0700)]
[ARM] tegra: Reset read allocate policy on l2 after resume
Change-Id: I433a3a280b9f4eceb749ec527d69cb3d33e17ff7
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>