firefly-linux-kernel-4.4.55.git
14 years agomisc: KXTF9 Accelerometer driver
Dan Murphy [Tue, 25 May 2010 14:10:06 +0000 (09:10 -0500)]
misc: KXTF9 Accelerometer driver

Open source driver modified to work on K34.
Resolved open coding violations
Ensured no data would be reported if the device is not enabled

Change-Id: Ia23393a702dc193835313844260ccd1fd5b93cc0
Signed-off-by: Dan Murphy <wldm10@motorola.com>
14 years ago[ARM] tegra: stingray: Add bcm4329 module compilation
Dmitry Shmidt [Mon, 24 May 2010 18:14:59 +0000 (11:14 -0700)]
[ARM] tegra: stingray: Add bcm4329 module compilation

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
14 years ago[ARM] terga: stingray: Add wlan nvs export support
Dmitry Shmidt [Fri, 21 May 2010 22:02:50 +0000 (15:02 -0700)]
[ARM] terga: stingray: Add wlan nvs export support

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
14 years ago[ARM] tegra: stingray: Add bq24617 charger support
Greg Meiste [Fri, 21 May 2010 21:32:36 +0000 (16:32 -0500)]
[ARM] tegra: stingray: Add bq24617 charger support

Change-Id: I4e6975abe03b4abdb7077c438d15bf0e4e6c4dae
Signed-off-by: Greg Meiste <w30289@motorola.com>
14 years ago[ARM] tegra: stingray_defconfig: Add bq24617 charger
Colin Cross [Fri, 21 May 2010 22:14:42 +0000 (15:14 -0700)]
[ARM] tegra: stingray_defconfig: Add bq24617 charger

Change-Id: I7efe788659b22f27f8132ad238ebaf6f0882213d
Signed-off-by: Colin Cross <ccross@android.com>
14 years agopower: bq24617: Add bq24617 charger driver
Greg Meiste [Fri, 21 May 2010 19:30:51 +0000 (14:30 -0500)]
power: bq24617: Add bq24617 charger driver

Initial implementation of bq24617 charger driver.

Change-Id: Ia2c809712357679caf526d427c9c094211073635
Signed-off-by: Greg Meiste <w30289@motorola.com>
14 years ago[ARM] stingray: Add cpcap to defconfig
Rebecca Schultz Zavin [Thu, 20 May 2010 01:01:13 +0000 (18:01 -0700)]
[ARM] stingray: Add cpcap to defconfig

Change-Id: If53853116131441cc5983c6ffa60224d470e6ab3
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
14 years agomfd: cpcap: Add CPCAP drivers
Greg Meiste [Thu, 13 May 2010 22:04:35 +0000 (17:04 -0500)]
mfd: cpcap: Add CPCAP drivers

Add driver for motorola's CPCAP PMIC.  This includes the core in mfd,
the rtc driver, and regulator drivers.

Change-Id: I96e3a97673002f3264ae8a71f5c8db1fcb7846e3
Signed-off-by: Greg Meiste <w30289@motorola.com>
14 years ago[ARM] tegra: stingray: Add backlight to the panel board file
Dan Murphy [Thu, 20 May 2010 20:38:33 +0000 (15:38 -0500)]
[ARM] tegra: stingray: Add backlight to the panel board file

The current display is GPIO driven for the display backlight.
There will be newer displays that will no longer need this mechanism.

This code can be tagged for future removal

Change-Id: Id8d9fc7699172e7a8bbfd889302af76b6a370a11
Signed-off-by: Dan Murphy <wldm10@motorola.com>
14 years ago[ARM] tegra: stingray_defconfig: Enable backlight LED driver
Dan Murphy [Thu, 20 May 2010 20:34:49 +0000 (15:34 -0500)]
[ARM] tegra: stingray_defconfig: Enable backlight LED driver

Enable the LED_CLASS, NEW_CLASS and the AUO_LCD config flags

Change-Id: Ic63b946aee62445b28626975247500ff801165db
Signed-off-by: Dan Murphy <wldm10@motorola.com>
14 years agoleds: Simple GPIO driver to control the AUO backlight
Dan Murphy [Tue, 18 May 2010 18:20:22 +0000 (13:20 -0500)]
leds: Simple GPIO driver to control the AUO backlight

This is a simple driver that controls the AUO backlight and
registers to the LED class driver.

This code is not long term code.  Once new displays are available
this code can be disabled and removed.

Change-Id: I91f4fdfe25060440643597f5419f67a87ef72a96
Signed-off-by: Dan Murphy <wldm10@motorola.com>
14 years ago[ARM] tegra: stingray: Initial sensor board file for stingray
Dan Murphy [Thu, 20 May 2010 20:41:05 +0000 (15:41 -0500)]
[ARM] tegra: stingray: Initial sensor board file for stingray

