From patchwork Mon Jan 16 10:17:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9518445 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 51862601C3 for ; Mon, 16 Jan 2017 10:18:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F7C22843D for ; Mon, 16 Jan 2017 10:18:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 144CE2844A; Mon, 16 Jan 2017 10:18:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 885A72843D for ; Mon, 16 Jan 2017 10:18:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750880AbdAPKSM (ORCPT ); Mon, 16 Jan 2017 05:18:12 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33458 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751038AbdAPKSK (ORCPT ); Mon, 16 Jan 2017 05:18:10 -0500 Received: by mail-wm0-f67.google.com with SMTP id r144so29685934wme.0; Mon, 16 Jan 2017 02:18:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=q8ULYTkD6Tnctu6gKPMRox4Yo85o7jFKULzQ5wnG8V0=; b=ZLhwDLD8gOonojU2G6D1GFUOsv/HMOSJ5TDShxoeak+rgS1YRmAUVGfwptaMyV1cLK ZCH4cNW+Uyt0q54Ij+CIeBfRQNDxHq1neK2hsNldLTH+k6InKzwIpeQYWDUxQ++w5nW1 3Cj6FjbwJerl0MI4aL+0v+GzPV5fe4Wol5OsA+APAIyWPNPLWDmNScyGwrjTZyZItJD0 4xFEs9MYw+3u7C9a8j5txP3/27OaiHRb5GivJ5EQezMNsEHhEsXnOBWef7j4w6VhXj4g onwvo6Dtr1EzRTvwWo3Ilo1theC7S3fo/jFCqEvIEyjPZsNV6pK7MKlNA3kK7gE2kqsw XSoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=q8ULYTkD6Tnctu6gKPMRox4Yo85o7jFKULzQ5wnG8V0=; b=VErncLwIDZHR3t8e4OJdQrDAt+AwJmppBgwtrjjjYrNhAS6SkWPiZfmOQuX/FbHHij 6AVAz1BiY5ZgFUgnuX+7Kd0EOEtebpt+K1ipTA2qTzf14RL4Rkx2SWf7NEo6XxUVmV2W 4eheSJ2c+jp45hEuN2UrSCLTA7YN8aeoUm69T2yKyDC0Ku1gaY6jaDt40YPZkfQ+S/m6 gd602srQH2ujHzCHZQoLPH+sYaVzFAEBkEoLlx+DT2CYPKyjrrgmsg/Sm6HDvyRaBqgP LYLpUgomIBt3irMrOoFCji/BajT+kzQXv/LAF/ms1XajfRzhZGAP3pSu4G7HBsgel9qz KO2Q== X-Gm-Message-State: AIkVDXKNjPO7hSc4hI+KFKlIvMkiobAjUt9b0/13fegbJUkvlcGxWMyWEEDVsgto9hZtKQ== X-Received: by 10.28.1.216 with SMTP id 207mr12375117wmb.7.1484561888884; Mon, 16 Jan 2017 02:18:08 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD3E4840400A89C1C3D11AE77.dip0.t-ipconnect.de. [2003:dc:d3e4:8404:a8:9c1c:3d11:ae77]) by smtp.googlemail.com with ESMTPSA id z134sm27836618wmc.20.2017.01.16.02.18.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Jan 2017 02:18:07 -0800 (PST) From: Martin Blumenstingl To: linux-mmc@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, linux-wireless@vger.kernel.org, kvalo@codeaurora.org, ulf.hansson@linaro.org Cc: arend.vanspriel@broadcom.com, franky.lin@broadcom.com, hante.meuleman@broadcom.com, Martin Blumenstingl Subject: [PATCH] brcmfmac: add support for BCM43455 with modalias sdio:c00v02D0dA9BF Date: Mon, 16 Jan 2017 11:17:57 +0100 Message-Id: <20170116101757.20483-1-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.11.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP BCM43455 is a more recent revision of the BCM4345. Some of the BCM43455 got a dedicated SDIO device ID which is currently not supported by brcmfmac. Adding the new sdio_device_id to brcmfmac is enough to get the BCM43455 supported because the chip itself is already supported (due to BCM4345 support in the driver). Signed-off-by: Martin Blumenstingl Acked-by: Arend van Spriel Reviewed-by: Andreas Färber Tested-by: Andreas Färber Acked-by: Ulf Hansson --- This is the proper patch following the (short) discussion from [0] [0] https://marc.info/?l=linux-wireless&m=148455981002310&w=2 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c | 1 + include/linux/mmc/sdio_ids.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c index 72139b579b18..5bc2ba214735 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c @@ -1104,6 +1104,7 @@ static const struct sdio_device_id brcmf_sdmmc_ids[] = { BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_4339), BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_43430), BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_4345), + BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_43455), BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_4354), BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_4356), { /* end: all zeroes */ } diff --git a/include/linux/mmc/sdio_ids.h b/include/linux/mmc/sdio_ids.h index d43ef96bf075..71b113e1223f 100644 --- a/include/linux/mmc/sdio_ids.h +++ b/include/linux/mmc/sdio_ids.h @@ -36,6 +36,7 @@ #define SDIO_DEVICE_ID_BROADCOM_43362 0xa962 #define SDIO_DEVICE_ID_BROADCOM_43430 0xa9a6 #define SDIO_DEVICE_ID_BROADCOM_4345 0x4345 +#define SDIO_DEVICE_ID_BROADCOM_43455 0xa9bf #define SDIO_DEVICE_ID_BROADCOM_4354 0x4354 #define SDIO_DEVICE_ID_BROADCOM_4356 0x4356