ASoC: rt5645: Add platform-data for Asus T101HA
authorHans de Goede <hdegoede@redhat.com>
Mon, 8 Jun 2020 20:46:34 +0000 (22:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jun 2020 15:50:42 +0000 (17:50 +0200)
commitea8837b9435ef6e6ee43b80687fd24dd93cf7bcb
treed20e95c6da7a3fd5c598a6b826a2da5a98e2e9e9
parentebc448eb2de50cbd61e39c832a52585bccc403a4
ASoC: rt5645: Add platform-data for Asus T101HA

[ Upstream commit 79d4f823a06796656289f97b922493da5690e46c ]

The Asus T101HA uses the default jack-detect mode 3, but instead of
using an analog microphone it is using a DMIC on dmic-data-pin 1,
like the Asus T100HA. Note unlike the T100HA its jack-detect is not
inverted.

Add a DMI quirk with the correct settings for this model.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200608204634.93407-2-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/rt5645.c