ASoC: rt5640: Use the platform data for DMIC settings
[firefly-linux-kernel-4.4.55.git] / include / sound / rt5640.h
index 27cc75ed67f87a321b21b0cd247cad0ab6b371cf..59d26dd81e45333e1730910a30493df4480059d5 100644 (file)
@@ -16,6 +16,10 @@ struct rt5640_platform_data {
        bool in1_diff;
        bool in2_diff;
 
+       bool dmic_en;
+       bool dmic1_data_pin; /* 0 = IN1P; 1 = GPIO3 */
+       bool dmic2_data_pin; /* 0 = IN1N; 1 = GPIO4 */
+
        int ldo1_en; /* GPIO for LDO1_EN */
 };