Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752539AbbHNUyU (ORCPT ); Fri, 14 Aug 2015 16:54:20 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:33870 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751748AbbHNUyS (ORCPT ); Fri, 14 Aug 2015 16:54:18 -0400 From: Pali =?utf-8?q?Roh=C3=A1r?= To: Pavel Machek Subject: Re: Nokia N900 - audio TPA6130A2 problems Date: Fri, 14 Aug 2015 22:54:16 +0200 User-Agent: KMail/1.13.7 (Linux/3.13.0-61-generic; KDE/4.14.2; x86_64; ; ) Cc: Jarkko Nikula , "Lars-Peter Clausen" , Peter Ujfalusi , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Sebastian Reichel , Aaro Koskinen , Tony Lindgren , Nishanth Menon , Ivaylo Dimitrov References: <201507251228.27128@pali> <201508032017.45654@pali> <20150814204649.GA7628@Nokia-N900> In-Reply-To: <20150814204649.GA7628@Nokia-N900> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2085953.bUh1xxtlY5"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201508142254.16292@pali> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1906 Lines: 57 --nextPart2085953.bUh1xxtlY5 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Friday 14 August 2015 22:46:49 Pavel Machek wrote: > Hi! >=20 > > Maybe some power management problem? Something is not always > > initialized correctly? > >=20 > > I remember that there is some problem (maybe in NoLo - Nokia > > bootloader) that sometimes chainloaded U-Boot (booted via NoLo) is > > not able to initialize mmc chip (all read operation fails). In > > U-Boot I added some code to enable some parts in twl4030 regulator > > and after that mmc is working always... >=20 > Could I get some details? Thay code should be moved to kernel, > I'd really like mmc to work, no matter how machine was booted. >=20 > Best regards, >=20 > Pavel I think I was inspirited by kernel code when I added that functionality into u-boot... But I do not remember which kernel version... If you are interested and what to play with that, just look at few lines of twl4030 code in uboot rx51.c (until "restore I2C access state"): http://git.denx.de/?p=3Du-boot.git;a=3Dblob;f=3Dboard/nokia/rx51/rx51.c;h= =3D3d019b01428b5392fb5d0b8c7428a6d1d2ba31af;hb=3DHEAD#l388 All are just i2c calls to twl4030 chipset. =2D-=20 Pali Roh=C3=A1r pali.rohar@gmail.com --nextPart2085953.bUh1xxtlY5 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAlXOVXgACgkQi/DJPQPkQ1JLDQCaA5QvKQUP+BvfKSx5k0CD7/FX SnQAnREwckC7qUsJA2GxBF0drIxEonFg =eWTs -----END PGP SIGNATURE----- --nextPart2085953.bUh1xxtlY5-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/