summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-17mfd: tps6586x: add api to power off tps6586xNitin Kumbhar
when tps6586x is put into sleep mode, it powers off ldos. Add an api to put tps6586x in sleep mode by resetting EXITSLREQ and setting SLEEP_MODE in SUPPLYENE register. Change-Id: I80fe35d541e85014bd7b5544d212573fe35d67e5 Reviewed-on: http://git-master/r/13589 Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-17Added code to use tegra kbc driver on Ventana board.Victor Ryabukhin
This code is off by default. By default Ventana's buttons are GPIO pins. But it is possible to connect it to kbc controller (simple hardware rework needed). This code might be used as a reference code for using kbc driver. Change-Id: Iaad4b8ca4b1bf6da1674e282f3bfb86349927fbd Reviewed-on: http://git-master/r/9801 Tested-by: Victor Ryabukhin <vryabukhin@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-16tegra: whistler: Instantiate whistler touchscreenTom Cherry
Change-Id: Iba95aec378acaadf1b725affa5ceb5ce868b5358 Reviewed-on: http://git-master/r/13364 Tested-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-16max8907c regulator for whistlerTom Cherry
Change-Id: I03149a2ca8d7fd1724a450612ac37c750167d7cd Reviewed-on: http://git-master/r/11699 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Tested-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-16video: tegra: Fixed the HDMI corruption issue.Gaurav Sarode
If internal panel has different resolution compared to HDMI panel, then window attributes are calculated differently, this causes HDMI panel to show corruption. This is fixed by checking actual display resolution while computing window attributes. Change-Id: I7e70f6a8231856e5e5768fab6b0c1d9d0ea24737 Reviewed-on: http://git-master/r/13302 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-16Create defconfig for WhistlerTom Cherry
Change-Id: I3fca2f0a8d4639f5989d2fbea3b269adbde4fb9c Reviewed-on: http://git-master/r/12719 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-16Initial Whistler support in K36Tom Cherry
Change-Id: I6fce3852aa1e5063c45caa72c53d6f095db969b7 Reviewed-on: http://git-master/r/11640 Tested-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-16Regulators: Add max8907c and max8952Jin Park
Add max8907c regulator and mfd driver. Add max8952 regulator driver. Change-Id: If63b724647d887a8088da0f2deb8af91e4fe3cfa Signed-off-by: Jin Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/9902 Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-16USB: Add driver hooks for (un)?map_urb_for_dmaRobert Morell
These are useful in case your device has quirks involving what memory is and is not DMAable. Signed-off-by: Robert Morell <rmorell@nvidia.com> Change-Id: I60b48ef8efd9f7f78eaba70d708d25b231f23d82 Reviewed-on: http://git-master/r/13381 Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Janne Hellsten <jhellsten@nvidia.com>
2010-12-16ARM: tegra: dvfs: Expand CPU voltage scaling tablesAlex Frid
Added CPU DVFS tables for new tegra2 revisions/skus. Implemented table selection based on chip speedo and process corner. Change-Id: Ic2aa7ff2b487a37a0a97d4f40453ff033a562207 Reviewed-on: http://git-master/r/13397 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-16ARM: tegra: Add speedo-based process identificationAlex Frid
Change-Id: If6cd2914551331bd49b128ad3143a0d7adf0f120 Reviewed-on: http://git-master/r/13396 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-15merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Change-Id: I84ac6254ede2e88e8141e6ffd630eb753d9b1d91
2010-12-15[ARM] tegra: add early_suspend/late resume hooks to ventana panelRenuka Apte
Change-Id: I5115a7a9918e28449b585687689d362dae5057df Reviewed-on: http://git-master/r/12259 Reviewed-by: Acorn Pooley <apooley@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-15[ARM] tegra: camera init: Have error checks to fail gracefullyBharat Nihalani
Introduce error checks to detect gpio_request error if camera is not connected to Ventana board. Change-Id: Ia17e33bb68267358b4966f732778a80ba229f364 Reviewed-on: http://git-master/r/13337 Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-15[ARM] tegra_defconfig: make camera modules as built-inPritesh Raithatha
change following configs to be built-in: - GPIO_PCA953X - I2C_MUX_PCA954x Also enable the VIDEO_OV5650 config Change-Id: Id7e6fc4fba26476ab1e2c235c1840bb4111e616a Reviewed-on: http://git-master/r/12801 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-14ventana: camera: late initcall for tca6416 and pca9546Pritesh Raithatha
-add new i2c device tca6416 -request tps6586x_gpio2 and set high to enable AVDD_DSI_CSI. -request camera selection gpio and set it. -add new i2c device pca9546 Keeping the late_init_call under OV5650 config Change-Id: Ic9ea671e9afdca91d5ed94df43227e2ed4e023aa Reviewed-on: http://git-master/r/12800 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-14Tegra-KBC: Driver implementationVictor Ryabukhin
See bug 734887 Previous implementation was working with ODM. All ODM parts was moved to kernel. Change-Id: I0db4a6713f473d35a4b7f1b9357f577b815ce49e Reviewed-on: http://git-master/r/9786 Tested-by: Victor Ryabukhin <vryabukhin@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-14[misc] cancel executable permission on source filesChao Jiang
Source files should not be with executable permission. Change-Id: I70b6be4cf88fea4be9b092ca2f5dd08e40ee7cbd Reviewed-on: http://git-master/r/12081 Reviewed-by: Chao Jiang <chaoj@nvidia.com> Tested-by: Chao Jiang <chaoj@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-14[misc] convert dos newline to unix formatChao Jiang
Linux kernel source code usually use Unix newline. Change-Id: I24ffca15ebe0eb03b8af1023b552ee17e2c090e0 Reviewed-on: http://git-master/r/12676 Reviewed-by: David Schalig <dschalig@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-14Merge remote branch android-2.6.36 into android-tegra-2.6.36Erik Gilling
Change-Id: Ice30bc601132f829abd664c68ddc61cbcdb8668c
2010-12-14Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36Dima Zavin
2010-12-14[ARM] tegra: ventana: register AES deviceVarun Wadekar
Change-Id: I5badd8d4967d7a98439b6f4b5d1329b28ee0c2d4 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
2010-12-14[ARM] tegra: add aes to devices.cVarun Wadekar
Change-Id: Id13075009d785e784ae6bd0feb9b29f3fa7184df Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
2010-12-14crypto: driver for tegra AES hardwareVarun Wadekar
driver supports ecb/cbc/ansi_x9.31rng modes, 128, 192 and 256-bit key sizes and encrypt/decrypt using ssk. Change-Id: I63e03ead5b53adc5e44cf5b60f9f700dea2a2e61 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
2010-12-14ARM: tegra: hardware arbitration semaphore supportVarun Wadekar
add apis to use the hardware arbitration semaphores in order to share hardware modules between kernel drivers and AVP firmware (e.g., the BSEA (audio bitstream) engine and AES block) Change-Id: I500ef0797223bc702151ad14e0e2156f50644a2a Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
2010-12-14ARM: tegra: duplicate vde clock for aes in tegra2_clocksVarun Wadekar
Change-Id: If5ad2bfe767c7c43e83fd78ac1cb3d9c62fe785d Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
2010-12-14ARM: tegra: add VDE and arb semaphores to iomap.hVarun Wadekar
Change-Id: Ic47b80d1c7fdf04305afbea4b34d6c9e9c9304ad Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
2010-12-14USB: gadget: composite: Use separate switches for connected and config stateMike Lockwood
Also remove disconnect debouncing, which didn't actually work on some platforms Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-12-14tegra: add an api to get board infoNitin Kumbhar
Bootloader can pass "board_info" as kernel parameter to specify board's id, sku, fab, major_revision and minor_revision. Based on this parameter, an api is provided to fetch board information. Change-Id: Iacbc2f12562008908bf46ff85ea3064f31245e4c Reviewed-on: http://git-master/r/12552 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-14video: tegra: support output pin polarities settingChao Jiang
Add support for set up pin polarities in DC driver. fixes bug 758356 Change-Id: Iff7026929d73e9cf232baeda1f9f0c8bbd60b66b Reviewed-on: http://git-master/r/11674 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-13mfd: tps6586x: add VERSIONCRC for TPS658621DPritesh Raithatha
Update TPS6586x driver to handle TPS658621D Change-Id: I9f427d1e05d302a4547516bd6a2da4cc6a45dfa9 Reviewed-on: http://git-master/r/12798 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-13Merge remote branch android-2.6.36 into android-tegra-2.6.36Erik Gilling
Change-Id: Ifd4c8ddc62f0c6e213d203498891d151d9b06442
2010-12-13Merge remote branch linux-tegra-2.6.36 into android-tegraErik Gilling
Change-Id: I90cac044708a1b51ed15374b20709180ed92270a
2010-12-13video: tegra: fix HDMI audio programmingErik Gilling
This was causing the Onkyo TXNR708 to drop out audio. Change-Id: I9b9fd782d39d60c3207ea140a94d074b1338c7fa Signed-off-by: Erik Gilling <konkers@android.com>
2010-12-13PM: Wait for completion of the parent resume before resumingBenoit Goby
If the parent device is in the DPM_RESUMING state, resume might get called before the parent's resume has completed, because dpm_wait won't get called. This issue was introduced by: 3d46a3c PM: Prevent waiting forever on asynchronous resume after abort Wait for completion of the parent resume if the parent state is >= DPM_OFF or == DPM_RESUMING Change-Id: I14a4e16426f61efceaefedc7e772f53b7522b5dd Signed-off-by: Benoit Goby <benoit@android.com>
2010-12-13[ARM/tegra] Ventana: Integrate ATMEL touchscreen defconfigRobert Collins
Enable CONFIG_TOUCHSCREEN_PANJIT_I2C. Disable CONFIG_TOUCHSCREEN_ATMEL_MT_T9. Change-Id: I37bfcbe1ea42e49a8b30606e2b36057450211ef9 Reviewed-on: http://git-master/r/11493 Reviewed-by: Robert R Collins <rcollins@nvidia.com> Tested-by: Robert R Collins <rcollins@nvidia.com> Reviewed-by: Maria Gutowski <mgutowski@nvidia.com>
2010-12-13[ARM/tegra] Atmel touchscreen board supportRobert Collins
Change-Id: If8cbee93793ae150266b140fad88457cc0385aaa Reviewed-on: http://git-master/r/11492 Tested-by: Robert R Collins <rcollins@nvidia.com> Reviewed-by: Robert R Collins <rcollins@nvidia.com> Reviewed-by: Maria Gutowski <mgutowski@nvidia.com>
2010-12-13[ARM/tegra] Touchscreen : Added Atmel Max-Touch driverRobert Collins
Change-Id: I87de64e2c1a87c8e4da89489b4c5c18860abb0f6 Reviewed-on: http://git-master/r/11491 Reviewed-by: Robert R Collins <rcollins@nvidia.com> Tested-by: Robert R Collins <rcollins@nvidia.com> Reviewed-by: Maria Gutowski <mgutowski@nvidia.com>
2010-12-13net: wireless: bcm4329: Update to Version 4.218.248-17Greg Goldman
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2010-12-13[ARM] tegra: ventana: defconfig: disable battery driverVarun Wadekar
Bug 769652 Change-Id: I018265311d15901efa78c7c61fa5193d5c9d95bf Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/12707 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-13[armi]tegra: serial: Removing tx workqueue.Laxman Dewangan
Following are changes: - Removed the tx workqueue and start next trsnafer in tx dma complete callback only. - Remove the wait for tx fifo empty before starting next transfer. The uart controller req dma/gen interrupt only when trigger level reached. bug 765172 Change-Id: I1cc9c528451c7d0f733c16c8b64ca79cdab31d64 Reviewed-on: http://git-master/r/12697 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-12[ARM] tegra: ventana: Add gps support.Raj Jayaraman
Bug 696035 Change-Id: Iafb02b1d4e6a8784e85cf7a48b1c674b71b4eb15 Reviewed-on: http://git-master/r/12640 Tested-by: Rajkumar Jayaraman <rjayaraman@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-11USB: gadget: acm,rndis: IAD class, subclass & prot should match 1st ifaceJohn Michelau
Microsoft recommends that the class and subclass fields of an IAD match the same fields from the first interface in the collection that the IAD is grouping. In practice, we are also finding that the protocol fields should also match. Without this change, the default Microsoft composite driver may not group interfaces properly, which is what allows child function drivers with IAD's to load correctly. Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-12-11USB: gadget: composite: Dynamically set IAD bFirstInterfaceJohn Michelau
bFirstInterface should be set equal to bInterfaceNumber of the first interface in a grouping. It's currently being set only when a composite device is bound, and it does not get updated when functions are enabled or disabled. Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-12-11USB: gadget: android Fix gadget descriptor compliance for IAD'sJohn Michelau
USB-IF core team mandates that composite devices containing IAD's must use bDeviceClass=0xEF, bDeviceSubClass=0x02, & bDeviceProtocol=0x01 instead of the usual 0x00 in all fields. This is not a problem currently on Linux hosts, but it is a problem when connecting to Windows hosts. Without this change the default Microsoft composite driver will not group interfaces properly, which is what allows child function drivers with IAD's to load correctly. Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-12-10[ARM/tegra] ventana: Integrate Invensense MPU3050 defconfigRobert Collins
Disable CONFIG_SENSORS_AK8975 Enable CONFIG_SENSORS_MPU3050 Enable CONFIG_SENSORS_KXTF9_MPU Enable CONFIG_SENSORS_AK8975_MPU Change-Id: I05a6bf922d22b20e42e5a0df2613508aea67d277 Reviewed-on: http://git-master/r/11814 Reviewed-by: Robert R Collins <rcollins@nvidia.com> Tested-by: Robert R Collins <rcollins@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-10[ARM/tegra] Invensense MPU3050 sensor board support.Robert Collins
Change-Id: I17ec64c268bb803966810d3a181140c2b6774245 Reviewed-on: http://git-master/r/11813 Tested-by: Robert R Collins <rcollins@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-10[ARM/tegra] Integrate Accelerometer source code files.Robert Collins
Inegrate MPL libraries and the following sensors: Accelerometers: kxtf9 Compi: ak8975 Change-Id: I450b5b7ff018249a19bb23b78e722e9a355b7bd8 Reviewed-on: http://git-master/r/11803 Tested-by: Robert R Collins <rcollins@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-10merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Change-Id: I1312ec33ba8bac38dc395d7d1a2f485b13d74c14
2010-12-09usb: host: tegra: Remove clear PORT_RESUME to clear PORT_SUSPENDJay Cheng
PORT_SUSPEND bit will be cleared by the host controller when PORT_RESUME change to 0. Change-Id: I94a72f51be1cebee414f11ace89a7e8b3249278d Signed-off-by: Jay Cheng <jacheng@nvidia.com>