linux/drivers/watchdog/twl4030_wdt.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright (C) Nokia Corporation
 *
 * Written by Timo Kokkonen <timo.t.kokkonen at nokia.com>
 */

#include <linux/module.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/mod_devicetable.h>
#include <linux/watchdog.h>
#include <linux/platform_device.h>
#include <linux/mfd/twl.h>

#define TWL4030_WATCHDOG_CFG_REG_OFFS

static bool nowayout = WATCHDOG_NOWAYOUT;
module_param(nowayout, bool, 0);
MODULE_PARM_DESC();

static int twl4030_wdt_write(unsigned char val)
{}

static int twl4030_wdt_start(struct watchdog_device *wdt)
{}

static int twl4030_wdt_stop(struct watchdog_device *wdt)
{}

static int twl4030_wdt_set_timeout(struct watchdog_device *wdt,
				   unsigned int timeout)
{}

static const struct watchdog_info twl4030_wdt_info =;

static const struct watchdog_ops twl4030_wdt_ops =;

static int twl4030_wdt_probe(struct platform_device *pdev)
{}

static int twl4030_wdt_suspend(struct platform_device *pdev, pm_message_t state)
{}

static int twl4030_wdt_resume(struct platform_device *pdev)
{}

static const struct of_device_id twl_wdt_of_match[] =;
MODULE_DEVICE_TABLE(of, twl_wdt_of_match);

static struct platform_driver twl4030_wdt_driver =;

module_platform_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_ALIAS();