Initial submission of the sensor board file with barometer intialization.

Change-Id: I04316eb26f53bbdc0306bb3a8a74f6d17e03ae88
Signed-off-by: Dan Murphy <wldm10@motorola.com>
14 years ago[ARM] tegra: stingray_defconfig: Enable the BMP085 barometer driver
Dan Murphy [Thu, 20 May 2010 20:29:02 +0000 (15:29 -0500)]
[ARM] tegra: stingray_defconfig: Enable the BMP085 barometer driver

Add config flag to turn on the barometer driver

Change-Id: I71d02eb5ec44321c8258d0b1e9eb7213ce608338
Signed-off-by: Dan Murphy <wldm10@motorola.com>
14 years ago[ARM] tegra: stingray: keypad: Update keycodes
Colin Cross [Tue, 18 May 2010 20:49:29 +0000 (13:49 -0700)]
[ARM] tegra: stingray: keypad: Update keycodes

Change-Id: I2c171ce74afe46fa1e3980aa147c65b95f17c3ad
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: stingray: Add drive strength table
Colin Cross [Wed, 19 May 2010 21:27:10 +0000 (14:27 -0700)]
[ARM] tegra: stingray: Add drive strength table

Signed-off-by: Colin Cross <ccross@android.com>
Change-Id: Ia37ea49f177fd3398b19a81b51054fc295dc0aec

14 years ago[ARM] tegra: stingray: Make board init calls explicit
Colin Cross [Thu, 13 May 2010 23:43:53 +0000 (16:43 -0700)]
[ARM] tegra: stingray: Make board init calls explicit

Change-Id: Id8e8a813d1a65babec791d188263caa168b9f8e3
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: olympus: Make board init calls explicit
Colin Cross [Thu, 13 May 2010 23:43:26 +0000 (16:43 -0700)]
[ARM] tegra: olympus: Make board init calls explicit

Signed-off-by: Colin Cross <ccross@android.com>
Change-Id: I1ca16a8cf76f324937e47ce057123d2f28fd20b8

14 years ago[ARM] tegra: stingray: Add stingray_defconfig
Dmitry Shmidt [Tue, 18 May 2010 19:10:43 +0000 (12:10 -0700)]
[ARM] tegra: stingray: Add stingray_defconfig

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
14 years ago[ARM] tegra: stingray: Fix wlan support
Dmitry Shmidt [Tue, 18 May 2010 17:53:41 +0000 (10:53 -0700)]
[ARM] tegra: stingray: Fix wlan support

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
14 years ago[ARM] tegra: stingray: Update board files for stingray
Colin Cross [Thu, 13 May 2010 21:03:59 +0000 (14:03 -0700)]
[ARM] tegra: stingray: Update board files for stingray

Change-Id: I6433bce8bb1cee03a50d1df96a3edd1d2a5d95da
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: stingray: Initial stingray board files
Colin Cross [Thu, 13 May 2010 20:51:58 +0000 (13:51 -0700)]
[ARM] tegra: stingray: Initial stingray board files

Change-Id: I644ea9bfe0d256fadfac6e129c9d64cae7982c0b
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: olympus: Make local structures static
Colin Cross [Thu, 13 May 2010 21:16:01 +0000 (14:16 -0700)]
[ARM] tegra: olympus: Make local structures static

Change-Id: I57088f9ec4cd5ccbbd343018049f9cfbb11d4add
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: olympus: Use clock init tables
Colin Cross [Tue, 11 May 2010 01:39:50 +0000 (18:39 -0700)]
[ARM] tegra: olympus: Use clock init tables

Change-Id: I22259fdf14b18e05160d1b8152de14a72f1598d2
Signed-off-by: Colin Cross <ccross@android.com>
14 years agodrivers: mmc: tegra: Add fake card detect support
Dmitry Shmidt [Wed, 12 May 2010 21:44:10 +0000 (14:44 -0700)]
drivers: mmc: tegra: Add fake card detect support

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
14 years ago[ARM] tegra: olympus: Add Wlan platform support
Dmitry Shmidt [Wed, 12 May 2010 00:28:51 +0000 (17:28 -0700)]
[ARM] tegra: olympus: Add Wlan platform support

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
14 years ago[ARM] tegra: olympus: Initialize pll_p_out* on boot
Colin Cross [Sat, 24 Apr 2010 03:15:13 +0000 (20:15 -0700)]
[ARM] tegra: olympus: Initialize pll_p_out* on boot

Change-Id: I380e2a5bb0cfe2ed9123fbc451398597c65e0b03
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: move olympus to use generic devices.c for i2c and sdhci
Erik Gilling [Wed, 31 Mar 2010 20:48:13 +0000 (13:48 -0700)]
[ARM] tegra: move olympus to use generic devices.c for i2c and sdhci

Signed-off-by: Erik Gilling <konkers@android.com>
14 years ago[ARM] tegra: olympus: update olympus_defconfig
Colin Cross [Fri, 9 Apr 2010 21:54:30 +0000 (14:54 -0700)]
[ARM] tegra: olympus: update olympus_defconfig

Change-Id: Ia4467171c83e4e608ec54efb5ee0781d8f55ceaf
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: olympus: Enable all SD busses
Colin Cross [Fri, 9 Apr 2010 21:38:44 +0000 (14:38 -0700)]
[ARM] tegra: olympus: Enable all SD busses

Change-Id: Ic747f83a4eb84a04f7439f520a815fbe1f6ae50d
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: olympus: Add test hsuart
Colin Cross [Wed, 7 Apr 2010 20:00:33 +0000 (13:00 -0700)]
[ARM] tegra: olympus: Add test hsuart

Change-Id: I05243c0cb27b9176d9add6e4b2007f92d92a55eb
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: olympus: Add keypad
Colin Cross [Fri, 26 Mar 2010 01:59:06 +0000 (18:59 -0700)]
[ARM] tegra: olympus: Add keypad

Change-Id: I7ea2f8a1b7e14c31107621cbdbde3ab84546784f
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: olympus: Add olympus_defconfig
Colin Cross [Thu, 25 Mar 2010 05:21:03 +0000 (22:21 -0700)]
[ARM] tegra: olympus: Add olympus_defconfig

Change-Id: Ib1f6624d9ddaec41bd6a4c52f5bb24bad9ca0464
Signed-off-by: Colin Cross <ccross@android.com>
14 years agoqtouch: Fix slab.h includes for 2.6.34-rc4
Colin Cross [Thu, 15 Apr 2010 22:23:09 +0000 (15:23 -0700)]
qtouch: Fix slab.h includes for 2.6.34-rc4

Change-Id: I2da10ee5a45f5e29a39b23a9f0352ffa3d260b5e
Signed-off-by: Colin Cross <ccross@android.com>
14 years agoqtouch_obp_ts: Add support for X and Y flip
Colin Cross [Thu, 25 Mar 2010 05:19:49 +0000 (22:19 -0700)]
qtouch_obp_ts: Add support for X and Y flip

Change-Id: I463ad7bfc906eedb8f80fededdbd12a24b77ab1a
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: olympus: Add sholes touchscreen device to olympus board
Colin Cross [Wed, 24 Mar 2010 00:42:59 +0000 (17:42 -0700)]
[ARM] tegra: olympus: Add sholes touchscreen device to olympus board

Signed-off-by: Colin Cross <ccross@android.com>
14 years agoinput: Add Quantum OBP touchscreen support
Dima Zavin [Thu, 23 Apr 2009 23:06:51 +0000 (16:06 -0700)]
input: Add Quantum OBP touchscreen support

This adds a driver for the Quantum capacitive touch controllers
that use the Object Based Protocol (OBP) for communication
between the driver and the on-chip firmware.

Change-Id: Ib469d626d5f0d11562547f2cbeb71a48e11f6072
Cc: Dan Murphy <D.Murphy@motorola.com>
Cc: Mike Chan <mike@android.com>
Cc: Paul Eastham <eastham@google.com>
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
14 years ago[ARM] tegra: olympus: Add i2c to board olympus
Colin Cross [Mon, 22 Mar 2010 03:51:38 +0000 (20:51 -0700)]
[ARM] tegra: olympus: Add i2c to board olympus

Change-Id: I627eccac1a5557f5264946caad2384c7f2038ef5
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: olympus: Modify uncompress.h for olympus
Colin Cross [Thu, 18 Mar 2010 23:10:44 +0000 (16:10 -0700)]
[ARM] tegra: olympus: Modify uncompress.h for olympus

Change-Id: Ib4379eb677cf504dad50b23df3763619956a980e
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: olympus: Add olympus board files to build
Colin Cross [Thu, 18 Mar 2010 23:09:45 +0000 (16:09 -0700)]
[ARM] tegra: olympus: Add olympus board files to build

Change-Id: I9e9af1d4fd0f0551251b6b491e7ce303475968a5
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: olympus: Add olympus board files
Colin Cross [Thu, 18 Mar 2010 23:09:24 +0000 (16:09 -0700)]
[ARM] tegra: olympus: Add olympus board files

