Commit f6826156 authored by Alban Bedel's avatar Alban Bedel Committed by Thierry Reding

ARM: tegra: tamonten: add the display to the Medcom Wide

Enable the RGB output and add the panel definition to the Medcom Wide
DTS. Also add a label to the backlight defintion to reference it in
the panel definition.
Signed-off-by: default avatarAlban Bedel <alban.bedel@avionic-design.de>
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
parent 23e63345
...@@ -10,6 +10,15 @@ pwm@7000a000 { ...@@ -10,6 +10,15 @@ pwm@7000a000 {
status = "okay"; status = "okay";
}; };
host1x@50000000 {
dc@54200000 {
rgb {
status = "okay";
nvidia,panel = <&panel>;
};
};
};
i2c@7000c000 { i2c@7000c000 {
wm8903: wm8903@1a { wm8903: wm8903@1a {
compatible = "wlf,wm8903"; compatible = "wlf,wm8903";
...@@ -30,7 +39,7 @@ wm8903: wm8903@1a { ...@@ -30,7 +39,7 @@ wm8903: wm8903@1a {
}; };
}; };
backlight { backlight: backlight {
compatible = "pwm-backlight"; compatible = "pwm-backlight";
pwms = <&pwm 0 5000000>; pwms = <&pwm 0 5000000>;
...@@ -38,6 +47,15 @@ backlight { ...@@ -38,6 +47,15 @@ backlight {
default-brightness-level = <6>; default-brightness-level = <6>;
}; };
panel: panel {
compatible = "innolux,n156bge-l21", "simple-panel";
power-supply = <&vdd_1v8_reg>, <&vdd_3v3_reg>;
enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>;
backlight = <&backlight>;
};
sound { sound {
compatible = "ad,tegra-audio-wm8903-medcom-wide", compatible = "ad,tegra-audio-wm8903-medcom-wide",
"nvidia,tegra-audio-wm8903"; "nvidia,tegra-audio-wm8903";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment