From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752570AbcAFBM7 (ORCPT ); Tue, 5 Jan 2016 20:12:59 -0500 Received: from muru.com ([72.249.23.125]:53517 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751873AbcAFBMz (ORCPT ); Tue, 5 Jan 2016 20:12:55 -0500 Date: Tue, 5 Jan 2016 17:12:50 -0800 From: Tony Lindgren To: Pali =?utf-8?B?Um9ow6Fy?= Cc: Aaro Koskinen , Ivaylo Dimitrov , Sebastian Reichel , Pavel Machel , Nishanth Menon , Timo Kokkonen , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Nokia N900: Broken lirc ir-rx51 driver Message-ID: <20160106011249.GH12777@atomide.com> References: <201601021545.35201@pali> <20160102170657.GB12622@atomide.com> <20160105101841.GI22661@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160105101841.GI22661@pali> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Pali Rohár [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