mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 02:07:10 +07:00
2874c5fd28
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 3029 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190527070032.746973796@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
30 lines
602 B
C
30 lines
602 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright 2015 Toradex AG
|
|
*
|
|
* Stefan Agner <stefan@agner.ch>
|
|
*
|
|
* Freescale TCON device driver
|
|
*/
|
|
|
|
#ifndef __FSL_TCON_H__
|
|
#define __FSL_TCON_H__
|
|
|
|
#include <linux/bitops.h>
|
|
|
|
#define FSL_TCON_CTRL1 0x0
|
|
#define FSL_TCON_CTRL1_TCON_BYPASS BIT(29)
|
|
|
|
struct fsl_tcon {
|
|
struct regmap *regs;
|
|
struct clk *ipg_clk;
|
|
};
|
|
|
|
struct fsl_tcon *fsl_tcon_init(struct device *dev);
|
|
void fsl_tcon_free(struct fsl_tcon *tcon);
|
|
|
|
void fsl_tcon_bypass_disable(struct fsl_tcon *tcon);
|
|
void fsl_tcon_bypass_enable(struct fsl_tcon *tcon);
|
|
|
|
#endif /* __FSL_TCON_H__ */
|