From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bjorn Andersson Subject: [PATCH v2] arm64: dts: qcom: sdm845: Add clocks and iommus to WCN3990 WLAN node Date: Wed, 30 Jan 2019 21:14:38 -0800 Message-ID: <20190131051438.12867-1-bjorn.andersson@linaro.org> References: <20190119000016.139657-1-dianders@chromium.org> Return-path: In-Reply-To: <20190119000016.139657-1-dianders@chromium.org> Sender: linux-kernel-owner@vger.kernel.org To: Andy Gross , David Brown , Douglas Anderson Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org From: Douglas Anderson When commit be7019103469 ("dts: arm64/sdm845: Add WCN3990 WLAN module device node") was posted upstream no clocks were specified. However, when the pack was picked into the Chrome OS kernel tree (allegedly directly from the mailing list post) it had clock properties. I presume that the clock should be there, so let's add it. Fixes: be7019103469 ("dts: arm64/sdm845: Add WCN3990 WLAN module device node") Signed-off-by: Douglas Anderson [bjorn: Add also the required iommus property] Signed-off-by: Bjorn Andersson --- Hijacking Doug's fixup patch to also add the missing iommus property. Without this the MTP reboots once the ath10k is trying to exercise the copyengine. arch/arm64/boot/dts/qcom/sdm845.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index cba09899282e..58f034664336 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2422,6 +2422,8 @@ reg = <0 0x18800000 0 0x800000>; reg-names = "membase"; memory-region = <&wlan_msa_mem>; + clock-names = "cxo_ref_clk_pin"; + clocks = <&rpmhcc RPMH_RF_CLK2>; interrupts = , , @@ -2435,6 +2437,7 @@ , , ; + iommus = <&apps_smmu 0x0040 0x1>; }; }; -- 2.18.0