Hi all i'm using a pwm output for control backlight of my screen. I need to have 2 PWM and i saw that mx53 has two pwm output.
In mx53_loco.c i have:
MX53_PAD_GPIO_1__PWM2_PWMO,
static struct platform_pwm_backlight_data mxc_pwm_backlight_data = {
.pwm_id = 1,
.max_brightness = 255,
.dft_brightness = 128,
.pwm_period_ns = 50000,
};
mxc_register_device(&mxc_pwm2_device, NULL);
mxc_register_device(&mxc_pwm1_backlight_device, &mxc_pwm_backlight_data);
and i have a pwm output and it work correctly..
how can I to have another pwm output?
thanks