Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758603Ab1F1PPc (ORCPT ); Tue, 28 Jun 2011 11:15:32 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:61293 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758067Ab1F1PNx (ORCPT ); Tue, 28 Jun 2011 11:13:53 -0400 From: Arnd Bergmann To: Sascha Hauer Subject: Re: [PATCH V2 0/3] Add drivers/pwm and drivers/pwm/st_pwm.c Date: Tue, 28 Jun 2011 17:13:15 +0200 User-Agent: KMail/1.12.2 (Linux/2.6.31-22-generic; KDE/4.3.2; x86_64; ; ) Cc: viresh kumar , "linux-arm-kernel@lists.infradead.org" , Armando VISCONTI , Shiraz HASHIM , Vipin KUMAR , Rajeev KUMAR , Deepak SIKRI , Vipul Kumar SAMAR , Amit VIRDI , Pratyush ANAND , Bhupesh SHARMA , "viresh.linux@gmail.com" , "akpm@linux-foundation.org" , "linux-kernel@vger.kernel.org" References: <201106271526.12848.arnd@arndb.de> <20110628100438.GI6069@pengutronix.de> In-Reply-To: <20110628100438.GI6069@pengutronix.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201106281713.16099.arnd@arndb.de> X-Provags-ID: V02:K0:UXf74s+tQVcDjxd1kM+h97xL2EB3Pyfr2NNWKZdU+np FnS8/ayF5zHYVzjL8tgFvGNBL1p0d1dp4d2HCPZFF4eU+fxQr+ mRNBkddbJeQK1wmk1qyAytXGmWp40PM8w+WAzDuV7r/Qkx/Cu8 kOQmG8EOQY96uMBuxl41W6qhiDilFvHp3BZCta+RCycPYxjBde AmqM5X0yDTeF+XcP7gtkQ== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1088 Lines: 25 On Tuesday 28 June 2011, Sascha Hauer wrote: > > > > Good question. If Sascha is able to come up with the patch to introduce > > the generic layer, I think it would be good to have it go though him. > > Just posted a rebased and documented series again. Let's see what > happens. The time seems good to finally get this into the kernel. I'd say let's go forward with your framework. The two patches currently because they both add Makefile/Kconfig files in drivers/pwm. Maybe you can add Viresh's patch to your series, and wait for him to follow up with a patch to convert it? I've tried to blindly do the conversion myself, but got stuck with the definition of the platform device that has multiple pwms in it. I wonder if it would be better to change the st-pwm platform interface to define one platform_device for each of them. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/