[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201508142254.16292@pali>
Date: Fri, 14 Aug 2015 22:54:16 +0200
From: Pali Rohár <pali.rohar@...il.com>
To: Pavel Machek <pavel@....cz>
Cc: Jarkko Nikula <jarkko.nikula@...mer.com>,
"Lars-Peter Clausen" <lars@...afoo.de>,
Peter Ujfalusi <peter.ujfalusi@...com>,
linux-kernel@...r.kernel.org, linux-omap@...r.kernel.org,
Sebastian Reichel <sre@...nel.org>,
Aaro Koskinen <aaro.koskinen@....fi>,
Tony Lindgren <tony@...mide.com>, Nishanth Menon <nm@...com>,
Ivaylo Dimitrov <ivo.g.dimitrov.75@...il.com>
Subject: Re: Nokia N900 - audio TPA6130A2 problems
On Friday 14 August 2015 22:46:49 Pavel Machek wrote:
> Hi!
>
> > Maybe some power management problem? Something is not always
> > initialized correctly?
> >
> > 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...
>
> 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.
>
> Best regards,
>
> 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=u-boot.git;a=blob;f=board/nokia/rx51/rx51.c;h=3d019b01428b5392fb5d0b8c7428a6d1d2ba31af;hb=HEAD#l388
All are just i2c calls to twl4030 chipset.
--
Pali Rohár
pali.rohar@...il.com
Download attachment "signature.asc " of type "application/pgp-signature" (199 bytes)
Powered by blists - more mailing lists