[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1566235480.24117.13.camel@mhfsdcap03>
Date: Tue, 20 Aug 2019 01:24:40 +0800
From: houlong wei <houlong.wei@...iatek.com>
To: Bibby Hsieh <bibby.hsieh@...iatek.com>
CC: Jassi Brar <jassisinghbrar@...il.com>,
Matthias Brugger <matthias.bgg@...il.com>,
Rob Herring <robh+dt@...nel.org>,
CK Hu (胡俊光)
<ck.hu@...iatek.com>, "Daniel Kurtz" <djkurtz@...omium.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-mediatek@...ts.infradead.org"
<linux-mediatek@...ts.infradead.org>,
srv_heupstream <srv_heupstream@...iatek.com>,
Sascha Hauer <kernel@...gutronix.de>,
Philipp Zabel <p.zabel@...gutronix.de>,
"Nicolas Boichat" <drinkcat@...omium.org>,
YT Shen (沈岳霆)
<Yt.Shen@...iatek.com>,
Daoyuan Huang (黃道原)
<Daoyuan.Huang@...iatek.com>,
Jiaguang Zhang (张加广)
<Jiaguang.Zhang@...iatek.com>,
Dennis-YC Hsieh (謝宇哲)
<Dennis-YC.Hsieh@...iatek.com>,
Ginny Chen (陳治傑)
<ginny.chen@...iatek.com>, <houlon.wei@...iatek.com>
Subject: Re: [PATCH v12 11/12] soc: mediatek: cmdq: add
cmdq_dev_get_client_reg function
On Mon, 2019-08-19 at 10:53 +0800, Bibby Hsieh wrote:
> GCE cannot know the register base address, this function
> can help cmdq client to get the cmdq_client_reg structure.
>
> Signed-off-by: Bibby Hsieh <bibby.hsieh@...iatek.com>
> ---
> drivers/soc/mediatek/mtk-cmdq-helper.c | 29 ++++++++++++++++++++++++++
> include/linux/soc/mediatek/mtk-cmdq.h | 21 +++++++++++++++++++
> 2 files changed, 50 insertions(+)
>
[...]
>
> +/**
> + * cmdq_dev_get_client_reg() - parse cmdq client reg from the device
> + * node of CMDQ client
> + * @dev: device of CMDQ mailbox clienti
'clienti' looks like a typo, 'client'?
> + * @client_reg: CMDQ client reg pointer
> + * @idx: the index of desired reg
> + *
> + * Return: 0 for success; else the error code is returned
> + *
> + * Help CMDQ client pasing the cmdq client reg
'pasing' looks like a typo, 'parsing'?
> + * from the device node of CMDQ client.
> + */
> +int cmdq_dev_get_client_reg(struct device *dev,
> + struct cmdq_client_reg *client_reg, int idx);
> +
> /**
> * cmdq_mbox_create() - create CMDQ mailbox client and channel
> * @dev: device of CMDQ mailbox client
Powered by blists - more mailing lists