Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36328505 authored by Thierry Reding's avatar Thierry Reding
Browse files

arm64: tegra: Enable HDMI on Jetson TX2



Enable the host1x and necessary children and hook up the HDMI +5V pin to
enable video output on the HDMI port found on Jetson TX2.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 5bb88b7a
Loading
Loading
Loading
Loading
+51 −0
Original line number Diff line number Diff line
@@ -74,6 +74,43 @@
		};
	};

	host1x@13e00000 {
		status = "okay";

		dpaux@15040000 {
			status = "okay";
		};

		display-hub@15200000 {
			status = "okay";
		};

		dsi@15300000 {
			status = "disabled";
		};

		sor@15540000 {
			status = "disabled";

			nvidia,dpaux = <&dpaux1>;
		};

		sor@15580000 {
			status = "okay";

			avdd-io-supply = <&vdd_hdmi_1v05>;
			vdd-pll-supply = <&vdd_1v8_ap>;
			hdmi-supply = <&vdd_hdmi>;

			nvidia,ddc-i2c-bus = <&ddc>;
			nvidia,hpd-gpio = <&gpio TEGRA_MAIN_GPIO(P, 1) GPIO_ACTIVE_LOW>;
		};

		dpaux@155c0000 {
			status = "okay";
		};
	};

	gpio-keys {
		compatible = "gpio-keys";

@@ -120,5 +157,19 @@

			vin-supply = <&vdd_3v3_sys>;
		};

		vdd_hdmi: regulator@101 {
			compatible = "regulator-fixed";
			reg = <101>;

			regulator-name = "VDD_HDMI_5V0";
			regulator-min-microvolt = <5000000>;
			regulator-max-microvolt = <5000000>;

			gpio = <&exp1 14 GPIO_ACTIVE_HIGH>;
			enable-active-high;

			vin-supply = <&vdd_5v0_sys>;
		};
	};
};
+1 −1
Original line number Diff line number Diff line
@@ -321,7 +321,7 @@
						regulator-max-microvolt = <2800000>;
					};

					avdd_1v05: ldo7 {
					vdd_hdmi_1v05: ldo7 {
						regulator-name = "VDD_HDMI_1V05";
						regulator-min-microvolt = <1050000>;
						regulator-max-microvolt = <1050000>;