On 25/11/2026 19:20, [email protected] wrote:
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] arm64: dts: qcom: incompatible panel@0 compatible and
   reset-gpios change
--

commit fd433e980a7d2d9c4e491b9e6c72d47eb49cfd5c
Author: David Heidelberg <[email protected]>

arm64: dts: qcom: sdm845-samsung-starqltechn: Update panel compatible

This commit replaces the panel@0 compatible string with
"samsung,s6e3ha8-amb577px01" and changes its reset-gpios polarity to
GPIO_ACTIVE_LOW on Samsung Galaxy S9 (starqltechn).

diff --git a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts 
b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
index bd59f1dcd96dc..c156ed3733b4e 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
@@ -267,13 +267,13 @@ &mdss_dsi0 {
        status = "okay";
panel@0 {
-               compatible = "samsung,s6e3ha8";
+               compatible = "samsung,s6e3ha8-amb577px01";
                reg = <0>;
                vci-supply = <&s2dos05_ldo4>;
                vddr-supply = <&s2dos05_buck>;
                vdd3-supply = <&s2dos05_ldo1>;
                te-gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>;
-               reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
+               reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
                pinctrl-0 = <&dsi_default &dsi_te>;
                pinctrl-1 = <&dsi_suspend &dsi_te>;
                pinctrl-names = "default", "suspend";

[Severity: High]
As reported by Krzysztof Kozlowski on v2 [1], does replacing the
"samsung,s6e3ha8" compatible string without a fallback and inverting
reset-gpios to GPIO_ACTIVE_LOW break DTB compatibility for existing
kernels and DTB consumers?

The only consumer here is Samsung S9 (Korea version), all known distributions building kernels together with DTB, thus in this scenario it doesn't matter.

When old DT will be booted, the new kernel is able to handle it too with old compatible and workaround for reversing polarity inside the driver.

For booting old kernel with new DTBs, display will not bind (since the new compatible), but that's not going to happen with current usage pattern.


Any kernel or consumer that only matches "samsung,s6e3ha8" and expects
GPIO_ACTIVE_HIGH (established in 70005c18c9f7 ("arm64: dts: qcom:
sdm845-starqltechn: add graphics support")) will fail to bind or reset the
panel when booted with this DTB.  Earlier patches in this series already
handle the legacy "samsung,s6e3ha8" compatible and inverted reset polarity
in drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c via
broken_reset_polarity.

[1] https://lore.kernel.org/r/20260929-spirited-umber-hedgehog-300ebd@quoll


Reply via email to