summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-lpss.h
diff options
context:
space:
mode:
authorqipeng.zha <qipeng.zha@intel.com>2015-11-17 10:20:15 +0100
committerThierry Reding <thierry.reding@gmail.com>2015-12-16 16:45:38 +0100
commit883e4d070fe125028c0579d8666b820aadf458fb (patch)
treea7d98493046a02b1e9a96c2a5fb5ba29ce880f99 /drivers/pwm/pwm-lpss.h
parentpwm: bcm2835: Fix email address specification (diff)
downloadlinux-883e4d070fe125028c0579d8666b820aadf458fb.tar.xz
linux-883e4d070fe125028c0579d8666b820aadf458fb.zip
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.h1
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;