summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDominik Sliwa <dominik.sliwa@toradex.com>2018-11-16 16:25:42 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-11-29 10:35:26 +0100
commitd41e30fc1d8d1e35eb3abfa0e60084cd93624735 (patch)
tree00093ceb27438b9377970c6705c1586bc1598e3e /arch
parent364dc45a769467959e48df215a55677d6f8f01e3 (diff)
apalis-tk1: lvds: fix dts and allow setting lane4 drive strength
Previously, lvds-drive-strength was located in a wrong node and there was no control of the 5th lane. Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-displays.dtsi2
-rw-r--r--arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-v1.2-displays.dtsi2
-rw-r--r--arch/arm/mach-tegra/include/mach/dc.h3
3 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-displays.dtsi b/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-displays.dtsi
index 211905e74ff2..05079c6596ae 100644
--- a/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-displays.dtsi
+++ b/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-displays.dtsi
@@ -13,9 +13,9 @@
lvds:lvds {
status = "okay";
- lvds-drive-strength = <0x40 0x40 0x40 0x40>;
display {
status = "okay";
+ lvds-drive-strength = <0x40 0x40 0x40 0x40 0x40>;
disp-default-out {
status = "okay";
nvidia,out-type = <TEGRA_DC_OUT_LVDS>;
diff --git a/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-v1.2-displays.dtsi b/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-v1.2-displays.dtsi
index 3670e63a2033..7c0b13363183 100644
--- a/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-v1.2-displays.dtsi
+++ b/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-v1.2-displays.dtsi
@@ -13,9 +13,9 @@
lvds:lvds {
status = "okay";
- lvds-drive-strength = <0x40 0x40 0x40 0x40>;
display {
status = "okay";
+ lvds-drive-strength = <0x40 0x40 0x40 0x40 0x40>;
disp-default-out {
status = "okay";
nvidia,out-type = <TEGRA_DC_OUT_LVDS>;
diff --git a/arch/arm/mach-tegra/include/mach/dc.h b/arch/arm/mach-tegra/include/mach/dc.h
index 6eafba0101df..6c98a2d3b68d 100644
--- a/arch/arm/mach-tegra/include/mach/dc.h
+++ b/arch/arm/mach-tegra/include/mach/dc.h
@@ -578,7 +578,8 @@ struct tegra_dc_out {
struct tegra_hdmi_out *hdmi_out;
struct tegra_dp_out *dp_out;
struct tegra_stereo_out *stereo;
- u32 lvds_drive_strength;
+ u32 lvds_lane_drive_str;
+ u8 lvds_lane4_drive_str;
unsigned height; /* mm */
unsigned width; /* mm */