All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andy.shevchenko@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 5/5] x86: cpu: add docstring to scu_ipc_command()
Date: Tue, 4 Sep 2018 17:58:14 +0300	[thread overview]
Message-ID: <CAHp75VdcRAN5rpFxWP8=jr8qwVkBqxnCM1wJ9zUsbrUt=3FfMg@mail.gmail.com> (raw)
In-Reply-To: <1536071645-25229-6-git-send-email-georgii.staroselskii@emlid.com>

On Tue, Sep 4, 2018 at 5:37 PM Georgii Staroselskii
<georgii.staroselskii@emlid.com> wrote:
>
> These comments were copied from the Linux kernel driver in
> drivers/platform/x86/intel_scu_ipc.c
>

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>

> Signed-off-by: Georgii Staroselskii <georgii.staroselskii@emlid.com>
> ---
>  arch/x86/lib/scu.c | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/arch/x86/lib/scu.c b/arch/x86/lib/scu.c
> index 4054838..ab945d2 100644
> --- a/arch/x86/lib/scu.c
> +++ b/arch/x86/lib/scu.c
> @@ -180,6 +180,17 @@ int scu_ipc_simple_command(u32 cmd, u32 sub)
>         return scu_ipc_check_status(scu->regs);
>  }
>
> +/**
> + *  scu_ipc_command   -   command with data
> + *  @cmd: command
> + *  @sub: sub type
> + *  @in: input data
> + *  @inlen: input length in dwords
> + *  @out: output data
> + *  @outlen: output length in dwords
> + *
> + *  Issue a command to the SCU which involves data transfers.
> + */
>  int scu_ipc_command(u32 cmd, u32 sub, u32 *in, int inlen, u32 *out, int outlen)
>  {
>         struct scu *scu;
> --
> 2.7.4
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot



-- 
With Best Regards,
Andy Shevchenko

  reply	other threads:[~2018-09-04 14:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-04 14:34 [U-Boot] [PATCH v2 0/5] Add a pinctrl driver for Merrifield to pinmux I2C#6 Georgii Staroselskii
2018-09-04 14:34 ` [U-Boot] [PATCH v2 1/5] x86: cpu: introduce scu_ipc_raw_command() Georgii Staroselskii
2018-09-04 14:34 ` [U-Boot] [PATCH v2 2/5] x86: tangier: pinmux: add API to configure protected pins Georgii Staroselskii
2018-09-04 14:57   ` Andy Shevchenko
2018-09-05 15:24   ` Simon Glass
2018-09-05 15:44     ` Georgii Staroselskii
2018-09-09  1:06       ` Simon Glass
2018-09-04 14:34 ` [U-Boot] [PATCH v2 3/5] x86: dts: edison: configure I2C#6 pins Georgii Staroselskii
2018-09-04 14:34 ` [U-Boot] [PATCH v2 4/5] x86: tangier: acpi: add I2C6 node Georgii Staroselskii
2018-09-04 14:34 ` [U-Boot] [PATCH v2 5/5] x86: cpu: add docstring to scu_ipc_command() Georgii Staroselskii
2018-09-04 14:58   ` Andy Shevchenko [this message]
2018-09-05  4:40 ` [U-Boot] [PATCH v2 0/5] Add a pinctrl driver for Merrifield to pinmux I2C#6 Bin Meng
2018-09-05 10:58   ` Andy Shevchenko

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='CAHp75VdcRAN5rpFxWP8=jr8qwVkBqxnCM1wJ9zUsbrUt=3FfMg@mail.gmail.com' \
    --to=andy.shevchenko@gmail.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 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.