summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-05-22power: ab5500-btemp: enable btemp auto triggerRajagopala V
Fix and enable battery temperature auto trigger. ST-Ericsson Linux next: NA ST-Ericsson ID: 372448 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I83d57133d5bebea00b658d170139a62be8e6f79f Signed-off-by: Rajagopala V <rajagopala.v@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43250 Reviewed-by: QABUILD Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22power: ab5500-btemp: support btemp_ball node measurementRajagopala V
Support battery temperature measurement through btemp_ball node for btemp gpadc auto trigger. ST-Ericsson Linux next: NA ST-Ericsson ID: 372448 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I7e99a106a5840d21a108a0bae04e79f091bb26e1 Signed-off-by: Rajagopala V <rajagopala.v@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43249 Reviewed-by: QABUILD Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22power: ab5500-btemp: manual mode monitoring as platform dataRajagopala V
Move battery temperature manual mode monitoring selection to platform data. ST-Ericsson Linux next: NA ST-Ericsson ID: 372448 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I9224e5cc8bed77be6a10344d32e480a7717a1d22 Signed-off-by: Rajagopala V <rajagopala.v@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43248 Reviewed-by: QABUILD Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22net: add ipv6 multiple tables supportSean Sandoval
ST-Ericsson Linux next: NA ST-Ericsson ID: 410101 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ic8c6e6aedc1c30fb96bd468b0fbdb395328c841a Signed-off-by: Sean Sandoval <sean.xx.sandoval@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45222 Reviewed-by: Markus GRAPE <markus.grape@stericsson.com> Tested-by: Markus GRAPE <markus.grape@stericsson.com> Reviewed-by: Hakan GARDRUP <hakan.gardrup@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22drivers:watchdog:ux500: Disable when timeout == 0Per Fransson
Setting the watchdog timeout to 0 makes any attempt to open the dev node fail. This makes it possible to disable the watchdog functionality on the kernel commandline with "ux500_wdt.timeout=0", ST-Ericsson ID: 365851 ST-Ericsson Linux next:NA ST-Ericsson FOSS-OUT ID:Trivial Change-Id: I917258c9310ea2267c877c3c13d00dc08c30a147 Signed-off-by: Per Fransson <per.xx.fransson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45299 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22config: android: sound: Now CONFIG_STM_MSP_SPI is enabled by defaultPhilippe Langlais
Fix for audio doesn't work in IK 3.3 Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
2012-05-22config: sound: Fix for audio doesn't work in IK 3.3ramesh.chandrasekaran
Enable CONFIG_STM_MSP_SPI kernel config which initializes MSPs and audio codecs. Signed-off-by: Ramesh Chandrasekaran <ramesh.chandrasekaran@stericsson.com>
2012-05-22snowball: android: automatic creation of frame buffer deviceMathieu J. Poirier
This is normally done by HDMIServices but the daemon is not running in the linaro-android environment, hence enabling by default. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-05-22config: Add u8500 Android default configPhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
2012-05-22serial/amba-pl011: Return early in deadlock work-around if there is no ttyKalle 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-05-22config: Enable built-in USB_GADGET_MUSB_HDRC to get USB OTG working on U8500Philippe Langlais
Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22config: Align u8500_defconfig with STE internal defconfigPhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22mfd: ab8500-denc: Changes for porting on 3.3Philippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
2012-05-22Add support for the 9100 Li-ION battery and adjust the bkup battery charger ↵Gregory Hermant
parameters Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
2012-05-22smsc911x: Enable fsmc clock and vape regulatorPhilippe Langlais
Now fsmc clock is disabled at boot and vape is not maintained, so to have the ethernet driver working on Snowball we have to enable them. So add fsmc clock management if any and use the not use vddvario regulator mapped on vape for Snowball board. Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22ux500: disable Old ABI compatibility support (OABI_COMPAT)Shreshtha Kumar Sahu
This patch disables support for legacy ABI binaries. Only new ARM ABI i.e. EABI compiled user space is supported. If legacy ABI binary is executed, results will be unpredictable. This is done because race condition is seen in swap-out code on SMP in following kernel panic dump - <1>[35225.247131] Unable to handle kernel paging request at virtual address afd0c638 <1>[35225.247131] pgd = e0020000 <1>[35225.247161] [afd0c638] *pgd=2005a031, *pte=2331971d, *ppte=00000000 <0>[35225.247253] Internal error: Oops: 17 [#1] PREEMPT SMP <6>[35225.247283] dbx500_dump notified of crash <4>[35225.249298] PC is at vector_swi+0x28/0x88 <4>[35225.249328] LR is at 0xafd0c63c <4>[35225.249328] pc : [<c0293828>] lr : [<afd0c63c>] psr: 60000093 <4>[35225.249359] sp : e013bfb0 ip : 82d08528 fp : 82d0731c <4>[35225.249359] r10: 00000000 r9 : 47ac2738 r8 : 20000010 <4>[35225.249389] r7 : 000000a8 r6 : 00000000 r5 : 00000010 r4 : 001341d0 <4>[35225.249389] r3 : 00000001 r2 : ffffffff r1 : 00000008 r0 : 0013421c <4>[35225.249420] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user <4>[35225.249420] Control: 10c57c7d Table: 2002004a DAC: 00000015 <4>[35225.249450] <4>[35225.249450] PC: 0xc02937a8: <4>[35225.249450] 37a8 e59d1040 e5bde03c e16ff001 f57ff01f e95d7fff e1a00000 e28dd00c e1b0f00e <4>[35225.249511] 37c8 eb00f275 e1a096ad e1a09689 e5991000 e3a08001 e3110c01 0affffec e1a0100d <4>[35225.249542] 37e8 e3a00001 eb0006f0 eaffffe8 e320f000 e320f000 e320f000 e24dd048 e88d1fff <4>[35225.249603] 3808 e28d803c e9486000 e14f8000 e58de03c e58d8040 e58d0044 e3180020 13a0a000 <4>[35225.249664] 3828 051ea004 e59fc0ac e59cc000 ee01cf10 f1080080 e1a096ad e1a09689 e28f809c <4>[35225.249694] 3848 e599c000 e3daa4ff 122a7609 159f8088 e92d0030 e31c0c01 1a000008 e3570e17 <4>[35225.249755] 3868 e24fee13 3798f107 e28d1008 e3a08000 e357080f e2270000 2a0010fc ea0173f0 <4>[35225.249786] 3888 e1a02007 e28d1008 e3a00000 eb0006c6 e28fe014 e1a07000 e28d1008 e3570e17 <4>[35225.249847] <4>[35225.249847] SP: 0xe013bf30: <4>[35225.249847] bf30 00000000 00000102 c0978064 c0322794 e013a000 00000001 00000024 c09d9cc0 <4>[35225.249908] bf50 00000000 ffffffff e013bf9c 00000000 000000a8 c02931ec 0013421c 00000008 <4>[35225.249938] bf70 ffffffff 00000001 001341d0 00000010 00000000 000000a8 20000010 47ac2738 <4>[35225.249969] bf90 00000000 82d0731c 82d08528 e013bfb0 afd0c63c c0293828 60000093 ffffffff <4>[35225.250030] bfb0 0013421c 00000008 ffffffff 00000001 001341d0 00000010 00000000 000000a8 <4>[35225.250091] bfd0 00000000 47ac2738 00000000 82d0731c 82d08528 47ac2050 82d0340b afd0c63c <4>[35225.250122] bff0 20000010 0013421c 40990310 d0610c09 00000000 00000001 bf000000 e00ba180 <4>[35225.250183] c010 c0999f28 00000000 00000015 c1639940 e00ba180 e013c000 c0ab67bc e1fb9720 <0>[35225.250244] Stack: (0xe013bfb0 to 0xe013c000) <0>[35225.250274] bfa0: 0013421c 00000008 ffffffff 00000001 <0>[35225.250274] bfc0: 001341d0 00000010 00000000 000000a8 00000000 47ac2738 00000000 82d0731c <0>[35225.250305] bfe0: 82d08528 47ac2050 82d0340b afd0c63c 20000010 0013421c 40990310 d0610c09 <0>[35225.250335] Code: e58d8040 e58d0044 e3180020 13a0a000 (051ea004) <2>[35225.250366] CPU0: stopping <4>[35225.250396] [<c029a84c>] (unwind_backtrace+0x0/0xf0) from [<c0776c88>] (dump_stack+0x10/0x24) <4>[35225.250427] [<c0776c88>] (dump_stack+0x10/0x24) from [<c0292304>] (do_IPI+0xc8/0x164) <4>[35225.250457] [<c0292304>] (do_IPI+0xc8/0x164) from [<c029324c>] (__irq_svc+0x4c/0xe4) <4>[35225.250457] Exception stack(0xc0977ed8 to 0xc0977f20) <4>[35225.250488] 7ec0: c09deb84 00000000 <4>[35225.250488] 7ee0: 00000000 c09deb48 00000001 00000001 6b99a329 c09deb48 159c928a 00000006 <4>[35225.250518] 7f00: 6b9c6db8 000017c4 00000002 c0977f20 c02a3774 c02a3790 60000113 ffffffff <4>[35225.250549] [<c029324c>] (__irq_svc+0x4c/0xe4) from [<c02a3790>] (enter_sleep+0x6e8/0x728) <4>[35225.250579] [<c02a3790>] (enter_sleep+0x6e8/0x728) from [<c05d88f0>] (cpuidle_idle_call+0xb0/0x190) <4>[35225.250610] [<c05d88f0>] (cpuidle_idle_call+0xb0/0x190) from [<c0294c98>] (cpu_idle+0x94/0xf0) <4>[35225.250610] [<c0294c98>] (cpu_idle+0x94/0xf0) from [<c0008bd4>] (start_kernel+0x310/0x380) <4>[35225.250640] unwind: Unknown symbol address c0008bd4 <4>[35225.250640] unwind: Index not found c0008bd4 <4>[35225.251861] ---[ end trace 58829f802d64ca85 ]--- <0>[35225.251861] Kernel panic - not syncing: Fatal exception <4>[35225.251892] [<c029a84c>] (unwind_backtrace+0x0/0xf0) from [<c0776c88>] (dump_stack+0x10/0x24) <4>[35225.251922] [<c0776c88>] (dump_stack+0x10/0x24) from [<c0776d08>] (panic+0x6c/0x1ac) <4>[35225.251953] [<c0776d08>] (panic+0x6c/0x1ac) from [<c02979d4>] (die+0x1b0/0x1f8) <4>[35225.251983] [<c02979d4>] (die+0x1b0/0x1f8) from [<c029da48>] (__do_kernel_fault+0x64/0x84) <4>[35225.251983] [<c029da48>] (__do_kernel_fault+0x64/0x84) from [<c029dd10>] (do_page_fault+0x2a8/0x2cc) <4>[35225.252014] [<c029dd10>] (do_page_fault+0x2a8/0x2cc) from [<c02924e8>] (do_DataAbort+0x34/0x94) <4>[35225.252044] [<c02924e8>] (do_DataAbort+0x34/0x94) from [<c02931ec>] (__dabt_svc+0x4c/0x60) <4>[35225.252044] Exception stack(0xe013bf68 to 0xe013bfb0) <4>[35225.252044] bf60: 0013421c 00000008 ffffffff 00000001 001341d0 00000010 <4>[35225.252075] bf80: 00000000 000000a8 20000010 47ac2738 00000000 82d0731c 82d08528 e013bfb0 <4>[35225.252075] bfa0: afd0c63c c0293828 60000093 ffffffff <4>[35225.252105] [<c02931ec>] (__dabt_svc+0x4c/0x60) from [<c0293828>] (vector_swi+0x28/0x88) Solution is proposed based on discussion in following link - http://lists.infradead.org/pipermail/linux-arm-kernel/2011-January/038059.html ST-Ericsson ID: 408168 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ief923b60fd4cb93ce96af1a6af87ade691ec6770 Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/44267 Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22power: ab5500-fg: optimize delays during probeRajagopala V
Optimize delays during fg psy registration by powering up fuel gauge before registration and scheduling periodic workqueues at 250msec so that enough samples are available for conversion. ST-Ericsson Linux next: NA ST-Ericsson ID: 373975 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Iff0ec497a90399d0dcc514df24b12d594eb06459 Signed-off-by: Rajagopala V <rajagopala.v@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/44315 Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22u8500_defconfig: Update the watchdog config nameVirupax Sadashivpetimath
ST-Ericsson Linux next: NA ST-Ericsson ID: 316540 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I1abe08f4b5ab5b5911583568ff935b78ae12b763 Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42703 Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22watchdog: Add 5500 supportVirupax Sadashivpetimath
ST-Ericsson Linux next: NA ST-Ericsson ID: 316540 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I55bf6d145fe3cf4a1fc8de8c45266832c9769a54 Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42473 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22watchdog: Driver renameVirupax Sadashivpetimath
Rename the u8500 watchdog driver as ux500 watchdog driver. This is done inorder to add 5500 support. ST-Ericsson Linux next: NA ST-Ericsson ID: 316540 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Iae9ec02191620da09780881169045b58bdc0230a Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42935 Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22DocBook: ASoC: Remove old i2s-layerPhilippe Langlais
The old multi-client i2s driver-layer located in drivers/misc/i2s is removed and the MSP-operation for i2s is moved into the file ux500_msp_i2s.c in the Ux500 ASoC-folder. Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com>
2012-05-22power:ab8500_charger autopower settingsPeter Enderborg
Change the power loss handling so we do a reboot instead of poweroff when charger is connected. ST-Ericsson Linux next: NA ST-Ericsson ID: 373445 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Idfafba3f359829b87a0725d89cf86a72652dc1be Signed-off-by: pender01 <peter.enderborg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40696 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Johan BJORNSTEDT <johan.bjornstedt@stericsson.com>
2012-05-22drivers/leds/leds-lm3530.c: initialize arrayAnil Kumar
Declare array with initializer to avoid using uninitialized values ST-Ericsson ID: 401383 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I908280e8a6a73c42f0dc56bb65fefeadc3418bc6 Signed-off-by: Anil Kumar <anil.kumar@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/41378 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22ab5500_bm: Add interface to reinit FG algorithmArun Murthy
A function has been added to enable reinitialisation of the fuel gauge algorithm. This can be used to to reinitialise with a different battery voltage at start-up, for verification reasons. ST-Ericsson Linux next: NA ST-Ericsson ID: 357480 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I80d6e770a57affbe7f3af0fdf82052ca1b7fe8b4 Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40903 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22drivers/leds/leds-lp5521.c: assign valid valueAnil Kumar
Assign a valid value to variable ret to prevent returning it uninitialized ST-Ericsson ID: 401383 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ib1759f8483ecaf898f642118dfb82ce56cfeb45b Signed-off-by: Anil Kumar <anil.kumar@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/41588 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22u8500_defconfig: set CONFIG_LSM303DLHC to yNaga Radhesh
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> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40028 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22Documentation:add kernel-doc for keypad and sensorNaga Radhesh
Add kernel docs for keypad and sensors ST-Ericsson ID: 354484 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id:I8086df2c21e1716074c641296c864e4264e4a18e Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/41229 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22power: ab8500_bm: Estimate capacity in maintenanceJohan Bjornstedt
Battery capacity will be estimated when the charging algorithm reports that we're in maintenance state. Previously we always reported "100%" in maintenance. ST-Ericsson ID: 398336 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I931b570a26733ced091d7f3cfb1f6ad9d9a5f8f6 Signed-off-by: Johan Bjornstedt <johan.bjornstedt@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/39748 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22misc: 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> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/39196 Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
2012-05-22power: ab5500-fg: battery capacity based on fuel gaugeArun Murthy
On enabling reset_on_read in fuel gauge register with offset 0x0C, the accumulator should be reset after reading. But it doesnt due to the hardware issue reported in ER374581. This patch adds a software workaround for the above mentione issue. ST-Ericsson Linux next: NA ST-Ericsson ID: 375503 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I92e06e3429faa2b58318015c6d93647d67c31160 Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40341 Reviewed-by: Rajagopala VENKATARAVANAPPA X <rajagopala.v@stericsson.com> Reviewed-by: QABUILD Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22power: re-order in makefileArun Murthy
Change the oder in which linking happens, the expected result is ab5500_charger should be probed first followed by ab5500_btemp and ab5500_fg. ST-Ericsson Linux next: NA ST-Ericsson ID: 375503 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I56456ea36f23d5c461c1913e942afa6cd8cdb757 Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40450 Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22mach-ux500: update the battery capacityArun Murthy
ST-Ericsson Linux next: NA ST-Ericsson ID: 375503 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I89f912270ab7852aa03c944b6ec7794fdb2d03b0 Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40449 Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22power: ab5500-btemp: optimize the delay in battery identificationArun Murthy
In battery identification, a current source is to be enabled before reading the batctrl/bdata pin. After enabling the current some delay is required so as to be able to read the bdata/batctrl pin. ST-Ericsson Linux next: NA ST-Ericsson ID: 364300 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ib090bd617fc8363ea63379c731189859553d7627 Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40454 Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22config : misc : stm driver not functionalPhilippe Langlais
configure stm mode to software to fix the broken driver Signed-off-by: Bibek Basu <bibek.basu@stericsson.com>
2012-05-22ARM: Set bit 22 in the PL310 (cache controller) AuxCtlr registerCatalin Marinas
Clearing bit 22 in the PL310 Auxiliary Control register (shared attribute override enable) has the side effect of transforming Normal Shared Non-cacheable reads into Cacheable no-allocate reads. Coherent DMA buffers in Linux always have a Cacheable alias via the kernel linear mapping and the processor can speculatively load cache lines into the PL310 controller. With bit 22 cleared, Non-cacheable reads would unexpectedly hit such cache lines leading to buffer corruption. This patch ensures that bit 22 is set in the l2x0_init() function if PL310 and not rely on the platform code to specify it. It also modifies the 'aux' variable only if the actual register is written so that the final printk displays the real hardware value. ST-Ericsson ID: 281924 ST-Ericsson Linux next: Already in patch tracker Change-Id: I9175c4ca935db4072d944202741e744f55927092 Signed-off-by: srinidhi kasagar <srinidhi.kasagar@stericsson.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21841 Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40015 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22rtc: ab: only enable alarm in set_alarm if requestedRabin Vincent
We should not enable the alarm if alarm->enabled is false. ST-Ericsson ID: 375473 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I8a73bc3752fbdbd19783a426a76213d35b48a870 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/39113 Reviewed-by: QATEST Reviewed-by: QABUILD
2012-05-22ux500: pl011: remove hardcoding of uart instanceShreshtha Kumar Sahu
amba-pl011 mechanism detects the hardware register deadlock situation, and triggers a workaround tasklet. Tasklet implementation should execute workaround for the instance of the uart on which deadlock is detected. This patch provides the uart line number on whcich the deadlock is detected to the tasklet. ST-Ericsson ID: 355971 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie8fbea42dc20cae1b604b555815935bcb5a70241 Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/38415 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22leds: Pull the HWEN gpio low when brightness is 0Avinash A
When the brightness is zero the HWEN gpio line should be pulled low in order to achieve lowest power consumption on LM3530 ST-Ericsson ID: 373161 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I5fc0ad22022a9fcfc66683c59a2df27359c90371 Signed-off-by: Avinash A <Avinash.a@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37248 Reviewed-by: Avinash A <avinash.a@stericsson.com> Tested-by: Avinash A <avinash.a@stericsson.com> Reviewed-by: QABUILD Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22power:ab5500-fg: Fix gpadc auto triggerRajagopala V
Re-register gpadc auto trigger for battery voltage monitoring in gpadc auto trigger callback. ST-Ericsson Linux next: NA ST-Ericsson ID: 372448 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ida9811bbd710000749484e2d1e409fd76c540042 Signed-off-by: Rajagopala V <rajagopala.v@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37270 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22power:ab5500-fg: Move battery threshold to plat dataRajagopala V
Move battery low and over battery threshold to platform data. ST-Ericsson Linux next: NA ST-Ericsson ID: 372448 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I63127e9753a7ec946afc3261af4c1dad6523d7ad Signed-off-by: Rajagopala V <rajagopala.v@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37269 Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22power: ab8500_bm: Use FG resistance value in calculationJohan Bjornstedt
The fuel gauge resistor value was only used for the instant current calculation. This patch will use this value in the average calculation. The unit for the FG resistance is now in 0.1mOhm to increase precision ST-Ericsson ID: 370883 ST-Ericsson Linux next: Not tested ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I62af322addd8af7c049cfaccd449a0349faa7946 Signed-off-by: Johan Bjornstedt <johan.bjornstedt@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37524 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Karl KOMIEROWSKI <karl.komierowski@stericsson.com>
2012-05-22drivers: serial: amba-pl011: Introduce runtime pmJonas Aaberg
ST-Ericsson Linux next: - ST-Ericsson ID: 373766 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie2a7719ca602abf3fbb3e4cef05adc4f7ab07035 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37021 Reviewed-by: QABUILD Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
2012-05-22mfd: ab8500: sysctrl: export read/write symbolsJonas Aaberg
Export ab8500_sysctrl_read and write symobols. They will be used by LTP test cases. ST-Ericsson Linux next: - ST-Ericsson ID: 370799 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Id4b8950b75f4345c67669fab8a5ee850340065b3 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37390 Reviewed-by: QABUILD Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
2012-05-22u5500:hwmon: Fix ab5500 die temp auto triggerRajagopala V
GPADC voltage decreases as temperature increases. So pass min and max values accordingly to monitor ab5500 internal die temperature. ST-Ericsson Linux next: NA ST-Ericsson ID: 372448 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I9743bcbeb3f27baaba9b49867b656135c2d2d70e Signed-off-by: Rajagopala V <rajagopala.v@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37297 Reviewed-by: QABUILD Reviewed-by: QATOOLS Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com> Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com>
2012-05-22u5500:gpadc: Fix ab5500 internal temp conversion formulaRajagopala V
Fix AB5500 internal die temperature conversion formula and provide 8bit min/max lavel to auto trigger. ST-Ericsson Linux next: NA ST-Ericsson ID: 372448 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I6bb2d0afb657582709f95f1f88466e6c061c1117 Signed-off-by: Rajagopala V <rajagopala.v@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37296 Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com> Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com>
2012-05-22ab5500: enable GPADC-0 and provide sysfs interfceShreshtha Kumar Sahu
This patch enables GPADC-0 to convert from voltage range 0 to 1.8v and also adds sysfs interface for reading gpadc ch-0. "/sys/devices/platform/ab5500-core.0/ab5500-adc.0/adc0volt" ST-Ericsson ID: 370066 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ic23caa22ff4e10d3dbb151e10eb4625ec5d7078a Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36216 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2012-05-22bm: ux500: Coding style fixesPhilippe Langlais
Fix the most obvious violations of the kernel coding style Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
2012-05-22power: ab8500_bm: Configuration of battok levelspender01
Added board config parameters for battok levels and applying them in startup. ST-Ericsson Linux next: NA ST-Ericsson ID: 358904 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ic377b86e12d4e8c6b2199a2f4c82b62643ad7ece Signed-off-by: pender01 <peter.enderborg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35821 Reviewed-by: QATOOLS Reviewed-by: Johan BJORNSTEDT <johan.bjornstedt@stericsson.com> Reviewed-by: QABUILD
2012-05-22hwmon: Update sensor attribute indexRajagopala V
Update internal die temperature sensor attribute index to enable sensor monitoring. ST-Ericsson Linux next: NA ST-Ericsson ID: 339643 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Id8148bb4ebf97b4df432d873871fb1d2fed9afa1 Signed-off-by: Rajagopala V <rajagopala.v@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36759 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22tty: serial: amba-pl011: Release clocks and regulators after probeJonas Aaberg
These will be enabled once in use. ST-Ericsson Linux next: - ST-Ericsson ID: 367599 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I1cfe9b00262d78a3326ca01af85268e918170735 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35397 Reviewed-by: QABUILD