Re: [RFC] GPIO-Watchdog in devicetree

2008-09-25 Thread David Gibson
On Thu, Sep 25, 2008 at 01:21:23PM -0500, Scott Wood wrote: > Grant Likely wrote: >> On Thu, Sep 25, 2008 at 11:59 AM, Scott Wood <[EMAIL PROTECTED]> wrote: >>> On Tue, Sep 23, 2008 at 09:02:56AM -0600, Grant Likely wrote: For example: / { model = "pengutronix,super-sexy-board"

Re: [RFC] GPIO-Watchdog in devicetree

2008-09-25 Thread David Gibson
On Mon, Sep 22, 2008 at 09:43:57PM +0200, Wolfram Sang wrote: > Hello all, > > I understood that the device-tree is for describing hardware and should > not contain driver specific information. I have problems drawing this > line right now. I made a driver for watchdogs which are pinged by > toggl

Re: [RFC] GPIO-Watchdog in devicetree

2008-09-25 Thread Scott Wood
Grant Likely wrote: On Thu, Sep 25, 2008 at 11:59 AM, Scott Wood <[EMAIL PROTECTED]> wrote: On Tue, Sep 23, 2008 at 09:02:56AM -0600, Grant Likely wrote: For example: / { model = "pengutronix,super-sexy-board"; #address-cells = <1>; #size-cells = <1>; super-sexy-board,wa

Re: [RFC] GPIO-Watchdog in devicetree

2008-09-25 Thread Grant Likely
On Thu, Sep 25, 2008 at 11:59 AM, Scott Wood <[EMAIL PROTECTED]> wrote: > > On Tue, Sep 23, 2008 at 09:02:56AM -0600, Grant Likely wrote: > > For example: > > / { > > model = "pengutronix,super-sexy-board"; > > #address-cells = <1>; > > #size-cells = <1>; > > super-sexy-boar

Re: [RFC] GPIO-Watchdog in devicetree

2008-09-25 Thread Scott Wood
On Tue, Sep 23, 2008 at 09:02:56AM -0600, Grant Likely wrote: > For example: > / { > model = "pengutronix,super-sexy-board"; > #address-cells = <1>; > #size-cells = <1>; > super-sexy-board,watchdog-gpio = <&gpio_simple 19 0>; > ... > } Why as a property of the root no

Re: [RFC] GPIO-Watchdog in devicetree

2008-09-23 Thread Grant Likely
On Mon, Sep 22, 2008 at 09:43:57PM +0200, Wolfram Sang wrote: > Hello all, > > I understood that the device-tree is for describing hardware and should > not contain driver specific information. I have problems drawing this > line right now. I made a driver for watchdogs which are pinged by > toggl

[RFC] GPIO-Watchdog in devicetree

2008-09-22 Thread Wolfram Sang
Hello all, I understood that the device-tree is for describing hardware and should not contain driver specific information. I have problems drawing this line right now. I made a driver for watchdogs which are pinged by toggling a gpio. Currently the device-tree entry looks like this: [EMA