linux/drivers/gpio/gpio-tps65218.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright 2015 Verifone Int.
 *
 * Author: Nicolas Saenz Julienne <[email protected]>
 *
 * This driver is based on the gpio-tps65912 implementation.
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/gpio/driver.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/mfd/tps65218.h>

struct tps65218_gpio {};

static int tps65218_gpio_get(struct gpio_chip *gc, unsigned offset)
{}

static void tps65218_gpio_set(struct gpio_chip *gc, unsigned offset,
			      int value)
{}

static int tps65218_gpio_output(struct gpio_chip *gc, unsigned offset,
				int value)
{}

static int tps65218_gpio_input(struct gpio_chip *gc, unsigned offset)
{}

static int tps65218_gpio_request(struct gpio_chip *gc, unsigned offset)
{}

static int tps65218_gpio_set_config(struct gpio_chip *gc, unsigned offset,
				    unsigned long config)
{}

static const struct gpio_chip template_chip =;

static int tps65218_gpio_probe(struct platform_device *pdev)
{}

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

static const struct platform_device_id tps65218_gpio_id_table[] =;
MODULE_DEVICE_TABLE(platform, tps65218_gpio_id_table);

static struct platform_driver tps65218_gpio_driver =;

module_platform_driver();

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