Re: [PATCH 1/1] ARM: ux500: Change IRQ from low-to-high edge triggered to high-to-low

2012-12-04 Thread Lee Jones
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

Re: [PATCH 1/1] gpio: Provide the STMPE GPIO driver with its own IRQ Domain

2012-12-04 Thread Lee Jones
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

Re: [PATCH 1/1] ARM: ux500: Change IRQ from low-to-high edge triggered to high-to-low

2012-12-04 Thread Lee Jones
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

Re: [PATCH V5 2/2] mfd: stmpe: Update DT support in stmpe driver

2012-12-05 Thread Lee Jones
...@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

Re: [PATCH 01/49] regulator: ab8500: Further populate initialisation registers

2013-02-08 Thread Lee Jones
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

Re: [PATCH 09/14] pinctrl/abx500: use direct IRQ defines

2013-02-08 Thread Lee Jones
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

Re: [PATCH 26/49] ARM: ux500: Partially revert changes surrounding audio regulators

2013-02-08 Thread Lee Jones
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

[GIT PULL] mfd: First patch-set to update the AB8500 series

2013-02-04 Thread Lee Jones
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

Re: [PATCH 09/26] mfd: ab8500-debugfs: Provide a means for a user subscribe to IRQs

2013-02-04 Thread Lee Jones
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

[PATCH 00/73 v2] Regulators: Bring the AB8500 into the 20th century

2013-02-04 Thread Lee Jones
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

[PATCH 17/73] regulator: ab8500-ext: Add HW request support

2013-02-04 Thread Lee Jones
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

[PATCH 22/73] regulator: ab8500: Remove USB regulator

2013-02-04 Thread Lee Jones
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

[PATCH 31/73] regulator: ab8500: Remove Vsafe settings

2013-02-04 Thread Lee Jones
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

[PATCH 39/73] regulator: ab8500-ext: Add support for AB9540 regulators

2013-02-04 Thread Lee Jones
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

[PATCH 51/73] regulator: ab8500: Regulator vaux8 not declared using correct name

2013-02-04 Thread Lee Jones
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

[PATCH 55/73] regulator: ab8500: Provide ExtSupply register init values for AB8505

2013-02-04 Thread Lee Jones
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

[PATCH 57/73] regulator: ab8500: Remove surplus include of id.h

2013-02-04 Thread Lee Jones
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

[PATCH 61/73] regulator: ab8500: Default value on LDO USB to HP

2013-02-04 Thread Lee Jones
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

[PATCH 65/73] regulator: ab8500: Update VAna supply management for the AB9540

2013-02-04 Thread Lee Jones
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

[PATCH 69/73] regulator: ab8500: Introduce aux5, aux6 regulators for AB8540

2013-02-04 Thread Lee Jones
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

[PATCH 71/73] regulator: ab8500: Remove the need for a 'delay' property

2013-02-04 Thread Lee Jones
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

[PATCH 72/73] regulator: ab8500: Use regulator_list_voltage_table() to look-up voltages

2013-02-04 Thread Lee Jones
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

[PATCH 63/73] regulator: ab8500: Add mode operation for v-amic

2013-02-04 Thread Lee Jones
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

[PATCH 67/73] regulator: ab8500: Use a struct to select the good regulator configuration

2013-02-04 Thread Lee Jones
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

[PATCH 73/73] ARM: ux500: Pass regulator platform data using the new format

2013-02-04 Thread Lee Jones
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

[PATCH 70/73] regulator: ab8500: Set enable enable_time in regulator_desc

2013-02-04 Thread Lee Jones
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

[PATCH 68/73] regulator: ab8500: Provide DT support for additional platforms

2013-02-04 Thread Lee Jones
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

[PATCH 66/73] regulator: ab8500-ext: Adapt regulator registration for newly changed API

2013-02-04 Thread Lee Jones
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

[PATCH 64/73] regulator: ab8500: Update vdmic, vamic[1|2] parameters for AB8540

2013-02-04 Thread Lee Jones
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

[PATCH 59/73] regulator: ab8500: Change mode fix for LDO USB

2013-02-04 Thread Lee Jones
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

[PATCH 60/73] ARM: ux500: regulators: Add LDO USB consumer

2013-02-04 Thread Lee Jones
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

[PATCH 62/73] regulator: ab8500: Remove vusb from AB8540 regulator framework

2013-02-04 Thread Lee Jones
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

[PATCH 58/73] regulator: ab8500: Add new operations for Vaux3

2013-02-04 Thread Lee Jones
-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

