From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from az33egw02.freescale.net (az33egw02.freescale.net [192.88.158.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "az33egw02.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 570ACDDDB6 for ; Thu, 19 Feb 2009 03:57:29 +1100 (EST) Received: from de01smr01.freescale.net (de01smr01.freescale.net [10.208.0.31]) by az33egw02.freescale.net (8.14.3/az33egw02) with ESMTP id n1IGvPcw025782 for ; Wed, 18 Feb 2009 09:57:26 -0700 (MST) Received: from ld0162-tx32.am.freescale.net (ld0162-tx32.am.freescale.net [10.82.19.112]) by de01smr01.freescale.net (8.13.1/8.13.0) with ESMTP id n1IGvPoa005488 for ; Wed, 18 Feb 2009 10:57:25 -0600 (CST) Date: Wed, 18 Feb 2009 10:57:24 -0600 From: Scott Wood To: Vijay Nikam Subject: Re: Regarding irq_of_parse_and_map Message-ID: <20090218165724.GA26391@ld0162-tx32.am.freescale.net> References: <20090216180857.GA18069@ld0162-tx32.am.freescale.net> <499AF08B.6010702@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Feb 18, 2009 at 05:31:34PM +0530, Vijay Nikam wrote: > > Don't specify this explicitly. Please base new development off of the > > device tree that is in upstream Linux, not the very old tree in your BSP. > > May I know the reason why I should not specify it explicitly ? ? ? Because dtc will generate phandles automatically when you reference the node with the & operator. > Also what would be the problem if I do in the same way as it is given > in BSP mpc8313erdb.dts ? ? ? Do you want your changes to ever make it into the upstream kernel? > And should I use gpio-controller as a gpio device node ? ? ? Yes, the node should label itself as a gpio controller. -Scott