[RFC/PATCH] i2c/powermac: Improve detection of devices from device-tree

Andreas Schwab schwab at linux-m68k.org
Mon Jun 18 22:57:08 EST 2012


Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:

> This patch adds a number of workarounds for broken Apple device-trees
> mostly around sound chips. It handles creating the missing audio codec
> devices and works around various issues with missing addresses or
> missing compatible properties.
>
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> ---
>
> Andreas, this is what I've been cooking up today. Still mostly untested
> though, so handle with care :-) But it gives you the basic premises.

Sucessfully tested on PowerBook6,7 and PowerMac7,3 (both tas3004, the
latter with the deq workaround).

These are the remaining failures on PowerMac7,3:

i2c i2c-5: No i2c address for /ht at 0,f2000000/pci at 1/mac-io at 7/i2c at 18000/i2c-modem
i2c i2c-6: i2c-powermac: modalias failure on /u3 at 0,f8000000/i2c at f8001000/cereal at 1c0

Andreas.

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


More information about the Linuxppc-dev mailing list