mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 21:33:52 +00:00
ARM: tegra: Enable LVDS on Harmony
Add backlight and panel nodes for the Harmony TFT LCD panel. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
parent
b1afa7822d
commit
1d4e068948
1 changed files with 34 additions and 2 deletions
|
@ -17,6 +17,14 @@ memory {
|
||||||
};
|
};
|
||||||
|
|
||||||
host1x@50000000 {
|
host1x@50000000 {
|
||||||
|
dc@54200000 {
|
||||||
|
rgb {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
nvidia,panel = <&panel>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
hdmi@54280000 {
|
hdmi@54280000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
@ -261,6 +269,10 @@ serial@70006300 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pwm: pwm@7000a000 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
i2c@7000c000 {
|
i2c@7000c000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
clock-frequency = <400000>;
|
clock-frequency = <400000>;
|
||||||
|
@ -606,6 +618,17 @@ sdhci@c8000600 {
|
||||||
bus-width = <8>;
|
bus-width = <8>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
backlight: backlight {
|
||||||
|
compatible = "pwm-backlight";
|
||||||
|
|
||||||
|
enable-gpios = <&gpio TEGRA_GPIO(B, 5) GPIO_ACTIVE_HIGH>;
|
||||||
|
power-supply = <&vdd_bl_reg>;
|
||||||
|
pwms = <&pwm 0 5000000>;
|
||||||
|
|
||||||
|
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>;
|
||||||
|
@ -630,6 +653,15 @@ power {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
panel: panel {
|
||||||
|
compatible = "auo,b101aw03", "simple-panel";
|
||||||
|
|
||||||
|
power-supply = <&vdd_pnl_reg>;
|
||||||
|
enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>;
|
||||||
|
|
||||||
|
backlight = <&backlight>;
|
||||||
|
};
|
||||||
|
|
||||||
regulators {
|
regulators {
|
||||||
compatible = "simple-bus";
|
compatible = "simple-bus";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
@ -673,7 +705,7 @@ pci_vdd_reg: regulator@3 {
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
};
|
};
|
||||||
|
|
||||||
regulator@4 {
|
vdd_pnl_reg: regulator@4 {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <4>;
|
reg = <4>;
|
||||||
regulator-name = "vdd_pnl";
|
regulator-name = "vdd_pnl";
|
||||||
|
@ -683,7 +715,7 @@ regulator@4 {
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
};
|
};
|
||||||
|
|
||||||
regulator@5 {
|
vdd_bl_reg: regulator@5 {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <5>;
|
reg = <5>;
|
||||||
regulator-name = "vdd_bl";
|
regulator-name = "vdd_bl";
|
||||||
|
|
Loading…
Reference in a new issue