Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
gta04 - apply voltage for VSIM (external GPS antenna)
http://lists.goldelico.com/pipermail/gta04-owner/2012-September/002961.html

On Thu, 13 Sep 2012 19:03:26 +0200 Christoph Mair <christoph.mair at gmail.com>
wrote:

> On Wed, Sep 12, 2012 at 8:38 PM, Radek Polak <psonek2 at seznam.cz> wrote:
> > QtMoko v48 is out now, you can download images for Freerunner and GTA04 from
> > here [1][2]. For more info about QtMoko please visit our homepage [3].
>
> Thanks for another great release!
>
> >   * changes for 3.5 kernel on gta04
> >   * turning of gps antena on gta04 during startup to save power
>
> I've noticed that my device does not recognize the external antenna
> anymore. The VSIM regulator which supplies the antenna delivers only
> 1.8V instead of 2.8V. I haven't looked at the kernel source yet, but
> there might be a bug somewhere because 'cat
> /sys/class/regulator/regulator.8/microvolts' returns 1.8V while the
> min and max parameters are set to 2.8V

Try

diff --git a/arch/arm/mach-omap2/board-omap3gta04.c b/arch/arm/mach-omap2/board-omap3gta04.c
index 8d750d2..19b9fe3 100644
--- a/arch/arm/mach-omap2/board-omap3gta04.c
+++ b/arch/arm/mach-omap2/board-omap3gta04.c
@@ -572,6 +572,7 @@ static struct regulator_init_data gta04_vsim = {
 		.name			= "VSIM",
 		.min_uV			= 2800000,
 		.max_uV			= 2800000,
+		.apply_uV		= 1,
 		.valid_modes_mask	= REGULATOR_MODE_NORMAL
 					| REGULATOR_MODE_STANDBY,
 		.valid_ops_mask		= REGULATOR_CHANGE_VOLTAGE

without this, it just assumes the voltage is correct.

NeilBrown
  • Loading branch information
radekp committed Feb 26, 2013
1 parent a80d1a7 commit df7753b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-omap2/board-omap3gta04.c
Expand Up @@ -571,6 +571,7 @@ static struct regulator_init_data gta04_vsim = {
.name = "VSIM",
.min_uV = 2800000,
.max_uV = 2800000,
.apply_uV = 1,
.valid_modes_mask = REGULATOR_MODE_NORMAL
| REGULATOR_MODE_STANDBY,
.valid_ops_mask = REGULATOR_CHANGE_VOLTAGE
Expand Down

0 comments on commit df7753b

Please sign in to comment.