There are two crucial drivers to make Intel MID platforms functional in U-Boot: SCU which stands for System Controller Unit PMU which stands for Power Management Unit
Since v2: - resend with cover letter including changes from previous versions Since v1: Common: - convert to use REGMAP instead of constant addressed IO - rewrite as UCLASS_SYSCON modules - move to arch/x86/lib since it's related to x86 only and there are already another UCLASS_SYSCON modules there SCU: - convert function documentation to have header and body and be consistent - shrink header and remove unneeded attributes - drop busy loop counter from 3m to 100k as per driver in Linux kernel PMU: - convert to be more generic and move Tangier related part to its own folder (the latter out of scope of this series) Andy Shevchenko (1): x86: Introduce minimal PMU driver for Intel MID platforms Felipe Balbi (1): x86: Add SCU IPC driver for Intel MID platforms arch/x86/Kconfig | 2 + arch/x86/include/asm/cpu.h | 2 + arch/x86/include/asm/pmu.h | 11 +++ arch/x86/include/asm/scu.h | 28 ++++++++ arch/x86/lib/Makefile | 2 + arch/x86/lib/pmu.c | 117 +++++++++++++++++++++++++++++++ arch/x86/lib/scu.c | 168 +++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 330 insertions(+) create mode 100644 arch/x86/include/asm/pmu.h create mode 100644 arch/x86/include/asm/scu.h create mode 100644 arch/x86/lib/pmu.c create mode 100644 arch/x86/lib/scu.c -- 2.11.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot