Commit Graph

212034 Commits

Author SHA1 Message Date
Colin Cross
d560be9ffb w1: tegra_w1: Don't disable clock if it was not enabled
Change-Id: I634c24768979fc2c9754f9b1d946dcb1ef1ff213
Signed-off-by: Colin Cross <ccross@android.com>
2010-10-06 17:03:11 -07:00
Colin Cross
3fbbf04884 cpcap: Flush work in suspend
Change-Id: I9a4ef87e84b53ad52f46554ad52ca5effb260f65
Signed-off-by: Colin Cross <ccross@android.com>
2010-10-06 17:03:10 -07:00
Rebecca Schultz Zavin
3a89c9ddab media: video: tegra: ov5650: Clean up headers to match latest userspace
Change-Id: I57cbdb7aec24a1dd8942e8fa341a735fdacf08e5
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 17:01:33 -07:00
John Kramer
ce8bc1afe4 media: video: tegra: soc2030: 2MP camera tuning
Includes support for factor test and latest tuning settings

Signed-off-by: John Kramer <john.kramer@motorola.com>
Change-Id: Icc0e17317c4209cd58d0981b34cd8b60c80be09e
2010-10-06 17:01:32 -07:00
Erik Gilling
3bfc9b904f [ARM] tegra: specify panel depth for stingray
Change-Id: I3a001249fea702af9deed33219e98b5dbbd49e0c
Signed-off-by: Erik Gilling <konkers@android.com>
2010-10-06 17:01:31 -07:00
Greg Meiste
ea562738b0 [ARM] hid: hid-motorola: Notify system of audio cable state changes
Change-Id: Iaf0b55998d103c2793322f7ce030c503e111d614
Signed-off-by: Greg Meiste <w30289@motorola.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-10-06 17:01:30 -07:00
Greg Meiste
82bd615a2d [ARM] mfd: cpcap-whisper: Add interface to update audio switch
The Motorola HID driver needs an interface to call when an audio cable
is inserted/removed from a Smart Dock.  The interface should update
the audio switch so the audio driver can properly route audio.

Change-Id: Ifad06400c5895f7545f702cdb09be02fe716412a
Signed-off-by: Greg Meiste <w30289@motorola.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-10-06 17:01:29 -07:00
James Wylder
4720a83f9c [ARM] mfd: cpcap-audio: add debugfs interface
- create cpcap_audio debugfs with access to the audio_state
 - add cpcap_audio_state_dump call to parallel the register
   dump call.

Change-Id: Ia7331b9218ea93602833b2a99097109031035280
Signed-off-by: James Wylder <james.wylder@motorola.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-10-06 17:01:28 -07:00
Iliyan Malchev
6973a914e0 bq24617: reduce kmsg spew
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-10-06 17:01:27 -07:00
James Wylder
b031542289 [ARM] cpcap-audio: enable low-power standby mode
-- add CPCAP_AUDIO_OUT_STANDBY definition, extended ioctl interface to support
   for selecting new CPCAP_AUDIO_OUT_STANDBY output id;
-- manage VAUDIO through balanced calls to regulator_set_mode() initialize
   audio speaker to off.

Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-10-06 17:01:27 -07:00
James Wylder
a2a2b6311f [ARM] tegra: stingray: board changes for cpcap-audio suspend mode
- Initialize VAUDIO to low power mode
- Add standby_config changes to allow audio to go into low
  power state.
- remove direct references to register 512, because access
  should be through the Linux regulator framework.

Change-Id: I3ea23e2aabd183a3ecae0d30fce15a7365b168d8
Signed-off-by: James Wylder <james.wylder@motorola.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-10-06 17:01:26 -07:00
Rebecca Schultz Zavin
251633bc08 [ARM] tegra: Add camera flash support to stingray board files
Change-Id: Ib294d3a6eb356442835a221d1c0d60900def7896
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 17:01:25 -07:00
David Schalig
26833fc929 leds: led-lm3559: Enable camera flash in led driver
Streamlined LM3559 led driver implementation, fixed register
programming sequence to enable flash trigger via STROBE pin.

