pwm: lpss: Add support for runtime PM
authorQipeng Zha <qipeng.zha@intel.com>
Mon, 26 Oct 2015 10:58:27 +0000 (12:58 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 6 Nov 2015 13:34:13 +0000 (14:34 +0100)
commitf080be27d7d9333e4815655a2cedab91c3aa7acc
tree102b1929216c09c2e26e7ecc9dc93e023c549635
parent03f00e5311d5d0d3ac716121865cb967259980ca
pwm: lpss: Add support for runtime PM

To be able to save some power when PWM is not in use, add support for
runtime PM for this driver. This also allows the platform to transition to
low power S0ix states when the system is idle.

Signed-off-by: Huiquan Zhong <huiquan.zhong@intel.com>
Signed-off-by: Qipeng Zha <qipeng.zha@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-lpss-pci.c
drivers/pwm/pwm-lpss-platform.c
drivers/pwm/pwm-lpss.c