24 Nov, 2011
1 commit
-
With device tree support for regulators, its needed that the
regulator_dev->dev device has the right of_node attached.
To be able to do this add an additional parameter to the
regulator_register() api, wherein the dt-adapted driver can
then pass this additional info onto the regulator core.Signed-off-by: Rajendra Nayak
Signed-off-by: Mark Brown
01 Nov, 2011
1 commit
-
Another group of drivers that are taking advantage of the implicit
presence of module.h -- and will break when we pull the carpet out
from under them during a cleanup. Fix 'em now.Signed-off-by: Paul Gortmaker
12 Jan, 2011
1 commit
-
Change the interface used by set_voltage() to report the selected value
to the regulator core in terms of a selector used by list_voltage().
This allows the regulator core to know the voltage that was chosen
without having to do an explict get_voltage(), which would be much more
expensive as it will generally access hardware.Signed-off-by: Mark Brown
Signed-off-by: Liam Girdwood
17 Dec, 2009
1 commit
-
If selector equals ARRAY_SIZE(da9034_ldo12_data), that is one too
large already.Signed-off-by: Roel Kluin
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood
22 Sep, 2009
7 commits
-
Signed-off-by: Roel Kluin
Signed-off-by: Haojian Zhuang
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood -
For val to be greater than 7 or less than 20 is logically always true.
Signed-off-by: Roel Kluin
Cc: Liam Girdwood
Cc: Mark Brown
Signed-off-by: Andrew Morton
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood -
Signed-off-by: Mike Rapoport
Signed-off-by: Liam Girdwood -
Make da903x driver to list voltage and count voltage.
Signed-off-by: Haojian Zhuang
Acked-by: Mark Brown
Acked-by: Eric Miao
Signed-off-by: Liam Girdwood -
In PXA3xx SoC family, V_CORE power doamin is supplied by BUCK1 that is
controller by ADTV1 or ADTV2 register.By default, v1 and v2 has the same copy. If v1 or v2 is updated, the last
value that is written to either register takes effect. It means that v1
and v2 has different copy. And the actual voltage output is determinated
by last update on either register.DA9034/35 is binded with PXA3xx SoC family. While SoC is scaling OP or
entering/exiting lower power mode, SoC needs to change voltage of V_CORE
power doamin. In order to be efficient, POWER I2C (hardcode) mode could
be enabled in SoC. In this mode, SoC will control v2 register directly.In original DA903x driver, software will only read regulator data from v1
register. But SoC controls v2 register directly. It results that v1 and v2
isn't synchronized. Wrong data will be read from v1 register. So access v2
register in da903x driver instead.Signed-off-by: Haojian Zhuang
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood -
Support the operation of DA9030 BUCK2 in da903x driver.
Signed-off-by: Haojian Zhuang
Acked-by: Mark Brown
Acked-by: Eric Miao
Acked-by: Mike Rapoport
Signed-off-by: Liam Girdwood -
BUCK3 is the new component in DA9035. So there're three BUCKs in DA9035.
And there're two BUCKs in DA9034.Signed-off-by: Haojian Zhuang
Acked-by: Mark Brown
Acked-by: Eric Miao
Signed-off-by: Liam Girdwood
15 Jun, 2009
1 commit
-
Regulators need to be available early in init in order to allow them
to be available for consumers when requested. This is generally done
by registering them at subsys_initcall() time but not all regulator
drivers have done that. Convert these drivers to do so in order to
mimimise future support.Signed-off-by: Mark Brown
Acked-by: Mike Rapoport
Signed-off-by: Liam Girdwood
18 May, 2009
1 commit
-
The remove function uses __devexit, so the .remove assignment needs
__devexit_p() to fix a build error with hotplug disabled.Signed-off-by: Mike Frysinger
CC: Liam Girdwood
CC: Mike Rapoport
CC: Eric Miao
Acked-by: Eric Miao
Signed-off-by: Liam Girdwood
31 Mar, 2009
1 commit
-
Rather than having the regulator init data read from the platform_data
member of the struct device that is registered for the regulator make
the init data an explict argument passed in when registering. This
allows drivers to use the platform data for their own purposes if they
wish.Signed-off-by: Mark Brown
Signed-off-by: Liam Girdwood
09 Jan, 2009
2 commits
-
Signed-off-by: Mike Rapoport
Signed-off-by: Liam Girdwood -
Signed-off-by: Mike Rapoport
Acked-by: Eric Miao
Signed-off-by: Liam Girdwood
30 Oct, 2008
1 commit
-
Changes the device registration part of the probe function to supply the
regulator device rather than its parent (the mfd device) as this caused
problems when the regulator core attempted to find constraints associated
with the regulators.Signed-off-by: Jonathan Cameron
Acked-by: Eric Miao
Signed-off-by: Liam Girdwood
14 Oct, 2008
1 commit
-
Signed-off-by: Eric Miao
Signed-off-by: Mike Rapoport
Signed-off-by: Liam Girdwood