Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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