From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: fsl-dcu not works on latest "drm-next" Date: Wed, 25 May 2016 11:41:03 +0100 Message-ID: <20160525104103.GV8206@sirena.org.uk> References: <20160525091834.GQ8206@sirena.org.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2021145762==" Return-path: Received: from mezzanine.sirena.org.uk (mezzanine.sirena.org.uk [IPv6:2400:8900::f03c:91ff:fedb:4f4]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8A7F96E911 for ; Wed, 25 May 2016 10:41:11 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Meng Yi Cc: "airlied@redhat.com" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" List-Id: dri-devel@lists.freedesktop.org --===============2021145762== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KNVwDSkw2BjFUkD8" Content-Disposition: inline --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-- --===============2021145762== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============2021145762==--