brintos

brintos / linux-shallow public Read only

0
0
Text · 602 B · 23aa78f Raw
30 lines · c
1/* SPDX-License-Identifier: GPL-2.0-or-later */2/*3 * Copyright 2015 Toradex AG4 *5 * Stefan Agner <stefan@agner.ch>6 *7 * Freescale TCON device driver8 */9 10#ifndef __FSL_TCON_H__11#define __FSL_TCON_H__12 13#include <linux/bitops.h>14 15#define FSL_TCON_CTRL1			0x016#define FSL_TCON_CTRL1_TCON_BYPASS	BIT(29)17 18struct fsl_tcon {19	struct regmap		*regs;20	struct clk		*ipg_clk;21};22 23struct fsl_tcon *fsl_tcon_init(struct device *dev);24void fsl_tcon_free(struct fsl_tcon *tcon);25 26void fsl_tcon_bypass_disable(struct fsl_tcon *tcon);27void fsl_tcon_bypass_enable(struct fsl_tcon *tcon);28 29#endif /* __FSL_TCON_H__ */30