Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1978551pxb; Fri, 5 Mar 2021 04:38:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJyd5A8CTLlPnxepbSrQW9vf0ekDletwLB6Qe0XHBcM07jXRRvyw10Ht/xSReTPF8j4C70jL X-Received: by 2002:a17:906:2804:: with SMTP id r4mr1993376ejc.521.1614947905540; Fri, 05 Mar 2021 04:38:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614947905; cv=none; d=google.com; s=arc-20160816; b=wQEXdilzNSPDm5Ep5ALPK+c2NJueSZaeeAt5EWyxwc1xV2DmwEABtJK0e1kiKRamhi bLu2wNhpOYODp7T1RNAAT2FnFTcRPhtGNtk1ByMhmo1HoBL09qG2CRgJ4KhIE5ThCwTC c31j3QpNEIMOIfw/XAOuuGdmZhkZCIr51yWohu606PZYzfS/BMpPls+TQIPy73vSJ1jW EjZ/9s7x5yQnmO58qkj0KNuH1KXTn+VvCpf0ZDdaHevD9BEidL8/dR+19nPcxnjStuzO t3MPf7xtlEeEE7HoOege9Um2xqvgITujKaFucrrDy7SCDL33Oi8MSfMBXXMP8MNvFpQH Db3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=lvc6NIvpEmriw4K531rPYh2zXb9Iptka5/8XWk43uvc=; b=UnXEq4XwuenoVK+0R91D+S4PK/dJDvhjn8OUAjTE6FETLSA/UBZCljp189Q5ZQed+z abbwb2H0VUlpsbjEgx6Vc5PF/TgrbHCqlqN+1vD7T+vMBDm8bRxhO19KfNfmH/dAaM3+ 9fIKzjHpDjZmoYH6SzGU3aSPNhwwFDtBE0kbVz/eazH9R/odPM++YMVtOILwE8eKIdj8 YEJl9/DR71lA01AueT97cZWcEIicz5iNScZHwOFZ3a1WeJJczVCKsXFdO/aCHclK+7nn qhTLI2pXXxmO+4vFCUAdXLtg2GMCSyCXKE0YE3tMlWZ1X/2QmXJPm+ZLrAAFEJAGSKzx N6Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Hj80xQkN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l12si1315993ejn.41.2021.03.05.04.38.02; Fri, 05 Mar 2021 04:38:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Hj80xQkN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229582AbhCEMe7 (ORCPT + 99 others); Fri, 5 Mar 2021 07:34:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:45746 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231965AbhCEMeV (ORCPT ); Fri, 5 Mar 2021 07:34:21 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id DBFDC65004; Fri, 5 Mar 2021 12:34:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614947661; bh=PUTTA7UBEvU0HaT7S4PhHxjbYy29Y+6RCwlrVeYLfd4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Hj80xQkN8dRG3inszosWG1qeqJXyDhEC1bgsdmXXDACxXpDaES9K/HG7cmfW39qHj KfPJ4vPTJ04HWIZ1QXOcXaZqzQIsnil1l8YYNghJh3tKWF3iHXSI4qlOEX5vShzFLk OKID0TvqcJmdrCqk+V7DM36exR1gqOsFxQOrurg8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hans de Goede , Kalle Valo , Sasha Levin Subject: [PATCH 5.4 39/72] brcmfmac: Add DMI nvram filename quirk for Predia Basic tablet Date: Fri, 5 Mar 2021 13:21:41 +0100 Message-Id: <20210305120859.256849780@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210305120857.341630346@linuxfoundation.org> References: <20210305120857.341630346@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hans de Goede [ Upstream commit af4b3a6f36d6c2fc5fca026bccf45e0fdcabddd9 ] The Predia Basic tablet contains quite generic names in the sys_vendor and product_name DMI strings, without this patch brcmfmac will try to load: brcmfmac43340-sdio.Insyde-CherryTrail.txt as nvram file which is a bit too generic. Add a DMI quirk so that a unique and clearly identifiable nvram file name is used on the Predia Basic tablet. Signed-off-by: Hans de Goede Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/20210129171413.139880-1-hdegoede@redhat.com Signed-off-by: Sasha Levin --- .../net/wireless/broadcom/brcm80211/brcmfmac/dmi.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c index 4aa2561934d7..824a79f24383 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c @@ -40,6 +40,10 @@ static const struct brcmf_dmi_data pov_tab_p1006w_data = { BRCM_CC_43340_CHIP_ID, 2, "pov-tab-p1006w-data" }; +static const struct brcmf_dmi_data predia_basic_data = { + BRCM_CC_43341_CHIP_ID, 2, "predia-basic" +}; + static const struct dmi_system_id dmi_platform_data[] = { { /* ACEPC T8 Cherry Trail Z8350 mini PC */ @@ -111,6 +115,16 @@ static const struct dmi_system_id dmi_platform_data[] = { }, .driver_data = (void *)&pov_tab_p1006w_data, }, + { + /* Predia Basic tablet (+ with keyboard dock) */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Insyde"), + DMI_MATCH(DMI_PRODUCT_NAME, "CherryTrail"), + /* Mx.WT107.KUBNGEA02 with the version-nr dropped */ + DMI_MATCH(DMI_BIOS_VERSION, "Mx.WT107.KUBNGEA"), + }, + .driver_data = (void *)&predia_basic_data, + }, {} }; -- 2.30.1