3c3e489831b601e566f6bc47e711f5847fb93dff |
|
08-Mar-2012 |
Mattias Nilsson <mattias.i.nilsson@stericsson.com> |
mfd: Add a prcmu_abb_write_masked routine to db8500-prcmu This patch adds driver support for the I2C read-modify-write service in the U8500 PRCMU firmware. Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/include/linux/mfd/dbx500-prcmu.h
|
34fe6f107eab096ac2f70a51763e9978b4abbeb6 |
|
28-Feb-2012 |
Daniel Lezcano <daniel.lezcano@linaro.org> |
mfd : Check if the other db8500 core is in WFI This patch allows to check if the other core is in WFI mode. It is the last check the idle routine has to do before entering into the retention state. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/include/linux/mfd/dbx500-prcmu.h
|
9ab492e12d588af7b05892c3744e8bdc2eace6d0 |
|
28-Feb-2012 |
Daniel Lezcano <daniel.lezcano@linaro.org> |
mfd : Check if the db8500 prcmu has pending irq This patch allows to check if there are some pending irqs on the prcmu. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/include/linux/mfd/dbx500-prcmu.h
|
9f60d33e1811e0aa696a3152050d6e3e4c3195aa |
|
28-Feb-2012 |
Daniel Lezcano <daniel.lezcano@linaro.org> |
mfd : Copy the db8500 gic setting to the prcmu In the case we go to the retention mode, we decoupled the gic in order to have the A9 core to reach a stable WFI state. But we want the prcmu to wake up the A9 when the gic has a pending irq which is done by copying the gic settings to the to the prcmu. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/include/linux/mfd/dbx500-prcmu.h
|
cc9a0f68d1f8b9bfd9c0c2ada13db64d63f63db3 |
|
28-Feb-2012 |
Daniel Lezcano <daniel.lezcano@linaro.org> |
mfd : Check if there are pending irq on the db8500 gic This patch introduces a routine to check if there are some irqs pending on the gic. Usually this check is not relevant because it appears racy (an irq can arrive right after this check), but in the ux500 it makes sense because the prcmu decouples the gic from the A9 cores. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/include/linux/mfd/dbx500-prcmu.h
|
485540dce01cf4b4d3629141399678e35e66b711 |
|
20-Feb-2012 |
Daniel Lezcano <daniel.lezcano@linaro.org> |
mfd: Decouple/recouple gic from the ux500 PRCMU This patch allows to decouple and recouple the gic from the PRCMU. This is needed to put the A9 core in retention mode with the cpuidle driver. It is based on top of the "DB8500 PRCMU update" patchset. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Rickard Andersson <rickard.andersson@stericsson.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/include/linux/mfd/dbx500-prcmu.h
|
b4a6dbd5b7bad00ee4004443287468abddb96538 |
|
13-Jan-2012 |
Mattias Nilsson <mattias.i.nilsson@stericsson.com> |
mfd: Add initial db8500 prcmu register access api This patch adds an initial PRCMU register access API, which for now should only be used for a very limited set of registers. The idea about this API is that we split the PRCMU driver in one part that deals with interaction with the PRCMU firmware and one part that simply provide write accessors in the PRCMU register range. The latter are just a collection of registers exposed in the PRCMU register range for various purposes and not related to the PRCMU firmware. Currently we support some limited GPIO, SPI and UART settings through this API. Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/include/linux/mfd/dbx500-prcmu.h
|
4d64d2e34bc415b05eb77a2732a3164313cf6de3 |
|
13-Jan-2012 |
Mattias Nilsson <mattias.i.nilsson@stericsson.com> |
mfd: db8500 OPP and sleep handling update This updates the operating point handling code by: - Supporting the DDR OPP retention state. - Supporting another low operating point named APE_50_PARTLY_25_OPP - Adding an interface to figure out if the sleep state change was properly achieved. Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/include/linux/mfd/dbx500-prcmu.h
|
6b6fae2b890826c99f9e62cceec4f859c98ee575 |
|
13-Jan-2012 |
Mattias Nilsson <mattias.i.nilsson@stericsson.com> |
mfd: db8500 clock handling update This updates the clock handling in the DB8500 PRCMU driver with the latest findings and API changes related to changes in the backing firmware in the PRCMU. - Add the necessary interfaces to get the frequencies of the clocks and set the rate of some of the clocks. - Add support for controlling the clocks PLLSOC0, PLLDSI, DSI0, DSI1 and DSI escape clocks (DSInESCCLK). - Correct the PLLSDI enable/disable sequence by using the DSIPLL_CLAMPI bit. After this we will have the interfaces and code to implement the U8500 clock framework properly. Reviewed-by: Jonas Aberg <jonas.aberg@stericsson.com> Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/include/linux/mfd/dbx500-prcmu.h
|
0508901ca794d411efb09befb88b8194d8387428 |
|
13-Jan-2012 |
Mattias Nilsson <mattias.i.nilsson@stericsson.com> |
mfd: Update abstract dbx500 interface This prefixes a number of accessor functions with db8500_* since they are DB8500-specific and we need to move to this naming scheme. We also replace numerous instances of machine_is() with cpu_is() which covers the right type of ASICs rather than entire machines i.e. boards. Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/include/linux/mfd/dbx500-prcmu.h
|
73180f85f4ffbb66843f8248811b2ade29b22df2 |
|
12-Aug-2011 |
Mattias Nilsson <mattias.i.nilsson@stericsson.com> |
mfd: Move to the new db500 PRCMU API Now that we have a shared API between the DB8500 and DB5500 PRCMU's, switch to using this neutral API instead. We delete the parts of db8500-prcmu.h that is now PRCMU-neutral, and calls will be diverted to respective driver. Common registers are in dbx500-prcmu-regs.h and common accessors and defines in <linux/mfd/dbx500-prcmu.h> This way we get a a lot more abstraction and code reuse. Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/include/linux/mfd/dbx500-prcmu.h
|
fea799e3d3ab84ac675de7e48a13a79fb76b6e63 |
|
12-Aug-2011 |
Mattias Nilsson <mattias.i.nilsson@stericsson.com> |
mfd: Create a common interface for dbx500 PRCMU drivers This adds a header file that contains the set of functions and definitions that will be shared between the DB8500 and DB5500 PRCMU drivers. Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/include/linux/mfd/dbx500-prcmu.h
|