Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp883836rdb; Tue, 23 Jan 2024 19:47:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IHG7o7qi9Hr3PvmF+mfkLpULEKu3u0+0+iHP2NN908vgwzlto73nlF1GycnjalxmzG8UdN3 X-Received: by 2002:a05:6a20:c906:b0:19a:e25b:69e1 with SMTP id gx6-20020a056a20c90600b0019ae25b69e1mr368741pzb.17.1706068066163; Tue, 23 Jan 2024 19:47:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706068066; cv=pass; d=google.com; s=arc-20160816; b=D1cR90n5Ft3acnikuInLh0W22z9Lx0W4MzI90Lz4wEg1T0PpRn0eBRSQtmjUp8oyWj K0ozM8M2KugMumo6dgF5vvwm0+OV7KOhVLfyyzUE4i8hUIpOoqWuonUmmUvGIAZjWTZo 4NkeF+S1Wake/7AUJARLFDuqOodde428GPpcZWMjenkHmGdjhH01cxkfYiu7C/VakZds rzUZtfwgnopzk0bzE4pAUa+pK8cPO7gzTfa8m4/iygqeUGlps1KjXvQCt6DtavDko3na tR9Gdu/iB4kzqutegkxs9y7D30az5yaPnWLF+hrNmtLp615hHg5IROTE9bIqNXZaYf0V RL3g== 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; bh=nrXE8ogIEkWqRRN8uHom6diEyq2hMNaNgdxsPVFuVOA=; fh=119R0DZRwIns1LRpqAK2A6izyPVjL4TEe6VydCwW0T8=; b=aW6dY8NZADYGHpzYXmJ4qGvBj2wlWf32m5CIuhBPiK5SUCVYZBeLZi9BEISBlw6Roa ZCcpbC/XwynmhTd4z574W3moBgLRpIqBLcwp2RkXxGT5VESCTEQnLapBPhnnIPY3WzM2 BIBsm1lBNoya6XrH68Hyg6UPkvIIKV5Zi7Z12gEa0SrZXY6OEVgy9W/RVQ+oRhxYFHXw rMvp2bgTqVmrAxTMEDni7uIhwVoKAFzwXR4taLJNh/qaRxp9Y7qZ0owcTXBwBKYnZ1y0 udji/7zrhvTQ+ztgm0GCHNNcYRbvx0OmLY+F87E8nCx90UQii9PU25QP7yPTvXJHEejO 0q+g== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-2433-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2433-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id r15-20020a632b0f000000b005cdfd1b40dasi10876101pgr.816.2024.01.23.19.47.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 19:47:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2433-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-2433-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2433-linux.lists.archive=gmail.com@vger.kernel.org" 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 54C762951D2 for ; Wed, 24 Jan 2024 03:38:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D1E511381; Wed, 24 Jan 2024 03:38:39 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2D4F68F72 for ; Wed, 24 Jan 2024 03:38:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706067519; cv=none; b=Qv2jDgcvwg5fr36+El7uqePFJ5s40rka48l14WcT2ORGeWhrIu6Ojoy8kTjRS2uOHAQ3wbcaSstOlWikz5g5qnQjItlAbUZ2WS03DYljoq5fcMLhA/V2cMBdMDOTGFQbmlmHCDzxBi+bs36mpwOdSq/ZOwpvmNKmcYBlBuHp/tw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706067519; c=relaxed/simple; bh=XVrRXlLFJVJtNCCIjZBrAh3Y5tNCIjqpzsrxzZoFwgA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WpRaLiX2q2xf9zhjMBZxVyPunCtlnkHHM4SOc9bVSjspZ4qvsvn7ksiO5wLrfgfQ9vLP9IBxhMHK0d+HIYt3C0A4dtI/1BHngasJNNsb7cPf5hv+JwJuNkfJwVlyp+b+qpSxLajNIXVBZaGniTcMBX1U5Aio0mocckNB+Jzi4kw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 40O3cWmW5724228, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 40O3cWmW5724228 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 24 Jan 2024 11:38:32 +0800 Received: from RTEXDAG02.realtek.com.tw (172.21.6.101) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Wed, 24 Jan 2024 11:38:32 +0800 Received: from [127.0.1.1] (172.21.69.94) by RTEXDAG02.realtek.com.tw (172.21.6.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Wed, 24 Jan 2024 11:38:32 +0800 From: Ping-Ke Shih To: CC: Subject: [PATCH 6/6] wifi: rtw89: 8922a: set chip_ops FEM and GPIO to NULL Date: Wed, 24 Jan 2024 11:38:13 +0800 Message-ID: <20240124033813.12562-1-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240124033637.12330-1-pkshih@realtek.com> References: <20240124033637.12330-1-pkshih@realtek.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-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXDAG02.realtek.com.tw (172.21.6.101) X-KSE-ServerInfo: RTEXDAG02.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback The chip_ops::fem_setup is to get if a hardware module type contains PA and LNA that will affect how RF calibrations do. The chip_ops::rfe_gpio is to set GPIO PIN MUX according to hardware module type too. 8922A doesn't have these special module types yet, so leave them as NULL. Signed-off-by: Ping-Ke Shih --- drivers/net/wireless/realtek/rtw89/rtw8922a.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/realtek/rtw89/rtw8922a.c b/drivers/net/wireless/realtek/rtw89/rtw8922a.c index 6de3c0f8d83a..aefad3f2e612 100644 --- a/drivers/net/wireless/realtek/rtw89/rtw8922a.c +++ b/drivers/net/wireless/realtek/rtw89/rtw8922a.c @@ -1620,6 +1620,8 @@ static const struct rtw89_chip_ops rtw8922a_chip_ops = { .set_channel = rtw8922a_set_channel, .read_efuse = rtw8922a_read_efuse, .read_phycap = rtw8922a_read_phycap, + .fem_setup = NULL, + .rfe_gpio = NULL, .power_trim = rtw8922a_power_trim, .set_txpwr = rtw8922a_set_txpwr, .set_txpwr_ctrl = rtw8922a_set_txpwr_ctrl, -- 2.25.1