x86: Introduce minimal PMU driver for Intel MID platforms
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 1 Apr 2017 13:21:34 +0000 (16:21 +0300)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 10 Apr 2017 02:02:03 +0000 (10:02 +0800)
commitca0d29e4f06095fd39f3125aef8f427aa1728ee5
tree78db952d55e398ea0d05b4128c5307c874925269
parentbb416465fde8393bcbf1f64847b5e3cb021d5c81
x86: Introduce minimal PMU driver for Intel MID platforms

This simple PMU driver allows to tyrn power on and off for selected
devices. In particularly Intel Tangier needs to power on SDHCI
controllers in order to access to them during board initialization.

In the future it might be expanded to cover other Intel MID platforms,
that's why it's located under arch/x86/lib and called pmu.c.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/cpu.h
arch/x86/include/asm/pmu.h [new file with mode: 0644]
arch/x86/lib/Makefile
arch/x86/lib/pmu.c [new file with mode: 0644]