arm64: dts: qcom: sm8450: enable GCC_USB3_0_CLKREF_EN for usb
PATCH 1/2 arm64: dts: qcom: sm8450: enable GCC_USB3_0_CLKREF_EN for usb
USB doesn't work at all without this clock enabled. This fixes USB when not using clk_ignore_unused.
--- arch/arm64/boot/dts/qcom/sm8450.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/sm8450.dtsi +3 -2
@@ -1442,9 +1442,10 @@ usb_1: usb@a6f8800 { <&gcc GCC_USB30_PRIM_MASTER_CLK>, <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>, <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, - <&gcc GCC_USB30_PRIM_SLEEP_CLK>; + <&gcc GCC_USB30_PRIM_SLEEP_CLK>, + <&gcc GCC_USB3_0_CLKREF_EN>; clock-names = "cfg_noc", "core", "iface", "mock_utmi", - "sleep"; + "sleep", "xo"; assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, <&gcc GCC_USB30_PRIM_MASTER_CLK>;
Signature · 1 line
2.26.1
PATCH 2/2 arm64: dts: qcom: sm8450: fix apps_smmu interrupts
Update interrupts in apps_smmu to match downstream. This is fixes apps_smmu failing to probe when running at EL2 (expects 96 context interrupts)
--- arch/arm64/boot/dts/qcom/sm8450.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sm8450.dtsi +2 -1
@@ -1076,7 +1076,7 @@ apps_smmu: iommu@15000000 { compatible = "qcom,sm8450-smmu-500", "arm,mmu-500"; reg = <0 0x15000000 0 0x100000>; #iommu-cells = <2>; - #global-interrupts = <2>; + #global-interrupts = <1>; interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
@@ -1163,6 +1163,7 @@ apps_smmu: iommu@15000000 { <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 707 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>, <GIC_SPI 690 IRQ_TYPE_LEVEL_HIGH>,
Signature · 1 line
2.26.1
Re: [PATCH 2/2] arm64: dts: qcom: sm8450: fix apps_smmu interrupts
Quoted 2 lines · Jonathan Marek
Update interrupts in
apps_smmuto match downstream. This is fixesapps_smmufailing to probe when running at EL2 (expects 96 context interrupts)
Signature · 1 line
~Vinod
Quoted 2 lines · Jonathan Marek
USB doesn't work at all without this clock enabled. This fixes USB when not using
clk_ignore_unused.
Signature · 1 line
~Vinod
Bjorn Andersson
AppliedQuoted 4 lines · Jonathan Marek
USB doesn't work at all without this clock enabled. This fixes USB when not using
clk_ignore_unused.
Applied, thanks!
[1/2] arm64: dts: qcom: sm8450: enable GCC_USB3_0_CLKREF_EN for usb
commit: 197769fede5824d218f1f13f7620243015801d81
[2/2] arm64: dts: qcom: sm8450: fix apps_smmu interrupts
commit: 7baa00bef336254e2cea5d4b064afe6430a05309Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>