···11+/*22+ * linux/sound/cs42l56.h -- Platform data for CS42L5633+ *44+ * Copyright (c) 2014 Cirrus Logic Inc.55+ *66+ * This program is free software; you can redistribute it and/or modify77+ * it under the terms of the GNU General Public License version 2 as88+ * published by the Free Software Foundation.99+ */1010+1111+#ifndef __CS42L56_H1212+#define __CS42L56_H1313+1414+struct cs42l56_platform_data {1515+1616+ /* GPIO for Reset */1717+ unsigned int gpio_nreset;1818+1919+ /* MICBIAS Level. Check datasheet Pg48 */2020+ unsigned int micbias_lvl;2121+2222+ /* Analog Input 1A Reference 0=Single 1=Pseudo-Differential */2323+ unsigned int ain1a_ref_cfg;2424+2525+ /* Analog Input 2A Reference 0=Single 1=Pseudo-Differential */2626+ unsigned int ain2a_ref_cfg;2727+2828+ /* Analog Input 1B Reference 0=Single 1=Pseudo-Differential */2929+ unsigned int ain1b_ref_cfg;3030+3131+ /* Analog Input 2B Reference 0=Single 1=Pseudo-Differential */3232+ unsigned int ain2b_ref_cfg;3333+3434+ /* Charge Pump Freq. Check datasheet Pg62 */3535+ unsigned int chgfreq;3636+3737+ /* HighPass Filter Right Channel Corner Frequency */3838+ unsigned int hpfb_freq;3939+4040+ /* HighPass Filter Left Channel Corner Frequency */4141+ unsigned int hpfa_freq;4242+4343+ /* Adaptive Power Control for LO/HP */4444+ unsigned int adaptive_pwr;4545+4646+};4747+4848+#endif /* __CS42L56_H */
+5
sound/soc/codecs/Kconfig
···4141 select SND_SOC_CQ0093VC if MFD_DAVINCI_VOICECODEC4242 select SND_SOC_CS42L51_I2C if I2C4343 select SND_SOC_CS42L52 if I2C && INPUT4444+ select SND_SOC_CS42L56 if I2C && INPUT4445 select SND_SOC_CS42L73 if I2C4546 select SND_SOC_CS4270 if I2C4647 select SND_SOC_CS4271 if SND_SOC_I2C_AND_SPI···287286288287config SND_SOC_CS42L52289288 tristate "Cirrus Logic CS42L52 CODEC"289289+ depends on I2C && INPUT290290+291291+config SND_SOC_CS42L56292292+ tristate "Cirrus Logic CS42L56 CODEC"290293 depends on I2C && INPUT291294292295config SND_SOC_CS42L73