linux/drivers/reset/reset-brcmstb.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Broadcom STB generic reset controller for SW_INIT style reset controller
 *
 * Author: Florian Fainelli <[email protected]>
 * Copyright (C) 2018 Broadcom
 */
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/reset-controller.h>
#include <linux/types.h>

struct brcmstb_reset {};

#define SW_INIT_SET
#define SW_INIT_CLEAR
#define SW_INIT_STATUS

#define SW_INIT_BIT(id)
#define SW_INIT_BANK(id)

/* A full bank contains extra registers that we are not utilizing but still
 * qualify as a single bank.
 */
#define SW_INIT_BANK_SIZE

static inline
struct brcmstb_reset *to_brcmstb(struct reset_controller_dev *rcdev)
{}

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

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

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

static const struct reset_control_ops brcmstb_reset_ops =;

static int brcmstb_reset_probe(struct platform_device *pdev)
{}

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

static struct platform_driver brcmstb_reset_driver =;
module_platform_driver();

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