mirror of https://gitee.com/openkylin/linux.git
ARM: tegra: Enable LVDS on Cardhu
Add backlight and panel nodes for the Cardhu 10.1" WXGA 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
1d4e068948
commit
02b1fea2e4
|
@ -56,6 +56,16 @@ pci@3,0 {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
host1x@50000000 {
|
||||||
|
dc@54200000 {
|
||||||
|
rgb {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
nvidia,panel = <&panel>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
pinmux@70000868 {
|
pinmux@70000868 {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&state_default>;
|
pinctrl-0 = <&state_default>;
|
||||||
|
@ -152,7 +162,11 @@ serial@70006200 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
i2c@7000c000 {
|
pwm@7000a000 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
panelddc: i2c@7000c000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
clock-frequency = <100000>;
|
clock-frequency = <100000>;
|
||||||
};
|
};
|
||||||
|
@ -372,6 +386,17 @@ usb-phy@7d008000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
backlight: backlight {
|
||||||
|
compatible = "pwm-backlight";
|
||||||
|
|
||||||
|
enable-gpios = <&gpio TEGRA_GPIO(H, 2) 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>;
|
||||||
|
@ -385,6 +410,16 @@ clk32k_in: clock@0 {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
panel: panel {
|
||||||
|
compatible = "chunghwa,claa101wb01", "simple-panel";
|
||||||
|
ddc-i2c-bus = <&panelddc>;
|
||||||
|
|
||||||
|
power-supply = <&vdd_pnl1_reg>;
|
||||||
|
enable-gpios = <&gpio TEGRA_GPIO(L, 2) GPIO_ACTIVE_HIGH>;
|
||||||
|
|
||||||
|
backlight = <&backlight>;
|
||||||
|
};
|
||||||
|
|
||||||
regulators {
|
regulators {
|
||||||
compatible = "simple-bus";
|
compatible = "simple-bus";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
|
Loading…
Reference in New Issue