1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright 2015 Toradex AG
5 * Stefan Agner <stefan@agner.ch>
7 * Freescale TCON device driver
10 #ifndef __FSL_TCON_H__
11 #define __FSL_TCON_H__
13 #include <linux/bitops.h>
15 #define FSL_TCON_CTRL1 0x0
16 #define FSL_TCON_CTRL1_TCON_BYPASS BIT(29)
23 struct fsl_tcon
*fsl_tcon_init(struct device
*dev
);
24 void fsl_tcon_free(struct fsl_tcon
*tcon
);
26 void fsl_tcon_bypass_disable(struct fsl_tcon
*tcon
);
27 void fsl_tcon_bypass_enable(struct fsl_tcon
*tcon
);
29 #endif /* __FSL_TCON_H__ */