Received: by 2002:ab2:68c1:0:b0:1fd:9a81:d0e4 with SMTP id e1csp631716lqp; Sun, 9 Jun 2024 11:46:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXCrqcD4EAhAyx7EbpywDVILvR7mUWY7aeXqgewpc1ibB4S8S0rcu5gPzQujZBju1pLHq82xyRl/YklW/0uCygZsvlTFKWofsjs7K83mw== X-Google-Smtp-Source: AGHT+IFLbAoMAtl1tDv+kh5zhVsh7ZR7olySNejPyNT2HMSYoBiUW7njun1EU1RHW26DMjLmp4+e X-Received: by 2002:a05:6a20:7288:b0:1b5:d00e:98e3 with SMTP id adf61e73a8af0-1b5d00e9b77mr2779704637.11.1717958797749; Sun, 09 Jun 2024 11:46:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717958797; cv=pass; d=google.com; s=arc-20160816; b=YEqrh0rs1gDduYLL75crnJjuklWLmEyIweNhEBil7tcjOm6omsbO9kXgcMJPVdiPNa ruVsniVPNJPqoDlSsnMg8B7F6e0fAqgRX58+LMZnOs6HHVG9M32yrOj2Y4lvre9qnfDY 4PhKJ23IngNhCICR7aEQfcKyZ5Sv6OAtDvszbLur1ThjiC5wkHU9akREMI6kJo4gYYZ9 nUga8el5l3bUiG3WrujwPv+BIq3BO4ikGI6iM9mOVOIy4gUyWSuzYTMp7412Z1a/taXI W+p9L3/Xqw3U6Wq5NWY6UT9NbZTg4uV+1zYgoUO1NeCkoSHUBj5M5dWMG/Q1H3+P1bMj 8vBw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=InTJKlyp+itq7Bv0Xtt9P8tR0I50sqpUNLEMeR7dXDU=; fh=JHJVNrTWTEYl60imetPu7nznRrru2uSV/y1JimK7NGc=; b=1GVNQD0XlhrPV2FZp4zpuRkfuZRnatsQK1uH1zN6NM84QsgPTxHvTE/zORRhxFF5oE UdpLD2sINuCgRXzMVmh5mm93ad+8U41MaXhCSzkrg/nCEs2rVdamVIs60rcK0zP56gcN /X4FvlTp7yAb5jsNV76OAAePm7iqlW9sSpCXzKsfPjMaLedc+pjScS5HtC0eDTda0PZM gIyl73zByJX03KkGJtnSNYfx9ePpubIWShgYv3u4PhfxC8dwXKjWIsNOc4NVPhVMJ9zD drYxGA2/MxsTKkrZklvn48Fht1o//Rkt6Qyh3e4WJEFjml2wOGfH4XyIMkOAyODoBlUK P2gQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JuV+GcOk; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-wireless+bounces-8732-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8732-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c2d0ff2403si3659844a91.124.2024.06.09.11.46.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 11:46:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8732-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JuV+GcOk; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-wireless+bounces-8732-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8732-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 7A93B284A62 for ; Sun, 9 Jun 2024 18:26:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 315727C6D4; Sun, 9 Jun 2024 18:23:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="JuV+GcOk" X-Original-To: linux-wireless@vger.kernel.org Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1DE177119; Sun, 9 Jun 2024 18:23:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717957383; cv=none; b=HQos14JwIQTANUJvah9Wt4HRuW3BrTNOnWWA3YJSVZxGsIYGgt77PknZDu4ILCw9VKnsl/pbVgv60/qh1jrORxdjWr7IXwUHtzBz0Wat45hJNSMy89/1pTExQyJkRp4w8Rmaos8UUMceGlFkeKEB1h3fnAYO4m1UbSjiEUrxeio= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717957383; c=relaxed/simple; bh=LUbU/n1NgxZ9o/jU5VEawfYCrXStZSvnsTlPEXFfBns=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ky1EPtBuEHSOUK3k8KuNJrGI8zmUj3+b+QZjC/jvSiGr6LQNmT3t9x1WsDUNUWKXMzUZ3rwDdDV2uoR/rg4jDz2GfGcgYI9otJ/eCRptyiWkqDp+I6dWELwueQodjAJczoVZjw4yvZ2paTlkr+o9u7Ftx2Se2X55X8ydCU4+5Mo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=JuV+GcOk; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 459IMsKs075169; Sun, 9 Jun 2024 13:22:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1717957374; bh=InTJKlyp+itq7Bv0Xtt9P8tR0I50sqpUNLEMeR7dXDU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=JuV+GcOkQluj7XZH9rYVK9ZfG1a/q0Vl8sHO2sxNWAcixCSdyQ1DWhFglqEYgeyeI tf1/J8nhwI3l3w56wSVF4VzSZxVuZZLCRYRUxPY1e7u4meMDOggUSCVwwpUyC1B0Ny G57QBLl0rCmamBE29zrzQnEWu4jE+k2AwiaZuDhQ= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 459IMsCm058855 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 9 Jun 2024 13:22:54 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sun, 9 Jun 2024 13:22:54 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Sun, 9 Jun 2024 13:22:54 -0500 Received: from localhost (uda0389739.dhcp.ti.com [137.167.1.114]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 459IMr0t034788; Sun, 9 Jun 2024 13:22:53 -0500 From: To: Sabeeh Khan , Kalle Valo , Johannes Berg , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , , Michael Nemanov Subject: [PATCH v2 16/17] wifi: cc33xx: Add Kconfig, Makefile Integrate cc33xx into wireless/ti folder Date: Sun, 9 Jun 2024 21:21:01 +0300 Message-ID: <20240609182102.2950457-17-michael.nemanov@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240609182102.2950457-1-michael.nemanov@ti.com> References: <20240609182102.2950457-1-michael.nemanov@ti.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 From: Michael Nemanov --- drivers/net/wireless/ti/Kconfig | 1 + drivers/net/wireless/ti/Makefile | 1 + drivers/net/wireless/ti/cc33xx/Kconfig | 24 ++++++++++++++++++++++++ drivers/net/wireless/ti/cc33xx/Makefile | 10 ++++++++++ 4 files changed, 36 insertions(+) create mode 100644 drivers/net/wireless/ti/cc33xx/Kconfig create mode 100644 drivers/net/wireless/ti/cc33xx/Makefile diff --git a/drivers/net/wireless/ti/Kconfig b/drivers/net/wireless/ti/Kconfig index 3fcd9e395f72..fa7214d6018c 100644 --- a/drivers/net/wireless/ti/Kconfig +++ b/drivers/net/wireless/ti/Kconfig @@ -14,6 +14,7 @@ if WLAN_VENDOR_TI source "drivers/net/wireless/ti/wl1251/Kconfig" source "drivers/net/wireless/ti/wl12xx/Kconfig" source "drivers/net/wireless/ti/wl18xx/Kconfig" +source "drivers/net/wireless/ti/cc33xx/Kconfig" # keep last for automatic dependencies source "drivers/net/wireless/ti/wlcore/Kconfig" diff --git a/drivers/net/wireless/ti/Makefile b/drivers/net/wireless/ti/Makefile index 05ee016594f8..9e028a91ec30 100644 --- a/drivers/net/wireless/ti/Makefile +++ b/drivers/net/wireless/ti/Makefile @@ -3,3 +3,4 @@ obj-$(CONFIG_WLCORE) += wlcore/ obj-$(CONFIG_WL12XX) += wl12xx/ obj-$(CONFIG_WL1251) += wl1251/ obj-$(CONFIG_WL18XX) += wl18xx/ +obj-$(CONFIG_CC33XX) += cc33xx/ \ No newline at end of file diff --git a/drivers/net/wireless/ti/cc33xx/Kconfig b/drivers/net/wireless/ti/cc33xx/Kconfig new file mode 100644 index 000000000000..0c3ff97dacc7 --- /dev/null +++ b/drivers/net/wireless/ti/cc33xx/Kconfig @@ -0,0 +1,24 @@ +# SPDX-License-Identifier: GPL-2.0-only +config CC33XX + tristate "TI CC33XX support" + depends on MAC80211 + select FW_LOADER + help + This module contains the main code for TI CC33XX WLAN chips. It abstracts + hardware-specific differences among different chipset families. + Each chipset family needs to implement its own lower-level module + that will depend on this module for the common code. + + If you choose to build a module, it will be called cc33xx. Say N if + unsure. + +config CC33XX_SDIO + tristate "TI CC33XX SDIO support" + depends on CC33XX && MMC + help + This module adds support for the SDIO interface of adapters using + TI CC33XX WLAN chipsets. Select this if your platform is using + the SDIO bus. + + If you choose to build a module, it'll be called cc33xx_sdio. + Say N if unsure. diff --git a/drivers/net/wireless/ti/cc33xx/Makefile b/drivers/net/wireless/ti/cc33xx/Makefile new file mode 100644 index 000000000000..6156f778edee --- /dev/null +++ b/drivers/net/wireless/ti/cc33xx/Makefile @@ -0,0 +1,10 @@ +# SPDX-License-Identifier: GPL-2.0 + +cc33xx-objs = main.o cmd.o io.o event.o tx.o rx.o ps.o acx.o \ + boot.o init.o scan.o + +cc33xx_sdio-objs = sdio.o + +cc33xx-$(CONFIG_NL80211_TESTMODE) += testmode.o +obj-$(CONFIG_CC33XX) += cc33xx.o +obj-$(CONFIG_CC33XX_SDIO) += cc33xx_sdio.o -- 2.25.1