mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-17 08:26:58 +07:00
ARM: tegra: enable LCD panel on Ventana
Ventana uses a CLAA101WA01A LCD panel. Enable the relevant display controller, backlight, and regulators. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
9615d65631
commit
1771a25420
@ -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";
|
||||||
|
|
||||||
@ -309,6 +317,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>;
|
||||||
@ -359,7 +371,7 @@ hdmi_ddc: i2c@0 {
|
|||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
i2c@1 {
|
lvds_ddc: i2c@1 {
|
||||||
reg = <1>;
|
reg = <1>;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
@ -557,6 +569,17 @@ sdhci@c8000600 {
|
|||||||
non-removable;
|
non-removable;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
backlight: backlight {
|
||||||
|
compatible = "pwm-backlight";
|
||||||
|
|
||||||
|
enable-gpios = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_HIGH>;
|
||||||
|
power-supply = <&vdd_bl_reg>;
|
||||||
|
pwms = <&pwm 2 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>;
|
||||||
@ -581,6 +604,16 @@ power {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
panel: panel {
|
||||||
|
compatible = "chunghwa,claa101wa01a", "simple-panel";
|
||||||
|
|
||||||
|
power-supply = <&vdd_pnl_reg>;
|
||||||
|
enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>;
|
||||||
|
|
||||||
|
backlight = <&backlight>;
|
||||||
|
ddc-i2c-bus = <&lvds_ddc>;
|
||||||
|
};
|
||||||
|
|
||||||
regulators {
|
regulators {
|
||||||
compatible = "simple-bus";
|
compatible = "simple-bus";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
@ -614,7 +647,7 @@ regulator@2 {
|
|||||||
enable-active-high;
|
enable-active-high;
|
||||||
};
|
};
|
||||||
|
|
||||||
regulator@3 {
|
vdd_pnl_reg: regulator@3 {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <3>;
|
reg = <3>;
|
||||||
regulator-name = "vdd_pnl";
|
regulator-name = "vdd_pnl";
|
||||||
@ -624,7 +657,7 @@ regulator@3 {
|
|||||||
enable-active-high;
|
enable-active-high;
|
||||||
};
|
};
|
||||||
|
|
||||||
regulator@4 {
|
vdd_bl_reg: regulator@4 {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <4>;
|
reg = <4>;
|
||||||
regulator-name = "vdd_bl";
|
regulator-name = "vdd_bl";
|
||||||
|
Loading…
Reference in New Issue
Block a user