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

From: Andreas Schwab <[email-masked]>
Date: Mon, 18 Jun 2012 14:57:08 +0200

Benjamin Herrenschmidt <[email-masked]> 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 <[email-masked]>
> ---
>
> 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@0,f2000000/pci@1/mac-io@7/i2c@18000/i2c-modem
i2c i2c-6: i2c-powermac: modalias failure on /u3@0,f8000000/i2c@f8001000/cereal@1c0

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."