Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: dts: mediatek: mt8186: starmie: Fix external display

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>

authored by

Łukasz Majczak and committed by
AngeloGioacchino Del Regno
7d346bf1 394f2903

-45
-45
arch/arm64/boot/dts/mediatek/mt8186-corsola-starmie.dtsi
··· 375 375 "TP", 376 376 "TP"; 377 377 378 - dpi_default_pins: dpi-default-pins { 379 - pins-cmd-dat { 380 - pinmux = <PINMUX_GPIO103__FUNC_GPIO103>, 381 - <PINMUX_GPIO104__FUNC_GPIO104>, 382 - <PINMUX_GPIO105__FUNC_GPIO105>, 383 - <PINMUX_GPIO106__FUNC_GPIO106>, 384 - <PINMUX_GPIO107__FUNC_GPIO107>, 385 - <PINMUX_GPIO108__FUNC_GPIO108>, 386 - <PINMUX_GPIO109__FUNC_GPIO109>, 387 - <PINMUX_GPIO110__FUNC_GPIO110>, 388 - <PINMUX_GPIO111__FUNC_GPIO111>, 389 - <PINMUX_GPIO112__FUNC_GPIO112>, 390 - <PINMUX_GPIO113__FUNC_GPIO113>, 391 - <PINMUX_GPIO114__FUNC_GPIO114>, 392 - <PINMUX_GPIO101__FUNC_GPIO101>, 393 - <PINMUX_GPIO100__FUNC_GPIO100>, 394 - <PINMUX_GPIO102__FUNC_GPIO102>, 395 - <PINMUX_GPIO99__FUNC_GPIO99>; 396 - drive-strength = <10>; 397 - output-low; 398 - }; 399 - }; 400 - 401 - dpi_func_pins: dpi-func-pins { 402 - pins-cmd-dat { 403 - pinmux = <PINMUX_GPIO103__FUNC_DPI_DATA0>, 404 - <PINMUX_GPIO104__FUNC_DPI_DATA1>, 405 - <PINMUX_GPIO105__FUNC_DPI_DATA2>, 406 - <PINMUX_GPIO106__FUNC_DPI_DATA3>, 407 - <PINMUX_GPIO107__FUNC_DPI_DATA4>, 408 - <PINMUX_GPIO108__FUNC_DPI_DATA5>, 409 - <PINMUX_GPIO109__FUNC_DPI_DATA6>, 410 - <PINMUX_GPIO110__FUNC_DPI_DATA7>, 411 - <PINMUX_GPIO111__FUNC_DPI_DATA8>, 412 - <PINMUX_GPIO112__FUNC_DPI_DATA9>, 413 - <PINMUX_GPIO113__FUNC_DPI_DATA10>, 414 - <PINMUX_GPIO114__FUNC_DPI_DATA11>, 415 - <PINMUX_GPIO101__FUNC_DPI_HSYNC>, 416 - <PINMUX_GPIO100__FUNC_DPI_VSYNC>, 417 - <PINMUX_GPIO102__FUNC_DPI_DE>, 418 - <PINMUX_GPIO99__FUNC_DPI_PCLK>; 419 - drive-strength = <10>; 420 - }; 421 - }; 422 - 423 378 en_pp6000_mipi_disp_150ma_fixed_pins: en_pp6000-mipi-disp-150ma-fixed-pins { 424 379 pins-en { 425 380 pinmux = <PINMUX_GPIO154__FUNC_GPIO154>;