···11+/*22+ * linux/sound/rt286.h -- Platform data for RT28633+ *44+ * Copyright 2013 Realtek Microelectronics55+ *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 __LINUX_SND_RT298_H1212+#define __LINUX_SND_RT298_H1313+1414+struct rt298_platform_data {1515+ bool cbj_en; /*combo jack enable*/1616+ bool gpio2_en; /*GPIO2 enable*/1717+ bool suspend_power_off; /* power is off during suspend */1818+};1919+2020+#endif
+7
sound/soc/codecs/Kconfig
···8383 select SND_SOC_PCM512x_I2C if I2C8484 select SND_SOC_PCM512x_SPI if SPI_MASTER8585 select SND_SOC_RT286 if I2C8686+ select SND_SOC_RT298 if I2C8687 select SND_SOC_RT5631 if I2C8788 select SND_SOC_RT5640 if I2C8889 select SND_SOC_RT5645 if I2C···513512config SND_SOC_RL6347A514513 tristate515514 default y if SND_SOC_RT286=y515515+ default y if SND_SOC_RT298=y516516 default m if SND_SOC_RT286=m517517+ default m if SND_SOC_RT298=m517518518519config SND_SOC_RT286520520+ tristate521521+ depends on I2C522522+523523+config SND_SOC_RT298519524 tristate520525 depends on I2C521526