summaryrefslogtreecommitdiff
path: root/drivers/mfd
AgeCommit message (Collapse)Author
2012-05-22AB5500: AB5500 Analog to Digital conversion driverVijaya Kumar Kilari
AB5500 GPADC driver for battery/usb voltage, current and temperature measurement ST-Ericsson ID: WP332221 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ia841694711cbba168e7e705a5a2bc78c6e3db8dc Signed-off-by: Vijaya Kumar Kilari <vijay.kilari@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21775 Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com> Tested-by: Arun MURTHY <arun.murthy@stericsson.com> Reviewed-by: Johan PALSSON <johan.palsson@stericsson.com> Reviewed-by: QATEST Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Fix to merge with 4e75305 "AB5500: AB5500 Analog to Digital conversion driver"
2012-05-22u5500: support RTC_CLK1/2Philippe Langlais
ST-Ericsson Linux next: - ST-Ericsson ID: WP257121 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I5feb1dea92e5cc5d4ce57120cfbd320fc54629af Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/22993 Reviewed-by: Bibek BASU <bibek.basu@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Fix to merge with 335a4a "u5500: support RTC_CLK1/2"
2012-05-22mfd: abx500: Move ab5500 includePhilippe Langlais
Move the content of linux/mfd/abx500/ab5500.h to the mainline header linux/mfd/abx500.h Also change the clients of this file. ST-Ericsson Linux next: OK ST-Ericsson ID: 342253 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Robert Marklund <robert.marklund@stericsson.com> Change-Id: I30f7e2978d7bb00408597fdbdce8e7b6fdca397f Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24725 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2012-05-22Fix Introduced warningsPhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22ab5500: provide a driver for power offPhilippe Langlais
ST-Ericsson Linux next: - ST-Ericsson ID: WP257121 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I3fcc5c9f1d88c433edc3698da739ecdd11e51711 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/22352 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22ab8500 debugfs: formated access AB8500 registers from debugfs entrycarriere etienne
Add debugfs entry ab8500/hwreg to read/write bit-field in AB8500 registers. Check the debugfs entries usage from heading comments in ab8500-debugfs.c ST-Ericsson Linux next: - ST-Ericsson ID: ER 334167 ST-Ericsson FOSS-OUT ID: Trivial Patch tested on: relC 'u8500-android-2.3_v0.44' Signed-off-by: carriere etienne <etienne.carriere@stericsson.com> Change-Id: Ibb59f3e0bd3dc4e67f82b080aea66bf63b306b45 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20179 Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
2012-05-22drivers: video: add regulator for CVBS outPhilippe Langlais
- Adds a regulator that is used for CVBS TV out by AB8500 DENC and AV8100 DENC. The regulator is for the switch at the AV connector that switches between video out and mic in. ST-Ericsson ID: AP 322391 Linux-next: ST-Ericsson ID: ER 282779 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie7a821b8d3965aa65384b4393e3083ef406c8282 Signed-off-by: Marcel Tunnissen <Marcel.Tuennissen@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16819 Tested-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com> Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com> Reviewed-by: Robert FEKETE <robert.fekete@stericsson.com>
2012-05-22mfd: ab8500_gpadc: Corrected the name and bitmask for BTempPullUpJohan Palsson
The bitmask for enabling the BatTemp pull-up was wrong and is corrected. The name is also changed to be inline with the AB8500 register description ST-Ericsson Linux next: - ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie697c3d5958938dd0c741f63f7424980367f7abc Signed-off-by: Johan Palsson <johan.palsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17830 Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
2012-05-22mfd: add a core driver for TI TPS61050/TPS61052 chips v2Linus Walleij
The TPS61050/TPS61052 are boost converters, LED drivers, LED flash drivers and a simple GPIO pin chips. Cc: Liam Girdwood <lrg@slimlogic.co.uk> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Jonas Aberg <jonas.aberg@stericsson.com> Cc: Ola Lilja <ola.o.lilja@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-05-22abx500: big merge from GLK 2.6.35Philippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
2012-05-22mfd: stmpe: Recheck the status to avoid failure stmpe: add stmpe ↵Philippe Langlais
documentation to DocBook Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2012-05-22arm: ux500: qos: remove locking down of ape opp during voice-callMian Yousaf Kaukab
ST-Ericsson Linux next: - ST-Ericsson ID: 419724 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I0abb64e24fd4eadd01335e1fddd56a1b05c94ce9 Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/51373 Reviewed-by: Mattias NILSSON <mattias.i.nilsson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22pm: [ANDROID]: b2r2: Add kernel API to b2r2 and moreJorgen Nilsson
Brief: As a preparation for the ICS hardware composer solution a kernel API has been added to the b2r2 driver. Some minor stability fixes are also part of this release. The full support for dual b2r2 configuration should be in place, but has yet to be verified with the apropriate hardware. The change should have minor impact on the single core solution. Details: A new logical device for handling the blitter requests has been added. This is roughly the same device as the old blitter the interfaces are therefore the same. From now there is at least two devices - one blitter device and then for each core one additional device (dual configuration is the current target). As a consequence the maximum number of allowed cores has been raised from 1 to 2. When a dual configuration is active the b2r2 driver seamlessly splits requests over available b2r2 cores. Each request is assigned a core_mask defining which cores are doing part of the job. This helps keep track when waiting for the reports. Also, rectangles are now recalculated (based on intersection of destination rectangle and destination image etc.) before splitting the job in order to maximize throughput. Clock and power source can now be configured from devices-dbxxxx.c or equivalent. Minor bug fixes: - Check the return value from clk_enable - Check if the core is valid before serving a IRQ. - Check if the core is enabled (domain_enabled) before adding a new job. - Return actual job_id used for a request (previously always 0) ST-Ericsson ID: 404691 Original Change-Id: Ic3357c4c1e792a84077c1be4ba4c5acdb19da266 Signed-off-by: Jorgen Nilsson <jorgen.nilsson@stericsson.com>
2012-05-22mfd: db8500-prcmu: add function to read reset statusMattias Nilsson
This patch adds a function that returns the value of the reset status register at startup. It also changes the read of the (software) reset code, so that the saved value is only read at startup. ST Ericsson ID: 366664 ST Ericsson FOSS-OUT ID: trivial Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com>
2012-05-22arm: u8500: prcmu: print debug information on critical errorsMian Yousaf Kaukab
ST-Ericsson Linux next: - ST-Ericsson ID: 417413 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I09a2fe9700aeea8b98c01658dfb3381a68178b27 Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/48921 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22arm: ux500: pm: inform prcmu fw about voice call activationMattias Nilsson
ST Ericsson ID: 415739 ST Ericsson FOSS-OUT ID: trivial Change-Id: Ie91459599caa335546d40797b93dade4ec3d7863 Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/49587 Reviewed-by: Mian Yousaf KAUKAB <mian.yousaf.kaukab@stericsson.com> Reviewed-by: QABUILD Reviewed-by: QATEST Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22ARM: ux500: prcmu-debug: display interrupt typesJonas Aaberg
Adds a debugfs entry named prcmu/interrupts that displays the different kinds of prcmu interrupts. It shows a summary of how many calls to the different mailboxes and for mailbox0 the different events. ST-Ericsson Linux next: - ST-Ericsson ID: 370799 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I049e85c23a8344bf317043f3a532ce764d5e3b39 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42475
2012-05-22drivers: mfd: db8500-prcmu: Always assume v2.0 or laterJonas Aaberg
Remove check for pre v2.0 db8500 since pre v2.0 hardware is no longer supported. ST-Ericsson Linux next: - ST-Ericsson ID: 370799 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I4ee6bdbf9b4803dfe6f2918f2b1d64dbf7ebee70 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43192 Reviewed-by: QABUILD Reviewed-by: QATEST Reviewed-by: Mattias NILSSON <mattias.i.nilsson@stericsson.com>
2012-05-22pm: fsmc: Add clock and regulator for Snowball smsc911x ethernet driverPhilippe Langlais
For fsmc clock the driver name is ignored (can be use by different driver). Add a v-fsmc consumer for vape regulator, for now only the Snowball smsc911x driver needs it. Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22mfd: db5500-prcmu: increase timeoutsRabin Vincent
It is seen that sometimes under load, the set_epod() call spuriously times out. Increase the timeout to large (matching 8500) values, so that if they occur we know it is for real. Also remove the "Please check your firmware version" message. ST-Ericsson ID: 408175 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I911e1b18f812e3ceebc49105904ef5a6759f51bf Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/44496 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22pm: u5500: deprecate v1 hardwarePhilippe Langlais
DB5500 v1 is no longer supported and now the code makes the assumption that it runs on hardware revision >= v2. So, lets deprecate all the v1 codes. Signed-off-by: srinidhi kasagar <srinidhi.kasagar@stericsson.com>
2012-05-22ux500: usecase-gov:Set clk to low freq to save pwrVenkata Biswanath
setting ACLK and DMACLK to 25 opp usecases like voice call to save power. This was present in u8500 but not implemented in u5500. ST-Ericsson ID: 403936 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ib09d00c4610fa79baa3dcf08d018f5fca31c5625 Signed-off-by: Venkata Biswanath <venkata.biswanath@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42679 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22mfd: db5500-prcmu: Mbox4 support for watchdogRajagopala V
PRCMU driver interface for A9 watchdog management. - mbox4 for enabling and disabling wdog - interface for loading ang kicking wdog ST-Ericsson ID: 316540 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: Iea6d0887dd0432d5c2d20ef0ca15f3d534609fd3 Signed-off-by: Rajagopala V <rajagopala.v@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42490 Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22u5500: clock: ACLK should be scalableVenkata Biswanath
ACLK should be scalable. This has to be added to clock management in PRCMU driver. ST-Ericsson ID: 404047 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I8f846a9e175f9ecee34ae46e13da600804f0e83c Signed-off-by: Venkata Biswanath <venkata.biswanath@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42371 Reviewed-by: QATOOLS Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22db5500-prcmu: read and interpret status correctlyRabin Vincent
Read the transition status, not the value of the power state that we requested. Also, adjust for the different value of some status codes between 8500 and 5500. ST-Ericsson ID: 336595 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I87140042fa973eed0fbb7b439d9740308dceee2c Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42147 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com>
2012-05-22mfd: dbx500-prcmu: Add get power state statusJonas Aaberg
Add function that returns how a execution of a power state went. Useful for cpuidle and suspend debugging. ST-Ericsson Linux next: - ST-Ericsson ID: 370799 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Iaaf44c5b3f0df94e37655f1932e35ed6111f474b Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40920
2012-05-22mfd: db5500-prcmu: implement prcmu register access APIRabin Vincent
ST-Ericsson ID: 370028 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I1f4c69a6a45ee77a50470ae4dab69b3a2617930a Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40098 Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com>
2012-05-22mfd: dbx500-prcmu: modem reset requestArun Murthy
Add an API to initiate modem reset request. This is a blocking call and not to be called from interrupt context. ST-Ericsson Linux next: NA ST-Ericsson ID: 341807 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ib4fa17e1507b014859b68137a04430d51b797b5e Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37614 Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22mfd: db5500-prcmu: add modem_req and modem_rel APIArun Murthy
When APE has some messages to send to modem, APE will issue a modem_req and then start sending the messages to modem. Once APE is done with sending messages to modem, it will send modem_rel to free the ape-modem communication protocol. This protocol will be used to achieve APE-Modem power management. ST-Ericsson Linux next: NA ST-Ericsson ID: 350108 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I331654967ddd4b77818f7f4a8427ea8c63fd90a8 Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32722 Reviewed-by: QATOOLS Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22arm: ux500: Configure the dsi clock for u5500Jayarami Reddy
Set the DSI clock to 420Mhz for u5500 same as u8500 ST-Ericsson ID: 375123 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I2a8de551b7ba6f69c2d6e8bea443762d5d92abc3 Signed-off-by: Jayarami Reddy <jayarami.reddy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33466 Reviewed-by: QATOOLS Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com> Reviewed-by: QABUILD Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22db5500-prcmu: handle AB5500 irq as a nested threadRabin Vincent
Handle ABB irq as a nested thread because otherwise the READ_POINTER which indicates which buffer to use for the ABB events could change (after the ack_dbb_wakeup()) before the ABB interrupt handler has a chance to handle it. ST-Ericsson ID: 370101 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I37db4651ddf242500fbc750d8f07893bfb2d4d1b Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36457 Reviewed-by: QABUILD Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com>
2012-05-22U5500: Add VAPE as supply regulator for EPODSVijaya Kumar Kilari
Added VAPE as supply regulator for MM EPODS. Avoids ApSleep when EPOD regulators are ON ST-Ericsson Linux next: - ST-Ericsson ID: 356729 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I283f99f4174bc316fd7b81d81b654112ecec3f3d Signed-off-by: Vijaya Kumar Kilari <vijay.kilari@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30723 Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35851 Tested-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22u5500: fix handling of IRDACLK and IRRCCLKRabin Vincent
IRDACLK needs to be requested from the firmware. IRDACLK and IRRCCLK need to be parented to the SOC1 PLL. ST-Ericsson ID: 361212 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Id336deda4639729dd5b847c168e52c05393c1bfc Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34593 Reviewed-by: QATOOLS Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com>
2012-05-22arm: ux500: Configure dsi clocks and regulatorsJimmy Rubin
Removes dsi clock, dsi lp clock and VANA regulator if MCDE_DISPLAY_DSI is not set. Adds return value for enable_dsi_pll. ST-Ericsson ID: 343541 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I64ede6273b39b05b2a048c62e8752fe615461364 Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com> [venkata.biswanath@stericsson.com: only moved prcmu changes to new file. The rest are already applied] Signed-off-by: Venkata Biswanath <venkata.biswanath@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31801 Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32860 Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22U5500: PRCMU MBOX4 support for Hotdog and hotmonVijaya Kumar Kilari
PRCMU driver interface for thermal management of DB5500. MBOX4 supports to - configure hotmon period - configure hotdog ranges - read current temperature ST-Ericsson Linux next: - ST-Ericsson ID: 334775 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: If25acd1d500800053bd6c511a64c9e5726c69647 Signed-off-by: Vijaya Kumar Kilari <vijay.kilari@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/28334 Reviewed-by: QABUILD Reviewed-by: QATEST Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32788 Tested-by: Venkata Biswanath DEVARASETTY <venkata.biswanath@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22db5500-prcmu: call debug function to record ARM OPPRabin Vincent
ST-Ericsson ID: 361450 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie906e98524e8df5dccbe58580f30cc6965ca6244 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32717
2012-05-22u5500: prcmu: implement DDR OPP handlingRabin Vincent
ST-Ericsson ID: 348762 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: I26770ee6151f91c70eebba1c1c460e7cdedd43e1 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30502 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com> Reviewed-by: Mattias NILSSON <mattias.i.nilsson@stericsson.com> Reviewed-by: QATEST Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32601 Tested-by: Venkata Biswanath DEVARASETTY <venkata.biswanath@stericsson.com>
2012-05-22u5500: prcmu: implement APE OPP handlingShreshtha Kumar Sahu
ST-Ericsson ID: 348762 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: I7ff9a02de960f251cbbd9f051a1c8050aa340d6d Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/28000 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: QATEST Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32555 Tested-by: Venkata Biswanath DEVARASETTY <venkata.biswanath@stericsson.com>
2012-05-22mach-ux500: prcmu: Add prcmu debug supportPhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
2012-05-22mfd: prcmu: PRCMU interfaces changesPhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
2012-05-22mfd/db5500-prcmu: spawn MFD cell for regulatorPhilippe Langlais
This spawns the necessary MFD cells off the DB5500 PRCMU so that we can register a voltage domain (EPOD) regulator driver against it. Cc: Liam Girdwood <lrg@ti.com> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-05-22mfd/db5500-prcmu: implement EPOD handlingVijaya Kumar Kilari
This implements accessor functions for handling the EPOD, i.e. voltage domain switches controlled by the DB5500 PRCMU, a prerequisite for implementing the voltage domain regulators. Signed-off-by: Vijaya Kumar Kilari <vijay.kilari@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-05-22mfd/db5500-prcmu: implement reset and causePawel Szyszuk
This implements the reset accessor function so that the DB5500 PRCMU can reset the system, and the corresponding accessor to retrieve the cause of reset after a restart. Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-05-22mfd/db5500-prcmu: implement OPP handlingShreshtha Kumar Sahu
This implements the ARM OPP accessor functions necessary to implement CPUfreq frequency scaling on the DB5500 PRCMU. Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-05-22mfd/db5500-prcmu: sleep handlingVijaya Kumar Kilari
This implements accessors for requesting system sleep states including the onchip RAM retention. Signed-off-by: Vijaya Kumar Kilari <vijay.kilari@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-05-22mfd/db5500-prcmu: implement clock handlingRabin Vincent
This adds accessor functions for clock handling to the DB5500 PRCMU driver. Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-05-22mfd/db5500-prcmu: convert to platform deviceLinus Walleij
This converts the DB5500 PRCMU driver to become a platform device just like the DB8500 PRCMU driver. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-05-22mfd/db5500-prcmu: implement event handlingVijaya Kumar Kilari
This adds code to handle the events spawned from the DB5500 PRCMU, and calls out to virtual interrupt handlers for these. Vijaya Kumar Kilari <vijay.kilari@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-05-22mfd/db5500-prcmu: update mailbox handlingShreshtha Kumar Sahu
This updates the mailbox handling to be more robust and adds basic infrastructure for event (IRQ) handling. Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> Signed-off-by: Vijaya Kumar Kilari <vijay.kilari@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-05-01mfd: Fix build breakage in omap-usb-host.cRuss Dill
'ARM: OMAP3: USB: Fix the EHCI ULPI PHY reset issue' removes the include for linux/gpio.h from omap-usb-host.c. This include indirectly includes plat/cpu.h which is required by omap-usb-host.c. Fix the build breakage by including it directly. Acked-by: Keshava Munegowda <keshava_mgowda@ti.com> Acked-by: Kevin Hilman <khilman@ti.com> Tested-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Russ Dill <Russ.Dill@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>