Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1111583imm; Wed, 1 Aug 2018 10:22:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeQSNjjn3sjVdr1HiYAgo3zZhGzssuDo/jJX1YvXAnNxkExhH3Y9tU6waV9JhVY/DdsISY5 X-Received: by 2002:a17:902:b28c:: with SMTP id u12-v6mr25046137plr.16.1533144121213; Wed, 01 Aug 2018 10:22:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533144121; cv=none; d=google.com; s=arc-20160816; b=kEK+JCek7+c5VsCgW3ZWrjTm8poQPw23CRtACEpQH5KEI9YNjCorHP/oqSnCPUBfJT You8tFJh/gtnOJmBSx/RNJrs87jgnAYdWNYbgQNnooBAL5Ma1TRm1idRyRXx6Ibq2iQE 46uwBCM5hrX/htMHV2/j44ZQfdChwmLAXPXur+qvLwG/rw7eP0hhI/aCn29lW7nKxY2D 3BBcMZJJ5c8v47y4SLdxlkHVK1jv72Zialr7comvGXJsALL6rz87QS8zGs9F0paRaZSB yLOxPP/Nv5uVMv/WUkR21ctZ+zwa0Vhzqt8e4vpoKLS6aKK2QWlYlBpgt2Edfnh/r/M7 RE/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=gpZm8zRhO8IBYCQqJ5aEhVXricGcvI1ygXq+2jM0EY0=; b=N4C0eFdF7727IBZiCuJ1WH03o87cV6bPiU9ng6JOXj6ejsxJH1ckASMcfws6Jz5f3I 5D9oiUGMkxGWVPWJ5gs1php3X6Jcouex1pJNUNEgerDlA9GZ+q3aVg02PsKJzdRCWA/x xz/6D00pn8iEigflxcT1d/6obNaWqo3MwwjEeICiRQfzSiBRVTvg1FGuySvFmwsbx07+ kJV0xqNyRTWfvjrLbDKb99RREPCvSke8W/0zHufrx0T7AOEJS64VP+5rxJC6JurLpKL8 tQ3GIKqH0gKbzRK0orj6ER1qHfTJDdHPDZSx34vX1IGgCcRqJBI28fPRoBc7K+75HBff 2w4g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3-v6si13654322plv.314.2018.08.01.10.21.46; Wed, 01 Aug 2018 10:22:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405200AbeHATGN (ORCPT + 99 others); Wed, 1 Aug 2018 15:06:13 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:48242 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403884AbeHATGM (ORCPT ); Wed, 1 Aug 2018 15:06:12 -0400 Received: from localhost (D57E6652.static.ziggozakelijk.nl [213.126.102.82]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 9F46DCC3; Wed, 1 Aug 2018 17:19:31 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sean Lanigan , Ulf Hansson , Kalle Valo , Sasha Levin Subject: [PATCH 4.14 156/246] brcmfmac: Add support for bcm43364 wireless chipset Date: Wed, 1 Aug 2018 18:51:06 +0200 Message-Id: <20180801165019.195490377@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180801165011.700991984@linuxfoundation.org> References: <20180801165011.700991984@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Sean Lanigan [ Upstream commit 9c4a121e82634aa000a702c98cd6f05b27d6e186 ] Add support for the BCM43364 chipset via an SDIO interface, as used in e.g. the Murata 1FX module. The BCM43364 uses the same firmware as the BCM43430 (which is already included), the only difference is the omission of Bluetooth. However, the SDIO_ID for the BCM43364 is 02D0:A9A4, giving it a MODALIAS of sdio:c00v02D0dA9A4, which doesn't get recognised and hence doesn't load the brcmfmac module. Adding the 'A9A4' ID in the appropriate place triggers the brcmfmac driver to load, and then correctly use the firmware file 'brcmfmac43430-sdio.bin'. Signed-off-by: Sean Lanigan Acked-by: Ulf Hansson Signed-off-by: Kalle Valo Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c | 1 + include/linux/mmc/sdio_ids.h | 1 + 2 files changed, 2 insertions(+) --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c @@ -1098,6 +1098,7 @@ static const struct sdio_device_id brcmf BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_43340), BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_43341), BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_43362), + BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_43364), BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_4335_4339), BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_4339), BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_43430), --- a/include/linux/mmc/sdio_ids.h +++ b/include/linux/mmc/sdio_ids.h @@ -35,6 +35,7 @@ #define SDIO_DEVICE_ID_BROADCOM_4335_4339 0x4335 #define SDIO_DEVICE_ID_BROADCOM_4339 0x4339 #define SDIO_DEVICE_ID_BROADCOM_43362 0xa962 +#define SDIO_DEVICE_ID_BROADCOM_43364 0xa9a4 #define SDIO_DEVICE_ID_BROADCOM_43430 0xa9a6 #define SDIO_DEVICE_ID_BROADCOM_4345 0x4345 #define SDIO_DEVICE_ID_BROADCOM_43455 0xa9bf