linux/drivers/gpio/gpio-tps65086.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2015-2023 Texas Instruments Incorporated - https://www.ti.com/
 *	Andrew Davis <[email protected]>
 *
 * Based on the TPS65912 driver
 */

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

#include <linux/mfd/tps65086.h>

struct tps65086_gpio {};

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

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

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

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

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

static const struct gpio_chip template_chip =;

static int tps65086_gpio_probe(struct platform_device *pdev)
{}

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

static struct platform_driver tps65086_gpio_driver =;
module_platform_driver();

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