linux/drivers/power/reset/rmobile-reset.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Renesas R-Mobile Reset Driver
 *
 * Copyright (C) 2014 Glider bvba
 */

#include <linux/io.h>
#include <linux/module.h>
#include <linux/notifier.h>
#include <linux/of_address.h>
#include <linux/platform_device.h>
#include <linux/printk.h>
#include <linux/reboot.h>

/* SYSC Register Bank 2 */
#define RESCNT2

/* Reset Control Register 2 */
#define RESCNT2_PRES

static int rmobile_reset_handler(struct sys_off_data *data)
{}

static int rmobile_reset_probe(struct platform_device *pdev)
{}

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

static struct platform_driver rmobile_reset_driver =;

module_platform_driver();

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