Signed-off-by: Colin Cross <ccross@android.com>
14 years agofixes calculation error when processing large partition sizes
Boris Bekkerman [Tue, 3 Aug 2010 01:38:55 +0000 (20:38 -0500)]
fixes calculation error when processing large partition sizes

Change-Id: I193b89c97d607456edf64e96cb4614d9c92ff095
Signed-off-by: Boris Bekkerman <boris.bekkerman@motorola.com>
14 years agofs: partitions: add partition name to uevent
Colin Cross [Thu, 15 Apr 2010 21:04:27 +0000 (14:04 -0700)]
fs: partitions: add partition name to uevent

Change-Id: Ibde080cb84b313867ae593e3d46f12223f28babe

14 years agofs: partitions: Add command line partitioning
Colin Cross [Thu, 18 Mar 2010 23:06:56 +0000 (16:06 -0700)]
fs: partitions: Add command line partitioning

Signed-off-by: Colin Cross <ccross@android.com>
14 years agoARMv7: Use lazy cache flushing if hardware broadcasts cache operations
Catalin Marinas [Tue, 9 Mar 2010 09:55:10 +0000 (09:55 +0000)]
ARMv7: Use lazy cache flushing if hardware broadcasts cache operations

ARMv7 processors like Cortex-A9 broadcast the cache maintenance
operations in hardware. The patch adds the CPU ID checks for such
feature and allows the flush_dcache_page/update_mmu_cache pair to work
in lazy flushing mode similar to the UP case.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
14 years agoMerge branch 'android-2.6.36' into android-tegra-2.6.36
Colin Cross [Wed, 6 Oct 2010 23:31:32 +0000 (16:31 -0700)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36

Conflicts:
drivers/input/touchscreen/Kconfig

Change-Id: Ifc75266e258f9513d78c47c12e2f1de1d2344f02

14 years ago[ARM] tegra: hdmi: fix an incorrect register write
Iliyan Malchev [Tue, 5 Oct 2010 00:01:56 +0000 (17:01 -0700)]
[ARM] tegra: hdmi: fix an incorrect register write

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years ago[ARM] tegra: tegra_hsuart: fix a typo
Iliyan Malchev [Mon, 4 Oct 2010 22:11:37 +0000 (15:11 -0700)]
[ARM] tegra: tegra_hsuart: fix a typo

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years ago[ARM] tegra: dma: fix a typo
Iliyan Malchev [Mon, 4 Oct 2010 22:11:37 +0000 (15:11 -0700)]
[ARM] tegra: dma: fix a typo

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years ago[ARM] tegra: driver for spdif audio
Ravindra Lokhande [Mon, 27 Sep 2010 17:53:41 +0000 (12:53 -0500)]
[ARM] tegra: driver for spdif audio

-- creates /dev/spdif_out and /dev/spdif_out_ctl for playback and control
   settings.
-- playback only

Change-Id: I19af1d41e13dedef650784835339ef9718300d0c
Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years ago[ARM] tegra: add spdif device and resources
Iliyan Malchev [Tue, 28 Sep 2010 23:12:48 +0000 (16:12 -0700)]
[ARM] tegra: add spdif device and resources

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years ago[ARM] tegra_i2s_audio: add more elaborate error counts
Iliyan Malchev [Mon, 4 Oct 2010 19:10:29 +0000 (12:10 -0700)]
[ARM] tegra_i2s_audio: add more elaborate error counts

This patch replaces the error counter with two separate error counters, one for
late dma callbacks, and another for overruns (during recording) or underruns
(during playback).  The ioctls TEGRA_AUDIO_IN_GET_ERROR_COUNT and
TEGRA_AUDIO_OUT_GET_ERROR_COUNT now take a pointer to a struct containing both
error counters.

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years ago[ARM] tegra_i2s_audio: use pm_qos to prevent DMA-callback delays
Iliyan Malchev [Sun, 3 Oct 2010 00:31:54 +0000 (17:31 -0700)]
[ARM] tegra_i2s_audio: use pm_qos to prevent DMA-callback delays

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years agoARM: tegra: parent sclk on pll_m_out1 so it can run @ 240Mhz
Dima Zavin [Sat, 2 Oct 2010 03:01:42 +0000 (20:01 -0700)]
ARM: tegra: parent sclk on pll_m_out1 so it can run @ 240Mhz

Since sclk no longer needs pll_p_out4, don't explicitly enable it.

Change-Id: I47debdd3402e02967f77ebd4c3b8c4594ece4083
Signed-off-by: Dima Zavin <dima@android.com>
14 years agoARM: tegra: provide the correct max rates for pclk and sclk
Dima Zavin [Sat, 2 Oct 2010 03:00:59 +0000 (20:00 -0700)]
ARM: tegra: provide the correct max rates for pclk and sclk

Change-Id: Ieb1ae5356df26e0c9be631b9f58c641a350dc4eb
Signed-off-by: Dima Zavin <dima@android.com>
14 years agoARM: tegra: add a virtual cop clock for AVP reset assertion
Dima Zavin [Fri, 3 Sep 2010 02:18:59 +0000 (19:18 -0700)]
ARM: tegra: add a virtual cop clock for AVP reset assertion

Change-Id: Ib27e5191d78f7994d444167b7d3a981a43f59b3c
Signed-off-by: Dima Zavin <dima@android.com>
14 years agoARM: tegra: enable clk reset for non-peripheral clocks
Dima Zavin [Fri, 3 Sep 2010 02:11:11 +0000 (19:11 -0700)]
ARM: tegra: enable clk reset for non-peripheral clocks

Add a new 'reset' clk op. This can be provided for any clock,
not just peripherals.

Change-Id: I0742cfad1587ddc006066c7fa9bc22f180c04e6f
Signed-off-by: Dima Zavin <dima@android.com>
14 years agotegrafb: fix section mismatch in host driver skeleton
Gary King [Tue, 31 Aug 2010 21:17:57 +0000 (14:17 -0700)]
tegrafb: fix section mismatch in host driver skeleton

Change-Id: I2cf4646c8e362f591e8f1e5d6c0573fd7aee4365
Signed-off-by: Gary King <gking@nvidia.com>
14 years agotegrafb: add forward-decls for structs used in function prototypes
Gary King [Tue, 31 Aug 2010 22:22:24 +0000 (15:22 -0700)]
tegrafb: add forward-decls for structs used in function prototypes

Change-Id: Ief5f09f9340362197b01adeef28fbd42cd0a7a06
Signed-off-by: Gary King <gking@nvidia.com>
14 years agotegra: iovmm-gart: move init call to subsys_initcall
Gary King [Fri, 13 Aug 2010 18:08:42 +0000 (11:08 -0700)]
tegra: iovmm-gart: move init call to subsys_initcall

nvmap and nvhost will behave improperly if iovmm is not present when
their respective devices are probed; however, the probe ordering depends
on the order the initcalls are made to register the drivers. move
iovmm-gart into subsys_initcall to ensure that it is registered earlier
than other drivers

Change-Id: If3e07ce239e593a0833a3381cd1132f5d6ef6786
Signed-off-by: Gary King <gking@nvidia.com>
14 years agotouchscreen: panjit: use multi-touch reporting interface
Gary King [Sat, 11 Sep 2010 01:43:14 +0000 (18:43 -0700)]
touchscreen: panjit: use multi-touch reporting interface

Change-Id: I2bcad8cd07725e36598545168f33b87b9f217c11
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] tegra: ventana: fix pinmux for bluetooth and gas gauge
Gary King [Thu, 16 Sep 2010 23:37:23 +0000 (16:37 -0700)]
[ARM] tegra: ventana: fix pinmux for bluetooth and gas gauge

