From patchwork Sat Sep 7 12:51:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 826311 Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 407C814D6E1 for ; Sat, 7 Sep 2024 12:51:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725713494; cv=none; b=DsunZg7SlHb0hcEkMiDbQIXAXvPpI4jD3H525RQ8xAbU4u9p6xHsdFOGNMEfCV2b5vAhjtOdBCec7rIqJODc9Owc9skfQobxaLK56r87BIKsCpecVyCwPMAKICAP5NFVWPLA0jq06FkvtTkblYCliHbVfwwl6XR3qs+1USOOrfY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725713494; c=relaxed/simple; bh=EDAXLCTGPPctvNYAbbxm7Me0iB8kQf85A6o3WySte44=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=A2voX3GORtzUiTuHG5y1sesDbIpW7hQ6znKBWbTv+SqmtJx9iL4IO5f20P7Tk+oOyaVsx7zuUOfj/2Sz2ltHofrFC7s1kvHH//K6nE/8XmHEyf+iQZPeMUMw6vzLNhQsAr/Lm87o4b3Pq3YbzLAs1dWgsB4qQWW0nLVAVK3z3Pc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ilUYbhCm; arc=none smtp.client-ip=209.85.167.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ilUYbhCm" Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-53661ac5ba1so144900e87.2 for ; Sat, 07 Sep 2024 05:51:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725713489; x=1726318289; 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=ovDRCBi9iSRtbdH6fDiVUosmGhlKDzrTgtDNR4gXIlI=; b=ilUYbhCmQCgTZTqfwMLj+j/vDiRbimucJ8YLzR1VEHUprkHWL5Aiy0QWOyPw9f3wkg rLGkGgBzD4tRXfBFHY4JNqqIoYE89S+ftOsYVOYN9+K/mzvDVchsQR2sP1hAc4Xuxp84 fd17sg0UoWCKigeNmWBgbUdaf0/ol66nxvE8K+mK4jekzT9YnWrXJqthJYw8wgvC98zh uzucPfy4llqJcR0mo1iI7iIrVJklbpAeksI9rcOtHCpsiKXtGFdvuy7m8RMoTckEgqp0 m6QKiBt04tWlLWm+InHZ0n4Ps7GPkc1+3G5Mk1HnC5IwMDV1no4WUU1BJtMF34jVEWOP yPpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725713489; x=1726318289; 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=ovDRCBi9iSRtbdH6fDiVUosmGhlKDzrTgtDNR4gXIlI=; b=vwysTcl/ocSTH99bhEa2ne6u9/XdGZam0iUl1Atb5Vo+/XUkLdUZIDzcVMPwMA9Jnx +Q5jXk+yA1wYEZjB2Uzr7GNJbJfwudbLiEXdHzPay/fPhV64ExvTf5NbPXJ/lvE4R/xd 4pvihgS2/7UmyFQYlYuweY3p3mk29k/7+JXhu2cGpMr0I0ZgMcNnrG87SNLhDi5+XxlR ciUWRSTW9Ig5w0Xww0DJ69DFW6Vwdw1PwNNUR0MqVITfs54qgU3jLjTiIAZNnuYmy9j5 FKbtIhssVc2dtvCWyM/oUIkDRXL5/J2Q/OZuSfw7VX8wUamRh1JIODOSlmOZh+fYfeNb /Unw== X-Gm-Message-State: AOJu0YymTrdPGwzZFOY4OBiQuHEZfE3hnzk60IdTXccXfvruEJ/NmtdU cBDhYrx+hYVuWRo4mHZj1JqEshN0VpAbFAD6S0uL+cXHn+qFe5Qkt4n+IQi5xCsPU74j9V/rh5X X X-Google-Smtp-Source: AGHT+IFRLP6B4nwWLei4oiZ9eJVykUHiF61kCazDdU+Lymy23QexZJLmiNTHXHHfeRqcK/qMfKZiPQ== X-Received: by 2002:a05:6512:108b:b0:533:526a:cd08 with SMTP id 2adb3069b0e04-536587aadaemr3979874e87.14.1725713488509; Sat, 07 Sep 2024 05:51:28 -0700 (PDT) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5365f8cb76fsm143273e87.177.2024.09.07.05.51.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2024 05:51:28 -0700 (PDT) From: Dmitry Baryshkov Date: Sat, 07 Sep 2024 15:51:24 +0300 Subject: [PATCH 1/4] arm64: dts: qcom: qcs6390-rb3gen2: use modem.mbn for modem DSP Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240907-rb3g2-fixes-v1-1-eb9da98e9f80@linaro.org> References: <20240907-rb3g2-fixes-v1-0-eb9da98e9f80@linaro.org> In-Reply-To: <20240907-rb3g2-fixes-v1-0-eb9da98e9f80@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Komal Bajaj , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=865; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=EDAXLCTGPPctvNYAbbxm7Me0iB8kQf85A6o3WySte44=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBm3ExNSAb8ooJvGwtsasu/bAtl5E4plsGYfi9oq STuYdYhAzOJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZtxMTQAKCRCLPIo+Aiko 1RelB/4xAmEY9VpCP3yhvRhZxxAumpIxblm+ZQ3B0d1JhgGZ0FxPEfcj8b+QxSb8KOCvAcD3V27 xtPKzJRe23eFzSNHGOnpMNfn+ofRNMpq1Yp6b1lR3kNWQtWS8g74GjjUO5yAAVBEDn4aYnV2TI/ BxP2YE0PWrLdrJoIW0Pj27k4BezOIIuRv0prTJ9mflsL/ukuocv9T9lBytJXh6o7OCc1xyysngl qGJI6A7qvSF8Dm2KGWYouXrsXi/pmIFvd9vAOgOVGQzOyAIzlcSrEGmZiYP2R86CJHVRuwwX7Yh Frk1B5Ym3ZRixKENHxuZ/8Fk1sESDFVuf12qCTGEjTcaWyrG X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Newer boards should always use squashed MBN firmware instead of split MDT+bNN. Use qcom/qcs6490/modem.mbn as the firmware for the modem on RB3gen2. Fixes: ac6d35b9b74c ("arm64: dts: qcom: qcs6490-rb3gen2: Enable various remoteprocs") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts index 0d45662b8028..5d0167fbc709 100644 --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts @@ -707,7 +707,7 @@ &remoteproc_cdsp { }; &remoteproc_mpss { - firmware-name = "qcom/qcs6490/modem.mdt"; + firmware-name = "qcom/qcs6490/modem.mbn"; status = "okay"; }; From patchwork Sat Sep 7 12:51:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 826495 Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 49EA814D70E for ; Sat, 7 Sep 2024 12:51:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725713493; cv=none; b=k0bpRk5d4vO/mmnHH159vYCh9du+5Bh3CmBSy67DsINsIG42VS4EWG8cm4qumoGOKPaSqWtWy1N7phbvARIhLKYZrF89hJa1k5HwLNMBYN3H+YFwVLkAM/E98QyZX0kH8dAmmPX8pZSq2j8au2cahoL+nMssZbMM2KYLaIP+cKA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725713493; c=relaxed/simple; bh=FbPPcJdW+bGZLS3YmzaJ6IJk8UVJuYX/re+7WZkDQ/o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=TH87XNH046+ZndFdi4j0m77MHY/LmC399VHoZk/fTBRO2iQicW9EOVTjoFG3heQim1N7F4gY6VgEJMcDHItJJdkwliu5EEXlAZlfMMAL7piG1NmqH5OsMTftvoK6d5r87l6MPbbCzXtse4hhPcWF2513PE7eStcS61TKkIxJM24= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=CARVvijV; arc=none smtp.client-ip=209.85.167.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CARVvijV" Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-5365b6bd901so1466102e87.2 for ; Sat, 07 Sep 2024 05:51:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725713489; x=1726318289; 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=KDVo3MzAbIx6b8jRl8MquzPosSeypNFMkHTbgKo5XqU=; b=CARVvijVXa2dZuc5gB/SOKsdP+Ps8/kUNw2DobtfntmxcCgtrYawksyu9flxXRJiXg GmIojDTagh0IeTU/KTaPdXkZT4RFxeB+AtqVGIYZ7ckKoM3qHSGKBPjNyKPTsQld5BkE xuCim39ZO1mk0Qz0HGl90WNgzYDsMFPLQ9gJpbuLf9mSRL2eKfmWPKAHo5k/MaLoTzhF 8mG/qerwofenk5vITp56YOxq8Je0WkLUlTLLsr/I8adGyV2wXfbgsr67m7MkYa5PMn5L LlPmdgTJfQ2Ufy+2XMAaMJHzHyYezrXhcVDmpB3XTmsbTHNiTh2ztBj3TZEK97AEokUq mOow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725713489; x=1726318289; 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=KDVo3MzAbIx6b8jRl8MquzPosSeypNFMkHTbgKo5XqU=; b=tfxlSHl2CXbY/XSzgvAcoz4emS56AJyz9ayEew7hnANDnsBI25RYrKyp0bkKI36oRn /cruR7jSjvgzwswLfH26/wVjVjHuhtsw77Eou3/3DmOPkqKzkwHkthwRD5Rh5LTupC8g R6pYok+71QAsIbHbYN6JwY99rqGnzECvnC9XwUhtihIvfFlv7aK4YW0V6vu44jXJ9DG0 A4dMgUUUfUllT7mZPTfcdStMd43MEOnAKWeTHcIE8qNReIQrcMehxe9rRbTxcLSiIjpA 8AK0ZjEKzH89W0zbNRGUUBD6pZ/YgOKVJ7Pkn6V/yxavQPwCjfVgYQcY23UJnWceEBdK 3BiA== X-Gm-Message-State: AOJu0YxiaPW6UYjiSUXZA/GPNXDCf773+fxaHJQrRuBIWMN6ofMnqsq+ ZCysGDBARJBm+yK6SOPagik99BWI8bZe12O7GtvUdCgGz5cFBOvnjCSWSkxAgos= X-Google-Smtp-Source: AGHT+IHYhOhBbWnaWxKu1B6sRwgfi+J4mqtxWE2mK7NioXQgNA0fa2p5fmbAFaz24LShWrvq9RJEOA== X-Received: by 2002:a05:6512:230f:b0:530:c212:4a5a with SMTP id 2adb3069b0e04-536587b424bmr3171930e87.22.1725713489140; Sat, 07 Sep 2024 05:51:29 -0700 (PDT) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5365f8cb76fsm143273e87.177.2024.09.07.05.51.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2024 05:51:28 -0700 (PDT) From: Dmitry Baryshkov Date: Sat, 07 Sep 2024 15:51:25 +0300 Subject: [PATCH 2/4] arm64: dts: qcom: sc7280: don't enable GPU on unsupported devices Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240907-rb3g2-fixes-v1-2-eb9da98e9f80@linaro.org> References: <20240907-rb3g2-fixes-v1-0-eb9da98e9f80@linaro.org> In-Reply-To: <20240907-rb3g2-fixes-v1-0-eb9da98e9f80@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Komal Bajaj , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2587; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=FbPPcJdW+bGZLS3YmzaJ6IJk8UVJuYX/re+7WZkDQ/o=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBm3ExNHfwvG2xRSUHOPqEpZ3U0lGm9qvDVaT9Am 7z9t31HcxuJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZtxMTQAKCRCLPIo+Aiko 1WAhB/9dfSLAlTO6T6tKYBoQDsYSMcwEFFPwNVWJ8PcJ/4VMgKYxMPvpsG+aWX9tzE6uVEt3KwR Mq4yEkqFRVZYce96kQnXCCcGXdpqAhXl45WVb2DPZJZE9cpXGwz6GRbJil8k6eBOX50ZdIaorsj trf979n1HP4DV6ZSfp5s5Tt0cQYL/2Vxmk23pBt4XOwB7tXrXT1DSeBrXoZuZoDmZElxFFNuJHL IG62QaY9wXys9EeqLXR0LJqr80musX1mj7CzSmmga2K8b3c0YeC9uKLyQDNIiMMFSCZ8w8fuDwU UEUtVd7HIv+F8XITz5s/B0X5N4T0YKO/DWRCqZViAqAGYch2 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A On SC7280 and derivative platforms GPU by default requires a signed binary, a660_zap.mbn. Disable GPU by default and enable it only when the binary is actually available (QCM6490-IDP, RB3gen2). ChromeOS devices do not use TrustZone, so GPU can be enabled by default in sc7280-chrome-common.dtsi. FairPhone5 and SHIFTphone8 DTS already enable GPU (even though it wasn't required beforehand). Signed-off-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 8 ++++++++ arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 8 ++++++++ arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi | 4 ++++ arch/arm64/boot/dts/qcom/sc7280.dtsi | 2 ++ 4 files changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts index 84c45419cb8d..c4cfafb3ec15 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts @@ -499,6 +499,14 @@ vreg_bob_3p296: bob { }; }; +&gpu { + status = "okay"; +}; + +&gpu_zap_shader { + firmware-name = "qcom/qcm6490/a660_zap.mbn"; +}; + &mdss { status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts index 5d0167fbc709..00b755779608 100644 --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts @@ -557,6 +557,14 @@ &gpi_dma1 { status = "okay"; }; +&gpu { + status = "okay"; +}; + +&gpu_zap_shader { + firmware-name = "qcom/qcs6490/a660_zap.mbn"; +}; + &i2c0 { clock-frequency = <400000>; status = "okay"; diff --git a/arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi b/arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi index cecb3e89f7f7..eb5e32035d93 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi @@ -56,6 +56,10 @@ &CLUSTER_PD { domain-idle-states = <&CLUSTER_SLEEP_0>; }; +&gpu { + status = "okay"; +}; + &lpass_aon { status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 3d8410683402..fbdc9c19242c 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2823,6 +2823,8 @@ gpu: gpu@3d00000 { nvmem-cells = <&gpu_speed_bin>; nvmem-cell-names = "speed_bin"; + status = "disabled"; + gpu_zap_shader: zap-shader { memory-region = <&gpu_zap_mem>; }; From patchwork Sat Sep 7 12:51:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 826310 Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (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 96CBD15B57B for ; Sat, 7 Sep 2024 12:51:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725713495; cv=none; b=q90NVfDQq8aLaxtPQzyoMsMXutneML0rmXYSudS8DNd5xWtQOmUGWw2lJJtXCF6426hlyYkL/bKOiiat03flxa2ejVKS0yQKdEg6nV1RDofMZf8/EgPX+Rvk/Jq/4xXt78m+rvwvzdwqT2pUXOC6IpqkYqBEq3Sl7ttYXVX7PkI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725713495; c=relaxed/simple; bh=mlgAAn6y1IVA0pzyPONzxQeJLkN87dF7Z/QWTl5Bx/I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qEnDbxQz0ayZ0iXwqI5fuuClcOdaM3hqUViacWssCeu+pBzuPANov43+WleXiWYW4qDibj9kiRXmw1rkplIamCzrMAn96J7oALxrugmktUT0Mf6Eil49SiN+wkcArsuAO251UCsGo9ZSO8GNUJtDMeoCoF4lWaNFfFB/jbUm5go= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=uNKYK3nv; arc=none smtp.client-ip=209.85.167.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="uNKYK3nv" Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-5365b6bd901so1466116e87.2 for ; Sat, 07 Sep 2024 05:51:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725713491; x=1726318291; 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=ry35yCJ463+zD4OGlWWPKJGpjaBwBkhPM2x5J37i0CE=; b=uNKYK3nv1Q6V2rf8j7veAp/0f6/fVpvPAR5NmEn1aDgnzDndL0PW7jvFPnnzimlfSS dB5ONRRHW+fus2kSj1CbsFq1vKxK0Mgs3WKegpF3fMFWDClk/cyqfTWLiSSzHkFCusMA +5OpgbIz18or6/lxlwEWXy+wcwUbpgck2RPunbnekJmLZFT10O1QmGdLwC0xkQG0kGrh qLy3OUXZJqZnjwAd5srWJprPMNQcl2GKZoouOTFPTCfqOe7i4IdH1mTKeclo/uwA/xu0 3L240WmmXaXxX1U2dkdvpSpb6fcothMDurserWfLY3yI9EdNR4ugb21wURPKcbQ+GWGu 0juA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725713491; x=1726318291; 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=ry35yCJ463+zD4OGlWWPKJGpjaBwBkhPM2x5J37i0CE=; b=qS5mtUpsnakK4yKDqfpdfqKl8csFHsqbYY09Pr6yjUdxxDsqFlvkqyU1rieMPlbpRh qORUP+xy9l6WSm58OdgPCMJ/4iNL8rIa61ocx/FCf7tUYpIkwVpcYfQBVe/n7LnbrPIW yihtwZc7l178lAe/4KQoho71XdulCE6nn+/xwnCSVMRa3q3yT4QZ8J9mmEAyYObDRW5i 8Vd6EDktuWVOrKQdzatk/MJeqw0sopAR81rxnf/zg947MFsfKkgKBodQE+x5FVDYgjtE v2ZeF5cg/URKy7SczQmH1uSBMps6XuihfVALWH4tX99H6BOkkOEtAFMp6Nww2+euu/nL G9rw== X-Gm-Message-State: AOJu0YwEgEbqtZiQwona91NCgmnH8KtdaOMXNFXDxjxSHsNE7GO6NBGh MMdUtaLmUfNhfGNwlZGlY6V9PHvvRd9R8BfShbs23/7I529VO7U4xpwqKvGNtH0= X-Google-Smtp-Source: AGHT+IEOYXbGoGUO5kEmH5otBnf+rwik5L5cVUNcm0tfDqQeLLbqt7pwNbM7kCgryALND2b51rr12Q== X-Received: by 2002:a05:6512:2c0e:b0:535:63a3:c7d1 with SMTP id 2adb3069b0e04-53658808338mr2826012e87.48.1725713489995; Sat, 07 Sep 2024 05:51:29 -0700 (PDT) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5365f8cb76fsm143273e87.177.2024.09.07.05.51.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2024 05:51:29 -0700 (PDT) From: Dmitry Baryshkov Date: Sat, 07 Sep 2024 15:51:26 +0300 Subject: [PATCH 3/4] arm64: dts: qcom: qcm6490-idp: enable WiFi Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240907-rb3g2-fixes-v1-3-eb9da98e9f80@linaro.org> References: <20240907-rb3g2-fixes-v1-0-eb9da98e9f80@linaro.org> In-Reply-To: <20240907-rb3g2-fixes-v1-0-eb9da98e9f80@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Komal Bajaj , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ath11k@lists.infradead.org, Kalle Valo X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=741; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=mlgAAn6y1IVA0pzyPONzxQeJLkN87dF7Z/QWTl5Bx/I=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBm3ExOw/FMRhOsTTuXWpEh0sw/kSrPWZPsk0sGQ TR2yMbWxymJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZtxMTgAKCRCLPIo+Aiko 1fAfB/46pS2cy5RrZoYjuW5FHyWBpnDqz4QHMaQ1OS4nFZSd7ca0LgA7Qd4TFw0uFPFe2p5o/gm mfx/ghco0wj0+Xs/kakA5EqcP307OCrtgW55catskE0zAWKnQhTHDB7kzcGqmQnkvd8gfrift/Q jlWtr4GNvrEG3Fn7mvHgROrCg26MtTdGo+rBekA/5mjQovR2A3VU6U9fdHY4+Ao4TWY23wTj40j fPGzXvI15RV8jPdr5Og7+vGnG6OHsB91pqTCp4gKWa6hzAPo24lQOxAOKi/PqW6A5wA8Kh+ofy9 vZhpZtq9PPrD9Hg48fe7dknHHZinlnZRHOD6X71RWiZYhYQC X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Enable WiFi device and specify the calibration variant name on the QCM6490 IDP device. Signed-off-by: Dmitry Baryshkov --- Cc: ath11k@lists.infradead.org Cc: Kalle Valo --- arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts index c4cfafb3ec15..5f3d4807ac43 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts @@ -728,4 +728,7 @@ &usb_1_qmpphy { &wifi { memory-region = <&wlan_fw_mem>; + qcom,ath11k-calibration-variant = "Qualcomm_qcm6490idp"; + + status = "okay"; }; From patchwork Sat Sep 7 12:51:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 826494 Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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 AC63115B98F for ; Sat, 7 Sep 2024 12:51:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725713494; cv=none; b=IElL09G44IRc1J0UB8zSrd9q3LZ1ErEPymOkNLyEUBqSTNha/uoFMb7YcYTNmc4lSTzaGbi/PRArsEwV0GDOsRXKDQyUVxp0hlickD81tn9ULFrY5QrVYKsRilKA54hYmmlC2yTRtQT6ChVk3QR3Vew9Wj2+znLG46NsRKWbVkg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725713494; c=relaxed/simple; bh=Om2AhE/49Do7xLXq7286Q52iN2U3h4+EcOngsQ+aodU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Av28cD2OzYar1mgS9bvz/Mf5qMcZa2+904RCZBgEHkhZQ0PlynIxH0PZlbEWrwTpYEXBqv1hLxe6KJhNsqsb+V0iFx5MXzQ/AeY51GF3LvmLmCJtjvtBf1ex4WLmEMrzE8F8Fa497TBqR+D/7vNNhfy8QattLBG1+eoBKK1/QyI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=z7Cun+N/; arc=none smtp.client-ip=209.85.167.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="z7Cun+N/" Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-535be093a43so3673616e87.3 for ; Sat, 07 Sep 2024 05:51:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725713491; x=1726318291; 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=7sWs0Yh5GOl19xy1ip0mx+la4ukXR/+lSq5N8TyxyHg=; b=z7Cun+N/vhAgrPA9E3dNohz1cVNYh3JKQgLJtn3NMSwvbaque2tuMMSEGUcUy6l4Ur s6kb0qzGaLdUxLlcDL7WRm88/Ct1GAhpeXux0TLsHs4LdZHoMBXaoBqPIKIsb3LYxgET tkt3CYG42alX0chPfOxD3akac9QIGlbwpTOonDusmaUgdWPEC50CjBTihAMNt2crktXl CElyHndaxFsDo3XASklHaHnvNQeP2QKFjVVQ/xiqHWh7cRvyLEWZxsay84ZPZQWVWSOy fGjo2ZkKrob8RfQ/Rs3jTatMpTuvYdaigYItd+nwwi6Gr2jUFU6jSbh1y+BYyWwpAJdZ Knjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725713491; x=1726318291; 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=7sWs0Yh5GOl19xy1ip0mx+la4ukXR/+lSq5N8TyxyHg=; b=bNBWaMZcSih+8Z5aGpjSaOBVylznXhbIcsWr749LGf7dldUoMVrTeQVxuhTD8ErCRX xwTq2Tjh0ANtCbPxWYvCFDdj+iqMLfbqn0QnbXmQQ+lH7RyIW3jP4iMdZ47Rd4AyW2Os 5c/9tC7Krd2+sCqT1yf50DtrjhX5fXxsbBg5XJc3HwKtUBV0tKIeeeRcTBhnr8SIkyPs vLoNm3L3pGiWlNkG+rRMYszqLy1qg4G2ht/2JFJzJPbWp35uARuixa6b/Xp+9aIM71te DR62kxskD9Oe+Ue/MIFSKKklDYEjAvi3vCg5waR2R2fYekMWNYffrAurv2vuGaDIrIVo wUoQ== X-Gm-Message-State: AOJu0Yzg/cHTiW4pwRd4CaeQefktFOJ1I6nt5cr2OuA8uk+KiXQZLhfU +ztfb5lItpnYFYIvMR689AJs+8tdLMrXkpyh61XldHaO25jn/FTbpm6pw/RvoM4= X-Google-Smtp-Source: AGHT+IGhqpckvhWmOG6EkU6IpaNRuD3yiEYQhHIW7VWjV1wlz4lF/h38bNZ5W5o8L+nGAnp6CZNHFg== X-Received: by 2002:a05:6512:3502:b0:52b:bf8e:ffea with SMTP id 2adb3069b0e04-536587fce54mr3016089e87.40.1725713490684; Sat, 07 Sep 2024 05:51:30 -0700 (PDT) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5365f8cb76fsm143273e87.177.2024.09.07.05.51.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2024 05:51:30 -0700 (PDT) From: Dmitry Baryshkov Date: Sat, 07 Sep 2024 15:51:27 +0300 Subject: [PATCH 4/4] arm64: dts: qcom: qcm6490-rb3gen2: enable WiFi Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240907-rb3g2-fixes-v1-4-eb9da98e9f80@linaro.org> References: <20240907-rb3g2-fixes-v1-0-eb9da98e9f80@linaro.org> In-Reply-To: <20240907-rb3g2-fixes-v1-0-eb9da98e9f80@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Komal Bajaj , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ath11k@lists.infradead.org, Kalle Valo X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=821; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=Om2AhE/49Do7xLXq7286Q52iN2U3h4+EcOngsQ+aodU=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBm3ExO0pHd0WKIcWTD7FOZykBxXIUyqiFeVUak+ CufdfpCGtaJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZtxMTgAKCRCLPIo+Aiko 1T+qB/wMeJVn2ogUiKRQAvEC4RAi62kilDEcn4FSYr3YYKo70j0oT6VQC5P5VcMwNyzuhErRAso 3NzNTD+RKZ791SQO/GiwMR8By8cT+7O4a2zQP4XmerfLuiD9a9dbk39eO5PmmvNhBXUzJIMCZuE /fOwB1ha+Uxm/7FqsINkm1seiZUajN6vrGZOfa9H0Ii9l+LB7cwuFZAo3LdkL5TQel7DzBiRSQa BwOipQTaAjqrCvnwZxe/fmxRmxV5iNYAKWrOxO+ccZHmlGeuS4DXHhY4jo5pApmPqq8uAsN2ptT eLOuthF6TLV6EgbN8ekSIpWOTcYaGMD/NRFVuBhSGl4Spw0q X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Enable WiFi device and specify the calibration variant name on the RB3gen2 device. Signed-off-by: Dmitry Baryshkov --- Cc: ath11k@lists.infradead.org Cc: Kalle Valo --- arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts index 00b755779608..41d800e09638 100644 --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts @@ -800,6 +800,9 @@ &ufs_mem_phy { &wifi { memory-region = <&wlan_fw_mem>; + qcom,ath11k-calibration-variant = "Qualcomm_rb3gen2"; + + status = "okay"; }; /* PINCTRL - ADDITIONS TO NODES IN PARENT DEVICE TREE FILES */