ARM64: firefly: Add rk3399-firefly board support
[firefly-linux-kernel-4.4.55.git] / sound / soc / codecs / rt5640.h
index a5d01e69edd2c769a261109826b9210c417a1aca..e7ab4093b61f4344566ef20fcc612b14d4ada876 100644 (file)
@@ -2103,6 +2103,14 @@ struct rt5640_priv {
        int pll_out;
 
        bool hp_mute;
+
+       struct delayed_work adc_poll_work;
+       struct iio_channel *chan;
+       int hp_det_adc_value;
+       bool hp_insert;
+       int hp_con_gpio;
+       bool hp_con_gpio_active_high;
+       struct snd_soc_jack hp_jack;
 };
 
 int rt5640_dmic_enable(struct snd_soc_codec *codec,