All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 2/2] x86: Introduce minimal PMU driver for Intel MID platforms
Date: Wed, 5 Apr 2017 21:44:41 -0600	[thread overview]
Message-ID: <CAPnjgZ3xJwjJ4DAwVYmFkz7VbOhoAOLG-6w9S8AkGC1nrmrVvw@mail.gmail.com> (raw)
In-Reply-To: <20170401132134.62092-3-andriy.shevchenko@linux.intel.com>

Hi Andy,

On 1 April 2017 at 07:21, Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
> 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>
> ---
>  arch/x86/include/asm/cpu.h |   1 +
>  arch/x86/include/asm/pmu.h |  11 +++++
>  arch/x86/lib/Makefile      |   1 +
>  arch/x86/lib/pmu.c         | 117 +++++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 130 insertions(+)
>  create mode 100644 arch/x86/include/asm/pmu.h
>  create mode 100644 arch/x86/lib/pmu.c

Reviewed-by: Simon Glass <sjg@chromium.org>

Have you considered making this a PMIC driver? Then you could avoid
exporting the function. Also I see that we need to do that sometimes
with Intel platforms.

  reply	other threads:[~2017-04-06  3:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-01 13:21 [U-Boot] [PATCH v3 0/2] x86: SCU and PMU drivers for Intel MID Andy Shevchenko
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 [this message]
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=CAPnjgZ3xJwjJ4DAwVYmFkz7VbOhoAOLG-6w9S8AkGC1nrmrVvw@mail.gmail.com \
    --to=sjg@chromium.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.