[PATCH 3/3] mpc52xx/wdt: WDT uses GPT api

Grant Likely grant.likely at secretlab.ca
Wed Nov 11 06:59:22 EST 2009


On Tue, Nov 10, 2009 at 12:43 PM, Albrecht Dreß <albrecht.dress at arcor.de> wrote:
> Use the MPC5200 GPT api for the WDT which drastically simplifies this file.
>
> Signed-off-by: Albrecht Dreß <albrecht.dress at arcor.de>
> ---
>
>  drivers/watchdog/mpc5200_wdt.c |  246 +++++++++++-----------------------------
>  1 files changed, 65 insertions(+), 181 deletions(-)


Can the WDT functionality just be merged entirely into
arch/powerpc/platforms/52xx/mpc52xx_gpt.c, eliminating the need for
this file entirely?  I think I'd rather have all the GPT "built in"
behaviour handled by a single driver.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.


More information about the devicetree-discuss mailing list