Commit e42599d6 authored by Akshu Agrawal's avatar Akshu Agrawal Committed by Mark Brown

ASoC: rt5650: Add Kahlee platform specfic changes

Add platform specific data for Kahlee project.
Signed-off-by: default avatarAkshu Agrawal <akshu.agrawal@amd.com>
Signed-off-by: default avatarShirish S <shirish.s@amd.com>
Signed-off-by: default avatarCurtis Malainey <cujomalainey@chromium.org>
Link: https://lore.kernel.org/r/20191023212948.92246-1-cujomalainey@chromium.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 175fc928
......@@ -3636,6 +3636,12 @@ static const struct rt5645_platform_data lattepanda_board_platform_data = {
.inv_jd1_1 = true
};
static const struct rt5645_platform_data kahlee_platform_data = {
.dmic1_data_pin = RT5645_DMIC_DATA_GPIO5,
.dmic2_data_pin = RT5645_DMIC_DATA_IN2P,
.jd_mode = 3,
};
static const struct dmi_system_id dmi_platform_data[] = {
{
.ident = "Chrome Buddy",
......@@ -3742,6 +3748,13 @@ static const struct dmi_system_id dmi_platform_data[] = {
},
.driver_data = (void *)&lattepanda_board_platform_data,
},
{
.ident = "Chrome Kahlee",
.matches = {
DMI_MATCH(DMI_PRODUCT_NAME, "Kahlee"),
},
.driver_data = (void *)&kahlee_platform_data,
},
{ }
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment