summaryrefslogtreecommitdiff
path: root/drivers/mfd/madera.h
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.cirrus.com>2019-05-30 17:39:53 +0300
committerLee Jones <lee.jones@linaro.org>2019-07-02 14:11:31 +0300
commit297939901f382f16ab78a8073cdfb2a6279bb654 (patch)
tree5dfcf6a62d97eaab8e062cd2c7b4645f4ad53138 /drivers/mfd/madera.h
parent1ef921b6d1b68887be22f02dabc6ae73c112dce4 (diff)
downloadlinux-297939901f382f16ab78a8073cdfb2a6279bb654.tar.xz
mfd: madera: Add Madera core support for CS47L92
This patch adds all the core support and defines for the Cirrus Logic CS42L92, CS47L92 and CS47L93 smart audio CODECs. Registers or fields are named MADERA_* if it is part of the common hardware platform and does not conflict with any other Madera codecs. It is named CS47L15_* if it is unique to CS47L15 and conflicts with definitions on other codecs. Signed-off-by: Stuart Henderson <stuarth@opensource.cirrus.com> Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/madera.h')
-rw-r--r--drivers/mfd/madera.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mfd/madera.h b/drivers/mfd/madera.h
index ccc16f2a1288..69a40aba7e69 100644
--- a/drivers/mfd/madera.h
+++ b/drivers/mfd/madera.h
@@ -47,4 +47,11 @@ 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);
+
+extern const struct regmap_config cs47l92_16bit_spi_regmap;
+extern const struct regmap_config cs47l92_32bit_spi_regmap;
+extern const struct regmap_config cs47l92_16bit_i2c_regmap;
+extern const struct regmap_config cs47l92_32bit_i2c_regmap;
+int cs47l92_patch(struct madera *madera);
+
#endif