From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOmrE-0007Ox-2K for qemu-devel@nongnu.org; Thu, 28 Jan 2016 08:43:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOmrA-0005Nf-TI for qemu-devel@nongnu.org; Thu, 28 Jan 2016 08:43:32 -0500 References: <1453581610-23179-1-git-send-email-hpoussin@reactos.org> <20160125095802.GZ3951@li141-249.members.linode.com> <56A69CEB.6070208@reactos.org> <56A94625.4010300@reactos.org> From: =?UTF-8?Q?Herv=c3=a9_Poussineau?= Message-ID: <56AA1AF9.6060501@reactos.org> Date: Thu, 28 Jan 2016 14:43:21 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 00/13] cuda: misc fixes and cleanups List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: BALATON Zoltan Cc: Alyssa Milburn , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, David Gibson Le 28/01/2016 02:45, BALATON Zoltan a =E9crit : > On Wed, 27 Jan 2016, Herv=E9 Poussineau wrote: >> Unfortunately, Finnix doesn't try to access I2C bus, not even to initi= alize it. I suppose it is because OpenBIOS doesn't describe the I2C bus i= n the device tree... > > The kernel in Finnix seems to have a driver but unfortunately I2C debug= ging is not enabled so you probably won't get much useful info. The best = idea in this case is probably to compile a kernel with > debugging messages for I2C so you get some info on where it fails if it= tries to find the bus at all. > I just checked Linux source. arch/powerpc/platforms/powermac/low_i2c.c is= searching for 3 types of I2C buses - if some device in DT is compatible with "keywest-i2c" - if CONFIG_ADB_PMU is set, if some device in DT is named "pmu-i2c" or "v= ia-pmu" - if CONFIG_PMAC_SMU is set, if some device in DT is named "smu-i2c-contr= ol" or "smu" So, OpenBIOS needs to be changed to declare an I2C bus. Then, maybe, I'll get some bus probing. Regards, Herv=E9