linux/drivers/power/reset/syscon-reboot.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Generic Syscon Reboot Driver
 *
 * Copyright (c) 2013, Applied Micro Circuits Corporation
 * Author: Feng Kan <[email protected]>
 */
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/notifier.h>
#include <linux/mfd/syscon.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/reboot.h>
#include <linux/regmap.h>

struct syscon_reboot_context {};

static int syscon_restart_handle(struct notifier_block *this,
					unsigned long mode, void *cmd)
{}

static int syscon_reboot_probe(struct platform_device *pdev)
{}

static const struct of_device_id syscon_reboot_of_match[] =;

static struct platform_driver syscon_reboot_driver =;
builtin_platform_driver();