platform/x86: Enable Atom PMC platform clocks
authorIrina Tirdea <irina.tirdea@intel.com>
Mon, 23 Jan 2017 18:07:44 +0000 (12:07 -0600)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 27 Jan 2017 00:21:59 +0000 (16:21 -0800)
commit282a4e4ce5f99e3c166abac929498885a711e19f
tree44feaa6d742cc81c8654dbac81cf8f89442aa103
parent80a7581f38c0b2e83dc883a2125340b90b5635ec
platform/x86: Enable 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. For example,
the usage for platform clocks suggested in the datasheet is the
following:
  PLT_CLK[0..2] - Camera
  PLT_CLK[3] - Audio Codec
  PLT_CLK[4] -
  PLT_CLK[5] - COMMs

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/platform/x86/Kconfig
drivers/platform/x86/pmc_atom.c