watchdog: add Intel MID watchdog driver support
Add initial Intel MID watchdog driver support. This driver is an initial implementation of generic Intel MID watchdog driver. Currently it supports Intel Merrifield platform. Signed-off-by: Eric Ernst <eric.ernst@intel.com> Signed-off-by: David Cohen <david.a.cohen@linux.intel.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
This commit is contained in:
parent
938626d96a
commit
87a1ef8058
4 changed files with 220 additions and 0 deletions
22
include/linux/platform_data/intel-mid_wdt.h
Normal file
22
include/linux/platform_data/intel-mid_wdt.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* intel-mid_wdt: generic Intel MID SCU watchdog driver
|
||||
*
|
||||
* Copyright (C) 2014 Intel Corporation. All rights reserved.
|
||||
* Contact: David Cohen <david.a.cohen@linux.intel.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of version 2 of the GNU General
|
||||
* Public License as published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef __INTEL_MID_WDT_H__
|
||||
#define __INTEL_MID_WDT_H__
|
||||
|
||||
#include <linux/platform_device.h>
|
||||
|
||||
struct intel_mid_wdt_pdata {
|
||||
int irq;
|
||||
int (*probe)(struct platform_device *pdev);
|
||||
};
|
||||
|
||||
#endif /*__INTEL_MID_WDT_H__*/
|
Loading…
Add table
Add a link
Reference in a new issue