linux/drivers/soc/renesas/pwc-rzv2m.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2023 Renesas Electronics Corporation
 */

#include <linux/delay.h>
#include <linux/gpio/driver.h>
#include <linux/platform_device.h>
#include <linux/reboot.h>

#define PWC_PWCRST
#define PWC_PWCCKEN
#define PWC_PWCCTL
#define PWC_GPIO

#define PWC_PWCRST_RSTSOFTAX
#define PWC_PWCCKEN_ENGCKMAIN
#define PWC_PWCCTL_PWOFF

struct rzv2m_pwc_priv {};

static void rzv2m_pwc_gpio_set(struct gpio_chip *chip, unsigned int offset,
			       int value)
{}

static int rzv2m_pwc_gpio_get(struct gpio_chip *chip, unsigned int offset)
{}

static int rzv2m_pwc_gpio_direction_output(struct gpio_chip *gc,
					   unsigned int nr, int value)
{}

static const struct gpio_chip rzv2m_pwc_gc =;

static int rzv2m_pwc_poweroff(struct sys_off_data *data)
{}

static int rzv2m_pwc_probe(struct platform_device *pdev)
{}

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

static struct platform_driver rzv2m_pwc_driver =;
module_platform_driver();

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