From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id E6B33B6FAA for ; Sun, 10 Jun 2012 09:10:27 +1000 (EST) Message-ID: <1339283422.24838.96.camel@pasglop> Subject: Re: [PATCH 01/15] i2c/powermac: Register i2c devices from device-tree From: Benjamin Herrenschmidt To: Andreas Schwab Date: Sun, 10 Jun 2012 09:10:22 +1000 In-Reply-To: References: <1334823416-9138-1-git-send-email-benh@kernel.crashing.org> <1334823416-9138-2-git-send-email-benh__33169.052625499$1334826821$gmane$org@kernel.crashing.org> <1339279889.24838.93.camel@pasglop> <1339281364.24838.94.camel@pasglop> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, 2012-06-10 at 00:59 +0200, Andreas Schwab wrote: > It's a PowerMac G5. During booting I see this: There's about half a dozen versions of those :-) I assume the older PowerMac7,2 ? It's the one that tends to have missing bits in the device-tree. In that case, I think we still have one of these working at work, I can have a look when I'm back. > PowerMac i2c bus pmu 2 registered > PowerMac i2c bus pmu 1 registered > PowerMac i2c bus mac-io 0 registered > i2c i2c-5: i2c-powermac: modalias failure > on /ht@0,f2000000/pci@1/mac-io@7/i2c@18000/deq@6a > i2c i2c-5: i2c-powermac: invalid reg > on /ht@0,f2000000/pci@1/mac-io@7/i2c@18000/i2c-modem > PowerMac i2c bus u3 1 registered > i2c i2c-6: i2c-powermac: modalias failure > on /u3@0,f8000000/i2c@f8001000/cereal@1c0 > PowerMac i2c bus u3 0 registered > > The deq node has no compatible, perhaps the modalias can be > constructed out of the name instead? But where is the deq node ? Under i2c or under sound ? If not under i2c then we need to do something else entirely. For modalias I'm thinking best might be to have the platform code create a platform device for sound and have aoa core match on that ;-) Cheers, Ben.