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 ESMTP id 8C274DDDFB for ; Tue, 16 Jan 2007 17:25:23 +1100 (EST) Subject: Re: Discussion on SOC device tree bindings From: Benjamin Herrenschmidt To: Grant Likely In-Reply-To: <528646bc0701150906o253c898dobe3b55ffb91add70@mail.gmail.com> References: <528646bc0701131555n3249b503i3b6e8c37db41dd52@mail.gmail.com> <45AA098C.70101@246tNt.com> <6189b01379f62aa4516484872f4ef86f@kernel.crashing.org> <1168810790.4803.11.camel@localhost.localdomain> <1168817449.4803.28.camel@localhost.localdomain> <1168818533.4803.37.camel@localhost.localdomain> <45ABA20E.30008@genesi-usa.com> <528646bc0701150906o253c898dobe3b55ffb91add70@mail.gmail.com> Content-Type: text/plain Date: Tue, 16 Jan 2007 17:25:04 +1100 Message-Id: <1168928704.4803.59.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linuxppc-dev Development , Sven Luther List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > The thread started with discussion about the 5200 device tree binding > conventions, but has moved to a specific issue. Now we are talking > about how to deal with shared registers. ie. There are 2 I2C > controllers on the 5200, but they share one register. How is that > best represented in the device tree? .../i2c-core/i2c-bus@0 /i2c-bus@1 Or something like that. Make one device that encloses them all. Well, that's of the top of my head, somebod might have a better idea. Ben.