pwm: lpss: Update PWM setting for Broxton
authorqipeng.zha <qipeng.zha@intel.com>
Tue, 17 Nov 2015 09:20:15 +0000 (17:20 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 16 Dec 2015 15:45:38 +0000 (16:45 +0100)
commit883e4d070fe125028c0579d8666b820aadf458fb
treea7d98493046a02b1e9a96c2a5fb5ba29ce880f99
parent6ef7d1c46f0cbe2b8e9c66d5d95ffa5a612df45d
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>
drivers/pwm/pwm-lpss.c
drivers/pwm/pwm-lpss.h