From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH 1/2] Add MPC52xx Interrupt controller support for ARCH=powerpc From: Benjamin Herrenschmidt To: Grant Likely In-Reply-To: <528646bc0610311508v6d65d4b3t46135123c8e8a1bf@mail.gmail.com> References: <200610292310.k9TNAHXZ013852@post.webmailer.de> <4546F7DE.6070104@bplan-gmbh.de> <1162280335.25682.302.camel@localhost.localdomain> <4547086D.2050808@bplan-gmbh.de> <1162284176.25682.320.camel@localhost.localdomain> <454712A4.3000501@bplan-gmbh.de> <4547AC30.3090208@bplan-gmbh.de> <1162331943.25682.358.camel@localhost.localdomain> <528646bc0610311408i3a7a9a7ep11ad54c1779aa4bc@mail.gmail.com> <1162332664.25682.362.camel@localhost.localdomain> <528646bc0610311508v6d65d4b3t46135123c8e8a1bf@mail.gmail.com> Content-Type: text/plain Date: Wed, 01 Nov 2006 12:06:14 +1100 Message-Id: <1162343175.25682.368.camel@localhost.localdomain> Mime-Version: 1.0 Cc: Rigby John-R61273 , sl@bplan-gmbh.de, linuxppc-dev@ozlabs.org, linuxppc-embedded@ozlabs.org, sha@pengutronix.de List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2006-10-31 at 16:08 -0700, Grant Likely wrote: > On 10/31/06, Benjamin Herrenschmidt wrote: > > > > > This definitely needs to be removed. It's used to figure out which > > > driver should drive a PSC (based on function). We've got a device > > > tree to provide this information now. > > > > Which means we should define how that is presented in the devie-tree and > > Nicolas should then update his tree accordingly... > > How about this: > > := one of [serial, spi, i2s, ac97] > > @ { > port-number = ; // so /dev/ttyPSC# > connects to something sane > compatible = "mpc5200b-psb\0mpc52xx-psc"; > ... other stuff ... > }; > > Function is encoded in the node name, and the compatible property > tells linux that it is an mpc52xx-psc in mode. Looks good to me. Ben.