]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt8186: starmie: Fix external display
authorŁukasz Majczak <lmajczak@google.com>
Fri, 28 Mar 2025 12:13:00 +0000 (12:13 +0000)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 14 Apr 2025 09:30:58 +0000 (11:30 +0200)
The dpi-default-pins overwrittes the same called node, defined in
mt8186-corsola.dtsi with the wrong set of pins, so remove
it from mt8186-corsola-starmie.dtsi as the first one is correct and
sufficient.
In addition, remove dpi-func-pins node from mt8186-corsola-starmie.dtsi,
as it is not used anywhere and also defines the same set of pins as
dpi-default-pins node already present in mt8186-corsola.dtsi.

Verifeid above with Corsola/Starmie device, by connecting external screen
with usb-c -> hdmi adapter.

Signed-off-by: Łukasz Majczak <lmajczak@google.com>
Link: https://lore.kernel.org/r/20250328121300.2612942-1-lmajczak@google.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8186-corsola-starmie.dtsi

index 5ea8bdc00e811b1c8047922b83c4c539f96f7d26..a8e79c2791ba10e163904ba27e07385b673fc378 100644 (file)
                          "TP",
                          "TP";
 
-       dpi_default_pins: dpi-default-pins {
-               pins-cmd-dat {
-                       pinmux = <PINMUX_GPIO103__FUNC_GPIO103>,
-                                <PINMUX_GPIO104__FUNC_GPIO104>,
-                                <PINMUX_GPIO105__FUNC_GPIO105>,
-                                <PINMUX_GPIO106__FUNC_GPIO106>,
-                                <PINMUX_GPIO107__FUNC_GPIO107>,
-                                <PINMUX_GPIO108__FUNC_GPIO108>,
-                                <PINMUX_GPIO109__FUNC_GPIO109>,
-                                <PINMUX_GPIO110__FUNC_GPIO110>,
-                                <PINMUX_GPIO111__FUNC_GPIO111>,
-                                <PINMUX_GPIO112__FUNC_GPIO112>,
-                                <PINMUX_GPIO113__FUNC_GPIO113>,
-                                <PINMUX_GPIO114__FUNC_GPIO114>,
-                                <PINMUX_GPIO101__FUNC_GPIO101>,
-                                <PINMUX_GPIO100__FUNC_GPIO100>,
-                                <PINMUX_GPIO102__FUNC_GPIO102>,
-                                <PINMUX_GPIO99__FUNC_GPIO99>;
-                       drive-strength = <10>;
-                       output-low;
-               };
-       };
-
-       dpi_func_pins: dpi-func-pins {
-               pins-cmd-dat {
-                       pinmux = <PINMUX_GPIO103__FUNC_DPI_DATA0>,
-                                <PINMUX_GPIO104__FUNC_DPI_DATA1>,
-                                <PINMUX_GPIO105__FUNC_DPI_DATA2>,
-                                <PINMUX_GPIO106__FUNC_DPI_DATA3>,
-                                <PINMUX_GPIO107__FUNC_DPI_DATA4>,
-                                <PINMUX_GPIO108__FUNC_DPI_DATA5>,
-                                <PINMUX_GPIO109__FUNC_DPI_DATA6>,
-                                <PINMUX_GPIO110__FUNC_DPI_DATA7>,
-                                <PINMUX_GPIO111__FUNC_DPI_DATA8>,
-                                <PINMUX_GPIO112__FUNC_DPI_DATA9>,
-                                <PINMUX_GPIO113__FUNC_DPI_DATA10>,
-                                <PINMUX_GPIO114__FUNC_DPI_DATA11>,
-                                <PINMUX_GPIO101__FUNC_DPI_HSYNC>,
-                                <PINMUX_GPIO100__FUNC_DPI_VSYNC>,
-                                <PINMUX_GPIO102__FUNC_DPI_DE>,
-                                <PINMUX_GPIO99__FUNC_DPI_PCLK>;
-                       drive-strength = <10>;
-               };
-       };
-
        en_pp6000_mipi_disp_150ma_fixed_pins: en_pp6000-mipi-disp-150ma-fixed-pins {
                pins-en {
                        pinmux = <PINMUX_GPIO154__FUNC_GPIO154>;