summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi
diff options
context:
space:
mode:
authorStephen Boyd <swboyd@chromium.org>2020-11-22 06:41:49 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2020-11-24 17:08:10 +0300
commit4785cff7cb9c8bcbff3891013d2f8eb973d676f3 (patch)
treeb7c02ccdc783a1770493e7e8573fd1331a93e35f /arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi
parent6acb71fd344adb08633b2b1d8261a876fbd2bb18 (diff)
downloadlinux-4785cff7cb9c8bcbff3891013d2f8eb973d676f3.tar.xz
arm64: dts: sdm845: Add iommus property to qup
The SMMU that sits in front of the QUP needs to be programmed properly so that the i2c geni driver can allocate DMA descriptors. Failure to do this leads to faults when using devices such as an i2c touchscreen where the transaction is larger than 32 bytes and we use a DMA buffer. arm-smmu 15000000.iommu: Unexpected global fault, this could be serious arm-smmu 15000000.iommu: GFSR 0x00000002, GFSYNR0 0x00000002, GFSYNR1 0x000006c0, GFSYNR2 0x00000000 Add the right SID and mask so this works. Reviewed-by: Vinod Koul <vkoul@kernel.org> Tested-by: Caleb Connolly <caleb@connolly.tech> Tested-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Stephen Boyd <swboyd@chromium.org> [bjorn: Define for second QUP as well, be more specific in sdm845.dtsi] Link: https://lore.kernel.org/r/20201122034149.626045-1-bjorn.andersson@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi')
-rw-r--r--arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi b/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi
index 39f23cdcbd02..216a74f0057c 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi
@@ -653,10 +653,12 @@ ap_ts_i2c: &i2c14 {
&qupv3_id_0 {
status = "okay";
+ iommus = <&apps_smmu 0x0 0x3>;
};
&qupv3_id_1 {
status = "okay";
+ iommus = <&apps_smmu 0x6c0 0x3>;
};
&sdhc_2 {