Message ID | 20231125-topic-rb1_feat-v2-12-979b28f35e4a@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3223053vqx; Mon, 27 Nov 2023 07:38:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IExgpzSNVJUcOlfteyDKOQdsvjr4uWC75rhUprL6jy5q1oSY/HxH6TtEBVNSraKHK+mJAwN X-Received: by 2002:a05:6808:190c:b0:3b8:5bee:6ba4 with SMTP id bf12-20020a056808190c00b003b85bee6ba4mr10812235oib.5.1701099500473; Mon, 27 Nov 2023 07:38:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701099500; cv=none; d=google.com; s=arc-20160816; b=ptbh1KAAdMTwSVA47qS7vpBSfzJZk7H+WEKPC8vDrMvdHTfMZJPjqeNBUYTfi29gJP mjlk1sQT9jzUdAZXsrB04tydzYX5iJSU5RKSpG9g08S3sbSzfFgxwoBSkmg5A0F0w5cJ bZoRW9QyynHSo7zXF1Qot4sxvDbk1cGHo50gJSaEoO+RKmEkZMKDVk6/OX6sWFlBjYQr z6MXDoRKEBFPC5F19bIjedXpwwR/eGpmZlQ/8lRE7VKed/bDFrOdjT2uRLhxxfh25Re1 sFQ8mGL5aFRSuj0nuJDjWd1iTuCpKS55dJEtbe133GkgkCCRo0Mpqj33kzCvoc49HQuq 3xHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=6AuHxZr8x/Uk1Y12/gMeKhnjQeN0t/qZ6GCe7PtBack=; fh=9kk1b97t5E1IrS441vwb7g0C8HqHeoqsAYjLwfbyq0A=; b=FDvs7uRNnWxv8BmZNJDeSJZt4Dmkw4iux7/jpMYa4hlC0y8pOSPIeKzn8LXVUNQ76Q 8PP681GXoYNAuphhnpdzliUdu6Y0xljAYRcswEwj8vQAu7s1HgwhBbU1j8c99DD1EE6j ZoFrZUqlMES8VBvAZQNmVnAvAO+8GP0cdfscosmHyJrhL7rktAJn2dXYcajQjiELh3AL DQOVff961K11UcaCIj9ZbpoVNrjCdVyzr7UGsCAWhNLdnokZEZU04WHCwKGRGyeWL7Nd A/8KbxJYXclUcWPKGBF4kto5XM0n74NPAmP+5E7z4n6UWGfOJpnnh4b+huOSVEXsHs76 FeGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n9UejEQ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id s23-20020a63e817000000b005b8f45e32c8si9355440pgh.776.2023.11.27.07.38.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 07:38:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n9UejEQ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 0C8B0809583A; Mon, 27 Nov 2023 07:38:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233810AbjK0PiG (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Mon, 27 Nov 2023 10:38:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233908AbjK0PiF (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 27 Nov 2023 10:38:05 -0500 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66BCC10D7 for <linux-kernel@vger.kernel.org>; Mon, 27 Nov 2023 07:29:33 -0800 (PST) Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-54afd43c83cso4020024a12.0 for <linux-kernel@vger.kernel.org>; Mon, 27 Nov 2023 07:29:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701098972; x=1701703772; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=6AuHxZr8x/Uk1Y12/gMeKhnjQeN0t/qZ6GCe7PtBack=; b=n9UejEQ12RcJS6EOwUkVD9IE4V2/Ax/KY/sFWYINrIEji+JRelZdBxGAAhKGQXljGU PpnwzX61v4UBxNQ7uaBVThcSBg55ZPlykvhrHVc42D/c95ipz0Dn5Fuc6UExFeMfBHQi 71bdxk9tFBNPlzRTEf+Tz8CbHfb+A16OcM0p3sH7avK81LGmoL8MtpYUoQegoP+Km1RU T8YL139Si74MOTjwU3JyAGAA6wGFRWJSMj12NJFjElOCwqOFmLfx53B00I4QrHKzF589 sou1WIkASZhK3lrd8iCWKWJHNxDjAAClZyQuaUqSwYl3ZOKJdSlwixjGipNlTGYh1OK/ Bc5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701098972; x=1701703772; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6AuHxZr8x/Uk1Y12/gMeKhnjQeN0t/qZ6GCe7PtBack=; b=b/ribxORg2Y28mJz1myIV8CkAyxwF8LbXxMvZy9Ds9jbYikBuy8bS0GvKvuxX+3Cb4 RvFJBPfq/BGATzsA1qLOqHNe94iOY43F7q6GO4ELZVQfxWb0jPuY9Kx30QHoPfAkJXhy DvLfg40UL6PwvvLS6CXama7ECdvT1/tHAGj0tKbO3yvQ4xHWFM4PiNWwP6opLtYCTopb ebHoEzlsiAUaxczLbYkeqAyyXpMw3qCmp+vNzh+BRdJBRwGblU+BdwR+xxwn5pwMMdx0 csywmxyAqtfQ1PxJVOHnBs5GXGbGkurv3mfdbSJV/7rEDnJqkMlYc99tVDGjtXqN8OuO suFQ== X-Gm-Message-State: AOJu0YznAc2X+5bx1DATW1kH2/wDCYutDR6Pmej/+VDwsSwQW0E563zj kLolRvDAvZnlacJwLPZ7o8ViTQ== X-Received: by 2002:a50:bb63:0:b0:548:55f0:b5f2 with SMTP id y90-20020a50bb63000000b0054855f0b5f2mr8631879ede.6.1701098971847; Mon, 27 Nov 2023 07:29:31 -0800 (PST) Received: from [10.167.154.1] (178235187180.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.180]) by smtp.gmail.com with ESMTPSA id e7-20020a056402104700b00542db304680sm5321002edu.63.2023.11.27.07.29.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 07:29:31 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Mon, 27 Nov 2023 16:28:52 +0100 Subject: [PATCH v2 12/12] arm64: dts: qcom: qrb2210-rb1: add wifi variant property MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231125-topic-rb1_feat-v2-12-979b28f35e4a@linaro.org> References: <20231125-topic-rb1_feat-v2-0-979b28f35e4a@linaro.org> In-Reply-To: <20231125-topic-rb1_feat-v2-0-979b28f35e4a@linaro.org> To: Rob Clark <robdclark@gmail.com>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Sean Paul <sean@poorly.run>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Loic Poulain <loic.poulain@linaro.org>, Bryan O'Donoghue <bryan.odonoghue@linaro.org>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Georgi Djakov <djakov@kernel.org>, Will Deacon <will@kernel.org>, Robin Murphy <robin.murphy@arm.com>, Joerg Roedel <joro@8bytes.org>, Krishna Manikandan <quic_mkrishn@quicinc.com>, Robert Marko <robimarko@gmail.com>, Das Srinagesh <quic_gurus@quicinc.com>, cros-qcom-dts-watchers@chromium.org Cc: Marijn Suijten <marijn.suijten@somainline.org>, Rob Herring <robh@kernel.org>, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1701098925; l=1845; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=F+2+KPEjbmpD3TQ3tmcuJpeM3OLd440fgCNNO64cW48=; b=bLy6ijre+9R3R+FKK/1GG7JMsEi9kVICNx6m8/ep2irrVHKiERIRYGcphHFdybjbbOBmXg5y7 ne+m1DehqnJCCueb5BUTJg2eKDJXfBoj0gZYp5ymD7+HN2P2QtRbnl4 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 27 Nov 2023 07:38:15 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783732109552048298 X-GMAIL-MSGID: 1783732109552048298 |
Series |
RB1/QCM2290 features
|
|
Commit Message
Konrad Dybcio
Nov. 27, 2023, 3:28 p.m. UTC
From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> The RB1 platform doesn't have board-specific board-id programmed, it uses generic 0xff. Thus add the property with the 'variant' of the calibration data. Note: the driver will check for the calibration data for the following IDs, so existing board-2.bin files will continue to work. - 'bus=snoc,qmi-board-id=ff,qmi-chip-id=120,variant=Thundercomm_RB1' - 'bus=snoc,qmi-board-id=ff,qmi-chip-id=120' - 'bus=snoc,qmi-board-id=ff' For the reference, the board is identified by the driver in the following way: ath10k_snoc c800000.wifi: qmi chip_id 0x120 chip_family 0x4007 board_id 0xff soc_id 0x40670000 ath10k_snoc c800000.wifi: qmi fw_version 0x337302d3 fw_build_timestamp 2023-01-06 01:50 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.3.3.7.c2-00723-QCAHLSWMTPLZ-1 ath10k_snoc c800000.wifi: wcn3990 hw1.0 target 0x00000008 chip_id 0x00000000 sub 0000:0000 ath10k_snoc c800000.wifi: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0 ath10k_snoc c800000.wifi: firmware ver api 5 features wowlan,mgmt-tx-by-reference,non-bmi crc32 b3d4b790 ath10k_snoc c800000.wifi: htt-ver 3.114 wmi-op 4 htt-op 3 cal file max-sta 32 raw 0 hwcrypto 1 Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> --- arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 1 + 1 file changed, 1 insertion(+)
Comments
On 27/11/2023 17:28, Konrad Dybcio wrote: > From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > > The RB1 platform doesn't have board-specific board-id programmed, it uses > generic 0xff. Thus add the property with the 'variant' of the > calibration data. > > Note: the driver will check for the calibration data for the following > IDs, so existing board-2.bin files will continue to work. > > - 'bus=snoc,qmi-board-id=ff,qmi-chip-id=120,variant=Thundercomm_RB1' > - 'bus=snoc,qmi-board-id=ff,qmi-chip-id=120' > - 'bus=snoc,qmi-board-id=ff' > > For the reference, the board is identified by the driver in the > following way: > > ath10k_snoc c800000.wifi: qmi chip_id 0x120 chip_family 0x4007 board_id 0xff soc_id 0x40670000 > ath10k_snoc c800000.wifi: qmi fw_version 0x337302d3 fw_build_timestamp 2023-01-06 01:50 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.3.3.7.c2-00723-QCAHLSWMTPLZ-1 > ath10k_snoc c800000.wifi: wcn3990 hw1.0 target 0x00000008 chip_id 0x00000000 sub 0000:0000 > ath10k_snoc c800000.wifi: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0 > ath10k_snoc c800000.wifi: firmware ver api 5 features wowlan,mgmt-tx-by-reference,non-bmi crc32 b3d4b790 > ath10k_snoc c800000.wifi: htt-ver 3.114 wmi-op 4 htt-op 3 cal file max-sta 32 raw 0 hwcrypto 1 > > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> As you are resending this patch, you should add your S-o-b. > --- > arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts > index ac597eb3fe9d..bd7bcf803654 100644 > --- a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts > +++ b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts > @@ -535,6 +535,7 @@ &wifi { > vdd-1.8-xo-supply = <&pm2250_l13>; > vdd-1.3-rfa-supply = <&pm2250_l10>; > vdd-3.3-ch0-supply = <&pm2250_l22>; > + qcom,ath10k-calibration-variant = "Thundercomm_RB1"; > status = "okay"; > }; > >
diff --git a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts index ac597eb3fe9d..bd7bcf803654 100644 --- a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts +++ b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts @@ -535,6 +535,7 @@ &wifi { vdd-1.8-xo-supply = <&pm2250_l13>; vdd-1.3-rfa-supply = <&pm2250_l10>; vdd-3.3-ch0-supply = <&pm2250_l22>; + qcom,ath10k-calibration-variant = "Thundercomm_RB1"; status = "okay"; };