2 * Copyright 2015 Toradex AG
4 * Stefan Agner <stefan@agner.ch>
6 * Freescale TCON device driver
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
14 #ifndef __FSL_TCON_H__
15 #define __FSL_TCON_H__
17 #include <linux/bitops.h>
19 #define FSL_TCON_CTRL1 0x0
20 #define FSL_TCON_CTRL1_TCON_BYPASS BIT(29)
27 struct fsl_tcon
*fsl_tcon_init(struct device
*dev
);
28 void fsl_tcon_free(struct fsl_tcon
*tcon
);
30 void fsl_tcon_bypass_disable(struct fsl_tcon
*tcon
);
31 void fsl_tcon_bypass_enable(struct fsl_tcon
*tcon
);
33 #endif /* __FSL_TCON_H__ */