linux/drivers/gpio/gpio-twl6040.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * Access to GPOs on TWL6040 chip
 *
 * Copyright (C) 2012 Texas Instruments, Inc.
 *
 * Authors:
 *	Sergio Aguirre <[email protected]>
 *	Peter Ujfalusi <[email protected]>
 */

#include <linux/module.h>
#include <linux/init.h>
#include <linux/kthread.h>
#include <linux/irq.h>
#include <linux/gpio/driver.h>
#include <linux/platform_device.h>
#include <linux/bitops.h>
#include <linux/of.h>

#include <linux/mfd/twl6040.h>

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

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

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

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

static struct gpio_chip twl6040gpo_chip =;

/*----------------------------------------------------------------------*/

static int gpo_twl6040_probe(struct platform_device *pdev)
{}

/* Note:  this hardware lives inside an I2C-based multi-function device. */
MODULE_ALIAS();

static struct platform_driver gpo_twl6040_driver =;

module_platform_driver();

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