Am 23.11.09 18:39 schrieb(en) Grant Likely:
There is no overlap here (except for the degenerate case of using a PWM as an output only GPIO... which is useful. Board designers do crazy things).
But there may be cases where a device pin is used as GPIO *and* as pwm output. Think of a relay output driver which may be used a state GPIO to indicate that the device is up, or as a pulsed heartbeat output (some safety schemes require that) for the same purpose, selected by a run-time (not device tree!) config option.
I actually do exactly this with one of the Freescale 5200's pins, and would therefore also appreciate a "unified" approach. Cheers, Albrecht.
Attachment:
pgplsC5Rp0zL8.pgp
Description: PGP signature