]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitb4200505e00632ce97c9721b13d3132cabea224c
tree78db952d55e398ea0d05b4128c5307c874925269
parent01f7265e1499b167e3727612c21aab63a86c505e
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]