linux/drivers/reset/reset-tn48m.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Delta TN48M CPLD reset driver
 *
 * Copyright (C) 2021 Sartura Ltd.
 *
 * Author: Robert Marko <[email protected]>
 */

#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/reset-controller.h>

#include <dt-bindings/reset/delta,tn48m-reset.h>

#define TN48M_RESET_REG

#define TN48M_RESET_TIMEOUT_US
#define TN48M_RESET_SLEEP_US

struct tn48_reset_map {};

struct tn48_reset_data {};

static const struct tn48_reset_map tn48m_resets[] =;

static inline struct tn48_reset_data *to_tn48_reset_data(
			struct reset_controller_dev *rcdev)
{}

static int tn48m_control_reset(struct reset_controller_dev *rcdev,
			       unsigned long id)
{}

static int tn48m_control_status(struct reset_controller_dev *rcdev,
				unsigned long id)
{}

static const struct reset_control_ops tn48_reset_ops =;

static int tn48m_reset_probe(struct platform_device *pdev)
{}

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

static struct platform_driver tn48m_reset_driver =;
module_platform_driver();

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