/* Basic support for the pwm module on imx6.  */
int pwm_init(int pwm_id, int div, int invert)
/* Basic support for the pwm module on imx6.  */
int pwm_init(int pwm_id, int div, int invert)
{
	struct pwm_regs *pwm = (struct pwm_regs *)pwm_id_to_reg(pwm_id);
	if (!pwm)
		return -1;
	writel(0, &pwm->ir);
	return 0;
}