From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932104AbbCGLGf (ORCPT ); Sat, 7 Mar 2015 06:06:35 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:55896 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750937AbbCGLGe (ORCPT ); Sat, 7 Mar 2015 06:06:34 -0500 Date: Sat, 7 Mar 2015 11:06:28 +0000 From: Mark Brown To: Daniel Baluta Cc: Lars-Peter Clausen , Linux Kernel Mailing List Message-ID: <20150307110628.GH28806@sirena.org.uk> References: <20150305175356.GB21293@sirena.org.uk> <20150306112142.GG21293@sirena.org.uk> <54F9A171.5000107@metafoo.de> <54F9E597.2050301@metafoo.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9sSKoi6Rw660DLir" Content-Disposition: inline In-Reply-To: X-Cookie: Editing is a rewording activity. 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: Using regmap_update_bits to update a write only register 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 --9sSKoi6Rw660DLir Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Mar 06, 2015 at 09:48:16PM +0200, Daniel Baluta wrote: > I cannot test is right now because I don't have access to the physical device. > Is there a way to use to test the regmap API without an I2C/SPI device? You should be able to create a MMIO regmap on a block of memory. --9sSKoi6Rw660DLir Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJU+tuzAAoJECTWi3JdVIfQ27gH/3AYhrw39kPPZSK7Gszmpfoy xioUvQgkPwpHsfmDuepaiKQui971X8+fQO0Y1gh2ycN6q3fTrMf9M0I5DkyCMY2j t3HXEiBCEfMY1ID982cUkngr81qWnGg4jfXRF3h74SANGtk0BS1JXr1MLuTjzY8P zjjXWZ/iGDjiNIn7eHWTVbjaouEuDWAlrLPp6uttqjHT2Wj/2M6FKLZ+0OZLpu0y xTSIsDa3wBzYwN+ybCkQDYULip1qs31TVNKtuCwwAvi2F08dmjxQDKtt2osLcJ85 RtfPKmmqDLLngEJxoSL11uaJNLoTTuE/sjG6mekQ+4If3hcck7789ePO1JYek8E= =VIjM -----END PGP SIGNATURE----- --9sSKoi6Rw660DLir--