Fixes by Anantha Idapalapati <aidapalapati@nvidia.com> and
Mayuresh Kulkarni <mkulkarni@nvidia.com>

Change-Id: Ib7599d3593a8cc19b5b6dce451f3b203d4c5b70f
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] tegra: ventana: add OTG device
Gary King [Tue, 28 Sep 2010 19:36:31 +0000 (12:36 -0700)]
[ARM] tegra: ventana: add OTG device

Change-Id: Ie35453a385221b6d1f8b7eb05ed19e550a4c1d16
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] tegra: add tegra-otg and tegra_uart to devices.c
Gary King [Tue, 28 Sep 2010 19:39:08 +0000 (12:39 -0700)]
[ARM] tegra: add tegra-otg and tegra_uart to devices.c

Change-Id: Icdc0de036566220f337a21d5b1bae0e81057f115
Signed-off-by: Gary King <gking@nvidia.com>
14 years agousb: add OTG driver for tegra USB PHY
Gary King [Tue, 28 Sep 2010 19:32:13 +0000 (12:32 -0700)]
usb: add OTG driver for tegra USB PHY

Change-Id: I23be62e819b658c0e25f70eebfbb8dc0dc76c173
Signed-off-by: Gary King <gking@nvidia.com>
14 years agousb: gadget: fsl_udc: Removed unnecessary checks
Benoit Goby [Wed, 29 Sep 2010 23:17:18 +0000 (16:17 -0700)]
usb: gadget: fsl_udc: Removed unnecessary checks

The OTG driver disables the gadget device when the cable is
removed, so there is no need to check if the cable is plugged
before touching registers.

