The current being reported by the DS2781 battery driver was off
due to the incorrect value being used for Rsnsp. The DS2781 has
a register with the correct value, so use it instead of a hard
coded value.
Change-Id: I6fbd32a2a890232a805a2d4f1e595b0b3daf30e8
Signed-off-by: Greg Meiste <w30289@motorola.com>
duplicate register input called, when boot work function is triggered
via firmware update process.
This broke reboot command.
Change-Id: I78547127bfbde39f1f971806156d332883b8bf43
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Some sensor ioctls are called on every frame. Remove log messages
to prevent the kernel log from getting too spammy.
Change-Id: I0eb88eb7e7da7c5eb3e158c17ae68cca195147fc
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
add support for enabling, disabling and configuring the ISP, VI and
CSI clocks from user-space through the RM APIs
Change-Id: I652af05d5406928721ac62371b85cb3e2cbb3f6b
Signed-off-by: Gary King <gking@nvidia.com>
AVP modules expect IRAM to be allocatable through nvmap, so the
IRAM heap needs to be created
Change-Id: Idd1bdccd5ff05ae655cb59780a89002a122055c9
Signed-off-by: Gary King <gking@nvidia.com>
The latest stingray P1s die during boot when the memory
controller frequency is changed.
Change-Id: Ia505343289d7f6066d7731d2297c585988ffa7ea
Signed-off-by: Colin Cross <ccross@android.com>
The ts27010 mux driver panics during suspend, disable it
temporarily.
Change-Id: I0c858bf01d1579d38048288d1e19a373307600c2
Signed-off-by: Colin Cross <ccross@android.com>
touch object elements updated as per firmware 09
protocol publication.
Change-Id: I1e3ce574859eaa25d8b46add055572ec4017855f
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
touch object elements updated as per firmware 09
protocol publication.
Change-Id: I8fceb69b42b3234953dfd7aa35f01ead3f300ff6
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>
This change will add the file cpcap-irq to the debug fs directory. The file will
provide data for each of the cpcap interrupts. The data includes the interrupt
name, if the interrupt is enabled/disabled, if a handler has been registered
with the interrupt, and the number of times the interrupt has been generated.
Signed-off-by: Greg Meiste <w30289@motorola.com>
configure the suspend platform data for stingray with conservative
values for the PMU timers, and specify LP1 (DRAM in self-refresh,
core voltage on) as the default suspend mode.
to configure LP2 (DRAM active, core voltage on) as the suspend mode,
set .dram_suspend = false in stingray_suspend.
Change-Id: Icf991f916a06a22b0878be0cc9790e7173d986db
Set all of the mux and tristate settings based on the stingray
documentation. Also uses TEGRA_MUX_SAFE for any pingroup that
is unused or used only for GPIOs.
Change-Id: Ifd022333a74e9415d1043c7c7b9ac324d3536ecf
Enable CORE_PWR_REQ from T20 and enable SW2 control in CPCAP.
Change-Id: I4b384f2a35a521ed0693dd8d490687025bf47151
Signed-off-by: Greg Meiste <w30289@motorola.com>
Update the CPCAP firmware to add support to control SW2. VDD_CORE is
connected to SW2, and therefore SW2 needs to be controlled by CORE_PWR_REQ.
Change-Id: I9526c7c14bd9c4d41d40800392ae814adae49c08
Signed-off-by: Greg Meiste <w30289@motorola.com>
This driver receives notifications from cpcap-whisper and emulates the same
behavior as when the VBUS and ID USB pins are connected to the app processor.
Change-Id: I671e64c58559a2a3036273ef1fe8acb6af516fac
Signed-off-by: Benoit Goby <benoit@android.com>
Update the Product IDs and Vendor IDs to match the
values in the Windows(TM) drivers.
Change-Id: Id0d6a167742e124d5182757d183157380ffe4a8f
Signed-off-by: James Wylder <james.wylder@motorola.com>
Stingray P1 adds a DETECT line that needs to be used for charger
detection.
Change-Id: If904f18e0618b7cf1673fd654cc73ed27ddd5672
Signed-off-by: Greg Meiste <w30289@motorola.com>
Do not assume the lines are input by default. Several of the lines
were found to be set to outputs, causing issues with charger detection.
Change-Id: Ia41702c4efa76cf3b96475e798bcef0f29c9387c
Signed-off-by: Greg Meiste <w30289@motorola.com>
Taking out the powerconfig hack seems to break the current version
of the firmware. Put it back in for now.
Signed-off-by: Colin Cross <ccross@android.com>
kxtf9 is placed in position 1 Top-Bottom.
Corrected placement settings.
Change-Id: I7216fee62efd6a14254e33c6cc77ec92b91200f9
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>
The tegra sdhci driver has been changed to use -1 for "no gpio",
because 0 is a valid gpio number.
Change-Id: I906318d8d121019d33b98d1917e54dac90f747c1
Signed-off-by: Colin Cross <ccross@android.com>