Linux Audio

Check our new training course

Loading...
Note: File does not exist in v4.6.
 1/*
 2 * Copyright 2015 Toradex AG
 3 *
 4 * Stefan Agner <stefan@agner.ch>
 5 *
 6 * Freescale TCON device driver
 7 *
 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.
12 */
13
14#ifndef __FSL_TCON_H__
15#define __FSL_TCON_H__
16
17#include <linux/bitops.h>
18
19#define FSL_TCON_CTRL1			0x0
20#define FSL_TCON_CTRL1_TCON_BYPASS	BIT(29)
21
22struct fsl_tcon {
23	struct regmap		*regs;
24	struct clk		*ipg_clk;
25};
26
27struct fsl_tcon *fsl_tcon_init(struct device *dev);
28void fsl_tcon_free(struct fsl_tcon *tcon);
29
30void fsl_tcon_bypass_disable(struct fsl_tcon *tcon);
31void fsl_tcon_bypass_enable(struct fsl_tcon *tcon);
32
33#endif /* __FSL_TCON_H__ */