Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752750AbbHRLiM (ORCPT ); Tue, 18 Aug 2015 07:38:12 -0400 Received: from down.free-electrons.com ([37.187.137.238]:33565 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751295AbbHRLiK (ORCPT ); Tue, 18 Aug 2015 07:38:10 -0400 From: Antoine Tenart To: sebastian.hesselbarth@gmail.com, thierry.reding@gmail.com Cc: Antoine Tenart , zmxu@marvell.com, jszhang@marvell.com, linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 0/5] ARM: berlin: PWM support Date: Tue, 18 Aug 2015 13:38:03 +0200 Message-Id: <1439897888-10921-1-git-send-email-antoine.tenart@free-electrons.com> X-Mailer: git-send-email 2.5.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1649 Lines: 52 Hi all, This series adds a driver for the Marvell Berlin PWM controller, which has 4 channels. This has been tested on a BG2Q DMP. Thanks, Antoine Changes since v3: - Use readl_relaxed - Reworked the clk enable / clk disable calls - Removed BERLIN_PWM_DISABLE Changes since v2: - Reworked the prescaler/tcnt calculation - Added an input clock - Updated the documentation - Reordered the pwm node - Added some definition for BIT() Changes since v1: - Added a sentinel in berlin_pwm_match[] Antoine Tenart (5): pwm: add the Berlin pwm controller driver Documentation: bindings: document the Berlin PWM driver ARM: berlin: add a PWM node on the BG2Q ARM: berlin: add a PWM node on the BG2 ARM: berlin: add a PWM node on the BG2CD .../devicetree/bindings/pwm/pwm-berlin.txt | 19 ++ arch/arm/boot/dts/berlin2.dtsi | 7 + arch/arm/boot/dts/berlin2cd.dtsi | 7 + arch/arm/boot/dts/berlin2q.dtsi | 7 + drivers/pwm/Kconfig | 9 + drivers/pwm/Makefile | 1 + drivers/pwm/pwm-berlin.c | 218 +++++++++++++++++++++ 7 files changed, 268 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-berlin.txt create mode 100644 drivers/pwm/pwm-berlin.c -- 2.5.0 -- 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/