Message ID | 20210917151401.2274772-4-Jerome.Pouiller@silabs.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Kalle Valo |
Headers | show
Return-Path: <linux-wireless-owner@kernel.org> 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.7 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,URIBL_BLOCKED, 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 72D0DC433EF for <linux-wireless@archiver.kernel.org>; Fri, 17 Sep 2021 15:14:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 50E2B61246 for <linux-wireless@archiver.kernel.org>; Fri, 17 Sep 2021 15:14:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245367AbhIQPQG (ORCPT <rfc822;linux-wireless@archiver.kernel.org>); Fri, 17 Sep 2021 11:16:06 -0400 Received: from mail-bn7nam10on2088.outbound.protection.outlook.com ([40.107.92.88]:46465 "EHLO NAM10-BN7-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S241883AbhIQPPy (ORCPT <rfc822;linux-wireless@vger.kernel.org>); Fri, 17 Sep 2021 11:15:54 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T2I4ciS1SiPeOdodfa4OjcuF3NDg6e5RTPERBHd4k+RONOJcsHEVZnUaO19SJILzIKEgJi4R66khPowYyvwSGpCyd8/MnBrg7Q+ZlF8JR0tK0HXYtsrddsJzt33ZmUc5O2fAeV4DKLLXX+4ndKlI3abyNw7uM93/Cdo/TwlLSEBPDqXBsBtI1+pTaSwiEH/K1CM08QE1bKd/trATX5Cm4DM+nJE1Y+0gxlRK5Gmuq3nKABa6hQMaX3HYIV1CXBx2IMFak5WndyZ7p1TRDJ88qTHWS6qBYaAxtoSxw0wDM0KJZyTBIANZjIEakHRDeqM13IZlD2n/zw3gy+JumQp1wQ== 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; bh=GNjCa2/lBKQ/1xBUi2Ezo8tCWK2S1z49PHV2SuZVb4o=; b=P9fE3UWECZspSOGCOYknBT50rP9rBqq/wCrjfenWoBySYnxlY2N9bZ3m5BWpr2gYqA8EiCbF4hp0OjhxeMAgePNI2zIH1J6InPHS17LLgv0g63sybOsHF75LdJWZRXW2yjrhAU3T+9UtE3aZyvjvgq5KTeyB6oFQhInxOWjyyGFvhK3FB2SuykX/xo7NFkkm/QDHaG82M1Eifo/0l86x6Itt/NZr2tTKuuIhnrEmjXVa7uBAqhNVzjUtJ4/Zks9jJ6BNkR9weyoMA14v6oWvlmZ5H7qyMCD2DD5RMgEDLyQfweFMhDTlJpV630zVrypm/EP+tGaQXYsuM+T3C43PAw== 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=GNjCa2/lBKQ/1xBUi2Ezo8tCWK2S1z49PHV2SuZVb4o=; b=h6c4zFdSDd3kyhqcD7p1SC/yx8a5KvZI+iBXks32vs75Aa/IhBgp1dJmniS1sJFLy+KtqUosbW/mXpCsXaSeJT9WIztQlzfnoDI8yNSD8VIwkduf/TjVWOOiM8BU2b1ABEU5TqU296KGddu1cgxjq58mSmdL8WthJM31b69nJFQ= 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 SA0PR11MB4574.namprd11.prod.outlook.com (2603:10b6:806:71::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14; Fri, 17 Sep 2021 15:14:26 +0000 Received: from SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::7050:a0a:415:2ccd]) by SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::7050:a0a:415:2ccd%7]) with mapi id 15.20.4500.017; Fri, 17 Sep 2021 15:14:26 +0000 From: Jerome Pouiller <Jerome.Pouiller@silabs.com> To: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, Kalle Valo <kvalo@codeaurora.org> Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "David S . Miller" <davem@davemloft.net>, devicetree@vger.kernel.org, Rob Herring <robh+dt@kernel.org>, linux-mmc@vger.kernel.org, =?utf-8?q?Pali?= =?utf-8?q?_Roh=C3=A1r?= <pali@kernel.org>, Ulf Hansson <ulf.hansson@linaro.org>, =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= <jerome.pouiller@silabs.com> Subject: [PATCH v6 03/24] wfx: add Makefile/Kconfig Date: Fri, 17 Sep 2021 17:13:39 +0200 Message-Id: <20210917151401.2274772-4-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210917151401.2274772-1-Jerome.Pouiller@silabs.com> References: <20210917151401.2274772-1-Jerome.Pouiller@silabs.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-ClientProxiedBy: SA9PR03CA0029.namprd03.prod.outlook.com (2603:10b6:806:20::34) To SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) MIME-Version: 1.0 Received: from pc-42.silabs.com (2a01:e34:ecb5:66a0:9876:e1d7:65be:d294) by SA9PR03CA0029.namprd03.prod.outlook.com (2603:10b6:806:20::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14 via Frontend Transport; Fri, 17 Sep 2021 15:14:23 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 92f9551d-9b86-4adc-7761-08d979edd637 X-MS-TrafficTypeDiagnostic: SA0PR11MB4574: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <SA0PR11MB45746F692EF0206E56BBBDDE93DD9@SA0PR11MB4574.namprd11.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mvD1JQiFZFsdMNncCLVf3V8AzTeaKCP/JfJFoiScLN66wJo8demKQJ55y0Z0dGQh/SyLLMU6tx2J1hczQVuX/Fsb/5Le2eQw/s6x+TwzGGCrgjDh8M2Rus8GdKTrWbzoiwoZFXZ2LwgMl2hd4C27WxCybM4zea2Uj+HFiHVctzrEZMO2/jaZSc1zJ6O7vqucoFj8r7HvP43sSm1rokt0OojHOWt2MOXJJbTSD5WzlS6Qxs4RqK2nkctB3M6eOm5TjG+EBCU1W6QsdbyDQaU47asJdjOGb9yLc5bbtYwOYOVjZC5Cy2b8RdCSy8dzFOfk9CODCQYYTI/dBTAiAyPm+iFGfBFf37gepu0RSUJ9FrNFwCMjy8USCTUIrW53hmmcUIv1bqM5CvPTaokB69i5422BdadhFXW8U1Cyzl9F2VHW2/chTz9jXxrspoe6ZB8rH0TMZLXv4pee1QoNrenNOpJJki3H4+OFp9iuXUvzo4JGyBCjW8/e7D+qxS0CU6m02m4eRLbzBRISqpaVXmuLnM/lk33SYSeQ9HKrAQDUmBOb8tv6VEnKT2y6D59mXAg0ico4zSiKbiFPOYdtVc1MFC9xBxOc7Qa0PY2nxBt5PjaJJzT1Kh6LZc5K/S/q3Z4Mp8tm+Hnkn4KFl2r21HP+vQ== 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:(136003)(346002)(376002)(39850400004)(396003)(366004)(52116002)(6666004)(38100700002)(8936002)(7696005)(478600001)(6486002)(186003)(7416002)(86362001)(5660300002)(54906003)(66556008)(66476007)(4326008)(1076003)(66946007)(2616005)(107886003)(6916009)(316002)(36756003)(8676002)(66574015)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?2lByxaEeXeB467hfhDDUr5JVDUqF?= =?utf-8?q?RkPKgmLUXvI6zCZBkXQunmm4t92Ab4HnSnAVatk6qUVHzMrVwq/X14E46zJXuxlS7?= =?utf-8?q?V8vOii/MBKn4fC3PkI9J8I8tP4zv0Me8YGOeOZ1Pi5TwQpUd33MZ+bjRosWu0OjtX?= =?utf-8?q?MA/oq1oSQoe5yR4rbU5sOCxjIF9IWnwwBhIQhwUsKKwMrZ/ZHOALBhmfNq49I0jme?= =?utf-8?q?nAcsfexaiDDbsl4oBW1AcbGrzPab4ynoKnsrRfGM6q6y8SxmOTQMghmCvneqZTHG8?= =?utf-8?q?NIa+IDGSz0kqazzqaQU7F45oVNhIR/oIKKqExW2Oulp9zDMg9H7am41IAeDTMmZt1?= =?utf-8?q?/1DuJPt2LvzNyarTP8Pp6w0+PBvrFSFm9/2XHdePPMjeSgsN1/ofAcuzmmWuX6ovQ?= =?utf-8?q?n/OeZ5BEtEi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31vBONpKtb2N8DjzzeNcghXTT7wlLytd3Q4DE/2zP+YLEFFvycMeJRDJfcuF?= =?utf-8?q?yw+o2F0tbNJt5St?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 92f9551d-9b86-4adc-7761-08d979edd637 X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2021 15:14:25.9903 (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: vpeGb1GvhG9afMVqwVHTc8SQnrvYChf9vBrtcYbH1HQb4P8zcJJTmfjM9vmQKUAmFcw6ZIkyBjamS1qgA4gc0g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR11MB4574 Precedence: bulk List-ID: <linux-wireless.vger.kernel.org> X-Mailing-List: linux-wireless@vger.kernel.org |
Series |
wfx: get out from the staging area
|
expand
|
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