All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Zha, Qipeng" <qipeng.zha@intel.com>
To: "platform-driver-x86@vger.kernel.org"
	<platform-driver-x86@vger.kernel.org>,
	"dvhart@infradead.org" <dvhart@infradead.org>,
	One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
Cc: "Zheng, Qi" <qi.zheng@intel.com>,
	"Zhong, Huiquan" <huiquan.zhong@intel.com>,
	"Chen, Jason CJ" <jason.cj.chen@intel.com>,
	"Yang, Fei" <fei.yang@intel.com>
Subject: RE: [PATCH] platform:x86: add Intel Broxton PMC IPC driver
Date: Thu, 23 Apr 2015 01:06:59 +0000	[thread overview]
Message-ID: <C6287702A945AC47BE5DB5DFD4B5C6DD0188BC92@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: 20150422113631.301079a1@lxorguk.ukuu.org.uk

Hi Alan

Thanks.
The register  access ipc command is only used to r/w registers on PMIC which is controlled by PMC, Based on current pmic core driver design and Fei's suggestion, we implement regmap interface to Access such registers based on PMC ipc command.
Then pmic device driver(or other driver need to access pmic registers) can use generic regmap_read/_write Directly.




Best wishes
Qipeng

-----Original Message-----
From: One Thousand Gnomes [mailto:gnomes@lxorguk.ukuu.org.uk]
Sent: Wednesday, April 22, 2015 6:37 PM
To: Zha, Qipeng
Cc: "platform-driver-x86@vger.kernel.org\" <platform-driver-x86@vger.kernel.org>, " dvhart@infradead.org " <dvhart@infradead.org>, " Yang; Fei " <fei.yang@intel.com>, " Zhong@lxorguk.ukuu.org.uk; Huiquan " <huiquan.zhong@intel.com>, " Chen@lxorguk.ukuu.org.uk; Jason.CJ " <jason.cj.chen@intel.com>, " Zheng@lxorguk.ukuu.org.uk; Qi " <qi.zheng@intel.com>"@lxorguk.ukuu.org.uk
Subject: Re: [PATCH] platform:x86: add Intel Broxton PMC IPC driver

On Wed, 22 Apr 2015 10:32:44 +0000
"Zha, Qipeng" <qipeng.zha@intel.com> wrote:

> Hi Alan
> 
> a) Register access is one of ipc commands, and we do provide more generic APIs based on regmap subsystem in other patch,
>     with that, there will be not necessary to check platform(Broxton) for register access.

Ok that is good... but can I ask why you have two layers of IPC commands and then regmap - not just a single file that solely provides the regmap interface ?

> b) we separate scu and pmc ipc in two drivers, is because they are many difference in hw itself,  it composite several sub devices
> in hardware layer, and supported ipc commands are different,    I expected user driver will not check platform(Broxston...) to do
> ipc with scu or pmc when no common commands.

Ok

Alan

  parent reply	other threads:[~2015-04-23  1:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-20 23:04 [PATCH] platform:x86: add Intel Broxton PMC IPC driver qipeng.zha
2015-04-20 17:26 ` One Thousand Gnomes
2015-04-21  0:59   ` Zha, Qipeng
2015-04-21 11:58     ` One Thousand Gnomes
2015-04-22 10:32       ` Zha, Qipeng
2015-04-22 15:31         ` Yang, Fei
     [not found]         ` <20150422113631.301079a1@lxorguk.ukuu.org.uk>
2015-04-23  1:06           ` Zha, Qipeng [this message]
2015-04-23  4:30             ` Yang, Fei
2015-04-23  4:34               ` Zha, Qipeng
2015-04-24 22:28 ` Darren Hart
2015-04-24 23:38   ` Jacob Pan
2015-04-30 17:55 ` Darren Hart

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=C6287702A945AC47BE5DB5DFD4B5C6DD0188BC92@SHSMSX104.ccr.corp.intel.com \
    --to=qipeng.zha@intel.com \
    --cc=dvhart@infradead.org \
    --cc=fei.yang@intel.com \
    --cc=gnomes@lxorguk.ukuu.org.uk \
    --cc=huiquan.zhong@intel.com \
    --cc=jason.cj.chen@intel.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=qi.zheng@intel.com \
    /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.