linux/drivers/watchdog/visconti_wdt.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2020 TOSHIBA CORPORATION
 * Copyright (c) 2020 Toshiba Electronic Devices & Storage Corporation
 * Copyright (c) 2020 Nobuhiro Iwamatsu <[email protected]>
 */

#include <linux/clk.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/watchdog.h>

#define WDT_CNT
#define WDT_MIN
#define WDT_MAX
#define WDT_CTL
#define WDT_CMD
#define WDT_CMD_CLEAR
#define WDT_CMD_START_STOP
#define WDT_DIV

#define VISCONTI_WDT_FREQ
#define WDT_DEFAULT_TIMEOUT

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

struct visconti_wdt_priv {};

static int visconti_wdt_start(struct watchdog_device *wdev)
{}

static int visconti_wdt_stop(struct watchdog_device *wdev)
{}

static int visconti_wdt_ping(struct watchdog_device *wdd)
{}

static unsigned int visconti_wdt_get_timeleft(struct watchdog_device *wdev)
{}

static int visconti_wdt_set_timeout(struct watchdog_device *wdev, unsigned int timeout)
{}

static const struct watchdog_info visconti_wdt_info =;

static const struct watchdog_ops visconti_wdt_ops =;

static int visconti_wdt_probe(struct platform_device *pdev)
{}

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

static struct platform_driver visconti_wdt_driver =;
module_platform_driver();

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