diff options
author | Mark Brown <broonie@kernel.org> | 2018-03-07 14:16:00 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-03-07 14:16:00 +0000 |
commit | c9ae06deccac6097dd9260dce6762c748340d2a5 (patch) | |
tree | 54564586d4b3d91a8aa1081085dbc828616d35b6 /include/sound | |
parent | e39cacc1b7de2a6d72ce49043c9cfd7dd129135a (diff) | |
parent | ee68096826fa16bca2f7bb555b3e0cbbe798d330 (diff) | |
download | linux-c9ae06deccac6097dd9260dce6762c748340d2a5.tar.bz2 |
Merge branch 'topic/rt5651' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-intel
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/rt5651.h | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/include/sound/rt5651.h b/include/sound/rt5651.h index 18b79a761f10..6403b862fb9a 100644 --- a/include/sound/rt5651.h +++ b/include/sound/rt5651.h @@ -11,6 +11,10 @@ #ifndef __LINUX_SND_RT5651_H #define __LINUX_SND_RT5651_H +/* + * Note these MUST match the values from the DT binding: + * Documentation/devicetree/bindings/sound/rt5651.txt + */ enum rt5651_jd_src { RT5651_JD_NULL, RT5651_JD1_1, @@ -18,12 +22,15 @@ enum rt5651_jd_src { RT5651_JD2, }; -struct rt5651_platform_data { - /* IN2 can optionally be differential */ - bool in2_diff; - - bool dmic_en; - enum rt5651_jd_src jd_src; +/* + * Note these MUST match the values from the DT binding: + * Documentation/devicetree/bindings/sound/rt5651.txt + */ +enum rt5651_ovcd_sf { + RT5651_OVCD_SF_0P5, + RT5651_OVCD_SF_0P75, + RT5651_OVCD_SF_1P0, + RT5651_OVCD_SF_1P5, }; #endif |