Change-Id: I0b1a3a8b07560d3eca2e2e25574b5219e3373808
Signed-off-by: Benoit Goby <benoit@android.com>
14 years agousb: gadget: fsl_udc: Unlock the spinlock before calling clk_enable
Benoit Goby [Wed, 29 Sep 2010 23:04:25 +0000 (16:04 -0700)]
usb: gadget: fsl_udc: Unlock the spinlock before calling clk_enable

On suspend, dr_controller_stop disable interrupts and on resume, interrupts
are disabled until dr_controller_run is called, so it is safe to call
fsl_udc_clk_suspend/resume with interrupts and the spinlock unlocked.

Change-Id: I33618295ea096a4bfd796d1a07dfc9722e7786b0
Signed-off-by: Benoit Goby <benoit@android.com>
14 years agousb: gadget: fsl_udc: fix warning
Benoit Goby [Wed, 29 Sep 2010 06:53:35 +0000 (23:53 -0700)]
usb: gadget: fsl_udc: fix warning

Change-Id: I2123ac05aafe3f89db3c17dbcb16b44ca6222ce2
Signed-off-by: Benoit Goby <benoit@android.com>
14 years ago[ARM] tegra: usb_phy: fix warning
Benoit Goby [Wed, 29 Sep 2010 06:52:10 +0000 (23:52 -0700)]
[ARM] tegra: usb_phy: fix warning

Change-Id: I10d3f7b001a13d4689adb64a7b4bf06626b6c786
Signed-off-by: Benoit Goby <benoit@android.com>
14 years agovideo: tegra: remove out of date TODO
Erik Gilling [Mon, 27 Sep 2010 23:51:54 +0000 (16:51 -0700)]
video: tegra: remove out of date TODO

Change-Id: I47d065e3cd89276c951a77dc76db02eecf1257a3
Signed-off-by: Erik Gilling <konkers@android.com>
14 years agovideo: tegra: force 24bit output on HDMI
Erik Gilling [Mon, 27 Sep 2010 23:50:54 +0000 (16:50 -0700)]
video: tegra: force 24bit output on HDMI

Signed-off-by: Erik Gilling <konkers@android.com>
Change-Id: I180bc0219485c96f3e24f0fa415fdaa488c56c8c

14 years agovideo: tegra: enable both display controller clock when enabling hdmi
Erik Gilling [Mon, 27 Sep 2010 23:49:38 +0000 (16:49 -0700)]
video: tegra: enable both display controller clock when enabling hdmi

The upstream DC needs to be clocked for accesses to HDMI to not hard lock the
system.  Because we don't know if HDMI is conencted to disp1 or disp2 we need
to enable both until we set the DC mux.

Change-Id: Iab7df9911aa9034ea559896850787e4eff3237d7
Signed-off-by: Erik Gilling <konkers@android.com>
14 years agovideo: tegra: add a no_vsync module param to disable vsync
Erik Gilling [Mon, 27 Sep 2010 00:55:52 +0000 (17:55 -0700)]
video: tegra: add a no_vsync module param to disable vsync

Change-Id: Icc950e1a94a7441dd820b774f8656b3db1be0e20
Signed-off-by: Erik Gilling <konkers@android.com>
14 years agousb: gadget: fsl_udc: Use dma_alloc_coherent to allocate the status buffer
Benoit Goby [Fri, 24 Sep 2010 00:58:55 +0000 (17:58 -0700)]
usb: gadget: fsl_udc: Use dma_alloc_coherent to allocate the status buffer

Change-Id: I7c17b7f8a8b89c6a687f6e2604542dabecc4cfa7
Signed-off-by: Benoit Goby <benoit@android.com>
14 years ago[ARM] tegra: ventana: register tps6586x interrupts
Gary King [Thu, 2 Sep 2010 20:59:36 +0000 (13:59 -0700)]
[ARM] tegra: ventana: register tps6586x interrupts

configure the PMC interrupt polarity low, and register IRQ
numbers with the TPS6586X core and RTC

Change-Id: Iba08704bd1355ed00af3d9132118ce095c5118fe
Signed-off-by: Gary King <gking@nvidia.com>
14 years agortc: tps6586x: add alarm support to tps6586x driver
Gary King [Thu, 16 Sep 2010 21:38:46 +0000 (14:38 -0700)]
rtc: tps6586x: add alarm support to tps6586x driver

Signed-off-by: Gary King <gking@nvidia.com>
14 years agomfd: tps6586x: add basic interrupt support
Gary King [Mon, 30 Aug 2010 23:16:55 +0000 (16:16 -0700)]
mfd: tps6586x: add basic interrupt support

add support for enabling and disabling tps6586x subdevice interrupts

Signed-off-by: Gary King <gking@nvidia.com>
14 years agovideo: tegra: set output color depth on init/resume
Erik Gilling [Fri, 24 Sep 2010 00:00:28 +0000 (17:00 -0700)]
video: tegra: set output color depth on init/resume

