From patchwork Wed Dec 23 15:39:04 2020 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: 351656 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=ham 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 C5F6CC4160E for ; Wed, 23 Dec 2020 15:41:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 969A7233CF for ; Wed, 23 Dec 2020 15:41:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728903AbgLWPlT (ORCPT ); Wed, 23 Dec 2020 10:41:19 -0500 Received: from mail-mw2nam12on2073.outbound.protection.outlook.com ([40.107.244.73]:3743 "EHLO NAM12-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728987AbgLWPlS (ORCPT ); Wed, 23 Dec 2020 10:41:18 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=It1vcXUwlVJmsOQFMELfVB4MVcPV806DrEcggpEpTYPBRatPGgiD648a0L4tv15O5PCn+8csEClwJSsrLm9C6X2Kruw35672VYYfVTWMF4LY87R3matPdNAVjGlMPCEHZgHVTgvHnRvkzOP/jC+s3Sme5m4DhOv0pmDBMURzZ0eLyrqlJ2ZuMh07aY0z/Hlp8I/rBHULsgDNVspDvLNUZ/dS+E5mVBFGODlEA3IwKsVnUrnmWcVq6a0iJh81XULU6ibLJ509ZuvCfYse5iOz5Xp0OOo3jF7+4Nz2yuv17+jWkBl/hXWrsUnK2saG0D1zFSEBoIIZYqVtiJ24bvfYGw== 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=pWX8mQ0DDWqlFWPCuqFYYmRcolwxsRRG4ddQkA96Rec=; b=FdqK2htX+hbGe8SMPk1ljXIoyGWWAjjDoY3loWMEff4QFhtmQ8gCnT2JuJeJl8cdm9skvhmQiEjQZroBcwBFDYfcll8S/r9+bAf1LrSBrcu4U2SU3ZyNKF3RMQFxSAMJPdL1ruvTKcrKd/u5z7pNWvrMzflYe6qeAWCBEBrCKVJK8vRaZRgnAncdYOd98rxkj//gNgQWwMXNyqijq3QY+K8j3Y90qNtNsNSjyrpGTYF9jzvIJzK25ZbsVQYrNEpcaFuL1K8+oON6Pnti5u1PCmNIeDRksgR4Oc/f37yNLradNh3GJ+E2NdeVKjtHAcmSEytWYfZrW/sOjsFLOVy89A== 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=pWX8mQ0DDWqlFWPCuqFYYmRcolwxsRRG4ddQkA96Rec=; b=akHMVElWHAs8TtSe/kEIKOnr3A7AdgAnOZ2Cj2sW73AtKnw9oPeFDsI5mE7/nap3bivVr79vmvNMqE3fSDaYgaydYwrQNGqnMBbTagq5oJp2Htca969o78++iHFN8n9chJo2AighapcDXUBzjd+XXYKiKu5k3g0pvnxRkjAuk00= 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 SN6PR11MB2815.namprd11.prod.outlook.com (2603:10b6:805:62::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.25; Wed, 23 Dec 2020 15:39:50 +0000 Received: from SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::a989:f850:6736:97ca]) by SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::a989:f850:6736:97ca%5]) with mapi id 15.20.3700.026; Wed, 23 Dec 2020 15:39:49 +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 v4 03/24] wfx: add Makefile/Kconfig Date: Wed, 23 Dec 2020 16:39:04 +0100 Message-Id: <20201223153925.73742-4-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201223153925.73742-1-Jerome.Pouiller@silabs.com> References: <20201223153925.73742-1-Jerome.Pouiller@silabs.com> X-Originating-IP: [82.67.86.106] X-ClientProxiedBy: SA0PR12CA0024.namprd12.prod.outlook.com (2603:10b6:806:6f::29) 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 (82.67.86.106) by SA0PR12CA0024.namprd12.prod.outlook.com (2603:10b6:806:6f::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.27 via Frontend Transport; Wed, 23 Dec 2020 15:39:47 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f7566b0b-3c26-4d24-ff53-08d8a758fc01 X-MS-TrafficTypeDiagnostic: SN6PR11MB2815: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pszfXfGRBvPMFm9f4ZOIzkvFsMxc+b6fKsfN2y+kV726HZO2G1B7+XNrPmW5/wKGi84759MPYftgt5iNhJedT+WALGsgDgzkF6xPomcmnuE7NqDo3vmPbPt5EBhg0QTAL0F4ccFw+foRCt1cvQDrL+p4l33nbZKuLxMQHKXtHic9J1fTk8vx2McpfvM41DtCzi/4zBevS7wBHYjy/8vSG+6XbF25GtuqvhSlZSQpEXdjQRIcpMtc+m04RE7P9LOKgz58FOmZY2gUElI5ebJfVoeDRsQ9PFLPJIX0fBP1fpoiPBkNyJvkgAmJGtJja4hNPXXM207qCKwZs5ad0ba7hn3dQQpQ//PKCK6/d+07ONT7eeAJoGQQEEME9Rrfx9I3QR26AkddbZdOZES1sEn9rw== 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:(396003)(136003)(366004)(376002)(39850400004)(346002)(66574015)(478600001)(8676002)(186003)(2906002)(8936002)(26005)(52116002)(107886003)(16526019)(7696005)(66946007)(7416002)(6486002)(956004)(2616005)(54906003)(66476007)(316002)(4326008)(6666004)(36756003)(5660300002)(1076003)(86362001)(66556008); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?q?X1Ae/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A4hyGWp2RQDDBcHueyPQsedlXxS1aOn?= =?utf-8?q?zwYQBoKSOddvjrtQQBgyptayeSVkULB4nFTlsmPyD7ch8n8P+tdlBqms?= =?utf-8?q?8zf45X4EgbYhaWgFJmGF1jxY802rQYmClMsQgPYVgBR++?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2020 15:39:49.8975 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-Network-Message-Id: f7566b0b-3c26-4d24-ff53-08d8a758fc01 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: JlZYGdumzQwLcmrkiZsuBwKBYjbJ6oZTT/hb6quZ8HPkPPIhkc4j2ng3QxX/rvdTknjQoDnrGn+XqFXEA8B0Ig== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2815 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/Kconfig | 12 +++++++++++ drivers/net/wireless/silabs/wfx/Makefile | 26 ++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/Kconfig create mode 100644 drivers/net/wireless/silabs/wfx/Makefile diff --git a/drivers/net/wireless/silabs/wfx/Kconfig b/drivers/net/wireless/silabs/wfx/Kconfig new file mode 100644 index 000000000000..3be4b1e735e1 --- /dev/null +++ b/drivers/net/wireless/silabs/wfx/Kconfig @@ -0,0 +1,12 @@ +config WFX + tristate "Silicon Labs wireless chips WF200 and further" + depends on MAC80211 + depends on MMC || !MMC # do not allow WFX=y if MMC=m + depends on (SPI || MMC) + help + This is a driver for Silicons Labs WFxxx series (WF200 and further) + chipsets. This chip can be found on SPI or SDIO buses. + + Silabs does not use a reliable SDIO vendor ID. So, to avoid conflicts, + the driver won't probe the device if it is not also declared in the + Device Tree. diff --git a/drivers/net/wireless/silabs/wfx/Makefile b/drivers/net/wireless/silabs/wfx/Makefile new file mode 100644 index 000000000000..f399962c8619 --- /dev/null +++ b/drivers/net/wireless/silabs/wfx/Makefile @@ -0,0 +1,26 @@ +# SPDX-License-Identifier: GPL-2.0 + +# Necessary for CREATE_TRACE_POINTS +CFLAGS_debug.o = -I$(src) + +wfx-y := \ + bh.o \ + hwio.o \ + fwio.o \ + hif_tx_mib.o \ + hif_tx.o \ + hif_rx.o \ + queue.o \ + data_tx.o \ + data_rx.o \ + scan.o \ + sta.o \ + key.o \ + main.o \ + sta.o \ + debug.o +wfx-$(CONFIG_SPI) += bus_spi.o +# When CONFIG_MMC == m, append to 'wfx-y' (and not to 'wfx-m') +wfx-$(subst m,y,$(CONFIG_MMC)) += bus_sdio.o + +obj-$(CONFIG_WFX) += wfx.o