linux/drivers/reset/reset-zynqmp.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (C) 2018 Xilinx, Inc.
 *
 */

#include <linux/err.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/reset-controller.h>
#include <linux/firmware/xlnx-zynqmp.h>

#define ZYNQMP_NR_RESETS
#define ZYNQMP_RESET_ID
#define VERSAL_NR_RESETS
#define VERSAL_NET_NR_RESETS

struct zynqmp_reset_soc_data {};

struct zynqmp_reset_data {};

static inline struct zynqmp_reset_data *
to_zynqmp_reset_data(struct reset_controller_dev *rcdev)
{}

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

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

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

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

static int zynqmp_reset_of_xlate(struct reset_controller_dev *rcdev,
				 const struct of_phandle_args *reset_spec)
{}

static const struct zynqmp_reset_soc_data zynqmp_reset_data =;

static const struct zynqmp_reset_soc_data versal_reset_data =;

static const struct zynqmp_reset_soc_data versal_net_reset_data =;

static const struct reset_control_ops zynqmp_reset_ops =;

static int zynqmp_reset_probe(struct platform_device *pdev)
{}

static const struct of_device_id zynqmp_reset_dt_ids[] =;

static struct platform_driver zynqmp_reset_driver =;

static int __init zynqmp_reset_init(void)
{}

arch_initcall(zynqmp_reset_init);