[PATCH 56/73] regulator: ab8500: Also check for AB8505 based platforms

2013-02-04 Thread Lee Jones
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

[PATCH 07/73] regulator: ab8500: Fix for regulator_set_mode functionality

2013-02-04 Thread Lee Jones
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

[PATCH 47/73] regulator: ab8500: Update AB9540 init masks

2013-02-04 Thread Lee Jones
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

[PATCH 46/73] regulator: ab8500: Delete useless fixed_uV field

2013-02-04 Thread Lee Jones
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

[PATCH 50/73] regulator: ab8500: Correct regulator id values

2013-02-04 Thread Lee Jones
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

[PATCH 53/73] regulator: ab8500: Don't register external regulators on AB8505

2013-02-04 Thread Lee Jones
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

[PATCH 54/73] regulator: ab8500: Add voltage selection for AUDIO and ANA on AB8505

2013-02-04 Thread Lee Jones
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

[PATCH 52/73] ARM ux500: Remove external regulators from AB8505 init data

2013-02-04 Thread Lee Jones
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

[PATCH 49/73] regulator: ab8500: Fix vsdio parameters for AB8540 based platforms

2013-02-04 Thread Lee Jones
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

[PATCH 48/73] regulator: ab8500: Use regulator_list_voltage_table()

2013-02-04 Thread Lee Jones
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

[PATCH 43/73] regulator: ab8500: Add VSDIO definition for the AB8540

2013-02-04 Thread Lee Jones
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

[PATCH 45/73] regulator: ab8500: Update voltage handling for fixed voltage regulators

2013-02-04 Thread Lee Jones
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

[PATCH 44/73] regulator: ab8500: Vaux5/6 cannot be disabled on the AB8540

2013-02-04 Thread 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

[PATCH 41/73] regulator: ab8500: Provide full settings for AB8540 regulators

2013-02-04 Thread Lee Jones
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

[PATCH 42/73] regulator: ab8500: Correct init mask for AB8540

2013-02-04 Thread Lee Jones
...@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

[PATCH 40/73] regulator: ab8500: Add AB8505 register initialization

2013-02-04 Thread Lee Jones
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

[PATCH 37/73] regulator: ab8500: add support for ab8505

2013-02-04 Thread Lee Jones
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

[PATCH 33/73] regulator: ab8500: Add support for the AB9540

2013-02-04 Thread Lee Jones
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

[PATCH 35/73] regulator: ab8500-ext: Add support for AB8505/AB9540

2013-02-04 Thread Lee Jones
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

[PATCH 38/73] ARM: ux500: regulator: Use device IDs instead of device names

2013-02-04 Thread Lee Jones
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

[PATCH 36/73] ARM: ux500: Partially revert changes surrounding audio regulators

2013-02-04 Thread Lee Jones
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

[PATCH 25/73] ARM: ux500: Add supply for the Proximity and Hal sensor

2013-02-04 Thread Lee Jones
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

[PATCH 24/73] ARM: ux500: Add supply for the L3G4200D Gyroscope

2013-02-04 Thread Lee Jones
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

[PATCH 30/73] regulator: ab8500: Remove Vsafe voltage settings

2013-02-04 Thread Lee Jones
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

[PATCH 34/73] regulator: ab8500: Correct TVOUT regulator start-up delay

2013-02-04 Thread Lee Jones
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

[PATCH 32/73] regulator: ab8500: Clean out SoC registers

2013-02-04 Thread Lee Jones
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

[PATCH 29/73] ARM: ux500: Add supply for the MMIO Camera

2013-02-04 Thread Lee Jones
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

[PATCH 28/73] ARM: ux500: Add supply for the Cypress TrueTouch Touchscreen

2013-02-04 Thread Lee Jones
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

[PATCH 15/73] ARM: ux500: Update displays in vaux1 consumer list

2013-02-04 Thread Lee Jones
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

[PATCH 20/73] regulator: ab8500-ext: Add VextSupply1 regulator

2013-02-04 Thread Lee Jones
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

[PATCH 26/73] ARM: ux500: Add supply for the Ambient light sensor device

2013-02-04 Thread Lee Jones
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

[PATCH 27/73] ARM: ux500: Add supply for the Pressure sensor

2013-02-04 Thread Lee Jones
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

[PATCH 23/73] regulator: ab8500: Init debug from regulator driver

2013-02-04 Thread Lee Jones
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

[PATCH 21/73] regulator: ab8500-ext: Add VextSupply2 regulator

