mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-18 23:29:57 +02:00

The Lantiq PEF2256 is a framer and line interface component designed to fulfill all required interfacing between an analog E1/T1/J1 line and the digital PCM system highway/H.100 bus. Signed-off-by: Herve Codina <herve.codina@bootlin.com> Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20231128132534.258459-4-herve.codina@bootlin.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
32 lines
653 B
C
32 lines
653 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* PEF2256 consumer API
|
|
*
|
|
* Copyright 2023 CS GROUP France
|
|
*
|
|
* Author: Herve Codina <herve.codina@bootlin.com>
|
|
*/
|
|
#ifndef __PEF2256_H__
|
|
#define __PEF2256_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct pef2256;
|
|
struct regmap;
|
|
|
|
/* Retrieve the PEF2256 regmap */
|
|
struct regmap *pef2256_get_regmap(struct pef2256 *pef2256);
|
|
|
|
/* PEF2256 hardware versions */
|
|
enum pef2256_version {
|
|
PEF2256_VERSION_UNKNOWN,
|
|
PEF2256_VERSION_1_2,
|
|
PEF2256_VERSION_2_1,
|
|
PEF2256_VERSION_2_2,
|
|
};
|
|
|
|
/* Get the PEF2256 hardware version */
|
|
enum pef2256_version pef2256_get_version(struct pef2256 *pef2256);
|
|
|
|
#endif /* __PEF2256_H__ */
|