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

Commit 48b90117 authored by Thierry Reding's avatar Thierry Reding Committed by Stephen Warren
Browse files

ARM: tegra: Enable DSI support on Dalmore



Dalmore has a 10.1" WUXGA panel connected to one of the DSI outputs of
the Tegra114.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
parent 032f11f3
Loading
Loading
Loading
Loading
+32 −12
Original line number Original line Diff line number Diff line
@@ -16,6 +16,21 @@
		reg = <0x80000000 0x40000000>;
		reg = <0x80000000 0x40000000>;
	};
	};


	host1x@50000000 {
		dsi@54300000 {
			status = "okay";

			panel@0 {
				compatible = "panasonic,vvx10f004b00",
					     "simple-panel";
				reg = <0>;

				power-supply = <&avdd_lcd_reg>;
				backlight = <&backlight>;
			};
		};
	};

	pinmux@70000868 {
	pinmux@70000868 {
		pinctrl-names = "default";
		pinctrl-names = "default";
		pinctrl-0 = <&state_default>;
		pinctrl-0 = <&state_default>;
@@ -723,6 +738,10 @@
		status = "okay";
		status = "okay";
	};
	};


	pwm@7000a000 {
		status = "okay";
	};

	i2c@7000c000 {
	i2c@7000c000 {
		status = "okay";
		status = "okay";
		clock-frequency = <100000>;
		clock-frequency = <100000>;
@@ -811,7 +830,7 @@
					regulator-boot-on;
					regulator-boot-on;
				};
				};


				fet1 {
				vdd_bl_reg: fet1 {
					regulator-name = "vdd-lcd-bl";
					regulator-name = "vdd-lcd-bl";
				};
				};


@@ -819,7 +838,7 @@
					regulator-name = "vdd-modem-3v3";
					regulator-name = "vdd-modem-3v3";
				};
				};


				fet4 {
				avdd_lcd_reg: fet4 {
					regulator-name = "avdd-lcd";
					regulator-name = "avdd-lcd";
				};
				};


@@ -1089,6 +1108,17 @@
		vbus-supply = <&usb3_vbus_reg>;
		vbus-supply = <&usb3_vbus_reg>;
	};
	};


	backlight: backlight {
		compatible = "pwm-backlight";

		enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
		power-supply = <&vdd_bl_reg>;
		pwms = <&pwm 1 1000000>;

		brightness-levels = <0 4 8 16 32 64 128 255>;
		default-brightness-level = <6>;
	};

	clocks {
	clocks {
		compatible = "simple-bus";
		compatible = "simple-bus";
		#address-cells = <1>;
		#address-cells = <1>;
@@ -1155,16 +1185,6 @@
			gpio = <&gpio TEGRA_GPIO(H, 5) GPIO_ACTIVE_HIGH>;
			gpio = <&gpio TEGRA_GPIO(H, 5) GPIO_ACTIVE_HIGH>;
		};
		};


		lcd_bl_en_reg: regulator@2 {
			compatible = "regulator-fixed";
			reg = <2>;
			regulator-name = "lcd_bl_en";
			regulator-min-microvolt = <5000000>;
			regulator-max-microvolt = <5000000>;
			enable-active-high;
			gpio = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
		};

		usb1_vbus_reg: regulator@3 {
		usb1_vbus_reg: regulator@3 {
			compatible = "regulator-fixed";
			compatible = "regulator-fixed";
			reg = <3>;
			reg = <3>;