From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755684Ab2GXIXT (ORCPT ); Tue, 24 Jul 2012 04:23:19 -0400 Received: from mailhost.informatik.uni-hamburg.de ([134.100.9.70]:47175 "EHLO mailhost.informatik.uni-hamburg.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755632Ab2GXIXP (ORCPT ); Tue, 24 Jul 2012 04:23:15 -0400 Message-ID: <500E5BED.6050401@metafoo.de> Date: Tue, 24 Jul 2012 10:25:17 +0200 From: Lars-Peter Clausen User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20120613 Icedove/3.0.11 MIME-Version: 1.0 To: Thierry Reding CC: "Philip, Avinash" , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, nsekhar@ti.com, gururaja.hebbar@ti.com Subject: Re: [PATCH] PWM: Add support for configuring polarity of PWM References: <1342616053-7793-1-git-send-email-avinashphilip@ti.com> <20120723083032.GA12868@avionic-0098.mockup.avionic-design.de> <500DB0CB.1000600@metafoo.de> <20120724065121.GA30417@avionic-0098.mockup.avionic-design.de> In-Reply-To: <20120724065121.GA30417@avionic-0098.mockup.avionic-design.de> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/24/2012 08:51 AM, Thierry Reding wrote: > > How about the following? > > /** > * enum pwm_polarity - polarity of a PWM signal > * @PWM_POLARITY_NORMAL: a high signal for the duration of the duty- > * cycle, followed by a low signal for the remainder of the pulse > * period > * @PWM_POLARITY_INVERSED: a low signal for the duration of the duty- > * cycle, followed by a high signal for the remainder of the pulse > * period > */ > enum pwm_polarity { > PWM_POLARITY_NORMAL, > PWM_POLARITY_INVERSED, > }; > Looks fine :) Thanks, - Lars