From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755196AbbDTQFv (ORCPT ); Mon, 20 Apr 2015 12:05:51 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:37545 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753733AbbDTQFr (ORCPT ); Mon, 20 Apr 2015 12:05:47 -0400 Date: Mon, 20 Apr 2015 17:05:41 +0100 From: Mark Brown To: "qipeng.zha" Cc: linux-kernel@vger.kernel.org, fei.yang@intel.com, huiquan.zhong@intel.com, jason.cj.chen@intel.com, qi.zheng@intel.com Message-ID: <20150420160541.GO6023@sirena.org.uk> References: <1429573138-68002-1-git-send-email-qipeng.zha@intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PRLLjHmj3zFSA4eJ" Content-Disposition: inline In-Reply-To: <1429573138-68002-1-git-send-email-qipeng.zha@intel.com> X-Cookie: I've been there. User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH] regmap: add virtual PMIC IPC bus support X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --PRLLjHmj3zFSA4eJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 21, 2015 at 07:38:58AM +0800, qipeng.zha wrote: > From: "qipeng.zha" >=20 > There defined Whiskey Cove PMIC controller on one Intel platform, > and all registers on this PMIC are accessed by IPC commands. > This patch is to utilize regmap framework to access PMIC registers > for PMIC core and device drivers. Why is this being added to the regmap core rather than being implemented in using the reg_write() and reg_read() callbacks in the core driver for the PMIC? --PRLLjHmj3zFSA4eJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVNSPUAAoJECTWi3JdVIfQOvsH/i0J/UZ55FNNd01IYCkQZsoz U4B2UhMdxrBOZDRHOCU6nhmFXJ6u7O4YrRl9fSgOuOhGkb164DupoDbAztIBmWHm dLKgq7/EIbxrYun0Sj1EbEPwU0O5LkHsRG0nWDxhNGeQOeUpK6JHfNMhipuFhMKC Q3ZUFvlc0SIcSG/6si9VU20qDJG94x6f4Aphv15FMTW7frG4mu5WeKcO5QaA3Abv AKWH3RTUpNfDcMndQrr78CnmgEcezMh5SJEkX+CSG1rW5euBu7irRzWu4azZniYK cZQV2LrEvlHcO2BnsHhs0QFSf04iJ7OmgNHAzpMuVxldbQEOWYOzgwOnnXr/Lzc= =KBOB -----END PGP SIGNATURE----- --PRLLjHmj3zFSA4eJ--