Re: [PATCH V4] pwm: lpc32xx - Add a driver for the motor PWM

From: Arnd Bergmann
Date: Wed Sep 10 2014 - 11:52:03 EST


On Wednesday 10 September 2014 17:43:42 Alban Bedel wrote:
> +- #pwm-cells: should be 3. See pwm.txt in this directory for a description of
> + the cells format. The only third cell flag supported by this binding is
> + PWM_POLARITY_INVERTED.

If you don't have multiple pwm outputs or programmable period, I would say it
should use #pwm-cells=<1> and only pass the polarity.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/