Change-Id: Ic2aa97cbd5da508116e7bc635876f0ef95df1df4
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 17:01:24 -07:00
Greg Meiste
dda08880ac power: ds2781: Fix reporting of negative temperatures
Need to save the temperature in a signed variable.  Otherwise, when the
temperature is below zero, an extremely hot temperature is reported to
the system, causing the device to power down.

Change-Id: I243bfc0fd1e1d76b2986e9def624de2b7782d731
Signed-off-by: Greg Meiste <w30289@motorola.com>
2010-10-06 17:01:23 -07:00
Andrei Warkentin
cb0a27a5fb media: video: tegra: dw9714l: Make focuser driver more generic
Exposes more parameters and settings to focuser HAL,
putting all specifics in the driver, queryable from the HAL.

Change-Id: Id3d8764b7f9f1853982ca9c0d403fb0e455c7185
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
2010-10-06 17:01:22 -07:00
Todd Poynor
5aa0de77c4 [ARM] tegra: stingray: remove SD/MMC host sdhci-tegra.2 (aka SDIO3)
SD/MMC host #3 not connected on Stingray.  Remove platform device so
sdhci driver won't enable clock sdmmc3.

Change-Id: Id3cd38f60069ad53ca7c354620c64350d32ff98a
Signed-off-by: Todd Poynor <toddpoynor@google.com>
2010-10-06 17:01:21 -07:00
Benoit Goby
d836d9945f mdm6600: Don't hardcode the number of ports
Change-Id: I5ca689922638fb27546d1a27aa293751bd9c9790
Signed-off-by: Benoit Goby <benoit@android.com>
2010-10-06 16:51:58 -07:00
Benoit Goby
c2bb419de5 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>
2010-10-06 16:51:57 -07:00
Greg Meiste
2b0f5d2b8c [ARM] tegra: stingray: Optimize regulator modes for better current drain
Change-Id: Ia94830c1aeb7736029711dd5f00a3a7842c839fb
Signed-off-by: Greg Meiste <w30289@motorola.com>
2010-10-06 16:51:56 -07:00
Greg Meiste
38ba1cc19b 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>
2010-10-06 16:51:55 -07:00
Benoit Goby
07b8b90316 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>
2010-10-06 16:51:54 -07:00
Greg Meiste
9e38f7aced 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>
2010-10-06 16:51:53 -07:00
Dmitry Shmidt
adfdcfcd97 ARM: stingray: config: Enable L2TP
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2010-10-06 16:51:52 -07:00
makarand.karvekar
ee66dc232e [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>
2010-10-06 16:51:51 -07:00
makarand.karvekar
c79c4dc27c [ARM] tegra: stingray: led cpcap registers configuration
remove button led configuration.

Change-Id: I17c79c83cae6d8b2d34290fc5e3c4fb4dc54209c
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
2010-10-06 16:51:50 -07:00
makarand.karvekar
78f5c78eac 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>
2010-10-06 16:51:49 -07:00
Benoit Goby
1cc943e8eb [ARM] tegra: board-stingray: Add mdm6600 platform device
Change-Id: Ifb61c8f5350665c4d398da343da265f8d1e9deef
Signed-off-by: Benoit Goby <benoit@android.com>
2010-10-06 16:51:48 -07:00
Benoit Goby
b903677b4b 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>
2010-10-06 16:51:47 -07:00
Erik Gilling
4a2f6d372a video: tegra: drain syncpt waits on display disable
Change-Id: I815c7be652f03b7d675200918b258950b49795d3
Signed-off-by: Erik Gilling <konkers@android.com>
2010-10-06 16:51:46 -07:00
Dmitry Shmidt
dd2c450118 misc: max9635: Fix unbalanced enable_irq() call
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2010-10-06 16:51:45 -07:00
Dima Zavin
9c530fd24f ARM: tegra: stingray: default mpe clock config @ 250Mhz
Change-Id: Ifad3b11da3b0c50505465e2c309dd9edb1a5b0f9
Signed-off-by: Dima Zavin <dima@android.com>
2010-10-06 16:51:44 -07:00
Dima Zavin
00087a04ad ARM: tegra: add a duplicate MPE clock for the host1x driver
Change-Id: Icf35e562a4e3f7506d826dd52905dde5f6c7cfcc
Signed-off-by: Dima Zavin <dima@android.com>
2010-10-06 16:51:43 -07:00
vhiremath
6deab08b98 ARM: tegra: nvrm: add MPE module to nvrm
Change-Id: Ib4465b2e92e1650905fbf2e01847410d60d631da
Signed-off-by: Dima Zavin <dima@android.com>
2010-10-06 16:51:42 -07:00
Erik Gilling
7a03e1433e video: tegra: update overlay stride in fb_set_par
Fixes recovery graphics

Change-Id: I68824dfcd29b40eaa27a8b5ee437e5763288a49e
Signed-off-by: Erik Gilling <konkers@android.com>
2010-10-06 16:51:40 -07:00
Erik Gilling
c9b24d28c2 [ARM] tegra: remove debug printing in stingray-panel early suspend/resume
Change-Id: I3a0d125456aa6e47dc28e05a925fc8d8133cdbe1
Signed-off-by: Erik Gilling <konkers@android.com>
2010-10-06 16:51:39 -07:00
Benoit Goby
6f18ffff10 [ARM] tegra: board-stingray: Enable BP wakeup gpio
Change-Id: I357a55c897b7335627f53ee450a16344ab6e3bb7
Signed-off-by: Benoit Goby <benoit@android.com>
2010-10-06 16:51:38 -07:00
Erik Gilling
4f49ce63b2 [ARM] tegra: add early_suspend/late resume hooks to stringay panel
Signed-off-by: Erik Gilling <konkers@android.com>
Change-Id: Id8c33f04fa776bdf846b97a01081c145005c9ad5
2010-10-06 16:51:37 -07:00
Iliyan Malchev
2ebdfc7eff [ARM] cpcap-audio-core: adjust cpcap register CPCAP_REG_CC (513) values
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-10-06 16:51:36 -07:00
Iliyan Malchev
ddde999f20 [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>
2010-10-06 16:51:35 -07:00
Iliyan Malchev
96491d9767 [ARM] tegra: stingray: fix board_boot_mode_init() return value
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-10-06 16:51:34 -07:00
Erik Gilling
b72ee3bd9f video: tegra: add channel command fifo debugging support
Change-Id: Iaab4b04aec8feb61000e5423ea32811cca007444
Signed-off-by: Erik Gilling <konkers@dirtysouth.mtv.corp.google.com>
2010-10-06 16:51:33 -07:00
Benoit Goby
50e6eff5fb [ARM] tegra: board-stingray: Platform data for ehci devices
Change-Id: I8a0120d016ed5cf5b0080a86af6b324b1f3e9d1c
Signed-off-by: Benoit Goby <benoit@android.com>
2010-10-06 16:51:32 -07:00
Benoit Goby
41fe752bdb usb: otg: Copy usb1 platform data
Change-Id: I878339ab53cad1687c1022137f00ecc494b60b9e
Signed-off-by: Benoit Goby <benoit@android.com>
2010-10-06 16:51:31 -07:00
James Wylder
6a20fbc570 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>
2010-10-06 16:51:30 -07:00
makarand.karvekar
e6c0059b6f [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>
2010-10-06 16:51:29 -07:00
Kazuhiro Ondo
6d02b486b3 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>
2010-10-06 16:51:28 -07:00
Chien-Yu Chen
c3b9e22802 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
2010-10-06 16:51:27 -07:00
makarand.karvekar
acf1248b63 [ARM] tegra: stingray: defconfig: Disable CONFIG_INPUT_KEYRESET
Change-Id: I268b6c6e5f9e0cce55bdfb27111e72f7e5a3433f
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
2010-10-06 16:51:26 -07:00
makarand.karvekar
61c28e0091 [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>
2010-10-06 16:51:25 -07:00
Sergey Kudakov
9ba6a6a0cb [ARM] tegra: stingray: enable usblan based on kernel command line
Change-Id: I819f2fc67fb76f618b6e3c25703d3a57c9f25043
Signed-off-by: Sergey Kudakov <sergey.kudakov@motorola.com>
2010-10-06 16:51:24 -07:00