Signed-off-by: Erik Gilling <konkers@android.com>
Change-Id: If7e0af98910c68cc53227990ab2970a934e3867c

14 years ago[ARM] Tegra: SPI: Suspend/resume.
Todd Poynor [Fri, 30 Jul 2010 19:09:22 +0000 (12:09 -0700)]
[ARM] Tegra: SPI: Suspend/resume.

Save/restore SLINK_COMMAND_0 register.

Wait for in-progress transactions to complete before suspend.

Reject and WARN_ON transactions when suspended.

Change-Id: I0527781f0bf95781afa3a35a68282cde2f0189ae
Signed-off-by: Todd Poynor <toddpoynor@google.com>
14 years ago[ARM] twd: Always calibrate local timer
Colin Cross [Wed, 22 Sep 2010 06:12:19 +0000 (23:12 -0700)]
[ARM] twd: Always calibrate local timer

Change-Id: I075f883739d0eeea3b6b10da003119431cf3c2d2
Signed-off-by: Colin Cross <ccross@android.com>
14 years agovideo: tegra: set border color to black on init
Erik Gilling [Tue, 21 Sep 2010 01:00:56 +0000 (18:00 -0700)]
video: tegra: set border color to black on init

Change-Id: Ib8fe2722ab98b3d8a34edc2a26b6b5d4dd338973
Signed-off-by: Erik Gilling <konkers@android.com>
14 years agovideo: tegra: force blend update on enable/disable not suspend/resume
Erik Gilling [Tue, 21 Sep 2010 00:56:39 +0000 (17:56 -0700)]
video: tegra: force blend update on enable/disable not suspend/resume

Change-Id: I2d47d820311554b29db302ab9370574f2112cb51
Signed-off-by: Erik Gilling <konkers@android.com>
14 years ago[ARM] twd: Fix updating control register in set_mode
Colin Cross [Sat, 18 Sep 2010 04:30:05 +0000 (21:30 -0700)]
[ARM] twd: Fix updating control register in set_mode

Change-Id: I5096cc3fedf51024c332adbb846689e01e1f7ce0
Signed-off-by: Colin Cross <ccross@android.com>
14 years agommc: host: sdhci-tegra: Add no hispd quirk
Colin Cross [Wed, 22 Sep 2010 00:51:27 +0000 (17:51 -0700)]
mmc: host: sdhci-tegra: Add no hispd quirk

Change-Id: I3a4f1b8960a5cc71af31aeef8c5285c0cfefe145
Signed-off-by: Colin Cross <ccross@android.com>
14 years agommc: host: sdhci: Prevent IRQ capability from being set if quirk is set
Colin Cross [Wed, 22 Sep 2010 00:51:05 +0000 (17:51 -0700)]
mmc: host: sdhci: Prevent IRQ capability from being set if quirk is set

Change-Id: I18a622844a69ed00fee798786c28c75d10ba7c81
Signed-off-by: Colin Cross <ccross@android.com>
14 years agoenable tegra_i2s_audio
Iliyan Malchev [Thu, 9 Sep 2010 01:23:45 +0000 (18:23 -0700)]
enable tegra_i2s_audio

Change-Id: I0b6bfba1f2084d5d05929c2066a49a6c7413c54a
Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years agoARM: tegra: powergate the mpe and 3d cores at boot
Dima Zavin [Fri, 17 Sep 2010 00:58:05 +0000 (17:58 -0700)]
ARM: tegra: powergate the mpe and 3d cores at boot

Change-Id: I6ca09db039cd80eab18d062a7a4b5d2a93bd385e
Signed-off-by: Dima Zavin <dima@android.com>
14 years ago[ARM] twd: Fix prescaler getting cleared by set_mode
Colin Cross [Fri, 17 Sep 2010 20:51:48 +0000 (13:51 -0700)]
[ARM] twd: Fix prescaler getting cleared by set_mode

Change-Id: I98d4b02feeb9784591504c59a82058a58bbd038e
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: tegra_i2s_audio: add support for downsampling to 16kHz
Iliyan Malchev [Tue, 24 Aug 2010 20:40:26 +0000 (13:40 -0700)]
[ARM] tegra: tegra_i2s_audio: add support for downsampling to 16kHz

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years agousb: host: Add power_off_on_bus_suspend option
Benoit Goby [Fri, 10 Sep 2010 08:16:15 +0000 (01:16 -0700)]
usb: host: Add power_off_on_bus_suspend option

If the device connected to a port has out-of-band wakeup
signaling, the phy and controller may be powered off on bus suspend.

