cpufreq: add suspend/resume support in Armada 37xx DVFS driver
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 26 Apr 2018 10:12:17 +0000 (15:42 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 May 2018 09:43:59 +0000 (11:43 +0200)
commit9c28d6df7534e1b64d485fde02ebe62375ea9bcc
treead8861df6b4b97b62318546b433329e4e69979d9
parentcfd84631d976777e4b598d158e968c7bd55cf70a
cpufreq: add suspend/resume support in Armada 37xx DVFS driver

Add suspend/resume hooks in Armada 37xx DVFS driver to handle S2RAM
operations. As there is currently no 'driver' structure, create one
to store both the regmap and the register values during suspend
operation.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/armada-37xx-cpufreq.c