From nobody Sat Nov 30 21:39:51 2024 Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (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 BA7061684A8 for ; Sat, 7 Sep 2024 18:48:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725734909; cv=none; b=PLFUQp6rv72ZtnHCI1I4gd5pwJNKXez5rtz/Qp3pLDqieVm0/cOZ+IMnbL7d42fN7n7PRTKTqZANUJJrbJq3hsKMs5o/Mcbqs1/CLr5ZCmEm72Bks0qqj4jg81yEzN8AhzMQNVSLwlTwhgQibdAK/QPdRDHKwqZ+5MzSVhzKkPU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725734909; c=relaxed/simple; bh=XTnySTBdd5sawEDE4jiRSfy1oa5Ctl+YWAAqUv4joIg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XQzNiJSPU0/EGs8fJuRxFbU+Qff2ze/h/26jXGhSaztKVtb19Gq5z1fU12sgMZ6phhPNVxI45QL8S8abx8Zcb/RaHnnhKf8K9PkvcC8AbPx8u/MufQwzAUC12QYvSWlc63FhV/ZsnNALpqiXmBInhH4gFdQx9spsxzHgp/NiVkU= 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=O/5IhbaR; arc=none smtp.client-ip=209.85.208.173 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="O/5IhbaR" Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2f75de9a503so5165701fa.0 for ; Sat, 07 Sep 2024 11:48:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725734905; x=1726339705; 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=wa6fMV9tZ2Snsz6tr/dYASfgwbJ2HTPtEyRdc5RFNjI=; b=O/5IhbaR9Oxya+af75rxwcpn3H9fB2ufxmSAngfOicN+mx9HRTfrXV13YV1YBHr9AV CBX9UlDiwXeFX6TBwPnYUTMY3USH2ltSVpEVPTzL98UtMSqpGINbgc4o7P8gvJA0mXKq ksmVkgGHwtSoDH4ECF9lkJBX+leLfq4+1TGC9oWquTKgL4Lhw+I/FBQFgjo0C4kDU5gn 1S4NzcEb2lKeVxPRIS4QpQJ2D9guGBV4Wop17f4yBlfG8tTnaRCyWfDXc3cbcklp7oq4 3QJI/OKzjME4/RznsbgxvyKzsfj7d1uPww1vMfUT0FLxrRpGL7C6Vdq1BDF2sroqL5/e 3log== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725734905; x=1726339705; 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=wa6fMV9tZ2Snsz6tr/dYASfgwbJ2HTPtEyRdc5RFNjI=; b=b0E36y1VW60rjqpbkvUgLekmRm+ixwHDNY9fyAgelEyN60MIR5fWLjUJJ9xlGrhVGv s1X3nlb1aDoJc/GpQ5//TwwIA/J4OlkkpCxVrsxkHwxnMl2eCM2kGhnkkqbN2ye9XVui NONAggjhf4dj+q1bPZ7LIfSfqtBrnO0gtfFJY9ae6MIzWiIjfON4WKmdEhSEsL+hWoLF wfZR7NLsxkDRT/c7ewnTI4yrhJKOwat4POghcdCFCW++XZ0goQChZXrDjYd1jk0lRv9u SsvjXdY72GYaMsjPebebzZHcp1xVH0TS0Igk1ugBSV6DF1SZhUURW6iTlJx3t/vTzluI fzOQ== X-Forwarded-Encrypted: i=1; AJvYcCWhfdsk9z/HBXAEZ4mtjhWuG8EIgJD9mpCVVqvxFKBR187zfelUlrNQ+GzZXapAeQx8KWomcB+s4qW7txw=@vger.kernel.org X-Gm-Message-State: AOJu0YwuAaxkG7RMkX942IQHNaQlYYIb2uhakTj2L3DqxIS2IuKr9ROq 5wXvKLZ6soLcmfCHbMEr6IdAFDkkFH1RJgzoSWEwlr5WzImA9PgCdR0ANm9j+dM= X-Google-Smtp-Source: AGHT+IHSIoknUKa0V2bIajtq0UbQnlrrMTwcNCvk0Cm0DK+8zJifYj/tq+SFZ349vHrP4HPAC7liRw== X-Received: by 2002:a2e:bc13:0:b0:2f7:5c58:cc7c with SMTP id 38308e7fff4ca-2f75c58cd06mr15833141fa.44.1725734904516; Sat, 07 Sep 2024 11:48:24 -0700 (PDT) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2f75c0b1af3sm2271861fa.129.2024.09.07.11.48.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2024 11:48:24 -0700 (PDT) From: Dmitry Baryshkov Date: Sat, 07 Sep 2024 21:48:18 +0300 Subject: [PATCH 7/7] arm64: dts: qcom: sda660-ifc6560: enable mDSP and WiFi devices Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240907-sdm660-wifi-v1-7-e316055142f8@linaro.org> References: <20240907-sdm660-wifi-v1-0-e316055142f8@linaro.org> In-Reply-To: <20240907-sdm660-wifi-v1-0-e316055142f8@linaro.org> To: Rob Clark , Will Deacon , Robin Murphy , Joerg Roedel , AngeloGioacchino Del Regno , Konrad Dybcio , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: iommu@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, ath11k@lists.infradead.org, Kalle Valo X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2512; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=XTnySTBdd5sawEDE4jiRSfy1oa5Ctl+YWAAqUv4joIg=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBm3J/yWVPTASuqwGf6KgTFf9lHvriPxuej/lwbV aZEbLvM9JWJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZtyf8gAKCRCLPIo+Aiko 1ZEqB/4/aeZwm+BdnM4GZPBXDOBNORRCXxR7ErRiln3e5RdBCf4xXCE6iQvmGFXEXS/LrebtK/X FNMW65S93BZFnkwxHn6UQ+EHAFGW27njCs/KvrkXnGPtjv50v4+JiV2Kp1cUWTb3w21MJAnJSU5 5TP4gUddxWWFBAqPeK0Khdh4ojgcQcxkbJZg49A+fkAl1eQ2+Muneg+woHbjtFa51jJYnvX0SWE /Xu+uP5bMQ3+J+0Y+lS2f+HdM6ZAKIvLcVs4cEzVqh4+fljZ6NUrrfM4P/TAlLZ3Q6M0gheBeJV 4PQ81KBAp7c2Opqwvn3clTZnknpVaurmdvLR2aBlgRtUjDU5 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Enable the onboard WiFi device present on the Inforce IFC6560 SBC. Pretty much like MSM8998 this device also doesn't generate the MSA_READY_IND indication. For the reference: ath10k_snoc 18800000.wifi: qmi chip_id 0x30214 chip_family 0x4001 board_id = 0xff soc_id 0x40050000 ath10k_snoc 18800000.wifi: qmi fw_version 0x101d01da fw_build_timestamp 201= 8-07-26 21:42 fw_build_id QC_IMAGE_VERSION_STRING=3DWLAN.HL.1.0.1.c2-00474-= QCAHLSWMTPLZ-1 ath10k_snoc 18800000.wifi: qmi not waiting for msa_ready indicator ath10k_snoc 18800000.wifi: wcn3990 hw1.0 target 0x00000008 chip_id 0x000000= 00 sub 0000:0000 ath10k_snoc 18800000.wifi: kconfig debug 1 debugfs 0 tracing 0 dfs 0 testmo= de 0 ath10k_snoc 18800000.wifi: firmware ver api 5 features wowlan,mgmt-tx-by-r= eference,non-bmi crc32 b3d4b790 ath10k_snoc 18800000.wifi: htt-ver 3.54 wmi-op 4 htt-op 3 cal file max-sta = 32 raw 0 hwcrypto 1 ath10k_snoc 18800000.wifi: invalid MAC address; choosing random Signed-off-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio --- Cc: ath11k@lists.infradead.org Cc: Kalle Valo --- .../arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts | 22 ++++++++++++++++++= ++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts b/arch/arm= 64/boot/dts/qcom/sda660-inforce-ifc6560.dts index 09bc010ce56a..7948c8f6ab64 100644 --- a/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts +++ b/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts @@ -252,6 +252,11 @@ &qusb2phy1 { vdda-phy-dpdm-supply =3D <&vreg_l7b_3p125>; }; =20 +&remoteproc_mss { + firmware-name =3D "qcom/sda660/mba.mbn", "qcom/sda660/modem.mbn"; + status =3D "okay"; +}; + &rpm_requests { regulators-0 { compatible =3D "qcom,rpm-pm660-regulators"; @@ -291,6 +296,11 @@ vreg_l1a_1p225: l1 { regulator-allow-set-load; }; =20 + vreg_l5a_0p8: l5 { + regulator-min-microvolt =3D <848000>; + regulator-max-microvolt =3D <848000>; + }; + vreg_l6a_1p3: l6 { regulator-min-microvolt =3D <1304000>; regulator-max-microvolt =3D <1368000>; @@ -489,3 +499,15 @@ &usb3_qmpphy { vdda-pll-supply =3D <&vreg_l10a_1p8>; status =3D "okay"; }; + +&wifi { + status =3D "okay"; + + vdd-0.8-cx-mx-supply =3D <&vreg_l5a_0p8>; + vdd-1.8-xo-supply =3D <&vreg_l9a_1p8>; + vdd-1.3-rfa-supply =3D <&vreg_l6a_1p3>; + vdd-3.3-ch0-supply =3D <&vreg_l19a_3p3>; + vdd-3.3-ch1-supply =3D <&vreg_l8b_3p3>; + + qcom,ath10k-calibration-variant =3D "Inforce_IFC6560"; +}; --=20 2.39.2