On Mon, Jul 20, 2015 at 11:58:14AM +0200, Thierry Reding wrote:
> I guess it depends a bit on what the typical use-cases are for this
> chip. Is it usually used only for LEDs (the register names suggest it)?
> If so, how likely is it that people will want to drive them at different
> periods? If it's reasonable to require the same period for all of them,
> maybe it would be worth adding some sort of WARN_ON() or dev_warn() or
> something to notify integrators of this fact.

Not likely. If they read the datasheet of the PCA9685, they should know that
this is not even possible with that chip.

On what condition would you WARN / dev_warn in this case? If the user tries to
set different prescaler values to different channels?

Clemens
--
To unsubscribe from this list: send the line "unsubscribe linux-pwm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to