From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 5/7] ARM: OMAP2+: WDT: move init; add read_reset_sources pdata function pointer Date: Thu, 25 Oct 2012 12:19:36 -0700 Message-ID: <20121025191936.GZ11928@atomide.com> References: <20121016012448.21844.92339.stgit@dusk.lan> <20121016013213.21844.20016.stgit@dusk.lan> <20121025153805.GB11623@blackmetal.musicnaut.iki.fi> <20121025185755.GV11928@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-04-ewr.mailhop.org ([204.13.248.74]:11533 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1760100Ab2JYTTm (ORCPT ); Thu, 25 Oct 2012 15:19:42 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Paul Walmsley Cc: Aaro Koskinen , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Wim Van Sebroeck , linux-watchdog@vger.kernel.org * Paul Walmsley [121025 12:11]: > On Thu, 25 Oct 2012, Tony Lindgren wrote: > > > Ideally we'd have some Linux generic function to implement in the PRM/CM > > drivers for getting the bootreason. But I guess we don't? > > Do you know of one, apart from WDIOC_GETBOOTSTATUS? I wonder if we can now with multiple watchdogs supported to have also PRM/CM implement omap_prcm_wdt_ioctl() that just handles WDIOC_GETBOOTSTATUS and then just remove that handling from the other omap watchdog drivers? Regards, Tony