Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH RFT] arm64: dts: qcom: sm8250: Add MDSS_CORE reset to mdss
@ 2025-09-30  7:37 Luca Weiss
  2025-09-30 19:31 ` Dmitry Baryshkov
  2025-10-27 22:37 ` Bjorn Andersson
  0 siblings, 2 replies; 4+ messages in thread
From: Luca Weiss @ 2025-09-30  7:37 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm, devicetree,
	linux-kernel, Luca Weiss

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. Add a reference to the relevant reset.

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
Not tested on a device, but should be necessary on v6.17 kernel.
---
 arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
index b30aea8b05409094837ad494389d7c22fa1ba7dd..9bcb2c4c34388f343fb93083977b8d2e9a724bb3 100644
--- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
@@ -4687,6 +4687,8 @@ mdss: display-subsystem@ae00000 {
 
 			iommus = <&apps_smmu 0x820 0x402>;
 
+			resets = <&dispcc DISP_CC_MDSS_CORE_BCR>;
+
 			status = "disabled";
 
 			#address-cells = <2>;

---
base-commit: e5f0a698b34ed76002dc5cff3804a61c80233a7a
change-id: 20250930-sm8250-mdss-reset-307c3e921d03

Best regards,
-- 
Luca Weiss <luca.weiss@fairphone.com>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH RFT] arm64: dts: qcom: sm8250: Add MDSS_CORE reset to mdss
  2025-09-30  7:37 [PATCH RFT] arm64: dts: qcom: sm8250: Add MDSS_CORE reset to mdss Luca Weiss
@ 2025-09-30 19:31 ` Dmitry Baryshkov
  2025-10-27 22:37 ` Bjorn Andersson
  1 sibling, 0 replies; 4+ messages in thread
From: Dmitry Baryshkov @ 2025-09-30 19:31 UTC (permalink / raw)
  To: Luca Weiss
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, ~postmarketos/upstreaming, phone-devel,
	linux-arm-msm, devicetree, linux-kernel

On Tue, Sep 30, 2025 at 09:37:22AM +0200, Luca Weiss wrote:
> 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. Add a reference to the relevant reset.
> 
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
> ---
> Not tested on a device, but should be necessary on v6.17 kernel.
> ---
>  arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 ++
>  1 file changed, 2 insertions(+)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>


Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> # RB5


-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH RFT] arm64: dts: qcom: sm8250: Add MDSS_CORE reset to mdss
@ 2025-10-01  6:35 Philippe Simons
  0 siblings, 0 replies; 4+ messages in thread
From: Philippe Simons @ 2025-10-01  6:35 UTC (permalink / raw)
  To: luca.weiss
  Cc: andersson, Conor Dooley,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	konradybcio, Krzysztof Kozlowski, linux-arm-msm, open list,
	phone-devel, Rob Herring, ~postmarketos/upstreaming

Fix panel not enabled on sm8250.

Tested-by: Philippe Simons <simons.philippe@gmail.com>

Thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH RFT] arm64: dts: qcom: sm8250: Add MDSS_CORE reset to mdss
  2025-09-30  7:37 [PATCH RFT] arm64: dts: qcom: sm8250: Add MDSS_CORE reset to mdss Luca Weiss
  2025-09-30 19:31 ` Dmitry Baryshkov
@ 2025-10-27 22:37 ` Bjorn Andersson
  1 sibling, 0 replies; 4+ messages in thread
From: Bjorn Andersson @ 2025-10-27 22:37 UTC (permalink / raw)
  To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Luca Weiss
  Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm, devicetree,
	linux-kernel


On Tue, 30 Sep 2025 09:37:22 +0200, Luca Weiss wrote:
> 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. Add a reference to the relevant reset.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: sm8250: Add MDSS_CORE reset to mdss
      commit: 8b4faf419d601cead68d7821618369e2c0338b86

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-10-27 22:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-30  7:37 [PATCH RFT] arm64: dts: qcom: sm8250: Add MDSS_CORE reset to mdss Luca Weiss
2025-09-30 19:31 ` Dmitry Baryshkov
2025-10-27 22:37 ` Bjorn Andersson
  -- strict thread matches above, loose matches on Subject: below --
2025-10-01  6:35 Philippe Simons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox