On Sat, 01 Dec 2012, Linus Walleij wrote:
On Fri, Nov 30, 2012 at 4:24 PM, Lee Jones lee.jo...@linaro.org wrote:
When the STMPE IRQ is triggered to be active high level-sensitive, the
Nomadik GPIO controller it uses complains, although it still works.
Recently we attempted to move
On Sat, 01 Dec 2012, Linus Walleij wrote:
On Fri, Nov 23, 2012 at 4:19 PM, Lee Jones lee.jo...@linaro.org wrote:
The STMPE GPIO driver can be used as an IRQ controller by some
related devices. Here we provide it with its very own IRQ Domain
so that IRQs can be issued dynamically
On Tue, 04 Dec 2012, Linus Walleij wrote:
On Tue, Dec 4, 2012 at 10:12 AM, Lee Jones lee.jo...@linaro.org wrote:
On Sat, 01 Dec 2012, Linus Walleij wrote:
On Fri, Nov 30, 2012 at 4:24 PM, Lee Jones lee.jo...@linaro.org wrote:
When the STMPE IRQ is triggered to be active high level
...@linaro.org wrote:
On 30 November 2012 21:15, Lee Jones lee.jo...@linaro.org wrote:
But ... I don't see how the changes in the -i2c and -spi files
are of benefit either. When I boot without the ID table I still
get stmpe-i2c 0-0040: stmpe1601 detected, chip id: 0x212.
What is it that actually uses
On Thu, 07 Feb 2013, Mark Brown wrote:
On Wed, Feb 06, 2013 at 10:53:23AM +, Lee Jones wrote:
This patch supplies access to some extra settings provided by the
AB8500 regulator device. We also update some of the existing
initialisation values in accordance with internal ST-Ericsson
On Thu, 07 Feb 2013, Stephen Warren wrote:
On 02/07/2013 02:01 AM, Lee Jones wrote:
I don't see myself on cc. Was that intentional?
The original patch was that way; I assume git send-email only CC'd you
on patches written by you.
No, I didn't send this patch at all.
I was asking Linus
On Thu, 07 Feb 2013, Linus Walleij wrote:
On Wed, Feb 6, 2013 at 11:53 AM, Lee Jones lee.jo...@linaro.org wrote:
From: Philippe Langlais philippe.langl...@linaro.org
Signed-off-by: Philippe Langlais philippe.langl...@linaro.org
Signed-off-by: Lee Jones lee.jo...@linaro.org
charging as reset reason
mfd: ab8500-sysctrl: export read/write symbols
Kennet Wallden (1):
mfd: ab8500-sysctrl: Provide configuration for SysClkReqRfClkBuf registers
Lee Jones (7):
mfd: ab8500-sysctrl: Provide a platform specific pm_power_off() call-back
mfd: ab8500-gpadc
in from diffs.
I don't have any problems with that.
I'm sure you don't, but it's me that's doing all the hard work. ;)
What's wrong with that ? ;)
Hmmm... :D
--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter
Hi Mark,
As requested, the whole-shebang.
The Mainline AB8500 and DB8500 regulators are currently stuck in the
Victorian era (AKA v2.6.35). This branch contains all of the
upstreamable changes that have occurred on the internal repository and
aims to bring them back into the 20th century.
This
there is a SW request and in HW-request mode
otherwise.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Mattias NILSSON mattias.i.nils...@stericsson.com
Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com
---
drivers/regulator/ab8500
From: Bengt Jonsson bengt.g.jons...@stericsson.com
The USB regulator is controlled by hardware. The software support
was only needed for early hardware (ED) which is no longer supported.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
From: Bengt Jonsson bengt.g.jons...@stericsson.com
The Vsafe regulator should not be handled by kernel, it should be
setup before the kernel starts. This patch removes the setting of
Vsmsp3Regu.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo
From: Michel JAOUEN michel.jao...@stericsson.com
Add the support for ab9540 external regulators.
Signed-off-by: Michel JAOUEN michel.jao...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com
---
drivers/regulator/ab8500-ext.c | 24
From: Marcus Cooper marcus.xm.coo...@stericsson.com
vaux8 regulator isn't declared correctly for the AB8505.
Signed-off-by: Marcus Cooper marcus.xm.coo...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com
Reviewed-by: Mattias WALLIN
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Marcus COOPER marcus.xm.coo...@stericsson.com
Reviewed-by: Rabin VINCENT rabin.vinc...@stericsson.com
---
arch/arm/mach-ux500/board-mop500-regulators.c |8
drivers/regulator/ab8500.c|8
include
From: Jonas Aaberg jonas.ab...@stericsson.com
It is not required.
Signed-off-by: Jonas Aaberg jonas.ab...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Linus WALLEIJ linus.wall...@stericsson.com
---
drivers/regulator/ab8500.c |1 -
1 file changed, 1 deletion
From: Mattias Wallin mattias.wal...@stericsson.com
This patch change the default value on LDO USB to High
Power since this is the normal execution mode.
Signed-off-by: Mattias Wallin mattias.wal...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Marcus COOPER
From: David Paris david.pa...@stericsson.com
Workaround to switch off VAna when going to suspend. In combination
with workaround that makes VAna always ON in running mode.
Signed-off-by: David Paris david.pa...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Yvon CORRE
From: Zhenhua HUANG zhenhua.hu...@stericsson.com
Introduce aux5, aux6 into ab8540 regulator framework.
Signed-off-by: Zhenhua HUANG zhenhua.hu...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Maxime COQUELIN maxime.coque...@stericsson.com
Reviewed-by: David PARIS
The regulator framework now has provisions to read a regulator's
start-up time via the 'enable_time' attribute. So let's remove all
'enable_time'/'delay' duplication and just stick with 'enable_time'
from now on.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/regulator/ab8500.c |8
The regulator framework offers a generic regulator_list_voltage_table()
function which can directly look-up a regulator's voltage capabilities
using a table provided through the desc structure. This patch ensures
that information is available.
Signed-off-by: Lee Jones lee.jo...@linaro.org
v-amic1 and v-amic2 regulators have dedicated mode registers
and share the same mode bit. This patch adds special handling
for those regulators.
Signed-off-by: Rickard Andersson rickard.anders...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Jonas ABERG jonas.ab
At the probe use a structure to select the good regulator array from
from ab9540, ab8505, ab8540 or ab8500 configuration.
Signed-off-by: Gabriel Fernandez gabriel.fernan...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Philippe LANGLAIS philippe.langl...@stericsson.com
Regulator platform data is now passed though a single structure
as opposed to the old way where four separate struct elements
were required. This patch makes use of the new format.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500.c |5 +
include/linux
Allow the regulator framework to directly access the time it takes
any given regulator to settle. This saves time and code because
without it we would have to implement a dedication function to read
the value from elsewhere.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/regulator
Here we use the new infrastructure to 'match' to the correct platform
when booing with Device Tree support enabled.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/regulator/ab8500.c | 76 ++--
1 file changed, 59 insertions(+), 17 deletions
and continue
to successfully register itself with the Regulator subsystem.
Signed-off-by: Gabriel Fernandez gabriel.fernan...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Philippe LANGLAIS philippe.langl...@stericsson.com
Reviewed-by: Linus WALLEIJ linus.wall
Add voltage setting for vdmic; add LP mode setting for vamic1,2.
Signed-off-by: Zhenhua HUANG zhenhua.hu...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Alexandre TORGUE alexandre.tor...@stericsson.com
Reviewed-by: Marcus COOPER marcus.xm.coo...@stericsson.com
From: Mattias Wallin mattias.wal...@stericsson.com
This patch corrects a bug which makes it impossible to change
mode on regulator LDO USB.
Signed-off-by: Mattias Wallin mattias.wal...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Marcus COOPER marcus.xm.coo
From: Mattias Wallin mattias.wal...@stericsson.com
This patch makes it possible to control the LDO USB by adding
a consumer to the regulator board file.
Signed-off-by: Mattias Wallin mattias.wal...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Marcus COOPER
From: Zhenhua HUANG zhenhua.hu...@stericsson.com
This LDO is managed by accessory module with direct register accesses.
Signed-off-by: Zhenhua HUANG zhenhua.hu...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Philippe LANGLAIS philippe.langl...@stericsson.com
Tested
-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Philippe LANGLAIS philippe.langl...@stericsson.com
---
drivers/regulator/ab8500.c | 120 +++-
1 file changed, 119 insertions(+), 1 deletion(-)
diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c
From: xiaomei.zhang xiaomei.zh...@stericsson.com
Ensure we initialise AB8505 external supply regulators.
Signed-off-by: Alexandre Torgue alexandre.tor...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Philippe LANGLAIS philippe.langl...@stericsson.com
Tested-by: Xiao
From: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Mattias WALLIN mattias.wal...@stericsson.com
Reviewed-by: Emeric VIGIER emeric.vig...@stericsson.com
Reviewed-by: Jonas ABERG
From: Michel JAOUEN michel.jao...@stericsson.com
This patch ensures the initialisation masks for AB9540_REGUSYSCLKREQVALID1
and AB9540_REGUSYSCLKREQVALID1 are correctly defined.
Signed-off-by: Alexandre Torgue alexandre.tor...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed
From: Mustapha Ben Zoubeir mustapha.ben.zoubeir-no...@stericsson.com
The fixed_uV property residing in ab8500_ext_regulator_info is
currently unused. We remove it here.
Signed-off-by: Mustapha Ben Zoubeir mustapha.ben.zoubeir-no...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
The regulator id in the regulator info array should be the same
values as the position of the element within the array. This
patch fixes the mismatches.
Signed-off-by: Marcus Cooper marcus.xm.coo...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Jonas ABERG jonas.ab
From: Rabin Vincent rabin.vinc...@stericsson.com
ExtSupply regulators are not included on AB8505 based platforms.
Signed-off-by: Rabin Vincent rabin.vinc...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Tested-by: Marcus COOPER marcus.xm.coo...@stericsson.com
---
drivers
Signed-off-by: Rabin Vincent rabin.vinc...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Daniel WILLERUD daniel.wille...@stericsson.com
Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com
Tested-by: Marcus COOPER marcus.xm.coo...@stericsson.com
---
drivers/regulator
From: Rabin Vincent rabin.vinc...@stericsson.com
They are nonexistent on this platform.
Signed-off-by: Rabin Vincent rabin.vinc...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Tested-by: Marcus COOPER marcus.xm.coo...@stericsson.com
---
arch/arm/mach-ux500/board-mop500
From: Zhenhua HUANG zhenhua.hu...@stericsson.com
Fix the parameters for vsdio in idle mode and normal mode.
Signed-off-by: Zhenhua HUANG zhenhua.hu...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Maxime COQUELIN maxime.coque...@stericsson.com
Reviewed-by: Xiao Mei
Following a recent move to regulator_list_voltage_table() for
all previous abx500 related platforms this converts all recent
platform updates over too.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/regulator/ab8500.c | 61 +++-
1 file changed
Add the definitions for VSDIO to Regulator Framework for AB8540.
Signed-off-by: Zhenhua HUANG zhenhua.hu...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Xiao Mei ZHANG xiaomei.zh...@stericsson.com
Reviewed-by: Mattias WALLIN mattias.wal...@stericsson.com
Reviewed
There are a few over-lapping methods for voltage selection operating
in the AB8500 regulator driver currently. This patch removes unused,
unnecessary variables from the regulator_info structures and provides
voltage tables for those regulators which have fixed voltages.
Signed-off-by: Lee Jones
From: Marcus Cooper marcus.xm.coo...@stericsson.com
Add the flags to correctly configure the Vaux5/6 registers for
AB8540 based platforms.
Signed-off-by: Marcus Cooper marcus.xm.coo...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Mattias WALLIN mattias.wal
Add or remove, new or old AB8540 regulator definitions.
Signed-off-by: Alexandre Torgue alexandre.tor...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Maxime COQUELIN maxime.coque...@stericsson.com
Reviewed-by: Daniel WILLERUD daniel.wille...@stericsson.com
Reviewed
...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Maxime COQUELIN maxime.coque...@stericsson.com
Reviewed-by: Philippe LANGLAIS philippe.langl...@stericsson.com
---
drivers/regulator/ab8500.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers
This patch adds ab8505 specific regulators, e.g. Vaux4/5/6 and
removes ExtSupplies from ab8505. Finally it adapts register
names to new naming convention.
Signed-off-by: Daniel WILLERUD daniel.wille...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Jonas ABERG jonas.ab
This patch adds support for ab8505 regulators. It uses the
ab9540 regulators and the ab8500 init regulator settings.
Signed-off-by: Mattias Wallin mattias.wal...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com
---
arch/arm/mach
Provide regulator support for AB9540 based platforms.
Signed-off-by: Maxime Coquelin maxime.coque...@st-ericsson.com
Signed-off-by: Alex MACRO alex.ma...@stericsson.com
Signed-off-by: Michel JAOUEN michel.jao...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/regulator
From: Bengt Jonsson bengt.g.jons...@stericsson.com
The external regulator driver checks for old AB8500 HW
to apply a fix. This patch adds a check to see that
it is a AB8500 (not AB8505/AB9540).
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo
Remove device name from sensor platform data and change regulator
names according to device name.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500-regulators.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-ux500
From: Philippe Langlais philippe.langl...@linaro.org
Signed-off-by: Philippe Langlais philippe.langl...@linaro.org
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500-regulators.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch
This patch lists the Proximity and Hal sensors as a consumer of
the AB8500 VAUX1 regulator.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500-regulators.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c
b
This patch lists the L3G4200D Gyroscope as a consumer of the
AB8500 VAUX1 regulator.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500-regulators.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c
b/arch/arm
power state because SoC
sets a voltage of 0.95 V where the kernel set a voltage of
0.925 V.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500-regulators.c | 10 --
drivers/regulator/ab8500.c
From: Jonas Aaberg jonas.ab...@stericsson.com
Update TVOUT regulator to match specification. (Was 10ms,
changed to 500us.)
Signed-off-by: Jonas Aaberg jonas.ab...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Bengt JONSSON bengt.g.jons...@stericsson.com
---
drivers
to set these register bits
as well (change in the driver). If there is a need to set
these bits, they should be set during early boot, in e. g. SoC
settings.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500
This patch lists the MMIO Camera as a consumer of the AB8500
VAUX1 regulator.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500-regulators.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c
b/arch/arm/mach
This patch lists the Cypress TrueTouch Touchscreen as a consumer
of the AB8500 VAUX1 regulator.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500-regulators.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c
Add 3 more specific consumers pertaining to the displays found
on the u8500 and ST User Interface Boards (UIBs).
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500-regulators.c |8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm
Remove suspend-force settings of VextSupply1 and add VextSupply1
in the external regulator driver.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500-regulators.c | 32 +++--
arch
This patch lists the Ambient light sensor device as a consumer
of the AB8500 VAUX1 regulator.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500-regulators.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c
b
This patch lists the Pressure sensor as a consumer of the AB8500
VAUX1 regulator.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500-regulators.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c
b/arch/arm
The purpose of this patch is to guarantee that ab8500-debug will
record the regulator registers before they are modified by the
ab8500 regulator driver.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Jonas ABERG jonas.ab
Remove suspend-force settings of VextSupply2 and
add VextSupply2 in the external regulator driver.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500-regulators.c | 63 -
drivers
Operations regulator_set_mode and regulator_get_mode are added.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Mattias NILSSON mattias.i.nils...@stericsson.com
Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com
---
drivers
From: Bengt Jonsson bengt.g.jons...@stericsson.com
Operations regulator_suspend_enable and regulator_suspend_disable
are added.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Mattias NILSSON mattias.i.nils...@stericsson.com
should
actually be altered. The purpose with this patch is to avoid
future mistakes when updating the allowed bits in the regulator
driver.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com
structure provided by the regulator
driver.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Yvan FILLION yvan.fill...@stericsson.com
---
arch/arm/mach-ux500/board-mop500-regulators.c | 12 +---
arch/arm/mach-ux500/board
From: Bengt Jonsson bengt.g.jons...@stericsson.com
Variable is renamed in driver. Some comments are added.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Mattias NILSSON mattias.i.nils...@stericsson.com
Reviewed-by: Jonas
for the AB8500
BattOk levels.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500-regulators.c | 30 +++
drivers/regulator/Kconfig |8 +
drivers/regulator/Makefile
To locate the consumers that currently hold a regulator we're
creating a new sysfs entry. The consumers are published in
/sys/class/regulator/regulator.#/use
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/regulator/core.c | 37 +
1 file changed
From: Bengt Jonsson bengt.g.jons...@stericsson.com
Body biasing is handled by PRCMU and should not be overwritten
by the kernel.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com
---
arch
From: Bengt Jonsson bengt.g.jons...@stericsson.com
Update the comments for the existing regulator initialisation
registers and provide some more configuration options, taken from
the datasheet.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo
Vrf1 regulator is put in HW control at initialization. Forcing
this regulator to HW control in suspend is removed.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Martin PERSSON martin.pers...@stericsson.com
---
arch/arm/mach
.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Mattias WALLIN mattias.wal...@stericsson.com
---
drivers/regulator/ab8500.c | 115 +---
1 file changed, 88 insertions(+), 27 deletions(-)
diff
From: Emeric Vigier emeric.vig...@stericsson.com
Signed-off-by: Ludovic Barré ludovic.ba...@stericsson.com
Signed-off-by: Emeric Vigier emeric.vig...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Bengt JONSSON bengt.g.jons...@stericsson.com
---
drivers/regulator
Vsmps3 is put in HW control by SysClkReq1 at init. The
corresponding settings in suspend-force are removed.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500-regulators.c | 27
From: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Martin PERSSON martin.pers...@stericsson.com
Tested-by: David PARIS david.paris-no...@stericsson.com
---
arch/arm/mach-ux500
From: Martin Persson martin.pers...@stericsson.com
Signed-off-by: Martin Persson martin.pers...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Emeric VIGIER emeric.vig...@stericsson.com
Reviewed-by: Bengt JONSSON bengt.g.jons...@stericsson.com
---
arch/arm/mach-ux500
Remove VBB from suspend force and add correct init values
Signed-off-by: Lee Jones lee.jo...@linaro.org
Signed-off-by: Martin Persson martin.pers...@stericsson.com
Reviewed-by: Bengt JONSSON bengt.g.jons...@stericsson.com
---
arch/arm/mach-ux500/board-mop500-regulators.c | 18
... Especially in a series like this it's
really bad to just see loads of patches which boil down to change the
semi-documented magic value - this just makes the series depressing to
read.
I'm currently working on making _slightly_ less depressing - bear with. :)
--
Lee Jones
Linaro ST
Hi Mark,
As requested, the whole-shebang. Hopefully this patch-set is less bitty
and depressing to review now. Honestly, the things I do for you. :)
The Mainline AB8500 and DB8500 regulators are currently stuck in the
Victorian era (AKA v2.6.35). This branch contains all of the
upstreamable
to aid with clarity.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500-regulators.c | 40 +++--
drivers/regulator/ab8500.c| 39 ++--
include/linux/regulator/ab8500.h |8 +
3 files
From: Bengt Jonsson bengt.g.jons...@stericsson.com
Operations regulator_suspend_enable and regulator_suspend_disable
are added.
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Mattias NILSSON mattias.i.nils...@stericsson.com
To obtain full AB8540 regulator support, the AB8500 regulator driver
first needs to know its register layout and their initialisation values
for each. That information is provided via a couple of large data
structures which we provide here.
Signed-off-by: Lee Jones lee.jo...@linaro.org
From: Zhenhua HUANG zhenhua.hu...@stericsson.com
Fix the parameters for vsdio in idle mode and normal mode.
Signed-off-by: Zhenhua HUANG zhenhua.hu...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Maxime COQUELIN maxime.coque...@stericsson.com
Reviewed-by: Xiao Mei
Following a recent move to regulator_list_voltage_table() for
all previous abx500 related platforms this converts all recent
platform updates over too.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/regulator/ab8500.c | 61 +++-
1 file changed
Regulator platform data is now passed though a single structure
as opposed to the old way where four separate struct elements
were required. This patch makes use of the new format.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500.c |5 +
include/linux
Allow the regulator framework to directly access the time it takes
any given regulator to settle. This saves time and code because
without it we would have to implement a dedication function to read
the value from elsewhere.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/regulator
The regulator framework offers a generic regulator_list_voltage_table()
function which can directly look-up a regulator's voltage capabilities
using a table provided through the desc structure. This patch ensures
that information is available.
Signed-off-by: Lee Jones lee.jo...@linaro.org
From: Zhenhua HUANG zhenhua.hu...@stericsson.com
Introduce aux5, aux6 into ab8540 regulator framework.
Signed-off-by: Zhenhua HUANG zhenhua.hu...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Maxime COQUELIN maxime.coque...@stericsson.com
Reviewed-by: David PARIS
The regulator framework now has provisions to read a regulator's
start-up time via the 'enable_time' attribute. So let's remove all
'enable_time'/'delay' duplication and just stick with 'enable_time'
from now on.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/regulator/ab8500.c |8
From: Bengt Jonsson bengt.g.jons...@stericsson.com
The external regulator driver checks for old AB8500 HW
to apply a fix. This patch adds a check to see that
it is a AB8500 (not AB8505/AB9540).
Signed-off-by: Bengt Jonsson bengt.g.jons...@stericsson.com
Signed-off-by: Lee Jones lee.jo
At the probe use a structure to select the good regulator array from
from ab9540, ab8505, ab8540 or ab8500 configuration.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/regulator/ab8500.c | 135 +---
1 file changed, 64 insertions(+), 71
and continue
to successfully register itself with the Regulator subsystem.
Signed-off-by: Gabriel Fernandez gabriel.fernan...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Philippe LANGLAIS philippe.langl...@stericsson.com
Reviewed-by: Linus WALLEIJ linus.wall
Add voltage setting for vdmic; add LP mode setting for vamic1,2.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/regulator/ab8500.c | 45 +++-
1 file changed, 40 insertions(+), 5 deletions(-)
diff --git a/drivers/regulator/ab8500.c b/drivers
v-amic1 and v-amic2 regulators have dedicated mode registers
and share the same mode bit. This patch adds special handling
for those regulators.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500-regulators.c | 10 +-
drivers/regulator/ab8500.c
401 - 500 of 24011 matches
Mail list logo