public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 0/2] x86: SCU and PMU drivers for Intel MID
Date: Sat,  1 Apr 2017 16:21:32 +0300	[thread overview]
Message-ID: <20170401132134.62092-1-andriy.shevchenko@linux.intel.com> (raw)

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

             reply	other threads:[~2017-04-01 13:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-01 13:21 Andy Shevchenko [this message]
2017-04-01 13:21 ` [U-Boot] [PATCH v3 1/2] x86: Add SCU IPC driver for Intel MID platforms Andy Shevchenko
2017-04-06  3:44   ` Simon Glass
2017-04-10  2:01     ` Bin Meng
2017-04-01 13:21 ` [U-Boot] [PATCH v3 2/2] x86: Introduce minimal PMU " Andy Shevchenko
2017-04-06  3:44   ` Simon Glass
2017-04-10  2:01     ` Bin Meng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170401132134.62092-1-andriy.shevchenko@linux.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox