From patchwork Fri Sep 17 15:14: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: 12502479 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,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 BBEADC433EF for ; Fri, 17 Sep 2021 15:18:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9D1E9611F2 for ; Fri, 17 Sep 2021 15:18:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241902AbhIQPTm (ORCPT ); Fri, 17 Sep 2021 11:19:42 -0400 Received: from mail-dm6nam10on2057.outbound.protection.outlook.com ([40.107.93.57]:21473 "EHLO NAM10-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1344330AbhIQPRo (ORCPT ); Fri, 17 Sep 2021 11:17:44 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gvrpYqTXGia41U3EOFiCgfCIwAO2x0ysCgfWbLN5+aH2KzqQhGMzE6t22OjDYkCVCR85tcl0IPeatxYdOAsXJQiRvlEfV1MXhqVjlmYRpOjaxZyjFkFF/x/NuHaAwJn9PpePgP/Q3zNTpVkCPqYnFgpqCSdERrVn+jBzFXyKkKqDtCnnmeu0YI7BWm7zaQlTFy/dplDeKdnLQLdfmWD83GPX1MrzVrd+bjAJzVxdvCQvB9e1zzmAB1JnwLD1G0nhns65Qdf7xTO+CfdQhAq9NBdnKpS4qS0UeV96vyToRuSdck6QVTxnLvNtP0JshzdCSsCzNtUmnvCb7UsSCpHYvg== 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=L0LsN0WPX4V36pbcshTd0N8CaNbQgddxWcsZdbCjEDsWVYavyGw1KF4O73zie2668iEdVyVIHXH9fOdUHeHdlShXQy4zBRu4XlguQQ7hdL6FNgGYn/JUK6UYn3TdBJaUzEgAGIbiqmtG/LG2WuGAFn4i7Mwin16h3mElIgHCPk4O2MXBo1NxgITJeTOm8nY0RGcM0WsSlblttLDxBX6yyrhc4b5MPVL85If/MYzvoDG00Y7VDkHJA3AX0uP0boU7931sQpHMHXLmCeKOD6UOMruTSIjkzvFiwLLGThaayRIdWFsb+Ge8C3iILkYK3QRbXk/KSptE6vo+Wo0IYPY4hw== 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=aeIqb6MqJMY+f5v/mI8PF5CSRc7YhXCDRpb1AZEmTSpz8ooORX0xXuDyBHDx1Sn3E0ixq+FDnhtLnW4EmcpclW1IDwVwAY0r1Xa1MHRrVIukHx3fOZFfHDaDsFqMREwaEBwLEKyEkhhksfpeOuEIEuyyijZ+YsBvP8QXZBgf+Qc= 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 SN6PR11MB3360.namprd11.prod.outlook.com (2603:10b6:805:c8::30) 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:15:20 +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:15:20 +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 v6 24/24] wfx: get out from the staging area Date: Fri, 17 Sep 2021 17:14:00 +0200 Message-Id: <20210917151401.2274772-25-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> 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:15:18 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ebf79515-482e-4ea5-a8b4-08d979edf6ab X-MS-TrafficTypeDiagnostic: SN6PR11MB3360: 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: J7xp4oIgGG8EimNhA2RCQhw3frK0wwIyPNXIZDbUdltNaWBZ3THgToLQSqALldcZvNHvIipd4L/zPYtL0UoE8YDS/PH0CQxffGYzC7lz1GSYGRhIy2bMM4QbDq/8MEB6i83F0XpXqLIZ3ahZpBgN//1j2W22fjyiB9uvCiRIHyR0rHwhx5OPT1mNf0sRp4RoRS/b7z5pxt+uXo5MIq0eg3rDOuXl/DlXurXxyBEeOANt8qbd7nW0zttrnMMCoSIn4izeATGhGzjBZzwvsn5cCuVNET//AnMspxjEiFkn44gC49RtMEUn2DrakHmCSLcSouSaArapMD+zAhz0+A0sjucPtlF0qjVo8A9lS9z0U3sXIRYqJuUT8a1pqLYLmECv08CT8abHdKOsS42kTfIO53T471G8mLfwhVVo7o4eMZ9+aTLR8pXIhu8r+J41TaemWabXmGJkk0NZyDmv8abYSAYpgFlBhvImL0QnlsXg9SApyLPlZVL19kCKB6n/Q4CU6/ElvnRC82arpsHnTRRGFNqkLRWZ0uuiPVy6wLd0Jw/WsHTF0y/0XbTH0wXZ8P2F8iwc/6GVA/Z3Bb07r9XyvpXnHQdMmLvYuHZgV2hqxAzIW8ujQMDHHZ6dgiWuUbV+S9cAGa0os/TBlnDIWSHwQx7Ntwb7hyVb4eybIdHxgoxK5SFZw9sjbLC4CvOEnPZDXFDGb68kK9cVLOHLrrgh/GvC76qALmNLQWMu6rY1NSQ= 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)(39850400004)(376002)(346002)(396003)(136003)(8936002)(966005)(5660300002)(36756003)(7696005)(86362001)(83380400001)(52116002)(54906003)(66476007)(107886003)(66556008)(8676002)(66946007)(316002)(2616005)(7416002)(6916009)(4326008)(38100700002)(66574015)(6666004)(186003)(478600001)(6486002)(2906002)(1076003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?FxwfqpMkW3V+tEnngOxYaSeews4d?= =?utf-8?q?/MxvD985wlVuLDZWsyBpIMpBSGFb+p+tHalD7f0ABrDo0eVwCYQdARLMl/rP0d2hZ?= =?utf-8?q?u3jFtE8LsyfXmSoCs+P3/FHWN57YSnubDIfD9knYHBDcz9C0WN9/90sz1AkySIwQI?= =?utf-8?q?VFlhUn3sJERoZ93q7GoMCK9qDJr4GyC7jQ51JOWHYg28/e24a8wbkb0ieGA0YFFJ1?= =?utf-8?q?lDRV3UcAzrInwdBx22K2mAC4+NlmPozbdtMD+OecbRv+c9/1be4tVzckdpqTzX8ec?= =?utf-8?q?1C/PeG9qE25KiODT44zZ+yzEDEYTPq2P5059TYyHpe+sggpieq4zF9aXsT5Ht45/b?= =?utf-8?q?v4gPuHTIuo/ui1TsGvlfPcCjF1UNsoB7nQWQVAQ3IQqocXMf+Q/V6fp4gZPPy4RWN?= =?utf-8?q?d4J4Hi6K+8x6dygiyo9naj9Jht/W1dbc2P9dWynB02ob68lvAGR/HVPqisPOJKdva?= =?utf-8?q?/EfU9dgN3soJKKIbfk1MrYUG44XApm3laKEXpXZk7KV1pyv46LFDtSvq4cPu3FS2o?= =?utf-8?q?CC57YqWTIpkatjKcLpIaxveoFsbZ4CDLK9MlSz2O3Kpi7brKmrc1ZBB0NGBjHN/hR?= =?utf-8?q?H7y1iAyMaOLKT+n6Lrl8ZMvNapl/UKlCkxrPsrtsqt+YMxKqExsHWcsdnPM4R8c2d?= =?utf-8?q?LTgI2maRHex3jf36nLVdfRnWw3llcqGGe8sK1EYFa6K/JBfAGAgOBpfAsdq+BxYiN?= =?utf-8?q?r4gjl4cbhemZUb+yhiPP9LdUlCT7LTHxstTwB0OozepxFXWNEW0PseaE5NXCWXp2R?= =?utf-8?q?BK5rPO5ppsMaZjwrSnBJP+aabxAEGQ8Tl1BjkCpPSbouQMO/faOSvoU/OudusiK6s?= =?utf-8?q?vRKDuG9krxL2shJRHSLhBcwZvyT/CeYurKnbVtwPK+pKQ3IA7+A2BR2bmTae7lp0e?= =?utf-8?q?mUzQUFLi5G3H+WvkEmwnZ5jGb7yJ7pucyyid0lO8TMEIPiQb2FNKmNdd/UOYkngi/?= =?utf-8?q?eRVAT/xbxImOUQQ6wKJxxzfBK2djTLyRlEOnSmxMMnESxf5zYEsZnuG6rM17FGmL9?= =?utf-8?q?cHhDwbCuAALXKNSVx3iONIYEIi7dCahKacyub68EHVUe06Yezvkxn5xzWs7ifMP+R?= =?utf-8?q?45G8X+TOQkVltnIv6lANax323kXUOy4A2g3f4teALBD1rSo9eio3fXFlqc3J8leZ5?= =?utf-8?q?jJAP+7l+ReoNv88Yy/1n56ubg0c0OYPNuHjnmJk898r8UTif83UmCKG8dBjB8qmjS?= =?utf-8?q?zsp4ly6DMhnFgJoy0bpjx3s4j0Vfl9GwpD711yU6HVr+VBMfkR8cKMQYrNW8GB/h+?= =?utf-8?q?MIrNigMMgYQCWJSnCEk/CBC+exODWhGhITh8yZaNSo/GxYlrzwvrf3c5L/tfxA1Al?= =?utf-8?q?b8xa0v4rNUlfJae?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: ebf79515-482e-4ea5-a8b4-08d979edf6ab 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:15:20.4699 (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: mn0v+jp2LUcJm7uatmNVxj9Zgxk4FpLjFGsnx92uAIqlZlGo5XAVJMtvlGb9W4GjKvNfkgT7LD4N/DBSzKrzLw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3360 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@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/ -