diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2019-05-30 16:39:52 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2019-07-02 13:11:31 +0200 |
commit | 1ef921b6d1b68887be22f02dabc6ae73c112dce4 (patch) | |
tree | 9e2bf4a5f03b2517402e0ddcd71fafb2858c8c81 /drivers/mfd/madera.h | |
parent | mfd: madera: Update DT bindings to add additional CODECs (diff) | |
download | linux-1ef921b6d1b68887be22f02dabc6ae73c112dce4.tar.xz linux-1ef921b6d1b68887be22f02dabc6ae73c112dce4.zip |
mfd: madera: Add Madera core support for CS47L15
This patch adds all the core support and defines for the Cirrus
Logic CS47L15 smart audio CODEC.
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: 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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mfd/madera.h b/drivers/mfd/madera.h index 891b84efb9a7..ccc16f2a1288 100644 --- a/drivers/mfd/madera.h +++ b/drivers/mfd/madera.h @@ -24,6 +24,12 @@ int madera_dev_exit(struct madera *madera); const char *madera_name_from_type(enum madera_type type); +extern const struct regmap_config cs47l15_16bit_spi_regmap; +extern const struct regmap_config cs47l15_32bit_spi_regmap; +extern const struct regmap_config cs47l15_16bit_i2c_regmap; +extern const struct regmap_config cs47l15_32bit_i2c_regmap; +int cs47l15_patch(struct madera *madera); + 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; |