linux/drivers/reset/reset-microchip-sparx5.c

// SPDX-License-Identifier: GPL-2.0+
/* Microchip Sparx5 Switch Reset driver
 *
 * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.
 *
 * The Sparx5 Chip Register Model can be browsed at this location:
 * https://github.com/microchip-ung/sparx-5_reginfo
 */
#include <linux/mfd/syscon.h>
#include <linux/of.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/property.h>
#include <linux/regmap.h>
#include <linux/reset-controller.h>

struct reset_props {};

struct mchp_reset_context {};

static struct regmap_config sparx5_reset_regmap_config =;

static int sparx5_switch_reset(struct mchp_reset_context *ctx)
{}

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

static const struct reset_control_ops sparx5_reset_ops =;

static int mchp_sparx5_map_syscon(struct platform_device *pdev, char *name,
				  struct regmap **target)
{}

static int mchp_sparx5_map_io(struct platform_device *pdev, int index,
			      struct regmap **target)
{}

static int mchp_sparx5_reset_probe(struct platform_device *pdev)
{}

static const struct reset_props reset_props_sparx5 =;

static const struct reset_props reset_props_lan966x =;

static const struct of_device_id mchp_sparx5_reset_of_match[] =;

static struct platform_driver mchp_sparx5_reset_driver =;

static int __init mchp_sparx5_reset_init(void)
{}

/*
 * Because this is a global reset, keep this postcore_initcall() to issue the
 * reset as early as possible during the kernel startup.
 */
postcore_initcall(mchp_sparx5_reset_init);

MODULE_DESCRIPTION();
MODULE_AUTHOR();