diff options
author | qipeng.zha <qipeng.zha@intel.com> | 2015-11-17 17:20:15 +0800 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2015-12-16 16:45:38 +0100 |
commit | 883e4d070fe125028c0579d8666b820aadf458fb (patch) | |
tree | a7d98493046a02b1e9a96c2a5fb5ba29ce880f99 /drivers/pwm/pwm-lpss.h | |
parent | 6ef7d1c46f0cbe2b8e9c66d5d95ffa5a612df45d (diff) | |
download | linux-883e4d070fe125028c0579d8666b820aadf458fb.tar.bz2 |
pwm: lpss: Update PWM setting for Broxton
For Broxton PWM controller, base unit is defined as 8-bit integer
and 14-bit fraction, so need to update base unit setting to output
wave with right frequency.
Signed-off-by: Qipeng Zha <qipeng.zha@intel.com>
Acked-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 e8cf337ae1d1..04766e0d41aa 100644 --- a/drivers/pwm/pwm-lpss.h +++ b/drivers/pwm/pwm-lpss.h @@ -21,6 +21,7 @@ struct pwm_lpss_chip; struct pwm_lpss_boardinfo { unsigned long clk_rate; unsigned int npwm; + unsigned long base_unit_bits; }; extern const struct pwm_lpss_boardinfo pwm_lpss_byt_info; |