File Index
Files and directories
Sign in
FILE

pef2256.h

File preview with syntax highlighting.

linux-6.19.14/include/linux/framer/pef2256.h C
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2/*
 3 * PEF2256 consumer API
 4 *
 5 * Copyright 2023 CS GROUP France
 6 *
 7 * Author: Herve Codina <herve.codina@bootlin.com>
 8 */
 9#ifndef __PEF2256_H__
10#define __PEF2256_H__
11
12#include <linux/types.h>
13
14struct pef2256;
15struct regmap;
16
17/* Retrieve the PEF2256 regmap */
18struct regmap *pef2256_get_regmap(struct pef2256 *pef2256);
19
20/* PEF2256 hardware versions */
21enum pef2256_version {
22	PEF2256_VERSION_UNKNOWN,
23	PEF2256_VERSION_1_2,
24	PEF2256_VERSION_2_1,
25	PEF2256_VERSION_2_2,
26};
27
28/* Get the PEF2256 hardware version */
29enum pef2256_version pef2256_get_version(struct pef2256 *pef2256);
30
31#endif /* __PEF2256_H__ */
~/ Read-only file preview.