[PATCH] fix-lid302dl-bitbang-all-the-way-baby.patch

Andy Green andy at openmoko.com
Fri Aug 29 10:17:19 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| On Thu, Aug 28, 2008 at 12:29:22AM +0800, matt_hsu wrote:
|> Michael 'Mickey' Lauer wrote:
|>> Am Mittwoch 27 August 2008 17:43:45 schrieb Andy Green:
|>>
|>>> What I did was change the timer used in the resource for fiq on 2.6.27
|>>> and it seemed to be OK then.  We don't use the PWM for LEDs due to
|>>>
|>    IIRC, we don't use PWM to drive LED due to suspend/resume. Since PWM
|> logic becomes odd after resuming.
|>    In consequence, LEDs can't be blinking anymore after resuming. I sent
|> the patch to fix the PWM issue.
|>    It should be worked if we use PWM for LEDs
|
| please also consider PWM for the vibrator.  the vibrator is not
vibrating as
| strong in GTA02 than it did in GTA01.  This is probably due to the
fact that it
| now runs on Vbatt rather than IO_3V3 (i thought it is just not good to
run a
| high-current consumer like an electrical motor off a digital power lane).
| However, the higher voltage (it is within spec of the vibrator) seems
to make the
| vibration less powerful.  I suspect it is moving too fast to resonate.
|
| Having PWM on the vibrator would allow us to try to optimize the
optimum RPM
| for maximum vibration.

We should have "PWM" on there Harald by FIQ, it should be similar
functionality as hardware PWM.

It should respond to

cat
/sys/devices/platform/neo1973-vibrator.0/leds/neo1973:vibrator/brightness

as usual.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAki3sI4ACgkQOjLpvpq7dMpJzwCdH1LJobwVv6UnjEXw4LmjDfP0
LX4AoIZJXe3MrF9JbBJO8K8oG14TfPid
=wVvd
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list