Re: Nokia N900: Broken lirc ir-rx51 driver

From: Pavel Machek
Date: Mon May 02 2016 - 03:06:32 EST


On Fri 2016-04-22 15:49:29, Pali Rohár wrote:
> On Tuesday 05 January 2016 17:12:50 Tony Lindgren wrote:
> > * Pali Rohár <pali.rohar@xxxxxxxxx> [160105 02:19]:
> > > On Saturday 02 January 2016 09:06:57 Tony Lindgren wrote:
> > > >
> > > > Yup please take a look at thread "[PATCH 0/3] pwm: omap: Add PWM support
> > > > using dual-mode timers". Chances are we still need to set up the dmtimer
> > > > code to provide also irqchip functions. That way ir-rx51.c can just do
> > > > request_irq on the selected dmtimer for interrupts.
> > >
> > > No I see that patch from that thread uses dmtimer.h from plat-omap. So
> > > it is really OK?
> >
> > It's using the header to populate the platform data in mach-omap2 so
> > that's fine. But we do not want to directly expose the dmtimer functions
> > to device drivers as they are not Linux generic at this point.
> >
> > Regards,
> >
> > Tony
>
> Hi Tony! Is there any progress for ir-rx51 driver? Months ago we were
> waiting for some omap pwm patches... What is current state?

Tony now posted patch series... it would be good to test them:

Date: Tue, 26 Apr 2016 16:51:47 -0700
From: Tony Lindgren <tony@xxxxxxxxxxx>
To: linux-omap@xxxxxxxxxxxxxxx
Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, Aaro Koskinen
<aaro.koskinen@xxxxxx>, Ivaylo Dimitrov
<ivo.g.dimitrov.75@xxxxxxxxx>, Sebastian Reichel
<sre@xxxxxxxxxx>, Pavel Machel
<pavel@xxxxxx>, Timo Kokkonen
<timo.t.kokkonen@xxxxxx>, linux-media@xxxxxxxxxxxxxxx,
Mauro
Carvalho Chehab <mchehab@xxxxxxxxxxxxxxx>,
Neil Armstrong <narmstrong@xxxxxxxxxxxx>
Subject: [PATCH 0/2] Fix ir-rx51 by using PWM
pdata
X-Mailer: git-send-email 2.8.1


Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html