From patchwork Mon Sep 20 16:11:36 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: 12505941 X-Patchwork-Delegate: kuba@kernel.org 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.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, 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 E397CC433F5 for ; Mon, 20 Sep 2021 16:16:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D073760F58 for ; Mon, 20 Sep 2021 16:16:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243319AbhITQSO (ORCPT ); Mon, 20 Sep 2021 12:18:14 -0400 Received: from mail-bn7nam10on2086.outbound.protection.outlook.com ([40.107.92.86]:38017 "EHLO NAM10-BN7-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S243655AbhITQQQ (ORCPT ); Mon, 20 Sep 2021 12:16:16 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LEwTOG1lmVLIgMOrLaCRiQ8zS12oTCN9bXIcdCv/73mEE4e7CFsKfW8YpdyE6xqES642YzJWCuYJxhnJfKZZmGa6ojlVsbudUMDVP1ZvQ1mhzGRpR4wMxKhLyAqe6d4j4BV9MAjVM0tzoHd3mqsZaWCujWJDLG50N1gfE3vYZhiaGwbKwnSJVgFXu86nf2Xkbg4HnGQsTTCP5OLdudnRcIhsF7XFnstuXg4cJLJYtj781IslEBLdAPhPOrST1oqpHm+RGUsgdZYGyVyTaTWqb4i3TeV5/dBirYXSG5WloXh2V+vFMaJFDUZmhEsozt2nKJdGZRLm+TWU7m3FYGMnkQ== 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=mUblQj3HYl3up8TQr4oInUGypnja+FbX2pQYP1SXPC0=; b=cTKEQ6gnTEo37oDUxYfSx/xZkn8fR1Ic7t/AY5A0rItDLNxJbWwFNgm4w07/gmLLaQUFEg/HJv+MqFMXkhqucJAUq0nRIFuR0kQ74yG2ZnCh9qhsrgXTMoUVYjx7JMhDFvIPY3ccE1rN+lfttkGQm/5H4U9TMdBicL+jUm3jKQaOkBPxAU8gkUtiBYWK6snDaX1dTt6WSHMRNzxZnmfZ8mFXEoRUbwswXeKdubcf0sE2s62v9EC8GaGOkyY/dXEzP7e8i7kLaqGYivKQz/T8udhdxC460CxQfvStcKOo2kDOE40QEzDiTTzXqvmq5apgiTcFfYq6ch6BdXTKABAbuw== 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=mUblQj3HYl3up8TQr4oInUGypnja+FbX2pQYP1SXPC0=; b=CBT7XMPEtFUZ5Eu5do5SpZfnrJUw7e5IUY3p/pf7hGB5tBVKtkNULlfsH+YEgY7qA1FcrEIGdK+Zrut3OzzBMx8qs4x3TW6HBpV7v/8ryTNzw06UHUXjujsuM1TEtYfaTPQQP8b6OvDdHttGCrqjNrxBuDiZguS9sPgZqwBBJa4= 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 SN6PR11MB3168.namprd11.prod.outlook.com (2603:10b6:805:c4::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.18; Mon, 20 Sep 2021 16:12:53 +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.4523.018; Mon, 20 Sep 2021 16:12:53 +0000 From: Jerome Pouiller To: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, Kalle Valo Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , "David S . Miller" , devicetree@vger.kernel.org, Rob Herring , linux-mmc@vger.kernel.org, =?utf-8?q?Pali?= =?utf-8?q?_Roh=C3=A1r?= , Ulf Hansson , =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= Subject: [PATCH v7 24/24] wfx: get out from the staging area Date: Mon, 20 Sep 2021 18:11:36 +0200 Message-Id: <20210920161136.2398632-25-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210920161136.2398632-1-Jerome.Pouiller@silabs.com> References: <20210920161136.2398632-1-Jerome.Pouiller@silabs.com> X-ClientProxiedBy: SA0PR11CA0064.namprd11.prod.outlook.com (2603:10b6:806:d2::9) 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 SA0PR11CA0064.namprd11.prod.outlook.com (2603:10b6:806:d2::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14 via Frontend Transport; Mon, 20 Sep 2021 16:12:51 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 37f59b47-26d0-4cdf-433c-08d97c517fe6 X-MS-TrafficTypeDiagnostic: SN6PR11MB3168: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hns0E1RxdzQJLafL3GOFFJmBwUihFO4+7NiwoilOy5MHYEroL2ITozvI2BSrWYlYsi4skYNL0P2a3OZD6LYTZ0TWkzWKP/m8FkOPdqM5CKw5oDhuUAi/H1URXISzk9djQ7fDA59/uJwFU4LKAJMqgXF1wa/wf12PwG5A9euOCdfeddiD7kYwhJ55jZQx32Dn/DMxzy9pb7vmQuFzK2cLXepeIR5Y4t9G/f/9nSaTt3bSdsS+bWyibt4zkPCTndcK+wDyv9h+HKwtmBZbZi7vWTMGePzEiWCE6uYKMxIaRGaGIpHGe4FyJPjZHcU82WoQEJOSqm+y4a7k8lAC3tWyEjEmEcyOVbTqSiofmuW79qJK1fNZRPIpzn0L+GjNf1b9pwPD/CBZfTB5WWt0ZeJrnJhLd2vBRS053HldXsuU1GGqvTvrxVdNuWPzrHWbXNBqybNro0vQ+6paSPrWKQ/pO1nvaSYCLiPti12FuV02VIxvK7qmaYKwO39Ve9Qe8dR91BilnVYaUNeAYs465BLQVEh7twQifOIYmEIeYXFyS63jMl2vYjf8f5ZURO0EMS/jGyEwdHlwRYDFrmLPxDDRGtixwCqxztSo3JoJuYwtNPFBQ3Zgjtv1iK9ZKkQrcc+hvW0Z7QMZ257MzH5AbFHR2rCc55Glvpl9YONdExRqCi9tK/0tPmMsvF1b9M7MZVgGE1NbRRihYhypIS7Oppv1HXVzIVSzR1vx+TK2ikBl4qI= 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:(366004)(86362001)(1076003)(6666004)(54906003)(5660300002)(8676002)(6916009)(2906002)(38100700002)(8936002)(107886003)(52116002)(186003)(66946007)(66574015)(6486002)(66476007)(4326008)(36756003)(2616005)(508600001)(7416002)(66556008)(966005)(7696005)(316002)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: h8i+qqkR9JNsnXXulfIYdCeWuJgQiKLzhtzxP5vDeG08eG4XgggSDfBsf/UgfBntzj3LUWF0P5HCJlpSRzjtp/cqBgivGzBkGybVa81/d869V81JTMSZ8qhCRi0BFP6boYX/5o6vF7hfW5gTwZap9VKGpZ/ml7tLkMDuSICgfVECbTmPBVb0+sgzvgwfOdT1DtUjdJEcalcjTzeDDtRhH4iliiwIwrV/kkiQyzHc87em2UFVAMKEyL9Z5hFi7pwKynEP7V4v7aRidegNfnAHnwhm0xJKwHDgbJkiWldGvDkHPJw2EmxgsNBJfX65UP5TfCLlfRgQWJb2zKs0TJaqrR+51v5PXEDjGfTCqpemCPjORCBqiDQokC/iRA5czoHbjP/v6rzX37cQksohxqXY9Hy9REfF3/732cex7x8BA9lys4stc+ADBE0mlNbr8dmRHFk1ACHjDgoME7OQEvRDcy54kArF83sPctAtKH5m0p9PaBcpdAd0vVMBhNb5ONgwkZyg6I1wemD6kjZgGPuvgO8sBX9ccm3MAbGQIplOLxKVTzW91I+8JLmAmDzhChOq0ExQadWo7Mg/2JQgvj2nisdmhmC/4HGJyh8Jy4fiLGcAECWfB+885hAiDX9wQO4eCqvHNtaFYyMVCb+5gTPGzYvl2Xr3nvt9RydyOWCSr405ZDWBGWhe8sCKyg0WBRsvx1g3ZB+NZ2YYmULBaQTBzzLtnWonKwJzph8/mzpy0Zu4uzLolQQQvkECyZjiWwgBIV4NmJ9fqX2qEbR4o7mu2iCLCWSVfRAMxM/mLxk58xl62EcvSaMx8PXfOlYuw7Yb X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 37f59b47-26d0-4cdf-433c-08d97c517fe6 X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2021 16:12:53.2026 (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: wthccZNlrKXLP+WuN21oQlvC977jlekzt/u9tjMKWGYQIWRRkE/osvhPVeoaJGwSc0q8OBodpTQwKdZotxT3vw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3168 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Jérôme Pouiller The wfx driver is now mature enough to leave the staging area. Signed-off-by: Jérôme Pouiller --- MAINTAINERS | 3 ++- drivers/net/wireless/Kconfig | 1 + drivers/net/wireless/Makefile | 1 + drivers/net/wireless/silabs/Kconfig | 18 ++++++++++++++++++ drivers/net/wireless/silabs/Makefile | 3 +++ drivers/staging/Kconfig | 1 - drivers/staging/Makefile | 1 - drivers/staging/wfx/TODO | 6 ------ 8 files changed, 25 insertions(+), 9 deletions(-) create mode 100644 drivers/net/wireless/silabs/Kconfig create mode 100644 drivers/net/wireless/silabs/Makefile delete mode 100644 drivers/staging/wfx/TODO diff --git a/MAINTAINERS b/MAINTAINERS index eeb4c70b3d5b..51993f68379a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -17099,7 +17099,8 @@ F: drivers/platform/x86/touchscreen_dmi.c SILICON LABS WIRELESS DRIVERS (for WFxxx series) M: Jérôme Pouiller S: Supported -F: drivers/staging/wfx/ +F: Documentation/devicetree/bindings/net/wireless/silabs,wfx.yaml +F: drivers/net/wireless/silabs/wfx/ SILICON MOTION SM712 FRAME BUFFER DRIVER M: Sudip Mukherjee diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig index 7add2002ff4c..e78ff7af6517 100644 --- a/drivers/net/wireless/Kconfig +++ b/drivers/net/wireless/Kconfig @@ -31,6 +31,7 @@ source "drivers/net/wireless/microchip/Kconfig" source "drivers/net/wireless/ralink/Kconfig" source "drivers/net/wireless/realtek/Kconfig" source "drivers/net/wireless/rsi/Kconfig" +source "drivers/net/wireless/silabs/Kconfig" source "drivers/net/wireless/st/Kconfig" source "drivers/net/wireless/ti/Kconfig" source "drivers/net/wireless/zydas/Kconfig" diff --git a/drivers/net/wireless/Makefile b/drivers/net/wireless/Makefile index 80b324499786..76885e5f0ea7 100644 --- a/drivers/net/wireless/Makefile +++ b/drivers/net/wireless/Makefile @@ -16,6 +16,7 @@ obj-$(CONFIG_WLAN_VENDOR_MICROCHIP) += microchip/ obj-$(CONFIG_WLAN_VENDOR_RALINK) += ralink/ obj-$(CONFIG_WLAN_VENDOR_REALTEK) += realtek/ obj-$(CONFIG_WLAN_VENDOR_RSI) += rsi/ +obj-$(CONFIG_WLAN_VENDOR_SILABS) += silabs/ obj-$(CONFIG_WLAN_VENDOR_ST) += st/ obj-$(CONFIG_WLAN_VENDOR_TI) += ti/ obj-$(CONFIG_WLAN_VENDOR_ZYDAS) += zydas/ diff --git a/drivers/net/wireless/silabs/Kconfig b/drivers/net/wireless/silabs/Kconfig new file mode 100644 index 000000000000..6262a799bf36 --- /dev/null +++ b/drivers/net/wireless/silabs/Kconfig @@ -0,0 +1,18 @@ +# SPDX-License-Identifier: GPL-2.0 + +config WLAN_VENDOR_SILABS + bool "Silicon Laboratories devices" + default y + help + If you have a wireless card belonging to this class, say Y. + + Note that the answer to this question doesn't directly affect the + kernel: saying N will just cause the configurator to skip all the + questions about these cards. If you say Y, you will be asked for + your specific card in the following questions. + +if WLAN_VENDOR_SILABS + +source "drivers/net/wireless/silabs/wfx/Kconfig" + +endif # WLAN_VENDOR_SILABS diff --git a/drivers/net/wireless/silabs/Makefile b/drivers/net/wireless/silabs/Makefile new file mode 100644 index 000000000000..c2263ee21006 --- /dev/null +++ b/drivers/net/wireless/silabs/Makefile @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 + +obj-$(CONFIG_WFX) += wfx/ diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig index e03627ad4460..666e23a3ce7e 100644 --- a/drivers/staging/Kconfig +++ b/drivers/staging/Kconfig @@ -100,6 +100,5 @@ source "drivers/staging/fieldbus/Kconfig" source "drivers/staging/qlge/Kconfig" -source "drivers/staging/wfx/Kconfig" endif # STAGING diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile index c7f8d8d8dd11..52a0ae1e1a52 100644 --- a/drivers/staging/Makefile +++ b/drivers/staging/Makefile @@ -40,4 +40,3 @@ obj-$(CONFIG_SOC_MT7621) += mt7621-dts/ obj-$(CONFIG_XIL_AXIS_FIFO) += axis-fifo/ obj-$(CONFIG_FIELDBUS_DEV) += fieldbus/ obj-$(CONFIG_QLGE) += qlge/ -obj-$(CONFIG_WFX) += wfx/ diff --git a/drivers/staging/wfx/TODO b/drivers/staging/wfx/TODO deleted file mode 100644 index 1b4bc2af94b6..000000000000 --- a/drivers/staging/wfx/TODO +++ /dev/null @@ -1,6 +0,0 @@ -This is a list of things that need to be done to get this driver out of the -staging directory. - - - As suggested by Felix, rate control could be improved following this idea: - https://lore.kernel.org/lkml/3099559.gv3Q75KnN1@pc-42/ -