From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753895AbcEYKlT (ORCPT ); Wed, 25 May 2016 06:41:19 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:36732 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753792AbcEYKlR (ORCPT ); Wed, 25 May 2016 06:41:17 -0400 Date: Wed, 25 May 2016 11:41:03 +0100 From: Mark Brown To: Meng Yi Cc: "dri-devel@lists.freedesktop.org" , David Airlie , Stefan Agner , "airlied@redhat.com" , "linux-kernel@vger.kernel.org" Message-ID: <20160525104103.GV8206@sirena.org.uk> References: <20160525091834.GQ8206@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KNVwDSkw2BjFUkD8" Content-Disposition: inline In-Reply-To: X-Cookie: Vitamin C deficiency is apauling. User-Agent: Mutt/1.6.0 (2016-04-01) X-SA-Exim-Connect-IP: 2a01:348:6:8808:fab::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: fsl-dcu not works on latest "drm-next" 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 --KNVwDSkw2BjFUkD8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 25, 2016 at 09:59:39AM +0000, Meng Yi wrote: Please fix your mail client to word wrap within paragraphs at something substantially less than 80 columns. Doing this makes your messages much easier to read and reply to. > I read out the value of relevant register using "CodeWarrior TAP", find t= hat endianness is not right. > Then I changed endianness of the value to be written that using " regmap_= write" . It works. > But "regmap_update_bits" still have the problem. > I had checked log of regmap, and didn't find which commit caused that. You've not specifically described the problem here - what are the endiannesses of both the CPU and the device you're talking to? What specifically is the endianess problem you are seeing, what are you seeing and what do you expect to see? > I am not familiar with regmap, can you give some advices? Is the device described in the DT or regmap_config as having the endianess that it actually has? =20 --KNVwDSkw2BjFUkD8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXRYE/AAoJECTWi3JdVIfQDQMH/Atd2TMdPwlq+Dcn5lNxa1vm IfbZNiHDU7+TMudbbOQVqA6sU8mn0ruSEK0rP4ZPKhoI8B+2X6f2snhCNR6mq7+r MYsqsk5Pl4Y4f3/vZDaD8X/XeUXkV96MQXzCFw1Dehzndl+0RmW3RfenUiNPae1z wr0A2tmT93u708KbZ9mMJQrWj19vR+6dmyt41OOhyaphl2W1/gu6vc3Kz2NzEQyN v9ZWYKHlqIV9oa1igVrLU5XNGSU/E1dDl+PF5Vd1eH6o+1fHCsubF8BOO7Fy9t6y gKKcSp/1kUcJzc9rnISWMz6G5HM4Fft31edHWdeMl3+MGyDdWoBC9L18KwcqKfA= =aDoU -----END PGP SIGNATURE----- --KNVwDSkw2BjFUkD8--