Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/dts Enable HDMI and HDMI audio



details:   https://anonhg.NetBSD.org/src/rev/3877e5f305f6
branches:  trunk
changeset: 461355:3877e5f305f6
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Nov 24 02:06:16 2019 +0000

description:
Enable HDMI and HDMI audio

diffstat:

 sys/arch/arm/dts/sun50i-a64-pinebook.dts |  38 +++++++++++++++++++++++++++++++-
 1 files changed, 37 insertions(+), 1 deletions(-)

diffs (56 lines):

diff -r 58d1d7b19df6 -r 3877e5f305f6 sys/arch/arm/dts/sun50i-a64-pinebook.dts
--- a/sys/arch/arm/dts/sun50i-a64-pinebook.dts  Sat Nov 23 23:47:57 2019 +0000
+++ b/sys/arch/arm/dts/sun50i-a64-pinebook.dts  Sun Nov 24 02:06:16 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun50i-a64-pinebook.dts,v 1.16 2019/06/06 23:19:45 jmcneill Exp $ */
+/* $NetBSD: sun50i-a64-pinebook.dts,v 1.17 2019/11/24 02:06:16 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017-2019 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -54,6 +54,17 @@
        sound_spdif {
                status = "disabled";
        };
+
+       hdmi-connector {
+               compatible = "hdmi-connector";
+               type = "c";
+
+               port {
+                       hdmi_con_in: endpoint {
+                               remote-endpoint = <&hdmi_out_con>;
+                       };
+               };
+       };
 };
 
 &cpu0 {
@@ -151,3 +162,28 @@
                };
        };
 };
+
+&reg_dldo1 {
+       regulator-min-microvolt = <3300000>;
+       regulator-max-microvolt = <3300000>;
+       regulator-name = "vcc-hdmi";
+};
+
+&hdmi {
+       hvcc-supply = <&reg_dldo1>;
+       status = "okay";
+};
+
+&hdmi_out {
+       hdmi_out_con: endpoint {
+               remote-endpoint = <&hdmi_con_in>;
+       };
+};
+
+&i2s2 {
+       status = "okay";
+};
+
+&sound_hdmi {
+       status = "okay";
+};



Home | Main Index | Thread Index | Old Index