Skip to content

Commit 73a2a31

Browse files
AngeloGioacchino Del Regnombgg
authored andcommitted
arm64: dts: mediatek: cherry: Configure eDP and internal display
Add the required nodes to enable the DisplayPort interface, connected to the Embedded DisplayPort port, where we have an internal display. Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org> Tested-by: Chen-Yu Tsai <wenst@chromium.org> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20230816190427.2137768-1-nfraprado@collabora.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
1 parent 72754e8 commit 73a2a31

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,19 @@
4747
reg = <0 0x40000000 0 0x80000000>;
4848
};
4949

50+
pp3300_disp_x: regulator-pp3300-disp-x {
51+
compatible = "regulator-fixed";
52+
regulator-name = "pp3300_disp_x";
53+
regulator-min-microvolt = <3300000>;
54+
regulator-max-microvolt = <3300000>;
55+
regulator-enable-ramp-delay = <2500>;
56+
enable-active-high;
57+
gpio = <&pio 55 GPIO_ACTIVE_HIGH>;
58+
pinctrl-names = "default";
59+
pinctrl-0 = <&panel_fixed_pins>;
60+
vin-supply = <&pp3300_z2>;
61+
};
62+
5063
/* system wide LDO 3.3V power rail */
5164
pp3300_z5: regulator-pp3300-ldo-z5 {
5265
compatible = "regulator-fixed";
@@ -217,6 +230,20 @@
217230
reg = <1>;
218231
edp_out: endpoint {
219232
data-lanes = <0 1 2 3>;
233+
remote-endpoint = <&panel_in>;
234+
};
235+
};
236+
};
237+
238+
aux-bus {
239+
panel {
240+
compatible = "edp-panel";
241+
power-supply = <&pp3300_disp_x>;
242+
backlight = <&backlight_lcd0>;
243+
port {
244+
panel_in: endpoint {
245+
remote-endpoint = <&edp_out>;
246+
};
220247
};
221248
};
222249
};
@@ -881,6 +908,12 @@
881908
};
882909
};
883910

911+
panel_fixed_pins: panel-pwr-default-pins {
912+
pins-vreg-en {
913+
pinmux = <PINMUX_GPIO55__FUNC_GPIO55>;
914+
};
915+
};
916+
884917
pio_default: pio-default-pins {
885918
pins-wifi-enable {
886919
pinmux = <PINMUX_GPIO58__FUNC_GPIO58>;

0 commit comments

Comments
 (0)