Chris Chiu 28c988492c ASoC: rt5645: add inv_hp_det flag
The ECS EF20EA laptop use gpio for jack detection instead of rt5645
rt5645 JD. However, the GPIO polarity is inverse for hp-detect based
on the _DSD property of the RTK2 device.

Name (_DSD, Package () {
    ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
    Package () {
        Package () {"hp-detect-gpio", Package() {^RTK2, 0, 0, 1 }},
    }
})

This flag will invert the hp-detect gpio polarity.

Signed-off-by: Chris Chiu <chiu@endlessos.org>
Link: https://lore.kernel.org/r/20210111054141.4668-4-chiu@endlessos.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-01-11 14:03:09 +00:00
..
2020-12-15 10:21:48 +01:00
2020-12-21 10:28:02 -08:00
2020-12-16 13:42:26 -08:00
2020-12-16 13:34:31 -08:00
2020-12-16 16:38:41 -08:00
2021-01-11 14:03:09 +00:00
2020-12-24 12:28:35 -08:00