mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-07 13:23:20 +09:00
![Andy Shevchenko](/assets/img/avatar_default.png)
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>
12 lines
225 B
C
12 lines
225 B
C
/*
|
|
* Copyright (c) 2017 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
#ifndef _X86_ASM_PMU_IPC_H_
|
|
#define _X86_ASM_PMU_IPC_H_
|
|
|
|
int pmu_turn_power(unsigned int lss, bool on);
|
|
|
|
#endif /* _X86_ASM_PMU_IPC_H_ */
|