Commit Graph

39150 Commits

Author SHA1 Message Date
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
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
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
Antti Hatala
d1f8605b09 video: tegra: add multiple windows support to flip ioctl
Change-Id: I8521d1f6737e0972d8385e0ceecfc3a1bcae8550
Signed-off-by: Erik Gilling <konkers@android.com>
2010-10-06 16:51:21 -07:00
Erik Gilling
f55cfc3834 Revert "video: tegra: add multiple windows support to flip ioctl"
This reverts commit 09d367bee9da1b5ecd931dc1d26317707a8c4085.
2010-10-06 16:51:20 -07:00
Antti Hatala
e4dc6f8eda video: tegra: add multiple windows support to flip ioctl
Change-Id: I8521d1f6737e0972d8385e0ceecfc3a1bcae8550
Signed-off-by: Erik Gilling <konkers@android.com>
2010-10-06 16:51:19 -07:00
James Wylder
d7eb4745b7 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>
2010-10-06 16:51:17 -07:00
Praveen Bharathi
5fa7790654 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>
2010-10-06 16:50:54 -07:00
Iliyan Malchev
79e9ed9b2d [ARM] tegra: stingray: cpcap-audio: integrate Motorola's driver
This reverts commit 02e784126d67e77c039123fed3f2ece48b6559f9.
2010-10-06 16:50:52 -07:00
Rebecca Schultz Zavin
8b05fe70e1 Revert "[ARM] tegra: stingray: cpcap-audio: integrate Motorola's driver"
This reverts commit f01ee18d3d1f7e03216b652a04ba82161fd069aa.
2010-10-06 16:50:51 -07:00
Andrei Warkentin
c063995751 media: video: tegra: Add dw9714l focuser driver
Change-Id: I4e3c690c782ea25c50fec25bf6252acd32a64242
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:50:47 -07:00
Andrei Warkentin
14be139209 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>
2010-10-06 16:50:46 -07:00
Iliyan Malchev
571945428c [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
2010-10-06 16:50:44 -07:00
Erik Gilling
b59c4fb77a add tegrafb.h
Change-Id: If86b82253915196c2962e04286b9ac7ea400c193
2010-10-06 16:50:32 -07:00
Erik Gilling
15fde47564 HACK: host1x mega commit
Change-Id: Ibf5d4d58c24ca4db26450bb7a5c68154ba73d7c5
2010-10-06 16:33:51 -07:00
Rebecca Schultz Zavin
d534322cb6 Revert "sched: Add a generic notifier when a task struct is about to be freed"
This reverts commit 262ffb28f3c0af4cc88e33d5635fe6be5259b37b.
2010-10-06 16:33:51 -07:00
makarand.karvekar
f083fd3f14 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>
2010-10-06 16:33:49 -07:00
makarand.karvekar
b547c606a0 misc: l3g4200d: fix gyro data calculation
report gyro events as EV_REL.
clean up gyro data calculation.

Change-Id: I3327e58ef5a99d52bdd6aeabacf63c41172958ba
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
2010-10-06 16:33:49 -07:00
Rebecca Schultz Zavin
ed620b98d6 misc: max9635: Remove unused fields from platform data struct
Change-Id: Icc712ce96970d3808881fa22b0e5095aa1596b2e
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:48 -07:00
Rebecca Schultz Zavin
adf20c7db5 misc: l3g4200d: Remove unused fields from platform data struct
Change-Id: Iaacac3d9bbf4f87a272822c76c2cd6939059597a
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:48 -07:00
Rebecca Schultz Zavin
e70a772d8b misc: kxtf9: Remove unused fields from platform data struct
Change-Id: I5fc511b64c8381543abb00c523727df93cde1bd1
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:47 -07:00
Rebecca Schultz Zavin
02aff39c0b misc: akm8975: Remove unused platform data struct from board file
Change-Id: If8f687641069bd838359745c0df7000edf3e1bd5
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:47 -07:00
Praveen Bharathi
2f0fcdc5df leds: stingray: add blink support for cpcap leds
Allows individual led to support blink capability

Change-Id: If2c7bd8a4bc617e3049b0db3a6fec4f92b06c0e5
Signed-off-by: Praveen Bharathi <pbharathi@motorola.com>
2010-10-06 16:33:39 -07:00
Rebecca Schultz Zavin
444ab21ed8 media: video: tegra: Move tegra_isp to tegra_camera and add functionality
The tegra_camera device has been extended to include all clock and
regulator functionality needed by to support camera on tegra.

Change-Id: Ie1611a79c24f7ebe3ae570d38a9f470683af91dd
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:38 -07:00
Iliyan Malchev
f67a5ef4d6 [ARM] tegra: cpcap-audio: enable turning off audio-output paths
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-10-06 16:33:37 -07:00
Iliyan Malchev
8e26d94c6c [ARM] tegra: cpcap-audio: add support for selecting audio inputs
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-10-06 16:33:37 -07:00
Greg Meiste
520f195ed1 mfd: cpcap-whisper: Report dock ID to system
Add support for whisper driver to report the dock ID to the system
via sysfs. The dock ID can be found at:
/sys/class/switch/dock/dock_addr

Change-Id: Iafcc738c5e9bd10f94ee2cab1ab0d39a10b9932e
Signed-off-by: Greg Meiste <w30289@motorola.com>
Signed-off-by: Nick Pelly <npelly@google.com>
2010-10-06 16:33:36 -07:00
Rebecca Schultz Zavin
1073deca8e media: video: tegra: Driver for 2MP SOC2030 imager for use with tegra isp
Change-Id: I5ec72fd2a06c97c8cbf496d69fe2b03c1ef0941e
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:34 -07:00
Todd Poynor
a7ac4fced2 cpcap: suspend/resume
Disable cpcap interrupts at suspend and re-enable at resume, to avoid
processing interrupts while the SPI controller is suspended.

Change-Id: I26676b8ce8983bf5477f169a15d811c474c6f5a4
Signed-off-by: Todd Poynor <toddpoynor@google.com>
2010-10-06 16:33:33 -07:00
makarand.karvekar
0efe0dcfe7 touch: temporary fix for IC wake issue.
reset commented out in resume.
reset address pointer to message object.
adjusted wait time after reset upon recommendation from Atmel.

Change-Id: I0dd983ce0545c6ca2e48d4ed06b90d8c1ac1a390
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
2010-10-06 16:33:33 -07:00
makarand.karvekar
53cdf410a6 misc: max9635: disable irq in suspend.
The device expects the irq to be disabled on resume, enable
it from suspend so enable/disables are balanced.

Change-Id: I62cf633819d8fdb3c5f7c6227f2625cfdecdc6a8
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
2010-10-06 16:33:29 -07:00
Iliyan Malchev
04a24b277c [ARM] public interface for CPCAP audio codec driver
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-10-06 16:33:28 -07:00
Rebecca Schultz Zavin
b980b509ab media: video: Add support for omnivision ov5650 for use with tegra isp
Change-Id: Ifb306ff6818d46fac26d7a1a9261a4cc67d729ca
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:26 -07:00
Rebecca Schultz Zavin
3c06c14668 media: video: Add stub isp driver for tegra
Change-Id: I6ff1bf0e72ef69b59d5875bd60c7cd825fa2ca4f
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:26 -07:00
makarand.karvekar
53bf9eb154 touch: firmware 09 support
Added new objects grip, palm and Digitizer HID.
Ignoring info block checksum for now, issues seen
on some HW having incorrect info data.

Change-Id: I812d3099dd273e99a87ca3fe8dfce3bcdfbede7e
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
2010-10-06 16:33:24 -07:00
makarand.karvekar
6f36785b89 touch: Fix info block checksum calculation and eeprom field.
Updated info block checksum calculation to use 24-bit crc
as per Atmel data sheet.
Updated eeprom field(nv_checksum) to accommodate 24-bits.
Removed HACK(powerconfig) code for low-power mode.

Change-Id: Ic38a695010fd519af5c87ac731e8582898058bbb
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
2010-10-06 16:33:18 -07:00
James Wylder
37b3acd876 misc: Add mdm6000 modem shutdown logic
Add driver to communicate shutdown request to mdm6600
modem, through gpio triplets.

Change-Id: I00ab47e64e8f398caebac83f7c734f2f2c1a2aa3
Signed-off-by: James Wylder <james.wylder@motorola.com>
2010-10-06 16:33:16 -07:00
makarand.karvekar
23b71fa971 touch: Correct message read size for CRC feature.
Previously, Message Processor always generated
CRC byte at end of message.
Now(version 8), this CRC byte is generated only upon request.
To request that a checksum is generated, the MSBit
of the address of the Message Processor object is set to 1.

By default the CRC byte is not generated, reading the CRC byte
will remove new messages from IC causing lost touches.

Added control flag and message size correction for this feature.

Change-Id: I7d1a75528a59afcc95688ae1b7d6704d29ffe443
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
2010-10-06 16:33:15 -07:00
makarand.karvekar
64ff66260b touch: request_firmware from userspace.
Removed header file with firmware structures.
Added request_firmware call.

Change-Id: If01b64a7d7489ec8f553d87b6a4a8afea92f737d
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
2010-10-06 16:33:14 -07:00
Antti Hatala
84acce0710 [ARM] tegra: Update nvmap to support new driver for host1x
This patch does some cleanup to nvmap, and adds kernel apis for
use from the new host1x driver.

Change-Id: I17dbdfe2df918f8684d09910132f69d0b244e0f3
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:14 -07:00
Dan Murphy
38ed68afe3 leds: Add LM3559 flash driver support
Initial submission of the LM3559 driver for Stingray

Change-Id: Id18092f7b23248ea8e2fcca1116ddba89a9af9dc
Signed-off-by: Dan Murphy <wldm10@motorola.com>
2010-10-06 16:33:13 -07:00
prabhu.annabathula
1a4ec221f2 GPS: Add gpio controller driver for brcm 4750
driver provides ioctls for broadcom gps guci library to set gps
reset and standby lines for brcm 4750 chip

Signed-off-by: prabhu.annabathula <prabhu.annabathula@motorola.com>
2010-10-06 16:33:10 -07:00
Greg Meiste
b669f1939b mfd: cpcap-whisper: Accessory detection updates
1) Added detection of Whisper Smart dock
2) Now enable VBUS for USB hosts
3) Added support for Whisper daemon to enable/disable UART
4) Fixed issue resulting in extra ID Float interrupt

