mfd: madera: Add Madera core support for CS47L92
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Thu, 30 May 2019 14:39:53 +0000 (15:39 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 2 Jul 2019 11:11:31 +0000 (12:11 +0100)
commit297939901f382f16ab78a8073cdfb2a6279bb654
tree5dfcf6a62d97eaab8e062cd2c7b4645f4ad53138
parent1ef921b6d1b68887be22f02dabc6ae73c112dce4
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>
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/cs47l92-tables.c [new file with mode: 0644]
drivers/mfd/madera-core.c
drivers/mfd/madera-i2c.c
drivers/mfd/madera-spi.c
drivers/mfd/madera.h
include/linux/mfd/madera/core.h
include/linux/mfd/madera/registers.h