linux/drivers/gpio/gpio-madera.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * GPIO support for Cirrus Logic Madera codecs
 *
 * Copyright (C) 2015-2018 Cirrus Logic
 */

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

#include <linux/mfd/madera/core.h>
#include <linux/mfd/madera/pdata.h>
#include <linux/mfd/madera/registers.h>

struct madera_gpio {};

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

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

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

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

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

static const struct gpio_chip madera_gpio_chip =;

static int madera_gpio_probe(struct platform_device *pdev)
{}

static struct platform_driver madera_gpio_driver =;

module_platform_driver();

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