On Monday 23 November 2009, Mark Brown wrote: > Judging from some of the other messages in the thread I suspect you're > thinking of a much closer mapping between PWM and GPIO pins - many SoCs > do have distinct PWM controllers that aren't terribly tied to a GPIO > pin. Sometimes they can be coupled to one of several pins ... possibly even outputting to several at the same time. > For them the whole concept of requesting a "pin" or having the PWM > controller be tied to a particular pin is going to be at best confusing, > you really do want to request the PWM controller itself and let the pin > mux setup figure out where that emerges from the SoC. Nicely put. At some level one ends with something like "pwm.2 channel 3" getting allocated, and does not care about pins except as more low-level artifacts to be ignored outside of board setup code. - Dave -- To unsubscribe from this list: send the line "unsubscribe linux-embedded" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html