All of lore.kernel.org
 help / color / mirror / Atom feed
From: aisheng.dong@nxp.com (A.s. Dong)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V5 0/5] soc: imx: add scu firmware api support
Date: Mon, 27 Aug 2018 10:21:37 +0000	[thread overview]
Message-ID: <AM0PR04MB42113BB0FA9E54629339F872800B0@AM0PR04MB4211.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <AM0PR04MB4211E5D66FD8502278765EC8800B0@AM0PR04MB4211.eurprd04.prod.outlook.com>

> From: A.s. Dong
> > From: Sascha Hauer [mailto:s.hauer at pengutronix.de]
> > On Fri, Aug 24, 2018 at 07:36:38AM +0000, A.s. Dong wrote:
> > > Hi Jassi & Sasha,
> > >
> > > Do you have some suggestions about this patch series?
> >
> > I still think that the users like clk and pinctrl should directly call
> > sc_call_rpc(), no need for this shim at all.
> >
> 
> Sorry, I'm a bit confuse.
> What specific shim do you mean not needed?
> 
> Do you mean we don't need all the SCU SVC APIs (clk/pm/pinctrl/misc and etc)
> Implemented in this patch series and instead directly implement them in client
> driver?
> For example:
> drivers/soc/imx/sc/svc/pm/rpc_clnt.c
> sc_err_t sc_pm_get_clock_rate(sc_ipc_t ipc, sc_rsrc_t resource,
>                               sc_pm_clk_t clk, sc_pm_clock_rate_t *rate)
> Change to:
> drivers/clk/imx/scu/scu_clock.c ?
> sc_err_t sc_pm_get_clock_rate(sc_ipc_t ipc, sc_rsrc_t resource,
>                               sc_pm_clk_t clk, sc_pm_clock_rate_t *rate)
>

I thought even make client driver to directly to sc_call_rpc(), it may still better to
Make them into a serrate function call like sc_pm_get_clock_rate() but just put
In client driver instead of in the central SCU SVC place.
Not sure the point to do that.
Would you please help clarify a bit more?

Regards
Dong Aisheng

  reply	other threads:[~2018-08-27 10:21 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-20 16:08 [PATCH V5 0/5] soc: imx: add scu firmware api support Dong Aisheng
2018-08-20 16:08 ` [PATCH V5 1/5] dt-bindings: arm: fsl: add scu binding doc Dong Aisheng
2018-08-20 16:08   ` Dong Aisheng
2018-08-20 16:08   ` Dong Aisheng
2018-08-20 18:11   ` Rob Herring
2018-08-20 18:11     ` Rob Herring
2018-08-20 18:11     ` Rob Herring
2018-08-21  3:00     ` A.s. Dong
2018-08-21  3:00       ` A.s. Dong
2018-08-21  3:00       ` A.s. Dong
2018-08-21 11:51       ` A.s. Dong
2018-08-21 11:51         ` A.s. Dong
2018-08-21 11:51         ` A.s. Dong
2018-08-24  9:36       ` Jassi Brar
2018-08-24  9:36         ` Jassi Brar
2018-08-24  9:36         ` Jassi Brar
2018-08-24  9:51         ` A.s. Dong
2018-08-24  9:51           ` A.s. Dong
2018-08-24  9:51           ` A.s. Dong
2018-08-20 16:08 ` [PATCH V5 2/5] soc: imx: add SC firmware IPC and APIs Dong Aisheng
2018-09-10  8:40   ` Sascha Hauer
2018-09-10  9:44     ` A.s. Dong
2018-09-10 12:11       ` Sascha Hauer
2018-09-11 10:38         ` A.s. Dong
2018-09-16 13:23           ` A.s. Dong
2018-09-18  6:22           ` Sascha Hauer
2018-09-18  7:54             ` A.s. Dong
2018-08-20 16:08 ` [PATCH V5 3/5] soc: imx: sc: add pm svc support Dong Aisheng
2018-08-20 16:08 ` [PATCH V5 4/5] soc: imx: sc: add pad " Dong Aisheng
2018-08-20 16:08 ` [PATCH V5 5/5] soc: imx: sc: add misc " Dong Aisheng
2018-08-20 16:31 ` [PATCH V5 0/5] soc: imx: add scu firmware api support A.s. Dong
2018-08-24  7:36   ` A.s. Dong
2018-08-24  9:54     ` Jassi Brar
2018-08-24 11:02       ` A.s. Dong
2018-08-27  8:33     ` Sascha Hauer
2018-08-27  9:59       ` A.s. Dong
2018-08-27 10:21         ` A.s. Dong [this message]
2018-08-28  6:21           ` Sascha Hauer
2018-08-28  8:53             ` A.s. Dong
2018-08-29  6:53               ` Sascha Hauer
2018-08-29  8:35                 ` A.s. Dong
2018-09-03  8:57                   ` A.s. Dong
2018-09-03 11:44                     ` Sascha Hauer
2018-09-06  3:21                       ` A.s. Dong
2018-09-10  7:03                         ` Sascha Hauer
2018-09-10  7:53                           ` A.s. Dong
2018-08-28  6:15         ` Sascha Hauer
2018-08-28  9:02           ` A.s. Dong

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=AM0PR04MB42113BB0FA9E54629339F872800B0@AM0PR04MB4211.eurprd04.prod.outlook.com \
    --to=aisheng.dong@nxp.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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.