[PATCH v3 2/4] ARM: dts: qcom: msm8974-klte-common: Pin WiFi board type

Rong Zhang posted 4 patches 1 year, 10 months ago
[PATCH v3 2/4] ARM: dts: qcom: msm8974-klte-common: Pin WiFi board type
Posted by Rong Zhang 1 year, 10 months ago
klte* variants have little difference in the WiFi part. Without
"brcm,board-type", variant-specific NVRAM file will be probed (e.g.,
klte probes samsung,klte). Pin it to "samsung,klte" to allow klte* to
load the same NVRAM file as klte.

Signed-off-by: Rong Zhang <i@rong.moe>
---
 .../boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi  | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi
index 11e35b34ebd6..b5443fd5b425 100644
--- a/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi
+++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi
@@ -661,6 +661,12 @@ wifi@1 {
 		reg = <1>;
 		compatible = "brcm,bcm4329-fmac";
 
+		/*
+		 * Allow all klte* variants to load the same NVRAM file,
+		 * as they have little difference in the WiFi part.
+		 */
+		brcm,board-type = "samsung,klte";
+
 		interrupt-parent = <&tlmm>;
 		interrupts = <92 IRQ_TYPE_LEVEL_HIGH>;
 		interrupt-names = "host-wake";
-- 
2.43.0
Re: [PATCH v3 2/4] ARM: dts: qcom: msm8974-klte-common: Pin WiFi board type
Posted by Konrad Dybcio 1 year, 10 months ago
On 13.02.2024 11:58, Rong Zhang wrote:
> klte* variants have little difference in the WiFi part. Without
> "brcm,board-type", variant-specific NVRAM file will be probed (e.g.,
> klte probes samsung,klte). Pin it to "samsung,klte" to allow klte* to
> load the same NVRAM file as klte.
> 
> Signed-off-by: Rong Zhang <i@rong.moe>
> ---

Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad