diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2015-10-20 15:53:05 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2015-11-06 14:26:27 +0100 |
commit | 4e11f5acb25b0b8eb937c726ade319b988fe3664 (patch) | |
tree | b9fb12fcf6ffc5c7c6f9fca7b58632c934425457 /drivers/pwm/pwm-lpss.h | |
parent | pwm-pca9685: enable ACPI device found on Galileo Gen2 (diff) | |
download | linux-4e11f5acb25b0b8eb937c726ade319b988fe3664.tar.xz linux-4e11f5acb25b0b8eb937c726ade319b988fe3664.zip |
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>
Diffstat (limited to 'drivers/pwm/pwm-lpss.h')
-rw-r--r-- | drivers/pwm/pwm-lpss.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pwm/pwm-lpss.h b/drivers/pwm/pwm-lpss.h index aa041bb1b67d..180438368e0a 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; + unsigned int npwm; }; extern const struct pwm_lpss_boardinfo pwm_lpss_byt_info; |