Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753187AbbKBLOX (ORCPT ); Mon, 2 Nov 2015 06:14:23 -0500 Received: from mail-wm0-f48.google.com ([74.125.82.48]:38052 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751910AbbKBLOU (ORCPT ); Mon, 2 Nov 2015 06:14:20 -0500 From: Neil Armstrong Subject: [PATCH 0/3] pwm: omap: Add PWM support using dual-mode timers To: Thierry Reding , Tony Lindgren , linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Grant Erickson , NeilBrown , Joachim Eastwood Organization: Baylibre Message-ID: <56374580.2070704@baylibre.com> Date: Mon, 2 Nov 2015 12:14:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2018 Lines: 46 This patch is based on an earlier patch by NeilBrown which is based on a older patch from Grant Erickson which provided PWM devices using the 'legacy' interface. The pwm driver was renamed to not be confused with the OMAP4 PWM dedicated hardware and was cleaned with the review from Thierry Reding. The first patch introduces a way to select to dmtimer clock source via a clocks binding and a dedicated function wit the legacy fallback. In order to prepare for the future form of the dmtimer (clksource or whatever), and less rely on specific bindings the first patch introduces the PWM driver with all the dmtimer calls into a platform data structure. The structure is then filled in plat-omap and added as auxdata for the ti,pwm-dmtimer-omap compatible nodes. Suggested-by: Tony Lindgren RFC Thread : http://lkml.kernel.org/r/562505DB.3010402@baylibre.com Neil Armstrong (3): arm: plat-omap: dmtimer: Add clock source from DT pwm: Add PWM driver for OMAP using dual-mode timers arm: plat-omap: Add PWM dmtimer platform data quirks .../devicetree/bindings/pwm/pwm-omap-dmtimer.txt | 18 ++ arch/arm/mach-omap2/pdata-quirks.c | 23 ++ arch/arm/plat-omap/dmtimer.c | 31 +- drivers/pwm/Kconfig | 9 + drivers/pwm/Makefile | 1 + drivers/pwm/pwm-omap-dmtimer.c | 322 +++++++++++++++++++++ include/linux/platform_data/pwm_omap_dmtimer.h | 69 +++++ 7 files changed, 472 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-omap-dmtimer.txt create mode 100644 drivers/pwm/pwm-omap-dmtimer.c create mode 100644 include/linux/platform_data/pwm_omap_dmtimer.h -- 1.9.1 -- 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/