From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH 1/2] regmap: Add DSI bus support Date: Thu, 11 Jul 2019 15:50:45 +0100 Message-ID: <20190711145045.GI14859@sirena.co.uk> References: <20190703214326.41269-1-jeffrey.l.hugo@gmail.com> <20190703214512.41319-1-jeffrey.l.hugo@gmail.com> <20190706010604.GG20625@sirena.org.uk> <64ca3a74-374f-d4f3-bee6-a607cc5c0fc5@samsung.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0126487852==" Return-path: Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by gabe.freedesktop.org (Postfix) with ESMTPS id DF4006E260 for ; Thu, 11 Jul 2019 14:50:49 +0000 (UTC) In-Reply-To: <64ca3a74-374f-d4f3-bee6-a607cc5c0fc5@samsung.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Andrzej Hajda Cc: Jeffrey Hugo , airlied@linux.ie, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, bjorn.andersson@linaro.org, Laurent.pinchart@ideasonboard.com List-Id: dri-devel@lists.freedesktop.org --===============0126487852== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="k9xkV0rc9XGsukaG" Content-Disposition: inline --k9xkV0rc9XGsukaG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jul 11, 2019 at 03:11:56PM +0200, Andrzej Hajda wrote: > 1. DSI protocol defines actually more than 30 types of transactions[1], > but this patchset implements only few of them (dsi generic write/read > family). Is it possible to implement multiple types of transactions in > regmap? You can, there's a couple of different ways depending on how exactly things are done. > 3. DSI devices are no MFDs so regmap abstraction has no big value added > (correct me, if there are other significant benefits). There's a few extra bits even if you're not using the marshalling code to get things onto the bus - the main ones are the register cache support (which people often use for simpler suspend/resume support) and the debug and trace facilities (things like tracepoints and debugfs for dumping the register map). There's no real connection to MFDs, I'd say the majority of users are not MFDs. --k9xkV0rc9XGsukaG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl0nTMQACgkQJNaLcl1U h9COWwf/Sq+8m5v5HZV9s4Y2bMQej7xG12IRt++iYd71CPndpoCN0S7TYrkCXSA4 WlzXW7E6jgYQEkk1JB1NDuwsgknq28mrWy+K/qCYRCF+V4xoRyKZM30gvXjt+2Jk bgCYj9df40V+IgPwvtwY6gmry8XdyGT0Ps9w2kHmO/mvcQJja6GsJQHZ/xNBdPDm DympAQuAa/c7dEh/147U1OiWAnLenr2aVD4JzztuVQzphIosmjd8Q9HCKUDwAubq xcUOLg3nkJ5S7tEtLiTKnQcUjTvpCrQA8n/6/rMOUv8FKAjHZxiL1xBw22j4ueoP uP8ZYMKLBefiJQen3owvVaLCUFHAfg== =NDQM -----END PGP SIGNATURE----- --k9xkV0rc9XGsukaG-- --===============0126487852== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0126487852==--