pwm: lpss: Add support for multiple PWMs

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>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
Mika Westerberg
2015-10-20 16:53:05 +03:00
committed by Thierry Reding
parent 912b843904
commit 4e11f5acb2
2 changed files with 28 additions and 21 deletions

View File

@@ -20,6 +20,7 @@ struct pwm_lpss_chip;
struct pwm_lpss_boardinfo {
unsigned long clk_rate;
unsigned int npwm;
};
extern const struct pwm_lpss_boardinfo pwm_lpss_byt_info;