linux/drivers/gpio/gpio-tps65912.c

// SPDX-License-Identifier: GPL-2.0
/*
 * GPIO driver for TI TPS65912x PMICs
 *
 * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
 *	Andrew F. Davis <[email protected]>
 *
 * Based on the Arizona GPIO driver and the previous TPS65912 driver by
 * Margarita Olaya Cabrera <[email protected]>
 */

#include <linux/gpio/driver.h>
#include <linux/module.h>
#include <linux/platform_device.h>

#include <linux/mfd/tps65912.h>

struct tps65912_gpio {};

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

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

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

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

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

static const struct gpio_chip template_chip =;

static int tps65912_gpio_probe(struct platform_device *pdev)
{}

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

static struct platform_driver tps65912_gpio_driver =;
module_platform_driver();

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