OSDN Git Service

arm64: dts: sdm845: Add clocks and iommus to WCN3990 WLAN node
authorDouglas Anderson <dianders@chromium.org>
Sat, 19 Jan 2019 00:00:15 +0000 (16:00 -0800)
committerAndy Gross <andy.gross@linaro.org>
Fri, 8 Feb 2019 05:55:19 +0000 (23:55 -0600)
When commit 022bccb840b7 ("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: 022bccb840b7 ("dts: arm64/sdm845: Add WCN3990 WLAN module device node")
Tested-by: Sibi Sankar <sibis@codeaurora.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
[bjorn: Add also the required iommus property]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/sdm845.dtsi

index b4b946d..e4b69c7 100644 (file)
                        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 =
                                <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
                                <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
                                <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
                                <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
                                <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
+                       iommus = <&apps_smmu 0x0040 0x1>;
                };
        };