linux/drivers/reset/reset-pistachio.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Pistachio SoC Reset Controller driver
 *
 * Copyright (C) 2015 Imagination Technologies Ltd.
 *
 * Author: Damien Horsley <Damien.Horsley@imgtec.com>
 */

#include <linux/init.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/reset-controller.h>
#include <linux/slab.h>
#include <linux/mfd/syscon.h>

#include <dt-bindings/reset/pistachio-resets.h>

#define PISTACHIO_SOFT_RESET

struct pistachio_reset_data {};

static inline int pistachio_reset_shift(unsigned long id)
{}

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

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

static const struct reset_control_ops pistachio_reset_ops =;

static int pistachio_reset_probe(struct platform_device *pdev)
{}

static const struct of_device_id pistachio_reset_dt_ids[] =;

static struct platform_driver pistachio_reset_driver =;
builtin_platform_driver();