mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
d2912cb15b
Based on 2 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 version 2 as published by the free software foundation this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation # extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 4122 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Enrico Weigelt <info@metux.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
42 lines
1.3 KiB
C
42 lines
1.3 KiB
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* MFD internals for Cirrus Logic Madera codecs
|
|
*
|
|
* Copyright 2015-2018 Cirrus Logic
|
|
*/
|
|
|
|
#ifndef MADERA_MFD_H
|
|
#define MADERA_MFD_H
|
|
|
|
#include <linux/of.h>
|
|
#include <linux/pm.h>
|
|
|
|
struct madera;
|
|
|
|
extern const struct dev_pm_ops madera_pm_ops;
|
|
extern const struct of_device_id madera_of_match[];
|
|
|
|
int madera_dev_init(struct madera *madera);
|
|
int madera_dev_exit(struct madera *madera);
|
|
|
|
const char *madera_name_from_type(enum madera_type type);
|
|
|
|
extern const struct regmap_config cs47l35_16bit_spi_regmap;
|
|
extern const struct regmap_config cs47l35_32bit_spi_regmap;
|
|
extern const struct regmap_config cs47l35_16bit_i2c_regmap;
|
|
extern const struct regmap_config cs47l35_32bit_i2c_regmap;
|
|
int cs47l35_patch(struct madera *madera);
|
|
|
|
extern const struct regmap_config cs47l85_16bit_spi_regmap;
|
|
extern const struct regmap_config cs47l85_32bit_spi_regmap;
|
|
extern const struct regmap_config cs47l85_16bit_i2c_regmap;
|
|
extern const struct regmap_config cs47l85_32bit_i2c_regmap;
|
|
int cs47l85_patch(struct madera *madera);
|
|
|
|
extern const struct regmap_config cs47l90_16bit_spi_regmap;
|
|
extern const struct regmap_config cs47l90_32bit_spi_regmap;
|
|
extern const struct regmap_config cs47l90_16bit_i2c_regmap;
|
|
extern const struct regmap_config cs47l90_32bit_i2c_regmap;
|
|
int cs47l90_patch(struct madera *madera);
|
|
#endif
|