From patchwork Tue Oct 5 13:54:00 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: 12536821 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59E48C433EF for ; Tue, 5 Oct 2021 13:58:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3271A61B45 for ; Tue, 5 Oct 2021 13:58:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235704AbhJEOAV (ORCPT ); Tue, 5 Oct 2021 10:00:21 -0400 Received: from mail-co1nam11on2088.outbound.protection.outlook.com ([40.107.220.88]:52640 "EHLO NAM11-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S236513AbhJEN6f (ORCPT ); Tue, 5 Oct 2021 09:58:35 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XTnpev+gH5Zwe7KlxJ3ptFM3oKDCxKl6AoXfcGWU3hAZ3V+ioVbEVI1z2w/1KURL905yKFVg4EYBdpM5CVdFTT8/wtSIG4rDJPFtF73bKX7c32P5xTb6WqQzf4nahoAfZwgXLLo80rle3Z2XlLh+IPTuQiORdvFa88EYflL14CUozJ0spBE+tsIMtPmMVyKQ3mU98ryBZayYPcRYHXT1nP89ifckMiiut1el6LZDsatlfbcI1HgK3SkNsUUWU5CZ6YB05rltFxGohj3vB0DbRPOwyEtvzPRQkh4D66rMJIT6+D8hJFSxbDWMqTZEAU5vl5dwhFkHy7IhqjajIXQzqg== 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=mUblQj3HYl3up8TQr4oInUGypnja+FbX2pQYP1SXPC0=; b=YxebN2qWYVdhZlJ8YyeAWVpu6TlsU9X05xTqaW1ZcEA9xtsIG11ErSYHyFH/nn4mOV0+iqXLal4EXLi2wqKNj1XEJ3t2JkjyT1OMbF7yF1fQpTcBJRMX2NN2AnHzuqD0raWariftZ0t3hnZPWdvGcfU4k8WQoEELnTe1fGa6kFSIrkv5osT2LjGrtp11tVTz3Zcpj9xAerz130KHCRt6BeMTgpfS5nmVnDOohkgnGGmssi0pimoSdfpdPMh42WHxAmwfJYXg5dk2t4cmSK9BlHN0nFTodWM3hrzeb0iyiEiZTWf0nx+KWG4ghyz3DfYRMCwIsLAP8WugrAd9bg+joA== 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=QG+CWobL3kUbTPSTDXo4rFT8L48ERej7DlyEjkjmvXqGCJ5ySrLG58acORH8U+QpjpW+HpTsOxCt3Py+YrzRFpiqWDKBH26QjMeR5X9d3gjfwaQyyB7YlVPbaQ/syHcssvKKitUS0s6FuGnXJ4h8TaZNaWgCvVBC9Hplz+VxuCQ= 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 PH0PR11MB5657.namprd11.prod.outlook.com (2603:10b6:510:ee::19) by PH0PR11MB5642.namprd11.prod.outlook.com (2603:10b6:510:e5::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14; Tue, 5 Oct 2021 13:55:31 +0000 Received: from PH0PR11MB5657.namprd11.prod.outlook.com ([fe80::31cb:3b13:b0e8:d8f4]) by PH0PR11MB5657.namprd11.prod.outlook.com ([fe80::31cb:3b13:b0e8:d8f4%9]) with mapi id 15.20.4566.022; Tue, 5 Oct 2021 13:55:31 +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 v8 24/24] wfx: get out from the staging area Date: Tue, 5 Oct 2021 15:54:00 +0200 Message-Id: <20211005135400.788058-25-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211005135400.788058-1-Jerome.Pouiller@silabs.com> References: <20211005135400.788058-1-Jerome.Pouiller@silabs.com> X-ClientProxiedBy: PR3P189CA0084.EURP189.PROD.OUTLOOK.COM (2603:10a6:102:b4::29) To PH0PR11MB5657.namprd11.prod.outlook.com (2603:10b6:510:ee::19) MIME-Version: 1.0 Received: from pc-42.silabs.com (37.71.187.125) by PR3P189CA0084.EURP189.PROD.OUTLOOK.COM (2603:10a6:102:b4::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14 via Frontend Transport; Tue, 5 Oct 2021 13:55:28 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0c6d2e2c-5b7d-477c-95c0-08d98807cb8c X-MS-TrafficTypeDiagnostic: PH0PR11MB5642: 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: xUQHCprZPBpinXTprTwZ2KUEgvlWwVFswo+7fthAKFIe/qSeb4uqh41I0dTJs2gkccCK9lDOcPay/Payf9ino41rPYU2DgoFZr/7XoqR0EL/OwCCdFArQ1IoSLWiJfcTIv/+7J1pyox3Z50TKZrHRqCGjcowWtDn+x7qKIwZI3bxazruSWMOa62mUkuRQyYJFywM6WH1zlyjW4KRplFMtoYUMnw/32+NXjbdknoahfoQee+ZJGYcn9nQhjyJzOrghoXHPwJKaJmIJ5elbBSaNpinXDiL9VlAy9r1JgkkJDHduWPlKy46R1UeZb3b5FWLcZfejtQiH7f2/21KJpnMClXRr4OmJg9e37Tn5N8DA4UIP3X9LJYLsOm1ppP0+sdd6714rhf45OZ628K6kwKsTAJlZs28+dJsCoHhQFeH8xYg83JBc+WeC606eQ3TCgoac3RvfnDSaVUBouAIiqiindagO+LzcblthRjwgG1z5yUWppGwbjN6rMxaWrVf89qYqHmCugRxrx6dwGYmphvDLvNMsGtDj3EXOEMIqsDJp3QYYUHj8gEaSf5eOE7Kv0q0BZO0nZEeCqECXjskZGEOxRvd1C1c4l175hLA/MtaE81n4fDM1DQ4YRMs/IytKU+GHcDE2evelL0eZDVFTsGLFcjIFbCBsAWJimk7+aec0+pL4ccmvLMaMHG1mZP9MQSopjiE/O+lTzqBZckhO/M4+rfqJ7+8bFInLMLVMZ9Y9X4/yGFWenLRkefdzktSPqZ77FRGAS8mSANeBFUClMZofgjhnlxrKRuMP7CMaDo8NQ4= 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)(86362001)(5660300002)(26005)(52116002)(7696005)(956004)(8676002)(2616005)(38100700002)(8936002)(38350700002)(4326008)(6666004)(186003)(7416002)(6916009)(66574015)(107886003)(83380400001)(36756003)(66476007)(66556008)(508600001)(2906002)(966005)(316002)(6486002)(1076003)(66946007)(54906003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?oYUhwM9BpOoyGp59bbMtsMJg6JrB?= =?utf-8?q?SoMHS/DHgSgolDWM515vn6gUk0yb+dkuDkMS3APdMll39W2BQ3C/Q/7ILdSebOyli?= =?utf-8?q?7m8EIajGBVI8U6scoW7nSQmS+ptAfMTzYHNJAwdVQlHwWYUb5rUM4ti9YTZVmQifh?= =?utf-8?q?r/aU5WZPX09ji2R1uOHEjAsxyWjCANu7z6/NkY5wQP1nkAO2i08sC9/9mszATkK4V?= =?utf-8?q?58fooGd1qhLdI7WUtUM2BtX3D2pgtGIFGpsKaW3jw5rr442KuzXw155zMsKbvdN/H?= =?utf-8?q?15hoTJI4LFMBqwzuahGb6oN5k/bCSGCBY80ErE7fmV5McivpOaAxYX6LrpWanRrs7?= =?utf-8?q?uacBwbbiQeefwmFgQCnB/p2ShnpCHEEaKLiMe/FMb7BgjlknzKGSvMOBO2xJxa/Bh?= =?utf-8?q?o2DvqWwBgGXgf4jyjvge7vY3xqik+uH2MJIsCkTDWbVF1f1yjIxRW99wS3vaATiHl?= =?utf-8?q?4alEDEOFvj3WKR76LsQmRAMhyICWMFqJ2nL8RZmfk49kNg0nPAHx4C8KJpoG7tvVo?= =?utf-8?q?0vzzLfWyV+yWtiwLF0n/UKKloCoU6j3YvaAdaChCdckNljfiSk95vih4Vjj0H3nH6?= =?utf-8?q?0CO949SFsJT5h2IbYxq/yQpSk8xVHcjuRlIGkyb5Io8j3Wn83wLMs6LCvZYxoKVs6?= =?utf-8?q?X7nDF5FPSnfV2q+3MSLgF0rH3Mr0nLmzRZGHKWzz5FpSZSsKuTuFupa1uhFQZCUTr?= =?utf-8?q?sxaRt+K6AIQF3VWNlBI7nRo/YQCBNzJ8ZqC7fywdJ4SQE1nUmHga9ANjJFc6KVtWN?= =?utf-8?q?koQ/ob++iu9OfswSVh87xY0h6qPq50weBKcOvmHcg+baMGmtlKSaCAkFvmhT9sM7b?= =?utf-8?q?Nr8xHesM0sVWBLfuQag7K3gSDlZXQtmokC16aqR9fglEZWtMzW9eMUbe3AZKKm0rL?= =?utf-8?q?RQIwFA1oT4KrDCt5JMqP3HxupWgcK3Sld3H/5AnBguzL+RzRhKpmZwo8pvDF2LxIK?= =?utf-8?q?INQq6Ox9LKYCulUbvHodFbfmE2VSXzeCCHfLfnVZVAcPgtsyXtVHvbbUsI2PSKESa?= =?utf-8?q?+ZXPMrOrVxId0GF/9QGEk23nNQbbyK8vY0p/HtDmUFKkDxouq24xUjCZDtC+LLuIM?= =?utf-8?q?HcLHk/hRHcxMb9Bb05mXHMPIYkefAgcdqzqtCR1p3sQjuQeBErg+/zo4zSuZ92x8A?= =?utf-8?q?e3T/tga36H9xrGSSHXOUD7QljmfaE6NMiC/LkYPnBA6ncHCn9abozsYflXn6heAFe?= =?utf-8?q?BFO+0FP7jJCoyZGVI79zxCGRBE6rlMSCOx9+z1wx+G25xGkXv671MSJCgShNvYR8o?= =?utf-8?q?2WRTz3eoZ+/8rh5Y?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0c6d2e2c-5b7d-477c-95c0-08d98807cb8c X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5657.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2021 13:55:31.2883 (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: jRS0n0FPiMKicj7oMoH70vCeDtZqyoox7V9N1d7K592qt7acT6J1B6Ln7VX20yNog+q07Y4wtyo0EmUPXiQzdw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5642 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 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/ -