Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1264022 > unrolled thread

Re: [PATCH 1/3] pwm: lpss: Add support for multiple PWMs

Started byMika Westerberg <mika.westerberg@linux.intel.com>
First post2015-11-06 14:40 +0100
Last post2015-11-06 14:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 1/3] pwm: lpss: Add support for multiple PWMs Mika Westerberg <mika.westerberg@linux.intel.com> - 2015-11-06 14:40 +0100

#1264022 — Re: [PATCH 1/3] pwm: lpss: Add support for multiple PWMs

FromMika Westerberg <mika.westerberg@linux.intel.com>
Date2015-11-06 14:40 +0100
SubjectRe: [PATCH 1/3] pwm: lpss: Add support for multiple PWMs
Message-ID<qrPpg-55Y-25@gated-at.bofh.it>
On Fri, Nov 06, 2015 at 02:29:53PM +0100, Thierry Reding wrote:
> On Tue, Oct 20, 2015 at 04:53:05PM +0300, Mika Westerberg wrote:
> > New Intel SoCs such as Broxton will have four PWMs per PCI (or ACPI)
> > device. Each PWM has 1k of register space allocated from the parent device.
> > Add support for this.
> > 
> > Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
> > ---
> >  drivers/pwm/pwm-lpss.c | 48 +++++++++++++++++++++++++++---------------------
> >  drivers/pwm/pwm-lpss.h |  1 +
> >  2 files changed, 28 insertions(+), 21 deletions(-)
> 
> Applied all three patches, with a minor cleanup, see below.
> 
> > diff --git a/drivers/pwm/pwm-lpss.h b/drivers/pwm/pwm-lpss.h
> > index aa041bb1b67d..ef2419f47c57 100644
> > --- a/drivers/pwm/pwm-lpss.h
> > +++ b/drivers/pwm/pwm-lpss.h
> > @@ -20,6 +20,7 @@ struct pwm_lpss_chip;
> >  
> >  struct pwm_lpss_boardinfo {
> >  	unsigned long clk_rate;
> > +	size_t npwm;
> >  };
> 
> I changed the type of npwm to unsigned int to match the definition of
> the pwm_chip.npwm field.

Thanks!
--
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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web