Change-Id: I1531429bc90241de6139390eb7a2ac19f13ca78b
Signed-off-by: Greg Meiste <w30289@motorola.com>
2010-10-06 16:33:10 -07:00
Dan Murphy
6ecd61845c leds: National LP8550 LED driver for the display
Initial submission of the National LP8550 driver for p1

Change-Id: I2d2dc42a1c06fbc682fd8f556fa89c864c749db8
Signed-off-by: Dan Murphy <wldm10@motorola.com>
2010-10-06 16:33:06 -07:00
makarand.karvekar
547ba01648 touch: qtouch_obp: Add 12bit resolution for x,y co-ordinates.
Added 12-bit support for x,y co-ordinates.
x,y > 1023, x,y is reported as 12-bit.
x,y < 1024, x,y is reported as 10-bit.

Add firmware for second touch panel type.

Change-Id: Icfd687a37f5b3fcbb784665bac7d270317421a9a
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
2010-10-06 16:33:04 -07:00
Dan Murphy
8432c34322 leds: Create generic CPCAP led driver
Commonized the CPCAP LED driver into a single driver for all LEDs
connected to the CPCAP.

Change-Id: Ic62356010f3e1b355f7da757c3f08608765a71da
Signed-off-by: Dan Murphy <wldm10@motorola.com>
2010-10-06 16:33:02 -07:00
Greg Meiste
4bb0e2f4de regulator: cpcap: Add support for SW2 and SW4
Will be needed for DVS

