linux/drivers/reset/reset-rzg2l-usbphy-ctrl.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Renesas RZ/G2L USBPHY control driver
 *
 * Copyright (C) 2021 Renesas Electronics Corporation
 */

#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/regmap.h>
#include <linux/reset.h>
#include <linux/reset-controller.h>

#define RESET
#define VBENCTL

#define RESET_SEL_PLLRESET
#define RESET_PLLRESET

#define RESET_SEL_P2RESET
#define RESET_SEL_P1RESET
#define RESET_PHYRST_2
#define RESET_PHYRST_1

#define PHY_RESET_PORT2
#define PHY_RESET_PORT1

#define NUM_PORTS

struct rzg2l_usbphy_ctrl_priv {};

#define rcdev_to_priv(x)

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

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

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

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

static const struct reset_control_ops rzg2l_usbphy_ctrl_reset_ops =;

static const struct regmap_config rzg2l_usb_regconf =;

static int rzg2l_usbphy_ctrl_probe(struct platform_device *pdev)
{}

static void rzg2l_usbphy_ctrl_remove(struct platform_device *pdev)
{}

static struct platform_driver rzg2l_usbphy_ctrl_driver =;
module_platform_driver();

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