On Wednesday 22 June 2016 21:22:17 Ivaylo Dimitrov wrote: > The ir-rx51 driver for n900 has been disabled since the multiarch > changes as plat include directory no longer is SoC specific. > > Let's fix it with minimal changes to pass the dmtimer calls in > pdata. Then the following changes can be done while things can > be tested to be working for each change: > > 1. Change the non-pwm dmtimer to use just hrtimer if possible > > 2. Change the pwm dmtimer to use Linux PWM API with the new > drivers/pwm/pwm-omap-dmtimer.c and remove the direct calls > to dmtimer functions > > 3. Parse configuration from device tree and drop the pdata > > Note compilation of this depends on the previous patch > "ARM: OMAP2+: Add more functions to pwm pdata for ir-rx51". I think that this extensive description is not needed for commit message. Just for email discussion. > Cc: Mauro Carvalho Chehab > Cc: Neil Armstrong > Cc: linux-media-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > Signed-off-by: Tony Lindgren > Signed-off-by: Ivaylo Dimitrov > Acked-by: Pavel Machek > --- -- Pali Rohár pali.rohar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org