summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-02-17serial/amba-pl011: Return early in deadlock work-around if there is no ttystable-android-ux500-3.1-mali-v9Kalle Vahlman
The first amba port does not always have an attached tty, which will result in a crash if the work-around is activated. This seems to be the case for example on Snowball which has no modem hw, which seems to be the main use-case for this work-around.
2012-02-15Merge branch 'stable-android-ux500-3.1-mali-v9' of ↵Mathieu J. Poirier
git://igloocommunity.org/git/kernel/igloo-kernel into igloocommunity.org#git/kernel/igloo-kernel/stable-android-ux500-3.1-mali-v9
2012-02-15android: Extra configs to get google apps workingVishal Bhoj
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> Committer: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-02-15android: defconfig: Enable LSM303DLH? accelerator sensorPhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-02-15mach-ux500: update Chipid by reading 0x0F registerNaga RADHESH Y
update ChipId by reading 0x0F register,this chipid is used in megnetometer driver to differentiate b/w lsm303dlh and lsm303dlhc device. ST-Ericsson ID: - ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
2012-02-15lps001wp_prs:free prs struct after regulator freeNaga RADHESH Y
free the prs structure after freeing regulator ST-Ericsson ID: 401383 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id:Iba5a833e427a83ad3e7201499f13e120545a307d Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
2012-02-15ANDROID:input:lps001wp_prs:add regulator,sysfsNaga RADHESH Y
add regulator,sysfs paths and add error handling in all error cases. ST-Ericsson ID: 371766 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id:I9efe9ab97b1a7d051d26e7a803aa7cecccc4d6f4 Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
2012-02-14lps001wp_prs:add compilation switch for work queueNaga RADHESH Y
add compilation switch for work queue,input subsystem. ST-Ericsson ID: 371766 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id:I0cb3ea3e4f9ea64de427a2b0784032a4eab55580 Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
2012-02-14Android:lps001wp: add early suspend,late resumeNaga RADHESH Y
add early suspend,late resume functionlity for pressure sensor. ST-Ericsson ID: 371766 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id:If517adc3bbef3d203a9be2af946c3264cb35b265 Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
2012-02-14mach-ux500:Configure Proximity GPIO based on UIBNaga RADHESH Y
Move proximity platform data from board-mop500 to board-mop500-uib and configure the GPIO pin depending on UIB ST-Ericsson ID: 374970 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id:Ie61cc1f24ec1c80cb2659eacd7bff6f10e9ccbea Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
2012-02-14ARM: ux500: gpio-keys: Remove dynamic handling of pinsJonas Aaberg
Dynamic handling of pins does not work properly if done manually from suspend/resume hooks, so let's remove it for the time beeing. ST-Ericsson Linux next: - ST-Ericsson ID: 369952 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I3b130256b19af7feae9db0e4a1bd72c7856bb88c Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
2012-02-14ARM: ux500: Remove outdated sensors1p driverJonas Aaberg
Replaced by gpio-keyboard implementation. ST-Ericsson Linux next: - ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ic6c8ea1d83c4b3d8ad6bbd9aa06ff30213cab6be Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
2012-02-14ARM: ux500: sensors: Update with gpio handlingJonas Aaberg
Update the gpio-keyboard use of hal and proximity sensors to use the ux500 pin framework. ST-Ericsson Linux next: - ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I409d9734c3995d6cfdfff8c7196624a4f89b3e2d Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
2012-02-14misc: bh1780gli: Fix some obvious short commingsJonas Aaberg
Unbalanced regulator handling on error during probe and msleep on times less than 10 ms. ST-Ericsson Linux next: - ST-Ericsson ID: 370799 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ic1080bf38a2f1e1922ec015b305b5a2de3b30f0e Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
2012-02-14u8500_defconfig: set CONFIG_LSM303DLHC to yNaga RADHESH Y
Add LSM303DLHC in u8500 defconfig ST-Ericsson ID: 374970 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id:Ie6cf0571dd7532ba4490cd821ad98692a3517710 Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
2012-02-14lsm303dlh_m: Check for DLHC device to invert y,zNaga RADHESH Y
Invert y,z co-ordinates as specified in data sheet if device is LSM303DLHC ST-Ericsson ID: 374970 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id:I45e706e3f783dd58e02f23d9579f3422ef7fc984 Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
2012-02-14hwmon: add mutex unlock in error casesNaga RADHESH Y
In some error cases mutexunlock is missed, so add mutex unlock in error cases. ST-Ericsson ID: 371373 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
2012-02-14mach-ux500: Invert X,Y co-ordinates of sensorsNaga RADHESH Y
Now display is inverted to position keypad below display for all UIB's,So x,y co-ordinates of sensor need to be inverted to align with display. ST-Ericsson ID: 368097 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id:Ia16da65351da3beac541cfe30ddae7092445f804 Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
2012-02-14mach-ux500:Add platform data of sensors for R3UIBNaga RADHESH Y
Add platform data for R3 UIB for sensors, change platform data for R2UIB for gyroscope ST-Ericsson ID: 374970 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id:I3a9d89841d5a746d444ec1c40491787ffef764b7 Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
2012-02-14drivers: hwmon: l3g4200d: Provide gyroscope temperature via sysfsAnil Kumar
Add sysfs interface to read gyroscope temperature ST-Ericsson ID: 371726 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I8fe2fa836c92f927cb70742a06a8b87b0beaec2f Signed-off-by: Anil Kumar <anil.kumar@stericsson.com>
2012-02-14hwmon:(lsm303dlh)enable X, Y and Z axis by defaultNaga RADHESH Y
Enable x,y and z axis bits of accelerometer, to read data from x,y and z axis. ST-Ericsson ID: 369951 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id:Ie8cdf30c210cd90520914b051c342050a80bf350 Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
2012-02-14hwmon: lsm303dlhc_a: use regulator_set_optimum_mode()Rabin Vincent
ST-Ericsson ID: 366715 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I3fd6e8025e658110505e77c724f6bf9b00f6ce9c Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
2012-02-14hwmon: lsm303dlh: use regulator_set_optimum_mode()Rabin Vincent
Inform the regulator framework about the current consumption, to be used with DRMS. Note that the current consumption in sleep modes is much lower, but we do not inform the regulator framework about those for now. ST-Ericsson ID: 366715 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I52b9162eead0091595b731e34ebca3bfc4d3d9be Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
2012-02-14input: gpio-keys: Disable hw on suspendJonas Aaberg
Disable hw if active when suspending if the hw can't wake the system from suspend. ST-Ericsson Linux next: - ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ieaf2a2022b23782bc19afa152dc5e3fa5a0024ad Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32721 Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
2012-02-14lsm303dlh: add support for Android early suspendPhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-02-01snowball: android: kernel config for ADB over user USBMathieu J. Poirier
This is fixing bug: https://bugs.launchpad.net/bugs/906204 Implemented and tested by Lee Jones <lee.jones@linaro.org>. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-01-31usb: musb: TXMAXP,TXCSR setting in Host modesupriya karanth
The TXMAXP and TXCSR registers were not set correctly for the BULK OUT endpoints causing issues in Full speed in Host mode. ST-Ericsson Linux next: NA ST-Ericsson ID: 367049 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: If5f3552235d8909adef4777f08d612df432d8709 Signed-off-by: supriya karanth <supriya.karanth@stericsson.com>
2012-01-31ux500: usb:handle connection of microA to A cableThirupathi Chippakurthy
Connect Micro-A to phone first,Then connect device usb session should be valid to detect the connected device,Until host cable (micro-A) removal. MUSB session bit is cleared when usb host cable (Micro-A) removal from the phone,Not in case of only device disconnection from the usb host cable. ST-Ericsson ID: 364426 ST-Ericsson FOSS-OUT ID: NA ST-Ericsson Linux next: NA Signed-off-by: Thirupathi <thirupathi.chippakurthy@stericsson.com>
2012-01-31musb: host: Wait for TXPKTRDY to clear in hostThirupathi Chippakurthy
MUSB_TXCSR_TXPKTRDY will not get cleared if the data is not on the bus. So, need to wait for it to clear in the DMA completion callback.As per musb datasheet, generally mode 1 needs to be used for data length greater than or equal to max packet size. Bus reset happening due to scsi timeout,since in this case should not return continue for next transfers. ST-Ericsson ID:ER 365087 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: NA Signed-off-by: Thirupathi <thirupathi.chippakurthy@stericsson.com>
2012-01-31u8500:USB:Handle multiple Link status fn callsSakethram Bommisetti
During boot time, multiple calls are made to Link status function by otg_set_host and otg_set_peripheral. This in turn calls clock and regulator enabling multiple times which creates problem with the reference count of regulators. Hence this blocks the CPU idle since the regulators are not released properly due to multiple acquire. So, Link status function calls are removed from otg_set_host and otg_set_peripheral which are not needed. The Link status call during boot shall be handled by the ab8500_usb_boot_detect function. ST-Ericsson ID: 373105 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I2ead5b546273be822b3e9e9f588a1954b3fa10f2 Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
2012-01-20snowball: android: Fixing access right for BTKejun ZHOU
Signed-off-by: Kejun ZHOU <kejun.zhou@linaro.org> Committer: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-01-20snowball: android: Fixing various issue with BT on SnowballKejun ZHOU
- Fixing kernel configs. - Adding wakelock management Signed-off-by: Kejun ZHOU <kejun.zhou@linaro.org> Committer: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-01-12snowball: enabling configs for thermal frameworkandroid-release-2012-01Mathieu J. Poirier
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-01-10snowball: gator: Fixing profiling config for gatorMathieu J. Poirier
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-01-03snowball: android: Adding frame buffer handle.Mathieu J. Poirier
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-01-03snowball: android: adding mali driver to list of GPUs to compile.Mathieu J. Poirier
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-01-03snowball: android: Add "CONFIG_MALI_DRM" configVishal Bhoj
This config will help to selectively enable/disable drm support in the kernel Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2012-01-03snowball: android: Switching off DRM for mali V9Mathieu J. Poirier
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-01-03snowball: android: Upversioning maili driver to V9Mathieu J. Poirier
This originates from: is12dac198c352df28890265d237f389f5ddda8c35 Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-01-03snowball: android: Adding kernel config for snowballMathieu J. Poirier
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-01-03Merge commit 'linux-linaro-3.1-2011.11-0-android-1' into ↵Mathieu J. Poirier
igloocommunity#igloo-kernel/stable-android-ux500-3.1 Conflicts: arch/arm/common/Makefile arch/arm/include/asm/outercache.h arch/arm/mach-ux500/board-mop500.c arch/arm/mm/mmu.c drivers/cpufreq/db8500-cpufreq.c drivers/gpu/Makefile drivers/misc/Kconfig drivers/misc/Makefile drivers/mmc/core/core.c drivers/usb/gadget/f_rndis.c drivers/video/Kconfig include/linux/mmc/host.h include/net/bluetooth/hci.h include/net/bluetooth/hci_core.h include/net/bluetooth/sco.h kernel/printk.c net/bluetooth/hci_conn.c net/bluetooth/hci_event.c net/bluetooth/l2cap_core.c net/bluetooth/mgmt.c net/bluetooth/sco.c
2011-12-21ux500: Change to the u8500 wdtRobert MARKLUND
This will change to the u8500 wdt that uses a watchdog in the prcmu to detect hangs on the arm side. This is not enabled by default and will need a userspace deamon that enables it, configure it and kicks it from time to time. Change-Id: Ia4dc1b0d114797cd44e874f432d94a91669d28c8 Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-12-21ux500: USB : Save/Restore musb registers correctlymaheswarudu
In suspended state the registers are not saved and restored properly hence back ported. (http://git.kernel.org/?p=linux/kernel/git/gregkh/usb.git; a=commit;h=e4e5b136eb6f2d3aa10dca108a1b787dc92d67df) Also the code is aligned as per the latest linux-next. ST-Ericsson ID: 366298, 368370 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: NA Change-Id: I97ae0b055f6f1300a11190e1083349a6583f0377 Signed-off-by: maheswarudu <v.maheswarudu@stericsson.com>
2011-12-21ux500: usb: restore INDEX register in resume pathThirupathi Chippakurthy
Restoring the missing INDEX register value in ux500_restore_context(). without this Hub enumeration is inconsistent, if we do multiple connect/disconnect. ST-Ericsson ID: 364906 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: NA Signed-off-by: Thirupathi <thirupathi.chippakurthy@stericsson.com>
2011-12-20Revert "mach-ux500: musb: Now musb is always in OTG mode"Philippe Langlais
This reverts commit ac28162fc038d50e64ff2e81d64046be22533e0f.
2011-12-20Revert "usb: musb: drop a gigantic amount of ifdeferry"Philippe Langlais
This reverts commit 622859634a663c5e55d0e2a2cdbb55ac058d97b3. Conflicts: drivers/usb/musb/musb_core.c
2011-12-08Merge branches 'mach-plat-3.1' and 'cg2900-3.1' into stable-linux-ux500-3.1linux-mainline-2011-12Philippe Langlais
2011-12-08cg2900: Change the PMU_EN gpio for snowballRobert MARKLUND
Snowball have the GPIO_EN on GPIO161 diffrent from u8500. Change-Id: I6dddb1e3d7b7b80ce046fbd92a7852a3d0a6c59d Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-12-08mach-ux500: Fix snowball pins for buttonsRobert MARKLUND
Fix snowball pins for buttons also do the declaration the same way all the other decalrations are done. Moved the u9500 special GPIO swich to before board variant specific GPIO Change-Id: I9b25667d3ece4a49706b5c43c7cc7df5df3930e1 Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-12-06Merge branch 'other' into linux-stable-ux500-3.1Philippe Langlais