Change-Id: Ia206f05d01160411b97aefa83045cd759d35b66d
Signed-off-by: Benoit Goby <benoit@android.com>
14 years ago[ARM] tegra: usb_phy: Reset the ulpi phy on power off
Benoit Goby [Tue, 14 Sep 2010 00:43:44 +0000 (17:43 -0700)]
[ARM] tegra: usb_phy: Reset the ulpi phy on power off

Put the ulpi phy in reset on power off to save power in lp0.

Change-Id: I7d7441c1029b170ff24da7274d8404b4bcf1d9e9
Signed-off-by: Benoit Goby <benoit@android.com>
14 years ago[ARM] tegra: ventana: add tps6586x rtc and pda_power devices
Gary King [Sun, 15 Aug 2010 17:32:12 +0000 (10:32 -0700)]
[ARM] tegra: ventana: add tps6586x rtc and pda_power devices

Change-Id: I1c851ab4982764b7f72d968d665d0c898fae25aa
Signed-off-by: Gary King <gking@nvidia.com>
14 years agomfd: tps6586x: add RTC driver for TI TPS6586x
Gary King [Sat, 14 Aug 2010 18:17:54 +0000 (11:17 -0700)]
mfd: tps6586x: add RTC driver for TI TPS6586x

Change-Id: Ie22a19b662fda6365b1c514aaf83c9de12fabbd4
Signed-off-by: Gary King <gking@nvidia.com>
14 years agovideo: tegra: add z order blending, output position, and stride to overlays
Antti Hatala [Wed, 8 Sep 2010 23:09:31 +0000 (16:09 -0700)]
video: tegra: add z order blending, output position, and stride to overlays

Change-Id: I7439f60bfa3264bec9b1447fd970eef9e4c089d9
Signed-off-by: Erik Gilling <konkers@android.com>
14 years agospi: tegra: fix error setting on timeout
Erik Gilling [Thu, 9 Sep 2010 01:16:45 +0000 (18:16 -0700)]
spi: tegra: fix error setting on timeout

avoids derefencing an uninitialized pointer

Change-Id: Icf528441ae481e9f6f5ddc0be32c7c217fa49701
Signed-off-by: Erik Gilling <konkers@android.com>
14 years agovideo: tegra: correct typeo in HDMI parent clock setup
Erik Gilling [Thu, 9 Sep 2010 00:38:18 +0000 (17:38 -0700)]
video: tegra: correct typeo in HDMI parent clock setup

Change-Id: I7d1d1e8f0e627bc0b2d225af7dde29becc53f991
Signed-off-by: Erik Gilling <konkers@android.com>
14 years ago[ARM] tegra: ventana: specify panjit reset GPIO
Gary King [Tue, 7 Sep 2010 23:04:05 +0000 (16:04 -0700)]
[ARM] tegra: ventana: specify panjit reset GPIO

also delete the function which resets the touchscreen controller,
since that is now part of the panjit_touch driver _probe routine

Change-Id: I172b726978fde44cd98da391d233e31ecd9f7da2
Signed-off-by: Gary King <gking@nvidia.com>
14 years agoinput: touchscreen: panjit_i2c: fix suspend
Gary King [Mon, 6 Sep 2010 03:36:38 +0000 (20:36 -0700)]
input: touchscreen: panjit_i2c: fix suspend

the panjit touchscreen needs to be reset when returning from
deep sleep mode; add a platform data structure to specify
the reset GPIO.

perform the reset during _probe, since the code already needs
to exist for _resume

delete a bunch of unused preprocessor defines

Change-Id: I71ae65dec45710b0eab4625036edf75064d4cc2b
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] tegra: add tegra_pwm to devices.c
Gary King [Fri, 3 Sep 2010 23:44:52 +0000 (16:44 -0700)]
[ARM] tegra: add tegra_pwm to devices.c

Change-Id: I8d861fd9f7748f29879315cd6f0800cec6a84f9e
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] tegra: add PWM driver
Gary King [Fri, 3 Sep 2010 23:34:36 +0000 (16:34 -0700)]
[ARM] tegra: add PWM driver

add support for the pulse-width-modulation APIs using the tegra 2
internal PWM controllers

Change-Id: If313301aaebab01f08edbe120060537e6917ea4b
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] tegra: ventana: fix pinmux for wifi
Gary King [Mon, 6 Sep 2010 01:03:08 +0000 (18:03 -0700)]
[ARM] tegra: ventana: fix pinmux for wifi

configure the drive pinmux for wifi and i2c, and configure
the tristate and pullups for the wifi pins correctly

Change-Id: I40cddea16aa66e3a286c7ccc93677d5459ae3717
Signed-off-by: Gary King <gking@nvidia.com>