Change-Id: I56da93ae33c1b9a01b80a703d978f6ca3cc6a0e3
Signed-off-by: Greg Meiste <w30289@motorola.com>
2010-10-06 16:33:01 -07:00
Dan Murphy
20ea8cc19b misc: Add ST Micro L3G4200D Gyroscope code
This is the initial submission of code for the gyroscope.

Change-Id: Ie56f79dad42b616058ea59cf05508337cc002f18
Signed-off-by: Dan Murphy <wldm10@motorola.com>
2010-10-06 16:33:01 -07:00
Dan Murphy
d2213b44d8 leds: CPCAP LED driver initial submission
Initial submission of the Home key LED code.
Code was ported from Sholes and updated with a work queue

Change-Id: Ib25313471cd21fb941b8fa4ecab3811b6ef35d74
Signed-off-by: Dan Murphy <wldm10@motorola.com>
2010-10-06 16:33:00 -07:00
Greg Meiste
ee3524207f mfd: cpcap-whisper: Changes for version 0.4
Whisper detection changes for version 0.4, enabling Whisper proto board
to be detected.  Now reporting dock type to system.

Change-Id: I22e9704a33afc0afcd02eb68fcb40c87b9b3e3fc
Signed-off-by: Greg Meiste <w30289@motorola.com>
2010-10-06 16:32:59 -07:00