clk: x86: Add Atom PMC platform clocks
authorIrina Tirdea <irina.tirdea@intel.com>
Mon, 23 Jan 2017 18:07:42 +0000 (12:07 -0600)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 27 Jan 2017 00:20:46 +0000 (16:20 -0800)
commit1141d9d08184565b71a943a50ffe712b2dfc697f
tree1544faa596b625a6bd30383324246a1f14aeb660
parentf35b6542c3ac3f28056d298348a81f7d56d3a041
clk: x86: Add Atom PMC platform clocks

The BayTrail and CherryTrail platforms provide platform clocks
through their Power Management Controller (PMC).

The SoC supports up to 6 clocks (PMC_PLT_CLK[0..5]) with a
frequency of either 19.2 MHz (PLL) or 25 MHz (XTAL) for BayTrail
and a frequency of 19.2 MHz (XTAL) for CherryTrail. These clocks
are available for general system use, where appropriate, and each
have Control & Frequency register fields associated with them.

Port from legacy by Pierre Bossart, integration in clock framework
by Irina Tirdea

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/x86/Makefile
drivers/clk/x86/clk-pmc-atom.c [new file with mode: 0644]
include/linux/platform_data/x86/clk-pmc-atom.h [new file with mode: 0644]