linux/drivers/soc/fsl/qe/qe_io.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * arch/powerpc/sysdev/qe_lib/qe_io.c
 *
 * QE Parallel I/O ports configuration routines
 *
 * Copyright 2006 Freescale Semiconductor, Inc. All rights reserved.
 *
 * Author: Li Yang <[email protected]>
 * Based on code from Shlomi Gridish <[email protected]>
 */

#include <linux/stddef.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/ioport.h>

#include <asm/io.h>
#include <soc/fsl/qe/qe.h>

#undef DEBUG

static struct qe_pio_regs __iomem *par_io;
static int num_par_io_ports =;

int par_io_init(struct device_node *np)
{}

void __par_io_config_pin(struct qe_pio_regs __iomem *par_io, u8 pin, int dir,
			 int open_drain, int assignment, int has_irq)
{}
EXPORT_SYMBOL();

int par_io_config_pin(u8 port, u8 pin, int dir, int open_drain,
		      int assignment, int has_irq)
{}
EXPORT_SYMBOL();

int par_io_data_set(u8 port, u8 pin, u8 val)
{}
EXPORT_SYMBOL();

int par_io_of_config(struct device_node *np)
{}
EXPORT_SYMBOL();