From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson Subject: Re: Gpio reset handling Date: Wed, 16 Sep 2009 10:24:59 +1000 Message-ID: <20090916002459.GA8891@yookeroo.seuss> References: <4AAFDDD1.9070702@monstr.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Grant Likely Cc: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org, John Williams List-Id: devicetree@vger.kernel.org On Tue, Sep 15, 2009 at 04:27:04PM -0600, Grant Likely wrote: > On Tue, Sep 15, 2009 at 12:32 PM, Michal Simek wrote: [snip] > So, something like this perhaps: > > machine { > compatible = ",-machine"; > soft-reset-gpio = <&gpio_res 1 1>; > phy-reset-gpio = <&gpio_res 2 1>; > }; > > I don't much like the node name "machine", but I can't think of > anything better at the moment. Why not put the reset properties in the root node? They do pertain to the whole system, after all. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson