Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753467AbbGWPUm (ORCPT ); Thu, 23 Jul 2015 11:20:42 -0400 Received: from mail.pqgruber.com ([178.189.19.235]:34651 "EHLO mail.pqgruber.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752280AbbGWPUd (ORCPT ); Thu, 23 Jul 2015 11:20:33 -0400 From: Clemens Gruber To: linux-pwm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Clemens Gruber , Thierry Reding , Steffen Trumtrar Subject: [PATCH v4 0/2] pwm-pca9685: Bugfixes and prescaler support Date: Thu, 23 Jul 2015 17:19:00 +0200 Message-Id: <1437664742-23121-1-git-send-email-clemens.gruber@pqgruber.com> X-Mailer: git-send-email 2.4.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1162 Lines: 38 Hi, the first patch from this series contains bugfixes and the second patch adds support for changing the PWM output frequency of the PCA9685. Regards, Clemens Cc: Thierry Reding Cc: Steffen Trumtrar Changes in v2: - Only put chip into sleep mode if the bounds checking succeeds Changes in v3: - Fix checkpatch style warnings introduced in v2 Changes in v4: - Set RESTART bit. Now the duty cycle to period ratio stays the same after only changing the period. - Added a comment at the start of the file pointing out that the chip has only one prescaler and changing the period affects all outputs. Clemens Gruber (2): pwm-pca9685: Fix several driver bugs pwm-pca9685: Support changing the output frequency drivers/pwm/pwm-pca9685.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 88 insertions(+), 1 deletion(-) -- 2.4.6 -- 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/