26 Mar, 2011
1 commit
-
Acked-by: Mark Brown
This switches the ab3100 core to use the enable_time()
infrastructure from the regulator core.Cc: Mattias Wallin
Signed-off-by: Linus Walleij
Signed-off-by: Liam Girdwood
23 Mar, 2011
1 commit
-
The cell's platform_data is now accessed with a helper function;
change clients to use that, and remove the now-unused data_size.Signed-off-by: Andres Salomon
Signed-off-by: Samuel Ortiz
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
01 Sep, 2010
1 commit
-
In current implementation, ab3100_regulators[0].rdev is not unregistered if
the error happen at i > 0.This patch fixes the resource leak and also improves the readability.
Signed-off-by: Axel Lin
Acked-by: Linus Walleij
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood
27 Jul, 2010
1 commit
-
We use voltage selector as an array index for typ_voltages.
Thus the valid range for voltage selector should be 0..voltages_len-1.Signed-off-by: Axel Lin
Acked-by: Mark Brown
Acked-by: Linus Walleij
Signed-off-by: Liam Girdwood
28 May, 2010
2 commits
-
The interface for the AB3100 is changed to make way for the
ABX500 family of chips: AB3550, AB5500 and future ST-Ericsson
Analog Baseband chips. The register access functions are moved
out to a separate struct abx500_ops. In this way the interface
is moved from the implementation and the sub functionality drivers
can keep their interface intact when chip infrastructure and
communication mechanisms changes. We also define the AB3550
device IDs and the AB3550 platform data struct and convert
the catenated 32bit event to an array of 3 x 8bits.Signed-off-by: Mattias Wallin
Signed-off-by: Linus Walleij
Signed-off-by: Samuel Ortiz -
The goal here is to make way for a more general interface for the
analog baseband chips ab3100 ab3550 ab550 and future chips.This patch have been divided into two parts since both changing name
and content of a file is not recommended in git.Signed-off-by: Mattias Wallin
Signed-off-by: Linus Walleij
Signed-off-by: Samuel Ortiz
25 May, 2010
1 commit
-
This patch adds a missing .owner field in regulator_desc, which is used for refcounting.
Signed-off-by: Axel Lin
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood
03 Mar, 2010
1 commit
-
Probe and remove methods should not be marked as __init/__exit but
rather __devinit/__devexit so that the needed sections stay in memory
in presence of CONFIG_HOTPLUG. This is needed even on non hotpluggable
buses.Signed-off-by: Dmitry Torokhov
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood
17 Dec, 2009
2 commits
-
This patch will remove surplus register writes on shut down of
LDO D (this magic was not needed), remove an unnecessary (!) error
check and really unregister the regulators when the module is
unloaded.Signed-off-by: Linus Walleij
Signed-off-by: Liam Girdwood -
'static const int const' means the same thing as 'static const int'
and sparse complains about this.Signed-off-by: Mark Brown
Signed-off-by: Liam Girdwood
17 Sep, 2009
2 commits
-
This sets the number of voltages for the AB3100 regulators so that
they play well with the voltage listing functions and can be used
properly with the MMC regulator integration glue for example.Signed-off-by: Linus Walleij
Signed-off-by: Samuel Ortiz -
This adds support for the regulators found in the AB3100
Mixed-Signal IC.It further also defines platform data for the ST-Ericsson
U300 platform and extends the AB3100 MFD driver so that
platform/board data with regulation constraints and an init
function can be passed down all the way from the board to
the regulators.Signed-off-by: Linus Walleij
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood
Signed-off-by: Samuel Ortiz