linux/drivers/gpio/gpio-tps65219.c

// SPDX-License-Identifier: GPL-2.0
/*
 * GPIO driver for TI TPS65219 PMICs
 *
 * Copyright (C) 2022 Texas Instruments Incorporated - http://www.ti.com/
 */

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

#define TPS65219_GPIO0_DIR_MASK
#define TPS65219_GPIO0_OFFSET
#define TPS65219_GPIO0_IDX
#define TPS65219_GPIO_DIR_IN
#define TPS65219_GPIO_DIR_OUT

struct tps65219_gpio {};

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

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

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

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

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

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

static const struct gpio_chip tps65219_template_chip =;

static int tps65219_gpio_probe(struct platform_device *pdev)
{}

static struct platform_driver tps65219_gpio_driver =;
module_platform_driver();

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