linux/include/linux/platform_data/gpmc-omap.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * OMAP GPMC Platform data
 *
 * Copyright (C) 2014 Texas Instruments, Inc. - https://www.ti.com
 *	Roger Quadros <[email protected]>
 */

#ifndef _GPMC_OMAP_H_
#define _GPMC_OMAP_H_

/* Maximum Number of Chip Selects */
#define GPMC_CS_NUM

/* bool type time settings */
struct gpmc_bool_timings {};

/*
 * Note that all values in this struct are in nanoseconds except sync_clk
 * (which is in picoseconds), while the register values are in gpmc_fck cycles.
 */
struct gpmc_timings {};

/* Device timings in picoseconds */
struct gpmc_device_timings {};

#define GPMC_BURST_4
#define GPMC_BURST_8
#define GPMC_BURST_16
#define GPMC_DEVWIDTH_8BIT
#define GPMC_DEVWIDTH_16BIT
#define GPMC_MUX_AAD
#define GPMC_MUX_AD

/* Wait pin polarity values */
#define GPMC_WAITPINPOLARITY_INVALID
#define GPMC_WAITPINPOLARITY_ACTIVE_LOW
#define GPMC_WAITPINPOLARITY_ACTIVE_HIGH

#define GPMC_WAITPIN_INVALID

struct gpmc_settings {};

/* Data for each chip select */
struct gpmc_omap_cs_data {};

struct gpmc_omap_platform_data {};

#endif /* _GPMC_OMAP_H */