linux/drivers/gpio/gpio-tps68470.c

// SPDX-License-Identifier: GPL-2.0
/*
 * GPIO driver for TPS68470 PMIC
 *
 * Copyright (C) 2017 Intel Corporation
 *
 * Authors:
 *	Antti Laakso <[email protected]>
 *	Tianshu Qiu <[email protected]>
 *	Jian Xu Zheng <[email protected]>
 *	Yuning Pu <[email protected]>
 */

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

#define TPS68470_N_LOGIC_OUTPUT
#define TPS68470_N_REGULAR_GPIO
#define TPS68470_N_GPIO

struct tps68470_gpio_data {};

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

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

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

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

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

static const char *tps68470_names[TPS68470_N_GPIO] =;

static int tps68470_gpio_probe(struct platform_device *pdev)
{}

static struct platform_driver tps68470_gpio_driver =;
module_platform_driver();

MODULE_ALIAS();
MODULE_DESCRIPTION();
MODULE_LICENSE();