i2c/powermac: Improve detection of devices from device-tree
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 18 Jun 2012 02:00:50 +0000 (12:00 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Jul 2012 08:22:46 +0000 (18:22 +1000)
commit3a3dd0186f619b74e61e6f29dddcaf59af7d3cac
treef8a42e6cc66c4df6f48857f92e5f977fed98e35c
parente1612de9e4cdf375c3cf1c72434ab8abdcb3927e
i2c/powermac: Improve detection of devices from device-tree

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@kernel.crashing.org>
drivers/i2c/busses/i2c-powermac.c