]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sc7280: Add MDSS_CORE reset to mdss
authorBjorn Andersson <bjorn.andersson@oss.qualcomm.com>
Tue, 12 Aug 2025 03:11:35 +0000 (22:11 -0500)
committerBjorn Andersson <andersson@kernel.org>
Tue, 12 Aug 2025 15:06:10 +0000 (10:06 -0500)
Like on other platforms, if the OS does not support recovering the state
left by the bootloader it needs access to MDSS_CORE, so that it can
clear the MDSS configuration.

Until now it seems no version of the bootloaders have done so, but e.g.
the Particle Tachyon ships with a bootloader that does leave the display
in a state that results in a series of iommu faults.

So let's provide the reset, to allow the OS to clear that state.

Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250811-sc7280-mdss-reset-v1-3-83ceff1d48de@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sc7280.dtsi

index e38c2fbbecd5e59688f990759f47e2aa68c2e871..1a7679d38a42af7a681e35aee23be583726aadb4 100644 (file)
 
                        iommus = <&apps_smmu 0x900 0x402>;
 
+                       resets = <&dispcc DISP_CC_MDSS_CORE_BCR>;
+
                        #address-cells = <2>;
                        #size-cells = <2>;
                        ranges;