Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> 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__ */
|