linux/include/linux/mfd/atmel-hlcdc.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (C) 2014 Free Electrons
 * Copyright (C) 2014 Atmel
 *
 * Author: Boris BREZILLON <[email protected]>
 */

#ifndef __LINUX_MFD_HLCDC_H
#define __LINUX_MFD_HLCDC_H

#include <linux/clk.h>
#include <linux/regmap.h>

#define ATMEL_HLCDC_CFG(i)
#define ATMEL_HLCDC_SIG_CFG
#define ATMEL_HLCDC_HSPOL
#define ATMEL_HLCDC_VSPOL
#define ATMEL_HLCDC_VSPDLYS
#define ATMEL_HLCDC_VSPDLYE
#define ATMEL_HLCDC_DISPPOL
#define ATMEL_HLCDC_DITHER
#define ATMEL_HLCDC_DISPDLY
#define ATMEL_HLCDC_MODE_MASK
#define ATMEL_XLCDC_MODE_MASK
#define ATMEL_XLCDC_DPI
#define ATMEL_HLCDC_PP
#define ATMEL_HLCDC_VSPSU
#define ATMEL_HLCDC_VSPHO
#define ATMEL_HLCDC_GUARDTIME_MASK

#define ATMEL_HLCDC_EN
#define ATMEL_HLCDC_DIS
#define ATMEL_HLCDC_SR
#define ATMEL_HLCDC_IER
#define ATMEL_HLCDC_IDR
#define ATMEL_HLCDC_IMR
#define ATMEL_HLCDC_ISR
#define ATMEL_XLCDC_ATTRE

#define ATMEL_XLCDC_BASE_UPDATE
#define ATMEL_XLCDC_OVR1_UPDATE
#define ATMEL_XLCDC_OVR3_UPDATE
#define ATMEL_XLCDC_HEO_UPDATE

#define ATMEL_HLCDC_CLKPOL
#define ATMEL_HLCDC_CLKSEL
#define ATMEL_HLCDC_CLKPWMSEL
#define ATMEL_HLCDC_CGDIS(i)
#define ATMEL_HLCDC_CLKDIV_SHFT
#define ATMEL_HLCDC_CLKDIV_MASK
#define ATMEL_HLCDC_CLKDIV(div)

#define ATMEL_HLCDC_PIXEL_CLK
#define ATMEL_HLCDC_SYNC
#define ATMEL_HLCDC_DISP
#define ATMEL_HLCDC_PWM
#define ATMEL_HLCDC_SIP
#define ATMEL_XLCDC_SD
#define ATMEL_XLCDC_CM

#define ATMEL_HLCDC_SOF
#define ATMEL_HLCDC_SYNCDIS
#define ATMEL_HLCDC_FIFOERR
#define ATMEL_HLCDC_LAYER_STATUS(x)

/**
 * Structure shared by the MFD device and its subdevices.
 *
 * @regmap: register map used to access HLCDC IP registers
 * @periph_clk: the hlcdc peripheral clock
 * @sys_clk: the hlcdc system clock
 * @slow_clk: the system slow clk
 * @irq: the hlcdc irq
 */
struct atmel_hlcdc {};

#endif /* __LINUX_MFD_HLCDC_H */