summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-19ARM: U9500: HSI registers update to DB8500 V2 specPawel Szyszuk
ST-Ericsson Linux next: NA ST-Ericsson ID: 365681 ST-Ericsson FOSS-OUT ID: NA Change-Id: I396c2a4d44ded438308e358aa0ad976a397d4dd6 Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33224 Reviewed-by: Christopher BLAIR <chris.blair@stericsson.com> Reviewed-by: Derek MORTON <derek.morton@stericsson.com> Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
2012-03-19ARM: U9500: HSI RX PIPELINE buffer flushPawel Szyszuk
ST-Ericsson Linux next: NA ST-Ericsson ID: 365683 ST-Ericsson FOSS-OUT ID: NA Change-Id: I25b92d815447d2746ba25a9db132b242b3da9d9c Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33223 Reviewed-by: Christopher BLAIR <chris.blair@stericsson.com> Reviewed-by: Derek MORTON <derek.morton@stericsson.com> Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
2012-03-19ARM: U9500: HSI core clocks initializationPawel Szyszuk
ST-Ericsson Linux next: NA ST-Ericsson ID: 343481 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ic59f08e1bb5d858344d95b5d34ae8a5d85d9aa1d Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32518 Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
2012-03-19ARM: U8500: ST-E HSI: RX FRAMEBURSTCNT set to 0xFFPawel Szyszuk
HSIR FRAMEBURSTCNT register set to the max value 0xFF (255). ST-Ericsson Linux next: NA ST-Ericsson ID: 361371 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I095f113633d873a60a5622b1d195c28a2b01ceab Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32216 Reviewed-by: Christopher BLAIR <chris.blair@stericsson.com> Reviewed-by: Derek MORTON <derek.morton@stericsson.com> Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
2012-03-19ARM: U8500: ST-E HSI: DMA burst and PIPE supportPawel Szyszuk
Added support for HSIR PIPELINED mode (also in drivers/hsi) Added DMA max burst (in DMA words) as a parameter in hsi.h DMA channel high priority set to TRUE for HSI ST-Ericsson ID: 356625 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Id842e61343ce5013992337db085fcbe91dd5b9f7 Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32180 Reviewed-by: Yann GAUTIER <yann.gautier@stericsson.com> Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
2012-03-19drivers: hsi: context save/restore for STE HSIrepo sync
ST-Ericsson ID: ER338229 Change-Id: I860d98414ee603ab8b992d6688ff02de7cc6fd98 Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/22821 Reviewed-by: Alex MACRO <alex.macro@stericsson.com> Reviewed-by: QATEST Reviewed-by: Chris KIMBER <chris.kimber@stericsson.com> Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
2012-03-19drivers: hsi: Add CAIF-HSI glue layerPawel Szyszuk
Change-Id: Id0b4672be6a34cf7fca2494ebb6728b679ad9a63 Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21042 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Henrik CARLING <henrik.carling@stericsson.com> Tested-by: Henrik CARLING <henrik.carling@stericsson.com>
2012-03-19drivers: hsi: Add ST-E HSI controllerPawel Szyszuk
Change-Id: I1cbd641a712a33f7d9551e8291dd83dd51b62b79 Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21036 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2012-03-19arch: arm: ST-E HSI controllerPhilippe Langlais
Change-Id: Ibe70431ede8a9707b37e3394c22beb9acc42d8cb Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com>
2012-03-19drivers: hsi: Add hsi_char device to /dev/ folderPawel Szyszuk
Change-Id: I48b038f4d80e6a452aad9a2f077c93e66175c810 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20174 Reviewed-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com> Tested-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-03-19HSI: hsi_char: Add HSI char device kernel configurationAndras Domokos
Add HSI character device kernel configuration Change-Id: Ic66236e6745634850ef887b96313bbdc6e624972 Signed-off-by: Andras Domokos <andras.domokos@nokia.com> Signed-off-by: Carlos Chinea <carlos.chinea@nokia.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20579 Reviewed-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com> Tested-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-03-19HSI: hsi_char: Add HSI char device driverAndras Domokos
Add HSI char device driver to the kernel. Change-Id: I58a6e1526271781c4532202b4688ee239e6fbc58 Signed-off-by: Andras Domokos <andras.domokos@nokia.com> Signed-off-by: Carlos Chinea <carlos.chinea@nokia.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20578 Reviewed-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com> Tested-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-03-19HSI: omap_ssi: Add OMAP SSI to the kernel configurationPhilippe Langlais
Add OMAP SSI device and driver to the kernel configuration Change-Id: I7f21d4016a98db6f53efcd03f9ffd176b8845d7c Signed-off-by: Carlos Chinea <carlos.chinea@nokia.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20577 Reviewed-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com> Tested-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Conflicts: arch/arm/mach-omap2/Makefile
2012-03-19HSI: omap_ssi: Introducing OMAP SSI driverCarlos Chinea
Introduces the OMAP SSI driver in the kernel. The Synchronous Serial Interface (SSI) is a legacy version of HSI. As in the case of HSI, it is mainly used to connect Application engines (APE) with cellular modem engines (CMT) in cellular handsets. It provides a multichannel, full-duplex, multi-core communication with no reference clock. The OMAP SSI block is capable of reaching speeds of 110 Mbit/s. Change-Id: Iea002a8f321cf66ab439552620af001206626ed6 Signed-off-by: Carlos Chinea <carlos.chinea@nokia.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20576 Reviewed-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com> Tested-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-03-19HSI: hsi: Introducing HSI frameworkCarlos Chinea
Adds HSI framework in to the linux kernel. High Speed Synchronous Serial Interface (HSI) is a serial interface mainly used for connecting application engines (APE) with cellular modem engines (CMT) in cellular handsets. HSI provides multiplexing for up to 16 logical channels, low-latency and full duplex communication. Change-Id: I7f20219c15151e5c36c22a581b581b832abec04d Signed-off-by: Carlos Chinea <carlos.chinea@nokia.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20575 Reviewed-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com> Tested-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-03-19mbox: Fix bad PRCMU include orderPhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
2012-03-19modem m6718: Handle modem irq before resumeChris Blair
Handles the scenario where the modem wakes up the APE and the modem irq is serviced before the IPC driver is resumed. The event is regsitered and serviced later when the driver resume hook is called. ST-Ericsson ID: 405458 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: I441decea1cbc657e8dc13ca63a3116f50581c6a7 Signed-off-by: Chris Blair <chris.blair@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/44410 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Rickard EVERTSSON <rickard.evertsson@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2012-03-19u8500-shrm: maintain sleep statemachine in real timeArun Murthy
ac_sleep_disable_count is flag used t control the power management state machine this counter is increased in 3 places ca_wake_req ac_msg_pend_notify_0 ac-msg_pend_notify_1 and decremented in 3 places ac_read_notify_0 ac_read_notify_1 ca_sleep_req ac_msg_pend_notify is called from 2 places, shm_write_msg ac_read_notify it gets called from "shm_write_msg" when there is only one message in the shared memory and otherwise from "ac_read_notify" LOGS <6>[ 72.793395] send_ac_msg_pend_notify_1_work I:2 <6>[ 72.793609] shm_ac_read_notif_1_tasklet D:1 <6>[ 72.793731] send_ac_msg_pend_notify_1_work I:2 <6>[ 72.793853] send_ac_msg_pend_notify_1_work I:3 <6>[ 72.793914] shm_ac_read_notif_1_tasklet D:2 <6>[ 72.804840] send_ac_msg_pend_notify_1_work I:3 <6>[ 72.805053] shm_ac_read_notif_1_tasklet D:2 From the above logs send_ac_msg_pend_notify_1_work is called twice. No problem if this is called twice, but for state machine counter ac_sleep_disable_count this causes problem which doesnt allow the system to enter sleep. This function is called twice in a real time seq, first time from the ac_read_notify, here assume that there is only one message, and hence after notifying modem will call ac_msg_pend_notify. Modem on receiving this interrupt will update the shared read pointer and send the ack. After updating the shared read pointer and before APE receiving the ACK, there is some msg write req coming to shrm. shm driver shm_write_msg is called. Here it finds that this is the only message in shared memory, because the shared read and write pointer are same. Hence send_ac_msg_pend_notify_1_work is called again. Even though msg_pend is notified twice we receive read_notification only onece. Counter ac_sleep_disable_count is incremented in ca_wake_req to 1. Then in ac_msg_pend_notify to 2, then decremented in ac_read_notify. Hence it doesnt increase beyond 2 Fix would be to check if ac_msg_pend is called twice before ac_read_notify is received, then in that case dont increment the ac_sleep_disable_count in ac_msg_pend_notify. ST-Ericsson Linux next: NA ST-Ericsson ID: 401826 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie4ed0ae33b011a798d620a8db531fad8c23b1d7a Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43169 Reviewed-by: Bibek BASU <bibek.basu@stericsson.com> Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-03-19modem: Add M6718 IPC SPI driver state machineChris Blair
Adds the implementation of the driver protocol state machine. ST-Ericsson ID: 369397 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224 ST-Ericsson Linux next: NA Change-Id: Iffa99154ab2d3f0150c96c7bc535ffe26f6988db Signed-off-by: Chris Blair <chris.blair@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36501 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-03-19modem: Add M6718 IPC SPI driver netlink supportChris Blair
Adds netlink support to the modem driver. Userspace can send requests for status on the link and they can subscribe for broadcasrs on the link. ST-Ericsson ID: 369397 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224 ST-Ericsson Linux next: NA Change-Id: I9159080c7337498368da759ca2b20106dd41381c Signed-off-by: Chris Blair <chris.blair@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36499 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-03-19modem: Add M6718 IPC SPI driver net interfaceChris Blair
Adds the net device interface from the modem to userspace. ST-Ericsson ID: 369397 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224 ST-Ericsson Linux next: NA Change-Id: Ib1cafdc1558305d808870b0fdafa8e7029ec5a6b Signed-off-by: Chris Blair <chris.blair@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36494 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-03-19u5500-mbox: remove ape_reqArun Murthy
ape_req interrupt is not to be used as mailbox interrupt serves as a wakeup interrupt to ARM. ST-Ericsson Linux next: NA ST-Ericsson ID: 402718 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I069bfb6b93fdb02b6ce106bfccba23820d6284b8 Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43026 Reviewed-by: QATOOLS Reviewed-by: Bibek BASU <bibek.basu@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-03-19u8500: shrm: Add support for RTC Calib messagesMark Godfrey
A new shared-mem IPC logical channel (mapID=200) allows APE to send and receive messages to the modem in support of the calibration of the RealTimeClock. The modem can measure the 32KHz clock drift (against network clock) and report the drift to the APE. This new logical channel supports this reporting and can be accessed via a new /dev/rtc_calibration device. ST-Ericsson ID: 362204 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ic0ed097c1bbd8b3a6816642840c258e598b79715 Signed-off-by: Mark Godfrey <mark.godfrey@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36440 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-03-19misc: sim_detect: Change sysfs attributes permissionPhilippe Langlais
change write permissions for syfs attributes to user only, give only read permissions for group and others. Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
2012-03-19u8500-shrm: DocBook: Remove warnings in shrm driverArun Murthy
ST-Ericsson Linux next: NA ST-Ericsson ID: 354484 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I9b086aae5dc697c1b0fccc0913b170c3ef32ea97 Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/41014 Reviewed-by: QABUILD Reviewed-by: Bibek BASU <bibek.basu@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-03-19modem: Add M6718 IPC SPI driver char interfaceChris Blair
Adds the char device interface from the modem to userspace. ST-Ericsson ID: 369397 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224 ST-Ericsson Linux next: NA Change-Id: Ia0a5e8a8e95f28ee4a812795db91dc872b39f560 Signed-off-by: Chris Blair <chris.blair@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36491 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-03-19misc: shrm: use prcmu_readJonas Aaberg
Use prcmu_read instead of global prcmu address variable. ST-Ericsson Linux next: - ST-Ericsson ID: 370799 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I55db2ab4d2fdc647e03791b88c1669bef62d07f5 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/39654
2012-03-19u5500-mbox: reduce the hostaccess port ack timeoutArun Murthy
Reduce the timeout to 2sec for now as modem doesnt go to sleep. ST-Ericsson Linux next: NA ST-Ericsson ID: 400364 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Icd9fed7b22d23d000aecf7643b0664fcd4ed2905 Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40785 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Bibek BASU <bibek.basu@stericsson.com> Tested-by: Bibek BASU <bibek.basu@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-03-19u5500-mbox: API to reset mailbox stateArun Murthy
API that can be used by modem control driver to reset the mailbox state on receiving the modem reset interrupt. This APE will be called in case of modem silen reboot. ST-Ericsson Linux next: NA ST-Ericsson ID: 341807 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Idc7e4eeeaa410185d34c1be9abcb59f4dd0a60af Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/39815 Reviewed-by: Bibek BASU <bibek.basu@stericsson.com> Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-03-19modem: Add M6718 IPC SPI driver debug functionsChris Blair
Adds the debug related functionality for the modem driver. ST-Ericsson ID: 369397 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224 ST-Ericsson Linux next: NA Change-Id: I1b1144dd01b574410a86d34169e01621f56271cb Signed-off-by: Chris Blair <chris.blair@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36486 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-03-19modem: Add M6718 IPC SPI driver queue functionsChris Blair
Adds the IPC driver TX queue related functionality ST-Ericsson ID: 369397 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224 ST-Ericsson Linux next: NA Change-Id: I09982aea887877b7793e17edb250d2c9ea9b2996 Signed-off-by: Chris Blair <chris.blair@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36484 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-03-19modem: Add M6718 IPC SPI driver utilitiesChris Blair
Adds utility functions to be used by the IPC protocol. ST-Ericsson ID: 369397 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224 ST-Ericsson Linux next: NA Change-Id: I27a1329b980f69671c7ae7f2c975ade80d6aa409 Signed-off-by: Chris Blair <chris.blair@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36479 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-03-19modem: Add M6718 IPC SPI driver protocol frameworkChris Blair
Adds the M6718 modem IPC SPI driver procotol framework and types. Placeholders remain where future parts of the protocol will be called. ST-Ericsson ID: 369397 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224 ST-Ericsson Linux next: NA Change-Id: Id4cd5a7fa730c06838c9dd5b1a1cc0045135fdd4 Signed-off-by: Chris Blair <chris.blair@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36466 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-03-19u8500-shrm: check for modem status while writing to GOPArun Murthy
While writing to the modem GOP registers, check if modem is in reset else writing to GOP registers while modem being in reset will lead to system dreeze. ST-Ericsson Linux next: NA ST-Ericsson ID: 375164 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ic4534c1b9c9eee09eb09fad298adddc6bfcb7c3f Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/39433 Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-03-19u8500-shrm: Stop network queue on modem resetArun Murthy
On shrm receiving modem reset interrupt, it will disable interrupts and schedule a tasklet for initiating MSR if enabled. The tasklet function includes stopping the network queue. But as soon as ISR is served, if phonet starts ending message, shrm will return with a -ve value. Hence phonet retries sending the same message again. This will lead to a dedlock and finally ends up with a watchdog timeout. Hence stop the network queue on receiving modem reset interrupt in the interrupt handler. ST-Ericsson Linux next: NA ST-Ericsson ID: 375164 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Id608024590cea26e15f04afa7786e245825da2ed Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/39434 Reviewed-by: Bibek BASU <bibek.basu@stericsson.com> Tested-by: Bibek BASU <bibek.basu@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-03-19u5500-mbox: APE - Modem power management protocolArun Murthy
Implement a protocol for APE - Modem communication which helps in achieving system power management. ST-Ericsson Linux next: NA ST-Ericsson ID: 350108 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Id42b0d50d118d5d3215a60f3123c365db20cfc6b Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36183 Reviewed-by: Bibek BASU <bibek.basu@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-03-19u5500 : modem crashdump detection driverBibek Basu
Detects modem crashdump ready and informs userspace ST-Ericsson Linux next: NA ST-Ericsson ID: 354626 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I204eeb48b7353509b07b9e3c6ec08bc7026985fa Signed-off-by: Bibek Basu <bibek.basu@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34170 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Sandeep TRIPATHY <sandeep.tripathy@stericsson.com> Tested-by: Sandeep TRIPATHY <sandeep.tripathy@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-03-19u5500 :logical mailbox: support for 32 dsp bufferBibek Basu
add support for 32 dsp buffer ST-Ericsson Linux next: NA ST-Ericsson ID: 367390 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Id031ef5879906230b2dac8b3723bdef58da9bd4a Signed-off-by: Bibek Basu <bibek.basu@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/39093 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-03-19modem: Port M6718 modem state driverChris Blair
Adds the modem state driver to the M6718 modem IPC interface. ST-Ericsson ID: 369397 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224 ST-Ericsson Linux next: NA Change-Id: I5566277b950aa0be954f4350bdc1ed38c7afd7d8 Signed-off-by: Chris Blair <chris.blair@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36434 Reviewed-by: Derek MORTON <derek.morton@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com> Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-03-19modem: Add M6718 modem SPI IPC driver frameworkChris Blair
Adds support for the M6718 modem IPC SPI driver. This patch adds the spi driver under which the protocol will be added. ST-Ericsson ID: 369397 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224 ST-Ericsson Linux next: NA Change-Id: Ifa60efa9cb6a9d30b02b88b563624a293bc0930c Signed-off-by: Chris Blair <chris.blair@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36433 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-03-19modem: Add M6718 modem access driverChris Blair
Adds support for the STE M6718 modem to the modem access framework. ST-Ericsson ID: 369397 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224 ST-Ericsson Linux next: NA Change-Id: Iefbd8db9a7ab77c21fb09cbb3699a7d34ee555e1 Signed-off-by: Chris Blair <chris.blair@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36316 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-03-19modem: Release mutex when modem is not foundChris Blair
Releases the mutex when the requested modem is not found. ST-Ericsson ID: 369397 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: Iee00b1dd24251afcff31ce2e03f07832e26ac725 Signed-off-by: Chris Blair <chris.blair@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36315 Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com> Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-03-19shrm: use kthread_worker instead of workqueueThierry STRUDEL
Workqueue updates no longer guarantee fixed workqueue to worker kthread association, so giving RT priority to the irq worker won't work. Use kthread_worker which guarantees specific kthread association instead. This also makes setting the priority cleaner. ST-Ericsson ID: 361756 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Id54eafae1391ef8b09e93a4815efa1b674d3d90d Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36062 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Reviewed-by: QABUILD Tested-by: Christoffer LONNERFORS <christoffer.lonnerfors@stericsson.com> Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com>
2012-03-19modem: 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-03-19u5500 : Logical mailbox : add support for 16 DSP buffersBibek Basu
Number of DSP read buffers has ben increased to 16 to avoid message loss when system waking up. Updated check for message pending with atomic_dec_return API which is more proper in this case. ST-Ericsson Linux next: NA ST-Ericsson ID: 367390 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I99ef44ead99a2b9eb856c01e025423a990b0ba98 Signed-off-by: Bibek Basu <bibek.basu@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36973 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-03-19u5500 : mbox: wrong handling of atomic_dec_and_testBibek Basu
atomic_dec_and_test wrongly used. ST-Ericsson Linux next: NA ST-Ericsson ID: 367390 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I37ffaa0afd6df3472469842925030e8a04a42a6b Signed-off-by: Bibek Basu <bibek.basu@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36026 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-03-19drivers: misc: Deregistering of rx- channel added.Haridhar Kalvala
Mad driver updated with de-registering of RX channel with the mailbox.Moved unmap of shared memory out of mad_close function. ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I50351e594d746f5c2891a86351407a5bf8f934ab Signed-off-by: Haridhar Kalvala <haridhar.kalvala@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35913 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-03-19U8500 shrm: Create RT workqueue for shm_audio/ac_wake_req/ca_wake_reqArun Murthy
Increase priority of workqueues to realtime in order to keep correct timing for audio messages send to modem. This patch was submitted on 2.6.35 by "cedric.izoard@stericsson.com". Now it has been ported to kernel-3.0.0 ST-Ericsson ID : ER361756 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I62e8244496cb9bc64b29b0013745d30bffb26f6b Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34050 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-03-19modem: Include module.h after 3.2 updatePhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
2012-03-19misc: Compile modem specific misc driversPhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>