From patchwork Mon Mar 15 13:24:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= X-Patchwork-Id: 402259 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19A21C28E85 for ; Mon, 15 Mar 2021 13:26:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E785E64EEE for ; Mon, 15 Mar 2021 13:26:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230095AbhCONZk (ORCPT ); Mon, 15 Mar 2021 09:25:40 -0400 Received: from mail-eopbgr700053.outbound.protection.outlook.com ([40.107.70.53]:6432 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229734AbhCONZb (ORCPT ); Mon, 15 Mar 2021 09:25:31 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wqq5vQNDWwz8MDLD1KQBo6GvHxhIlyqdge10vqqjA40IV90Ltw6OK7KeTS7U1NWhW2rz9UEK33o1Fxpv6VhbSN//KkO+/585J0GykiTXaQYuJvEAlrdHtqo231p2Du7iwoMsP30GicM7yi5k/D/l1fN0AioTR2ekl9APZu6oREpBKqjSpzaGX89CtRNZuBFkbOga1dzQmmGmPnpXphyhObYOY1mn++XJMrNqqQ3xiTdLXliMDxxkLS2FWLTHDeGcZ4wwfGVyWv0g1XUNP/etccPEc5WKcKEHdkQAJP7r5aLPL1IQLsIXqufr52XI7unxzMOqVjvxuJzKW3ONfTbpYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8OQFrQkSEbB0f/oOBiSAUF6puJvb1qAefZXuBDO6sJY=; b=Izy/6kseI/XzGZWuoj8Uufy9gCAYdn2QQtCoLV0djof0eSDznK/PMCtC70lXOh4qL22Xr2ghttCWEBRJSpOIkBbRNUwDXUy8dulbhuAQv1plbbUjgdnLA5avpauHyRPdFqH49LVLpsg+rJtQ99rhqGaXDgPbhhmcib7TxFmVPECoht2S/IE9F2SYNBnHIPBRlZtt4/4IIpGcC1TWnqcExpyeYJbIg5xy0fpA81TUaxLEzAszW43sqWv4QjQRcv2JqjzJBTp9tdeUou5lxgYPVTD+XPqcVi8KnXHueYT6fecCIIoAcZ50OB1ANYiodkPw73fdpcJ18OGHkW25KvreXA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silabs.com; dmarc=pass action=none header.from=silabs.com; dkim=pass header.d=silabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silabs.onmicrosoft.com; s=selector2-silabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8OQFrQkSEbB0f/oOBiSAUF6puJvb1qAefZXuBDO6sJY=; b=fFuqp3i4rUf2Cfu5Np32+aSDBBfCPPWnGU8xZ/1M9JE1FnI8K0M6aT/8l1F9TrYSxg+o4Mj0lcBfyCVPY5laj4IWuns3s9qXQrJjX7huLiluHH08/A4LJLCRHgqxAsJi1kFA68Lf6nSog5hkFnId0Hj/1dlb2ZqB98V4mf9Rh/g= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=silabs.com; Received: from SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) by SA2PR11MB5099.namprd11.prod.outlook.com (2603:10b6:806:f9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.32; Mon, 15 Mar 2021 13:25:30 +0000 Received: from SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::41bc:5ce:dfa0:9701]) by SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::41bc:5ce:dfa0:9701%7]) with mapi id 15.20.3933.032; Mon, 15 Mar 2021 13:25:30 +0000 From: Jerome Pouiller To: linux-wireless@vger.kernel.org, netdev@vger.kernel.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Kalle Valo , "David S . Miller" , devicetree@vger.kernel.org, Rob Herring , linux-mmc@vger.kernel.org, =?utf-8?q?Pali_Roh=C3=A1r?= , Ulf Hansson , =?utf-8?b?SsOpcsO0bWUg?= =?utf-8?q?Pouiller?= Subject: [PATCH v5 03/24] wfx: add Makefile/Kconfig Date: Mon, 15 Mar 2021 14:24:40 +0100 Message-Id: <20210315132501.441681-4-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315132501.441681-1-Jerome.Pouiller@silabs.com> References: <20210315132501.441681-1-Jerome.Pouiller@silabs.com> X-Originating-IP: [2a01:e35:2435:66a0:544b:f17b:7ae8:fb7] X-ClientProxiedBy: SN4PR0801CA0014.namprd08.prod.outlook.com (2603:10b6:803:29::24) To SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pc-42.silabs.com (2a01:e35:2435:66a0:544b:f17b:7ae8:fb7) by SN4PR0801CA0014.namprd08.prod.outlook.com (2603:10b6:803:29::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.32 via Frontend Transport; Mon, 15 Mar 2021 13:25:28 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 823159a6-679c-4a4c-7851-08d8e7b5cdc6 X-MS-TrafficTypeDiagnostic: SA2PR11MB5099: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RP9K1XLPnI/c3qn6lbDat5xxwT3pjsq7tgJKkF8h531piGfZnxrwXppdCW8+/AaFNLYRv+dWEbNfcVU6x7U7Ssvxh0NM5gbv5HOk+tYaqngIle0Ikl8FEsUvkFV8jAdvMF/PKuPMJobGgqKvyaGh7gQepxqmk0SkLEkY78KRuFrb4CIAhditLO5Lr4FgKR9EegtH2dIcbkAGcRZaiEgTfy3GXhmzNnN3NlPKbK3cYETWCzkm8UEPtjUnmwf31eRk/zBfT4vwkiJjIe4uZZM67o3QhGY8jRZHZa12AvVgnHaOZbRXfix1QuHcznc5cPhcN1Wgdc2A/PQ/v6PBXVtog0TURb/3HurzoF6Nj1QDPzEH5KBSu1dL6Ws9Kg6NiPfWw2LrvX7eufo+AA2DY6xd5C/fD/g2RWkrBASTVwqsMpFetVumM6iUE8J5em6cSOPrpniADRMDw+Yn8FRsEmAU0FK6Cr5p8YFPLag/9pZFpJ22+/4SECNR3+/cDQ3+/qDcuDR6xZFg2ZK6qZWWu95IbgSKlg3lFj1rb4M+a5izu1S11yyJ3FyNwMpdBNV+6YHq X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2718.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(136003)(396003)(39850400004)(376002)(366004)(186003)(7416002)(2616005)(107886003)(4326008)(478600001)(16526019)(66476007)(86362001)(66946007)(54906003)(66556008)(8936002)(316002)(5660300002)(66574015)(8676002)(1076003)(52116002)(7696005)(6666004)(36756003)(2906002)(6486002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?q?dk1IM4At8Ad8J/Mbca/u8eR6rLV?= =?utf-8?q?CrpdCxkHOethTkP0BHn2+iB+XU8CD+XyBrlQOjwf1TLh+OVyuTrANaLG?= =?utf-8?q?CCYWGSrnVynNnjJksizQXktvBVx1WY9O1BZA3vJckFzSt5jUlRWNvL4b?= =?utf-8?q?SxtKq08wqz6iop2jGTpkFUqN3UtUnQ/6HTuQAqLSJDF+S2AN1Bjx+HmU?= =?utf-8?q?jDC90FWz2Hg5339y0FY1yayZ7ZpcWgf6KFO8W/tZl0XCRR0Z7dZT4Kpk?= =?utf-8?q?Ibh1nZUIXycoA0/mEuYwAsTxFtJ7yGcV51tVkSf5NahSaF7MQzujNPET?= =?utf-8?q?d9HfbYanyEUO244lRneW02cz8BSdw5v/IsaXQnzQAuNdBwfq79Zcwjra?= =?utf-8?q?Y+8nZq81NRKeczQwXajgpiQMzqLPp66qm4eNgR0uwWgTuX2uDDPEgGOK?= =?utf-8?q?8fIY7C4cNb7VMvt+ZHr0+6PZjL2tQZ4AFBDZLFfjypS/gIFtOlJxfGFu?= =?utf-8?q?c1+EaKjZQROY2lrGR2BezyIkC3zZle5ogw2lKP1HnzY6jUTzTIsOd7Bw?= =?utf-8?q?iiWCj6AIqgYBP3pdEwhjwog55u2Hsn7ygdpfJLdDvrpT+dpIBHemrwU4?= =?utf-8?q?2oWNw0s69GMNmiYUAryZ1Ih/iAb3xE2FXMLnwc8fY5XNQ4y1Pi15R3Y4?= =?utf-8?q?kX4MulvFTSVaU6nC7nJwBcBSOhl8P7mq4hTGXjc0gcW/O15M6/Cttd/f?= =?utf-8?q?O3JWGH8gPi1MbjUJSm15EUYSHniEfoR0Asi32S0N+WQGyDgfOHM6IuKL?= =?utf-8?q?p/sj3OQjiDnrK+dt7oHsUf2BMkk5wKmbjxbFMwIcdw3IkXVagf/QO1tZ?= =?utf-8?q?u8Q8biuFlHEUpZ4wvvYQW9iWuiLbc3K2sZh4UT0Yll6iuCTB069NHE2Y?= =?utf-8?q?ak2gpLjDUXx5f8ZvmpraqPnVAJhhfkUxjsgh4IUFJCquwrvxds+3em5y?= =?utf-8?q?6wJ5R6dScibtTTlm49XUqkKRaygz6pC6Bmy4192unsUoWKjR28fKjA0t?= =?utf-8?q?9yaOh010rIzmzA+U7dgjRI9YEbSvpnIWeCppe0j4pwUA2/VvlPMuJkOp?= =?utf-8?q?qKygMJ0waM9/MbhwXTYClGlrP6w6CBK/l5XrZOcllBzEU/DmTI9gVCeL?= =?utf-8?q?KOiaxa2L/keWZ6S4tagryNQ3W0EdhB6401tDFuRpe1g9xq+KIlFOY8PY?= =?utf-8?q?jmVEHqbEdS6PS8wzD4C9lFrpJdCarflKBQ283+E9vSiscLbPYmeaoWjH?= =?utf-8?q?dzrK/X5y1jEZXokFzwLivONaHdzn7S/UeqzOIKfJjn7fone7V4FCDujz?= =?utf-8?q?62XfR1mid7RPlBuoz84Vrc85rYmGTDjXX5qseGilipaeclwieIGdiiIt?= =?utf-8?q?GrerIkvLpsRk10JM9ULWW/W+DGA8ffcQlQARacvk2ONOK0Fayp8IatAl?= =?utf-8?q?rnT0h+N5gP2PiuZqFAee3nHGHwLFdFTWp1dw+?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 823159a6-679c-4a4c-7851-08d8e7b5cdc6 X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Mar 2021 13:25:30.2726 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: IGnh/pwvhnuYVtrb4TNuPeBQ5EIGy98UWiskI4bXvxgNkIrGTdkFhuQcO+FjmBpTes8/uU2d0BXw+jzqadQ0iQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB5099 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/Kconfig | 12 +++++++++++ drivers/net/wireless/silabs/wfx/Makefile | 26 ++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/Kconfig create mode 100644 drivers/net/wireless/silabs/wfx/Makefile diff --git a/drivers/net/wireless/silabs/wfx/Kconfig b/drivers/net/wireless/silabs/wfx/Kconfig new file mode 100644 index 000000000000..3be4b1e735e1 --- /dev/null +++ b/drivers/net/wireless/silabs/wfx/Kconfig @@ -0,0 +1,12 @@ +config WFX + tristate "Silicon Labs wireless chips WF200 and further" + depends on MAC80211 + depends on MMC || !MMC # do not allow WFX=y if MMC=m + depends on (SPI || MMC) + help + This is a driver for Silicons Labs WFxxx series (WF200 and further) + chipsets. This chip can be found on SPI or SDIO buses. + + Silabs does not use a reliable SDIO vendor ID. So, to avoid conflicts, + the driver won't probe the device if it is not also declared in the + Device Tree. diff --git a/drivers/net/wireless/silabs/wfx/Makefile b/drivers/net/wireless/silabs/wfx/Makefile new file mode 100644 index 000000000000..f399962c8619 --- /dev/null +++ b/drivers/net/wireless/silabs/wfx/Makefile @@ -0,0 +1,26 @@ +# SPDX-License-Identifier: GPL-2.0 + +# Necessary for CREATE_TRACE_POINTS +CFLAGS_debug.o = -I$(src) + +wfx-y := \ + bh.o \ + hwio.o \ + fwio.o \ + hif_tx_mib.o \ + hif_tx.o \ + hif_rx.o \ + queue.o \ + data_tx.o \ + data_rx.o \ + scan.o \ + sta.o \ + key.o \ + main.o \ + sta.o \ + debug.o +wfx-$(CONFIG_SPI) += bus_spi.o +# When CONFIG_MMC == m, append to 'wfx-y' (and not to 'wfx-m') +wfx-$(subst m,y,$(CONFIG_MMC)) += bus_sdio.o + +obj-$(CONFIG_WFX) += wfx.o