/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * PEF2256 consumer API * * Copyright 2023 CS GROUP France * * Author: Herve Codina <[email protected]> */ #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 { … }; /* Get the PEF2256 hardware version */ enum pef2256_version pef2256_get_version(struct pef2256 *pef2256); #endif /* __PEF2256_H__ */