From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Shevchenko Date: Sat, 1 Apr 2017 16:21:32 +0300 Subject: [U-Boot] [PATCH v3 0/2] x86: SCU and PMU drivers for Intel MID Message-ID: <20170401132134.62092-1-andriy.shevchenko@linux.intel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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