Includes support for factor test and latest tuning settings
Signed-off-by: John Kramer <john.kramer@motorola.com>
Change-Id: Icc0e17317c4209cd58d0981b34cd8b60c80be09e
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>
-- 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>
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>
The uC can now be used to write the secondary SPI standby bits.
Change-Id: I0f6a69d78b941fdf7b65d893c0ae8b29cc8bd740
Signed-off-by: Greg Meiste <w30289@motorola.com>
Set default trigger as timer.
Seperate blink function from brightness.
Change-Id: I1dd789ae8b5df88ea26c40ed544807ec0f3bb52a
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
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
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>
-- 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
8975 does have accelerometer and temperature features.
corrected flag values.
Change-Id: Ie061bd67ab34fb2da7ddcd7c44d362bfc5016dde
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
report gyro events as EV_REL.
clean up gyro data calculation.
Change-Id: I3327e58ef5a99d52bdd6aeabacf63c41172958ba
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Allows individual led to support blink capability
Change-Id: If2c7bd8a4bc617e3049b0db3a6fec4f92b06c0e5
Signed-off-by: Praveen Bharathi <pbharathi@motorola.com>
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>
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>
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>
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>
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>
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>
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>
Add driver to communicate shutdown request to mdm6600
modem, through gpio triplets.
Change-Id: I00ab47e64e8f398caebac83f7c734f2f2c1a2aa3
Signed-off-by: James Wylder <james.wylder@motorola.com>
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>
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>
Initial submission of the LM3559 driver for Stingray
Change-Id: Id18092f7b23248ea8e2fcca1116ddba89a9af9dc
Signed-off-by: Dan Murphy <wldm10@motorola.com>
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>
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>
Initial submission of the National LP8550 driver for p1
Change-Id: I2d2dc42a1c06fbc682fd8f556fa89c864c749db8
Signed-off-by: Dan Murphy <wldm10@motorola.com>