- 03 Apr, 2013 7 commits
-
-
Lee Jones authored
The ab*_match[] arrays should be moved out of the way, instead of bunched in the middle of the initialisation functions. This patch moves all initialisation code which currently resides above these arrays down to be grouped with the others. This makes the whole thing slightly easier to read. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
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.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
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.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
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.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
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.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Zhenhua HUANG authored
Introduce aux5, aux6 into ab8540 regulator framework. Signed-off-by:
Zhenhua HUANG <zhenhua.huang@stericsson.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org> Reviewed-by:
Maxime COQUELIN <maxime.coquelin@stericsson.com> Reviewed-by:
David PARIS <david.paris@stericsson.com> Reviewed-by:
Philippe LANGLAIS <philippe.langlais@stericsson.com> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
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.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
- 02 Apr, 2013 12 commits
-
-
Axel Lin authored
Signed-off-by:
Axel Lin <axel.lin@ingics.com> Acked-by:
Bengt Jonsson <bengt.g.jonsson@stericsson.com> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Axel Lin authored
operating_point is not used since the initial commit of db8500-prcmu driver, remove it. Signed-off-by:
Axel Lin <axel.lin@ingics.com> Acked-by:
Bengt Jonsson <bengt.g.jonsson@stericsson.com> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
Add voltage setting for vdmic; add LP mode setting for vamic1,2. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
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.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
In former functions, only can set Vaux3 to 2.91V, because the highest bit of Vaux3 register is put into another register. So add new expanded functions for Vaux3's operation. Signed-off-by:
zhang xiaomei <xiaomei.zhang@stericsson.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org> Reviewed-by:
Philippe LANGLAIS <philippe.langlais@stericsson.com> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
Ensure we initialise AB8505 external supply regulators. Signed-off-by:
Alexandre Torgue <alexandre.torgue@stericsson.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org> Reviewed-by:
Philippe LANGLAIS <philippe.langlais@stericsson.com> Tested-by:
Xiao Mei ZHANG <xiaomei.zhang@stericsson.com> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Rabin Vincent authored
ExtSupply regulators are not included on AB8505 based platforms. Signed-off-by:
Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org> Tested-by:
Marcus COOPER <marcus.xm.cooper@stericsson.com> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
The regulator ID in the regulator info array should be the same values as the position of the element within the array. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
Add the support for ab9540 external regulators. Signed-off-by:
Michel JAOUEN <michel.jaouen@stericsson.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org> Reviewed-by:
Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
Before the AB8500 External Regulator driver was Mainlined, it used to be conditionally compiled in using the CONFIG_REGULATOR_AB8500_EXT flag. During the review process that capability was removed, but the guard controlling prototyping slipped though the net. This patch cleans it up. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
Following commit: "7a4f2609 ARM: ux500: de-globalize <mach/id.h>", the use of 'mach/id.h' is no longer valid. This patch continues the work of the aforementioned commit on patches applied around the same time, containing the merge-conflict. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
- 01 Apr, 2013 8 commits
-
-
Lee Jones authored
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.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
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 <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
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.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
To obtain full AB8505 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.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Bengt Jonsson authored
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.jonsson@stericsson.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
Update TVOUT regulator to match specification. Was 10ms - changed to 500us. Signed-off-by:
Jonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org> Reviewed-by:
Bengt JONSSON <bengt.g.jonsson@stericsson.com> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
To obtain full AB9540 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.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
More platforms are to be supported by the AB8500 regulator driver, so in this patch we prepare for their arrival. Instead of using the AB8500 settings blindly, we provide an infrastructure where adding a new platform is as easy as providing a couple of platform specific data structures. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
- 29 Mar, 2013 9 commits
-
-
Axel Lin authored
Don't update info->update_val if write to the register fails. Signed-off-by:
Axel Lin <axel.lin@ingics.com> Acked-by:
Bengt Jonsson <bengt.g.jonsson@stericsson.com> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
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:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
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.jonsson@stericsson.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Bengt Jonsson authored
Support for HW request is added in the external regulator driver. A flag in the board configuration can be set to let HW control the regulator when there is no SW request. This means that the regulator will be put in high power mode when there is a SW request and in HW-request mode otherwise. Signed-off-by:
Bengt Jonsson <bengt.g.jonsson@stericsson.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org> Reviewed-by:
Mattias NILSSON <mattias.i.nilsson@stericsson.com> Reviewed-by:
Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
v20 HREFs require non-standard configuration of EXT_SUPPLY2 to function correctly (specific information is commented). Here we make use of the recently added mechanism to adapt initialisation values for such use-cases. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
When older variants of the HREF (earlier than v22) development platform enter suspend mode, power down EXT_SUPPLY1. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
If particular platforms require non-standard initialisation values, they can use this function to adapt them as required. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
Pass constraint information for recently supported external AB8500 controlled regulators. Also change the start-up initialisation settings for each of the 3 supported external supplies to low-power, off and high-power for supply 1, 2 and 3 respectively. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
The ABx500 is capable of controlling three external regulator supplies. Most commonly on and off are supported, but if an external regulator chipset or power supply supports high-power and low-power mode settings, we can control those too. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
- 28 Mar, 2013 4 commits
-
-
Lee Jones authored
The issues probably originated from a typo in the initial submission. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
This patch adds the LSM303DLHC Accelerometer to the list of VAUX1 consumers, as well as amending the already added LSM303DLHC Magnetometer's device ID. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
Clean out initialisation that is handled by SoC. Regulator settings for Vpll (partly), Vsmps1, Vsmps2, Vsmps3 (partly), Vrf1, Varm, Vape, Vbb, Vmod are cleaned out. They should not be touched by the kernel. We also update many of the initialisation values to be more in-line with the current development efforts of ST-Ericsson internal engineers. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Lee Jones authored
The MMIO camera uses the VAUX1 as it's voltage supply. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-