From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steffen Trumtrar Subject: Re: [PATCH v3] pwm: add pca9685 driver Date: Thu, 6 Jun 2013 10:03:00 +0200 Message-ID: <20130606080300.GG21522@pengutronix.de> References: <1369900212-14368-1-git-send-email-s.trumtrar@pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1369900212-14368-1-git-send-email-s.trumtrar-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Thierry Reding , kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org List-Id: devicetree@vger.kernel.org On Thu, May 30, 2013 at 09:50:12AM +0200, Steffen Trumtrar wrote: > Add pwm driver for the NXP pca9685 16 channel pwm-led controller. > > The driver is really barebones at this stage. E.g. the OE' pin and > therefore the corresponding registers are not supported. > The driver was tested on a HW where this pin is tied to GND. > > Signed-off-by: Steffen Trumtrar > --- > Changes since v2: > - s/pwm-pca9685-led/pwm-pca9685/g > - replace DT properties with booleans > - whitespace/blank line cleanup > - add "depends on REGMAP_I2C" in Kconfig > - rework code readability > - add pwm_ops.free function > - set SLEEP bit on request/free/remove > > Changes since v1: > - fix typo in documentation example > > .../devicetree/bindings/pwm/nxp,pca9685-pwm.txt | 27 ++ > drivers/pwm/Kconfig | 9 + > drivers/pwm/Makefile | 1 + > drivers/pwm/pwm-pca9685.c | 291 +++++++++++++++++++++ > 4 files changed, 328 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pwm/nxp,pca9685-pwm.txt > create mode 100644 drivers/pwm/pwm-pca9685.c > Ping ?! -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |