From patchwork Mon Mar 15 13:25:01 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: 402403 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 6A5B4C43142 for ; Mon, 15 Mar 2021 13:27:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3782864F1A for ; Mon, 15 Mar 2021 13:27:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231468AbhCON0y (ORCPT ); Mon, 15 Mar 2021 09:26:54 -0400 Received: from mail-co1nam11on2054.outbound.protection.outlook.com ([40.107.220.54]:63187 "EHLO NAM11-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231287AbhCON0b (ORCPT ); Mon, 15 Mar 2021 09:26:31 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FUEzhnuXxFSSJzsEoGwBtpRMZpycEOou9SfrHt8YdmHDcumYZmC7Gh2vD/822SL0jhC/HVp4sIoVBsQe9jUa2AShvNkm1g/A8uZZrs0uODLhzftc8w8V0cUKVPKmL64IbuWCntHjOi/+WiqJNWJnByAkFFbj7v7+xugL5nXA97SRDuUPvsdLHc/OgwKk/XA2imT4RQEILD+skO6LU5HPi2vziMZOLQOs6j0G/qpBx6GkyRaB86nRt6YOQqxgTOyAHppAWPqb7q1t+gdCoWwkRncLvmD1x+C6b74rY2pgOpRMN8r2+t6txNXtGLlfOadOZ67o3j6QltDZqEIB8h8PQw== 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=QD30PBEaCfToNdF/rcIx3GRQcMqKaHt7d3BH8KwE7TQ=; b=NYM49yeYpZkozT8ne2XQiUzSCNl1RQ3QqOgXdUOPEDclSs9czoNtMkOtYl4mLluX49vs2G1T+KBtiPorq9jDD+XvQHrKvO4V/FrIEwnExv6NiJos/rUJ2aVZ9Rc9Q1ocSg2TejEDMI9L9zOd7qXNj6kiaRP9FO7xYUUjWhwo5aGd7R+wGa03xmTTjfDOzn9vpkbPc+nu89QMZSA2qFkDpVaBBL1ltfLWrfuLOs4rwDb6P0vOnXzQHANtjE3pzN4J1HbNkmvq8PYuWqBNByRBTDHSeAv93AhCOQFzr7eq1Ux5SNO3H10DccArn5UKD82pxT/gZWNY3CNHvuOv6fsn+A== 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=QD30PBEaCfToNdF/rcIx3GRQcMqKaHt7d3BH8KwE7TQ=; b=Mftbntpp3vZDuGGPHD5lT1/8JlPKslgkaJMsbI1QjDCChd5CJUSHuqG629oyAAVYXH6yceaOvCNQFKT/tA3n/Q5fZd6oXkKDPVAqWHKQKVBYsCp/4gz1+GhNoiTx1XvMohv1KX+ZvEFzE5yxW+oAn6+09+Bf+9x2bZropZUCJew= 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 SN6PR11MB3216.namprd11.prod.outlook.com (2603:10b6:805:c1::29) 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:26:29 +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:26:29 +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 24/24] wfx: get out from the staging area Date: Mon, 15 Mar 2021 14:25:01 +0100 Message-Id: <20210315132501.441681-25-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:26:27 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 845851c3-ac83-4745-1a2d-08d8e7b5f0fe X-MS-TrafficTypeDiagnostic: SN6PR11MB3216: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CMG9rrwpEuKCHqnmQJ9/NE84DMAMGU+MMtUpdt9ZiDinl9547gg5AsZ8S1CyjA2PbmCuwgqPgFpvZYVqYu6DCPqv55x0/SxdDoG+pKg5qIab+ub/YApKHBUIlQnU/td3AC1pUYcpyI/rYE82yGhFXBLJoPVFx60aksZB2P72YIPupwDVSKEGVoO0ssKHBrE5RzwOmC4ppLnyUmZoR8wuYqHxq1sEFh6bTYwjFM+b7LcyKcUim4EPT0kBJ5lReE1OpwpsX3kP7YTgITk8z3pZ2sApLa3/i600pQTTF/KnoN/02THCeXKGe0/VPZZV3rO5atgtgy7FgESw6xg8R0T6FF4gEIoe+YEIpXEy/GYxZFk5ufmMTkGChBeH/hxWBwo3niWOeEz7HG7ZhKzw1bqMDt0GX2wnZHXPtgP2tDS7gdaZLd8FaGDZ8OV8mW1J0xJPiC94FYGFcKM4oPGTa7xVcobHTJL/SehZJTxWY37dkc71Dmz4/oCSkZ9wvaInAQ63eHc3uvngiok4LwWJCzZxJLAviqmWj8lY9TfmWJgsu0JFdkrf8RmLEYbjq0yXSqn/+zLQ46JY0C4v3+oN2DMIbSSQD90TI6Xeh9gTOunhVEWqdIxF36EPHAbrbC4rzf8vZTCZ8Cqig2veF6yZ2zicuQ== 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:(376002)(346002)(396003)(366004)(39850400004)(136003)(86362001)(107886003)(2616005)(966005)(186003)(1076003)(4326008)(316002)(66556008)(478600001)(8676002)(66476007)(6486002)(7696005)(5660300002)(66946007)(2906002)(54906003)(83380400001)(6666004)(8936002)(36756003)(52116002)(7416002)(66574015)(16526019); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?q?h5c67Cq4nWh5MlEVMGIGNI2QSsL?= =?utf-8?q?+HZ4uGUODAXx97EEdX/fT80WIqm6WAbgfND8J6hLvWMe7mESUbXuibuZ?= =?utf-8?q?Un9uFk6L97NAdQUSVvbFXgPT5nEGIjYLSMbzUMpo1IstuVIVnpF3HIig?= =?utf-8?q?2ujLcJ1xl3xVSB4Bq1rvwWkpoG8wjrzU0eljFUD1HJlEe4SeugQ3ZuG+?= =?utf-8?q?15cc+dyPFS7vubEN4Xch1Yzs+tu8QBzSv4yDyvCFNdcWBnHLzptM8AVD?= =?utf-8?q?zBusV8eUWOanGYBsl/dAlh+lkkdEFXmrZ5lv8zCYLX4NI4p69p7/lQ5p?= =?utf-8?q?ptV+xKCMr/zqP2vMvkOY1SF3zu+yWWu9+OmrMDUcGae9wnzLSzF9lDLd?= =?utf-8?q?IKjengMD1fdFTvbAtN1JMdPhe+OQti9vCjOhDpOOUz3Su592HjCY2bAc?= =?utf-8?q?kaaWjlGlxCp7KHe8Nogutzq9celEsxILaGcG5HKCIJgB7Ges55yVNe1N?= =?utf-8?q?aUZ87Y547KQoFl+n15yo9tcjOnwWab7AdsIig4NpsAkx56/oVoKZSKYo?= =?utf-8?q?uTB/ivTxLy/ZiDFOn1b3Z76JIsZDz2RauP6GRRiEaDfLEq1XuftmSmn7?= =?utf-8?q?+un77uEPku/Wam0aI9gByxW/f8SC1eugyUfdOQRBdsN34mXkuMgJ+kkk?= =?utf-8?q?5eQt+6TjtfsZOmXdfhcfnkhZid4I/i8z2wmTsNANdP3mTbocncT9pVXR?= =?utf-8?q?8wxNqhkX8w+cR4x0g5cfnhIWXB/kZC7VXG4nqmuWdTYBBXPaJ/LBzbYv?= =?utf-8?q?7aGH2P8tQLSJzifrt6nr0306VouySev36NXDDKmtAMv9RDdyOriVQige?= =?utf-8?q?ibnm3x4i4WScMsC7hb76oA73UvUfCEk6Bgh5GHTITdn/JKXb/QtRruIy?= =?utf-8?q?z2F7mrWrxcRcX4eQJno1qkcITvxSSYkOkpGx2nhXBTehjiZ2nCHWf26u?= =?utf-8?q?sO7h1iKnWvA06VhnvVgbqI7dW0I6Z6CwgeelVwuYgY0MrMZy811MEdgh?= =?utf-8?q?abi8yOBbY0YGmAAp2OOAyR67Ff8SPj9kYv6lkwyC+5aC015G5y4HvYUH?= =?utf-8?q?E4N35XTVou2CBi88oIdgPejBgxEMCfroUmCpy35M5g7TB0KrzBhcZHCe?= =?utf-8?q?tLx/fWIXeJO84H0Z+4/lbwZCvPRds2lB0jAmR7RGYhJH/JAVw+ZLbkXe?= =?utf-8?q?JnJRaXmNlCGG9axZB/9GIdY1cV/OfQ1ksCeyS4QU65867LpCwzP3oRL6?= =?utf-8?q?LqWw95XGUUjUbFSCVD30q09UDz42K+avbhUzuOE5Q3+8q3oCqOYgtVs5?= =?utf-8?q?BlEzBaGiNUOMTFh3WH4UAcGi9IjAPfRTMJWM1CHOP4btKtUROuszhxFU?= =?utf-8?q?TwCRc52TxNqj1H2nwDwVLceqiE+SU64Ijg3s79LK1yPipBjMy7qLYlhi?= =?utf-8?q?Jr1uUC0HnAuSHJ/C1EUcQGiQojRvwp4zkIPAl?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 845851c3-ac83-4745-1a2d-08d8e7b5f0fe 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:26:29.4204 (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: EQY1ykcHz+CzCfZtZahvl4VJ9TBb/RcXCwJT/YLJpA22amNmOzB5iGyxK7WeLFkfOHzQu20s2SngS9MhOkMFKA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3216 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 | 2 -- drivers/staging/Makefile | 1 - drivers/staging/wfx/TODO | 6 ------ 8 files changed, 25 insertions(+), 10 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 aa84121c5611..1d0be0c04456 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -16344,7 +16344,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 b22f73d7bfc4..b07de39b9f0a 100644 --- a/drivers/staging/Kconfig +++ b/drivers/staging/Kconfig @@ -110,8 +110,6 @@ source "drivers/staging/qlge/Kconfig" source "drivers/staging/wimax/Kconfig" -source "drivers/staging/wfx/Kconfig" - source "drivers/staging/hikey9xx/Kconfig" endif # STAGING diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile index 2245059e69c7..c6a992d1edd5 100644 --- a/drivers/staging/Makefile +++ b/drivers/staging/Makefile @@ -45,5 +45,4 @@ obj-$(CONFIG_FIELDBUS_DEV) += fieldbus/ obj-$(CONFIG_KPC2000) += kpc2000/ obj-$(CONFIG_QLGE) += qlge/ obj-$(CONFIG_WIMAX) += wimax/ -obj-$(CONFIG_WFX) += wfx/ obj-y += hikey9xx/ 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/ -