From: Dang Huynh Date: Tue, 14 Sep 2021 19:37:32 +0000 (+0700) Subject: arm64: dts: allwinner: pinetab: Add HDMI support X-Git-Tag: v6.6.17~8919^2~18^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8c2e09b9a2f58baf99b4f88d12ef8751f8b0822b;p=platform%2Fkernel%2Flinux-rpi.git arm64: dts: allwinner: pinetab: Add HDMI support This patch enables HDMI display on PINE64 PineTab. The PineTab has a HDMI Type C (mini) port. Signed-off-by: Dang Huynh Reviewed-by: Jernej Skrabec Signed-off-by: Maxime Ripard Link: https://lore.kernel.org/r/20210914193732.3047668-1-danct12@disroot.org --- diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts index 6a4af14..adb0b28 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts @@ -35,6 +35,17 @@ stdout-path = "serial0:115200n8"; }; + hdmi-connector { + compatible = "hdmi-connector"; + type = "c"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + }; + i2c-csi { compatible = "i2c-gpio"; sda-gpios = <&pio 4 13 GPIO_ACTIVE_HIGH>; /* PE13 */ @@ -410,6 +421,21 @@ regulator-name = "vcc-rtc"; }; +&simplefb_hdmi { + vcc-hdmi-supply = <®_dldo1>; +}; + +&hdmi { + hvcc-supply = <®_dldo1>; + status = "okay"; +}; + +&hdmi_out { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + &sound { status = "okay"; simple-audio-card,aux-devs = <&codec_analog>, <&speaker_amp>;