From patchwork Tue Jan 11 17:14:24 2022 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: 12710140 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8FEF9C433F5 for ; Tue, 11 Jan 2022 17:18:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344154AbiAKRSD (ORCPT ); Tue, 11 Jan 2022 12:18:03 -0500 Received: from mail-dm6nam08on2041.outbound.protection.outlook.com ([40.107.102.41]:56193 "EHLO NAM04-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1343981AbiAKRQf (ORCPT ); Tue, 11 Jan 2022 12:16:35 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kl74rIAFrCmYM2V3pw6z8+iM4PqMjJzAzgOau58Il2MdU1fjYoOZNsjGugXlGbDz2a5KOBho2g4blPpNdFu92hvRyVKlMnFdK+8cB/N6BcbOo5ngR583OdlAHMwQO2+W/AufSvY6zCqpcRpI4RznAE46bZEBA7e/j3F1Tqo8Xy0wlcs2Kpr4X/jdsq/R/5DUvYj647V3OtZiRq1XvPUX5icoTfoA67JSpmX9uwLNZm7/IIhGt5urKGeMClUJNcIyEnUd6C/ucSwaFslUQzR2y6Mo29sG0WJ0p2rDYxwt5ABN7waVjsMZlM5hZ7Wdx7nJkUYwjJVOoAAIvk4ALVeeVA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lePAfxkUqgdQz7jigsgnG9eopt3vSurPsdj6jhUNk68=; b=KmFAF4mr/2SxOEahjUtEgFt+Ihq8Bth0JaQNHILEaOP84kzcIAy2yzgKoPUmRUSw10gNCtO/TsJv+YhJs2rs8qVbgtGzNTQ1IJW8HWnD5OlAnNCT7Kof8aQKKWmqdK2llOiY0rc7iXpL76InU0/1hhjkzA6Sit2HI/3WmqJSsPs73eGgPvvF2+6vvsRHLSoQFPdCZmKnc/J+JWPL2jZBKdlbglS9LDApAWK/11uJHLjhAjtiVOgcEKL29kBkEyjCjlIDgfzorvEnbsJV7K0dMk+SeGotsn3LpuS4JATrbOJoapMWEUW/ZQLOVSd8wFD9QMEa2o2V7RwtcHGGTsrn3w== 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=lePAfxkUqgdQz7jigsgnG9eopt3vSurPsdj6jhUNk68=; b=PAHg953Zl+AOSV+pmNcV9f1+0RXwon9+BCa68ZyDa2tc9yGKH5IecJysilel08r3Tsa1NJw8POjGuhKiPAKFYodg+OVL6BxiFxxIJcqTFyzScY++V+9A+mj9O2E+2BhcYJkhx24LqVqF2AYySWXNhmrE27AykANCs0vgVy1P5ZE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=silabs.com; Received: from PH0PR11MB5657.namprd11.prod.outlook.com (2603:10b6:510:ee::19) by PH0PR11MB5626.namprd11.prod.outlook.com (2603:10b6:510:ee::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4867.9; Tue, 11 Jan 2022 17:15:51 +0000 Received: from PH0PR11MB5657.namprd11.prod.outlook.com ([fe80::d031:da9e:71a:73e4]) by PH0PR11MB5657.namprd11.prod.outlook.com ([fe80::d031:da9e:71a:73e4%6]) with mapi id 15.20.4867.012; Tue, 11 Jan 2022 17:15:51 +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 v9 24/24] wfx: get out from the staging area Date: Tue, 11 Jan 2022 18:14:24 +0100 Message-Id: <20220111171424.862764-25-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220111171424.862764-1-Jerome.Pouiller@silabs.com> References: <20220111171424.862764-1-Jerome.Pouiller@silabs.com> X-ClientProxiedBy: SN1PR12CA0099.namprd12.prod.outlook.com (2603:10b6:802:21::34) To PH0PR11MB5657.namprd11.prod.outlook.com (2603:10b6:510:ee::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 894c67b8-9917-4da5-57cc-08d9d52604bb X-MS-TrafficTypeDiagnostic: PH0PR11MB5626:EE_ 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: l07boysaGVvmOQWbW2otCZk6BcMagyAwjJe0XNoEbq+2ONGZU3/FUZuwN4nxOYi2djB5UEimi3wvI2U4k+blM2YLjob8CBJNeoN196I8z+OzySX5D2Xovl/lnyqM4bIJr9pdR8f4hkI2KIJZ2b6dcLQpjirvMRsAUjcY3NLhwrLZTfeVupyksg4HKx6UwdBq8ULz9SURMnw2iDcpD5yzSVdDjITyi4TWYu5EUGQ9o9s2uAtMA1MH3lAQvaezKHV5wnuqpgus+Lx0xDre5Lcfzg57Le+yWQAM6q326oKcaM3t7vTJ5mKflTrhzHzdAc6yTgT4eDoGh2Exx28MRej1F9IY14qugv1eUvCR83kcrOTYEzeTbWRcTj1pzX5I7Sqz8GdCMcEO4EBJPbLh9lIfzXkvbnf/JF+c/27GIfRFeL41K12WiAjXc+8josB8NmJl6LmEgqEwTN6T0Gc9VgJrMhMnHup2m11rwDXlTQ7JLGuwj+wtnwQBN46e99ebmCRoJPy+1f1QNzgwQ5ewsiCcn/u4uKnrM+sW6noaBPIiL29+mBtQFDYD8rQ0bTPq54pVs02xTHQnvdeyKeRAx3HxE9mlgI9Up6yO0ZgQBkuGfgSD3cnAOI2rTRKQKp94+TmbTl5HNQC4OlrF0yG+185e+hRdLQl/aFkr/GQPqK6n5pUhUvJExvAeji37WrUwphFz4rz990YbV8R1fhZVru+qhFeRkhoVymw/5awUX2NHP+k= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB5657.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(1076003)(83380400001)(38100700002)(54906003)(86362001)(8676002)(186003)(508600001)(66574015)(6512007)(6666004)(8936002)(6916009)(966005)(6506007)(36756003)(2616005)(6486002)(52116002)(2906002)(107886003)(4326008)(316002)(5660300002)(7416002)(66556008)(66946007)(66476007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?TOJs7cgEJFAnFSv6NcPF3RxdUubV?= =?utf-8?q?7uiuyvXYwcPXjNLMSiMYgOxSWv9nQ1LG2Egu+7+b2UhHN0M9aszV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dxXnCidYBt7k+?= =?utf-8?q?E/4svc8ubiFhDZszu+JScNzgGv23PqYPVGzA94j8N6viyAm82a44tMFRSSSjFR+sV?= =?utf-8?q?rtp37F+K8KqcjPF5DyDTtkdNbX7ToL3JkWmgxt2isXFcJ+/JtISt9ZCOQrh6RtQO2?= =?utf-8?q?utByVBVSGwJZOsZaRQyA6DpNx1IuENiIhEqVSujjkJQiFWDVBYuJrSsW55R9mIjLb?= =?utf-8?q?ZzvZixEKEy1rgrSa3vUb6tbVypQ9vKyXP/Y/TBIx8Xq15Jq/swtDVKDvjO7dSQiAl?= =?utf-8?q?EGS5AqocC9fUL3OulelHpu4cweH4yFvcCvdWfVGA2rEf1x2eg6eREYBFgOcpxSE8k?= =?utf-8?q?pIZdj06JAdYNPfMVlM7sEgQeLmheaIDf/X9yCNm2ghf+cQsqwq1Se98Snf4KG6r++?= =?utf-8?q?ZKs4hupEccXiwvU0SYaD8zG4t8Ses/RwsXZzC7NMruYjCRxy9kRzwAg/T9KwrzBJ1?= =?utf-8?q?QoiNqJUG7vnUGRZ5rDg7wymzg9g6dS3pnqz/mV2VvYksjvotzKGfgnyj6jl61zeQK?= =?utf-8?q?gpFk3ntbbKiV6X04myW5LDgzdGFliQn59do5a07g8SSgt+Zf4+IqYQ+c1F1xgY0GX?= =?utf-8?q?8f8DhEM+wDSlpwb2rHJg4OK8+JGp8gd4z9dMZiCLsmhzhly3Cqic+uGe5+QiEfERn?= =?utf-8?q?PlCxzD4wjjBCib7PSj/hpXUSr9uPv3Sje3x+m3yRr2aVq2OYwTPsIw=3D?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 894c67b8-9917-4da5-57cc-08d9d52604bb X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5657.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2022 17:15:51.6526 (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: vzbV1dVNAMIIskCIgGJ6cP03Wt24tRrr2pLcj1NPdRcCMZkp1WpXFWvmZQTpbdoiXjIzu+hCfV22ZcRrv6XQFQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5626 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@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 68c578432598..a1f4f4732fe5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -17416,7 +17416,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 7fec86946131..810e7e497da9 100644 --- a/drivers/staging/Kconfig +++ b/drivers/staging/Kconfig @@ -96,6 +96,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 e66e19c45425..7f6dbd82c001 100644 --- a/drivers/staging/Makefile +++ b/drivers/staging/Makefile @@ -38,4 +38,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/ -