2013-02-04 Thread Lee Jones
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

[PATCH 19/73] regulator: ab8500-ext: Add regulator_set_mode/get_mode

2013-02-04 Thread Lee Jones
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

[PATCH 18/73] regulator: ab8500-ext: Add suspend support

2013-02-04 Thread Lee Jones
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

[PATCH 09/73] ARM: ux500: regulators: Add mask for configuration

2013-02-04 Thread Lee Jones
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

[PATCH 13/73] regulator: ab8500: Separate regulator and MFD platform data

2013-02-04 Thread Lee Jones
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

[PATCH 16/73] regulator: ab8500-ext: Cosmetic changes

2013-02-04 Thread Lee Jones
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

[PATCH 14/73] regulator: ab8500: Add support of low voltage battery

2013-02-04 Thread Lee Jones
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

[PATCH 12/73] regulator: core: Show consumers that hold a regulator in Sysfs

2013-02-04 Thread Lee Jones
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

[PATCH 11/73] regulator: ab8500: Removed initialization of body biasing

2013-02-04 Thread Lee Jones
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

[PATCH 10/73] regulator: ab8500: Added more configurable bits

2013-02-04 Thread Lee Jones
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

[PATCH 02/73] regulator: ab8500: Initialize Vrf1 regulator

2013-02-04 Thread Lee Jones
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

[PATCH 08/73] regulator: ab8500: Added get_optimum_mode on regulators with idle mode

2013-02-04 Thread Lee Jones
. 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

[PATCH 06/73] regulator: ab8500: Add set_mode/get_mode support

2013-02-04 Thread Lee Jones
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

[PATCH 05/73] ARM: ux500: Vsmps3 controlled by SysClkReq1

2013-02-04 Thread Lee Jones
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

[PATCH 04/73] regulator: ab8500: Added SysClkReq1 control of Vpll

2013-02-04 Thread Lee Jones
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

[PATCH 03/73] regulator: ab8500: Add init values for vsmps1/2

2013-02-04 Thread Lee Jones
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

[PATCH 01/73] regulator: ab8500: Remove VBB from suspend force

2013-02-04 Thread Lee Jones
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

Re: [PATCH 05/73] ARM: ux500: Vsmps3 controlled by SysClkReq1

2013-02-05 Thread Lee Jones
... 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

[PATCH 00/49] Regulators: Bring the AB8500 into the 21st century

2013-02-06 Thread Lee Jones
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

[PATCH 01/49] regulator: ab8500: Further populate initialisation registers

2013-02-06 Thread Lee Jones
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

[PATCH 12/49] regulator: ab8500-ext: Add suspend support

2013-02-06 Thread Lee Jones
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

[PATCH 30/49] regulator: ab8500: Add support for the ab8540

2013-02-06 Thread Lee Jones
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

[PATCH 34/49] regulator: ab8500: Fix vsdio parameters for AB8540 based platforms

2013-02-06 Thread Lee Jones
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

[PATCH 33/49] regulator: ab8500: Use regulator_list_voltage_table()

2013-02-06 Thread Lee Jones
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

[PATCH 49/49] ARM: ux500: Pass regulator platform data using the new format

2013-02-06 Thread Lee Jones
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

[PATCH 46/49] regulator: ab8500: Set enable enable_time in regulator_desc

2013-02-06 Thread Lee Jones
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

[PATCH 48/49] regulator: ab8500: Use regulator_list_voltage_table() to look-up voltages

2013-02-06 Thread Lee Jones
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

[PATCH 45/49] regulator: ab8500: Introduce aux5, aux6 regulators for AB8540

2013-02-06 Thread Lee Jones
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

[PATCH 47/49] regulator: ab8500: Remove the need for a 'delay' property

2013-02-06 Thread Lee Jones
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

[PATCH 25/49] regulator: ab8500-ext: Add support for AB8505/AB9540

2013-02-06 Thread Lee Jones
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

[PATCH 44/49] regulator: ab8500: Use a struct to select the good regulator configuration

2013-02-06 Thread Lee Jones
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

[PATCH 43/49] regulator: ab8500-ext: Adapt regulator registration for newly changed API

2013-02-06 Thread Lee Jones
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

[PATCH 42/49] regulator: ab8500: Update vdmic, vamic[1|2] parameters for AB8540

2013-02-06 Thread Lee Jones
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

[PATCH 41/49] regulator: ab8500: Add mode operation for v-amic

2013-02-06 Thread Lee Jones
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

<    1   2   3   4   5   6   7   8   9   10   >