From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Hebbar, Gururaja" Subject: RE: [PATCH v6 00/17] Add PWM framework and device tree support Date: Thu, 14 Jun 2012 12:47:13 +0000 Message-ID: <1BAFE6F6C881BF42822005164F1491C33EA21A9F@DBDE01.ent.ti.com> References: <1334070400-25013-1-git-send-email-thierry.reding@avionic-design.de> Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: <1334070400-25013-1-git-send-email-thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org> Content-Language: en-US Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Thierry Reding , "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" Cc: Mitch Bradley , Mark Brown , Mike Frysinger , Ryan Mallon , Arnd Bergmann , Stephen Warren , Sascha Hauer , Colin Cross , Rob Herring , Grant Likely , Olof Johansson , Lars-Peter Clausen , Richard Purdie , Bernhard Walle , Matthias Kaehlcke , "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Eric Miao , Shawn Guo , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , Kurt Van Dijck , "Philip, Avinash" List-Id: linux-tegra@vger.kernel.org On Tue, Apr 10, 2012 at 20:36:23, Thierry Reding wrote: > This patch series adds very rudimentary device-tree support for PWM > devices. With all of these patches applied (plus one board-specific > patch that is not included), I'm able to control the backlight on the > device I'm working on using the sysfs interface provided by the pwm-bl > driver and the backlight class. > > This series is based on Sascha Hauer's series of patches[0] to add a > generic PWM framework. The first patch in this series is taken from > Sascha's branch, while the second patch enables each PWM chip to provide > multiple PWM devices (the Blackfin and PXA drivers have been ported to > the framework for reference). Currently a global namespace is still > provided to keep backwards-compatibility with the legacy PWM API. In > order to achieve this, the number of global PWM devices is limited to > 1024. However, patch 2 introduces per-chip indexing of PWM devices in > the core and patch 4 adds an API to request a PWM device using a lookup > table registered by board setup code. They are supposed to eventually > replace pwm_request() and allow to get rid of the global namespace. The > device tree support code does not use the global namespace. > ..snip.. ..snip.. > > The whole series is based on the linux-next tree from 20120405. I think > I've addressed all of the concerns raised in the first five versions. I > have also pushed this version of the series to the PWM subsystem > repository[1]. > > Thierry > > [0]: http://git.pengutronix.de/?p=imx/linux-2.6.git;a=shortlog;h=refs/heads/pwmlib > [1]: http://gitorious.org/linux-pwm/linux-pwm/trees/pwm-v6 > > Sascha Hauer (4): > pwm: Add PWM framework support > ARM i.MX: Move i.MX pwm driver to pwm framework > ARM Samsung: Move s3c pwm driver to pwm framework > ARM vt8500: Move vt8500 pwm driver to pwm framework > > Shawn Guo (1): > pwm: add pwm-mxs support > > Simon Que (1): > ARM: tegra: Fix PWM clock programming > > Thierry Reding (11): > pwm: Allow chips to support multiple PWMs > pwm: Add debugfs interface > pwm: Add table-based lookup for static mappings > pwm: Add device tree support > ARM: tegra: Provide clock for only one PWM controller > pwm: Add NVIDIA Tegra SoC support > pwm: tegra: Add device tree support > pwm: Move Blackfin PWM driver to PWM framework > pwm: Move PXA PWM driver to PWM framework > pwm-backlight: Add rudimentary device tree support > pwm: Take over maintainership of the PWM subsystem > I am planning to add PWM support in Linux for TI AM335x SOC. I am taking your new PWM framework as reference. I see a lot of ack's for the patches. I see that you are maintaining these patches in a separate repo. However, I couldn't find any of these patches in the mainline kernel (including recent 3.5-rc2). Do you have any plans for pushing this again to mainline kernel. Regards, Gururaja From mboxrd@z Thu Jan 1 00:00:00 1970 From: gururaja.hebbar@ti.com (Hebbar, Gururaja) Date: Thu, 14 Jun 2012 12:47:13 +0000 Subject: [PATCH v6 00/17] Add PWM framework and device tree support In-Reply-To: <1334070400-25013-1-git-send-email-thierry.reding@avionic-design.de> References: <1334070400-25013-1-git-send-email-thierry.reding@avionic-design.de> Message-ID: <1BAFE6F6C881BF42822005164F1491C33EA21A9F@DBDE01.ent.ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Apr 10, 2012 at 20:36:23, Thierry Reding wrote: > This patch series adds very rudimentary device-tree support for PWM > devices. With all of these patches applied (plus one board-specific > patch that is not included), I'm able to control the backlight on the > device I'm working on using the sysfs interface provided by the pwm-bl > driver and the backlight class. > > This series is based on Sascha Hauer's series of patches[0] to add a > generic PWM framework. The first patch in this series is taken from > Sascha's branch, while the second patch enables each PWM chip to provide > multiple PWM devices (the Blackfin and PXA drivers have been ported to > the framework for reference). Currently a global namespace is still > provided to keep backwards-compatibility with the legacy PWM API. In > order to achieve this, the number of global PWM devices is limited to > 1024. However, patch 2 introduces per-chip indexing of PWM devices in > the core and patch 4 adds an API to request a PWM device using a lookup > table registered by board setup code. They are supposed to eventually > replace pwm_request() and allow to get rid of the global namespace. The > device tree support code does not use the global namespace. > ..snip.. ..snip.. > > The whole series is based on the linux-next tree from 20120405. I think > I've addressed all of the concerns raised in the first five versions. I > have also pushed this version of the series to the PWM subsystem > repository[1]. > > Thierry > > [0]: http://git.pengutronix.de/?p=imx/linux-2.6.git;a=shortlog;h=refs/heads/pwmlib > [1]: http://gitorious.org/linux-pwm/linux-pwm/trees/pwm-v6 > > Sascha Hauer (4): > pwm: Add PWM framework support > ARM i.MX: Move i.MX pwm driver to pwm framework > ARM Samsung: Move s3c pwm driver to pwm framework > ARM vt8500: Move vt8500 pwm driver to pwm framework > > Shawn Guo (1): > pwm: add pwm-mxs support > > Simon Que (1): > ARM: tegra: Fix PWM clock programming > > Thierry Reding (11): > pwm: Allow chips to support multiple PWMs > pwm: Add debugfs interface > pwm: Add table-based lookup for static mappings > pwm: Add device tree support > ARM: tegra: Provide clock for only one PWM controller > pwm: Add NVIDIA Tegra SoC support > pwm: tegra: Add device tree support > pwm: Move Blackfin PWM driver to PWM framework > pwm: Move PXA PWM driver to PWM framework > pwm-backlight: Add rudimentary device tree support > pwm: Take over maintainership of the PWM subsystem > I am planning to add PWM support in Linux for TI AM335x SOC. I am taking your new PWM framework as reference. I see a lot of ack's for the patches. I see that you are maintaining these patches in a separate repo. However, I couldn't find any of these patches in the mainline kernel (including recent 3.5-rc2). Do you have any plans for pushing this again to mainline kernel. Regards, Gururaja