[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Qemu-ppc] [PATCH 00/13] cuda: misc fixes and cleanups

From: Hervé Poussineau
Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 00/13] cuda: misc fixes and cleanups
Date: Thu, 28 Jan 2016 14:43:21 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0

Le 28/01/2016 02:45, BALATON Zoltan a écrit :
On Wed, 27 Jan 2016, Hervé Poussineau wrote:
Unfortunately, Finnix doesn't try to access I2C bus, not even to initialize it. 
I suppose it is because OpenBIOS doesn't describe the I2C bus in the device 

The kernel in Finnix seems to have a driver but unfortunately I2C debugging 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 "via-pmu"
- if CONFIG_PMAC_SMU is set, if some device in DT is named "smu-i2c-control" or 
So, OpenBIOS needs to be changed to declare an I2C bus.

Then, maybe, I'll get some bus probing.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]