From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: Re: [PATCH v5 01/16] pwm: Add PWM framework support Date: Wed, 4 Apr 2012 08:39:56 +0200 Message-ID: <20120404063956.GA17478@avionic-0098.mockup.avionic-design.de> References: <1332945238-14897-1-git-send-email-thierry.reding@avionic-design.de> <1332945238-14897-2-git-send-email-thierry.reding@avionic-design.de> <20120404063605.GB7264@S2101-09.ap.freescale.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Return-path: Content-Disposition: inline In-Reply-To: <20120404063605.GB7264-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Shawn Guo Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Sascha Hauer , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Arnd Bergmann , Matthias Kaehlcke , Kurt Van Dijck , Rob Herring , Grant Likely , Colin Cross , Olof Johansson , Stephen Warren , Richard Purdie , Mark Brown , Mitch Bradley , Mike Frysinger , Eric Miao , Lars-Peter Clausen , Ryan Mallon , Bernhard Walle List-Id: linux-tegra@vger.kernel.org --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Shawn Guo wrote: > A couple of trivial editorial errors, otherwise, >=20 > Reviewed-by: Shawn Guo >=20 > On Wed, Mar 28, 2012 at 04:33:43PM +0200, Thierry Reding wrote: > > From: Sascha Hauer > >=20 > > This patch adds framework support for PWM (pulse width modulation) devi= ces. > >=20 > > The is a barebone PWM API already in the kernel under include/linux/pwm= =2Eh, >=20 > s/The/There >=20 > > but it does not allow for multiple drivers as each of them implements t= he > > pwm_*() functions. > >=20 > ... >=20 > > +/** > > + * pwm_request() - request a PWM device > > + * @pwm: global PWM device index >=20 > s/pwm/pwm_id >=20 > > + * @label: PWM device label > > + */ > > +struct pwm_device *pwm_request(int pwm_id, const char *label) > ... >=20 > > +/** > > + * struct pwm_chip - abstract a PWM > > + * @label: for diagnostics > > + * @owner: helps prevent removal of modules exporting active PWMs >=20 > The doc needs an update. Thanks, Thierry --FCuugMFkClbJLl1L Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAk977LwACgkQZ+BJyKLjJp+YRgCfdghUJL0TDIc3udRAmj8VE79w gbQAnReDEnzjjdQiz7t7ot26LLHFXSUo =ecBd -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--