#define BYT_RT5640_SSP0_AIF2           BIT(21)
 #define BYT_RT5640_MCLK_EN             BIT(22)
 #define BYT_RT5640_MCLK_25MHZ          BIT(23)
+#define BYT_RT5640_NO_SPEAKERS         BIT(24)
 
 #define BYTCR_INPUT_DEFAULTS                           \
        (BYT_RT5640_IN3_MAP |                           \
                dev_info(dev, "quirk JD_NOT_INV enabled\n");
        if (byt_rt5640_quirk & BYT_RT5640_MONO_SPEAKER)
                dev_info(dev, "quirk MONO_SPEAKER enabled\n");
+       if (byt_rt5640_quirk & BYT_RT5640_NO_SPEAKERS)
+               dev_info(dev, "quirk NO_SPEAKERS enabled\n");
        if (byt_rt5640_quirk & BYT_RT5640_DIFF_MIC)
                dev_info(dev, "quirk DIFF_MIC enabled\n");
        if (byt_rt5640_quirk & BYT_RT5640_SSP0_AIF1) {
                ret = snd_soc_dapm_add_routes(&card->dapm,
                                        byt_rt5640_mono_spk_map,
                                        ARRAY_SIZE(byt_rt5640_mono_spk_map));
-       } else {
+       } else if (!(byt_rt5640_quirk & BYT_RT5640_NO_SPEAKERS)) {
                ret = snd_soc_dapm_add_routes(&card->dapm,
                                        byt_rt5640_stereo_spk_map,
                                        ARRAY_SIZE(byt_rt5640_stereo_spk_map));
 {
        struct device *dev = &pdev->dev;
        static const char * const map_name[] = { "dmic1", "dmic2", "in1", "in3" };
+       __maybe_unused const char *spk_type;
        const struct dmi_system_id *dmi_id;
        struct byt_rt5640_private *priv;
        struct snd_soc_acpi_mach *mach;
        bool sof_parent;
        int ret_val = 0;
        int dai_index = 0;
-       int i;
+       int i, cfg_spk;
 
        is_bytcr = false;
        priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL);
                }
        }
 
+       if (byt_rt5640_quirk & BYT_RT5640_NO_SPEAKERS) {
+               cfg_spk = 0;
+               spk_type = "none";
+       } else if (byt_rt5640_quirk & BYT_RT5640_MONO_SPEAKER) {
+               cfg_spk = 1;
+               spk_type = "mono";
+       } else {
+               cfg_spk = 2;
+               spk_type = "stereo";
+       }
+
        snprintf(byt_rt5640_components, sizeof(byt_rt5640_components),
-                "cfg-spk:%s cfg-mic:%s",
-                (byt_rt5640_quirk & BYT_RT5640_MONO_SPEAKER) ? "1" : "2",
+                "cfg-spk:%d cfg-mic:%s", cfg_spk,
                 map_name[BYT_RT5640_MAP(byt_rt5640_quirk)]);
        byt_rt5640_card.components = byt_rt5640_components;
 #if !IS_ENABLED(CONFIG_SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES)
        snprintf(byt_rt5640_long_name, sizeof(byt_rt5640_long_name),
-                "bytcr-rt5640-%s-spk-%s-mic",
-                (byt_rt5640_quirk & BYT_RT5640_MONO_SPEAKER) ?
-                       "mono" : "stereo",
+                "bytcr-rt5640-%s-spk-%s-mic", spk_type,
                 map_name[BYT_RT5640_MAP(byt_rt5640_quirk)]);
        byt_rt5640_card.long_name = byt_rt5640_long_name;
 #endif