aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVenkateswara Rao Mandela <venkat.mandela@ti.com>2017-02-13 16:42:32 +0530
committerPraneeth Bajjuri <praneeth@ti.com>2017-02-16 12:04:44 -0600
commit0657cae262a052718bd13e437dcaa9c7b40e3264 (patch)
tree2e64bbaba5705f3ca4047090a6424685a48dd08f
parent27d6c62416796592e6eca644771e4b659f38ca7a (diff)
downloadjacinto6evm-0657cae262a052718bd13e437dcaa9c7b40e3264.tar.gz
dra7xx: display: fpdlink: adapt dts to upstream changes
Modify the FPDLink device tree entries to use the panel-dpi driver as was done for the tlc59108 panel driver. Please see commit 1702e07719a5 ("drm/omap: displays: Remove panel-tlc59108") for more information. Change-Id: I65df5441003dbb452fc7ffa179068ad589f57411 Signed-off-by: Venkateswara Rao Mandela <venkat.mandela@ti.com>
-rw-r--r--arch/arm/boot/dts/dra7-evm-lcd-lg.dts8
-rw-r--r--arch/arm/boot/dts/dra7-evm.dts61
-rw-r--r--arch/arm/boot/dts/dra72-evm-common.dtsi59
-rw-r--r--arch/arm/boot/dts/dra72-evm.dts33
4 files changed, 104 insertions, 57 deletions
diff --git a/arch/arm/boot/dts/dra7-evm-lcd-lg.dts b/arch/arm/boot/dts/dra7-evm-lcd-lg.dts
index f67beaa8ff01..2b09d3a8839f 100644
--- a/arch/arm/boot/dts/dra7-evm-lcd-lg.dts
+++ b/arch/arm/boot/dts/dra7-evm-lcd-lg.dts
@@ -14,3 +14,11 @@
interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
};
+
+/* Uncomment the below lines to enable the FPDLink display */
+
+/*
+&lcd_fpd {
+ status = "okay";
+};
+*/
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index b6aa694a098b..ee9d258e71fd 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -987,18 +987,55 @@ i2c_p3_exp: &i2c2 {
slave-mode;
};
- /* TLC chip for LCD panel power and backlight */
- fpd_disp: tlc59108@1c {
- status = "disabled";
- reg = <0x1c>;
- compatible = "ti,tlc59108-fpddisp";
- enable-gpios = <&pcf_gpio_21 0 GPIO_ACTIVE_LOW>;
- /* P0, SEL_GPMC_AD_VID_S0 */
-
- port@lcd3 {
- fpd_in: endpoint {
- remote-endpoint = <&dpi_out3>;
- };
+ };
+};
+
+
+&disp_ser {
+ fpd_disp: tlc59108@1c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "ti,tlc59108";
+ reg = <0x1c>;
+
+ };
+};
+
+/ {
+ lcd_fpd: display_fpd {
+ /*
+ * This is not really a dpi panel, but panel-dpi driver
+ * works as dummy panel driver.
+ */
+ compatible = "lg,lp101wx2", "panel-dpi";
+
+ label = "lcd_fpd";
+ enable-gpios = <&pcf_gpio_21 0 GPIO_ACTIVE_LOW>;
+ /* P0, SEL_GPMC_AD_VID_S0 */
+ status = "disabled";
+
+ panel-timing {
+ clock-frequency = <69300404>;
+ hactive = <1280>;
+ vactive = <800>;
+
+ hfront-porch = <48>;
+ hback-porch = <44>;
+ hsync-len = <32>;
+
+ vfront-porch = <4>;
+ vback-porch = <7>;
+ vsync-len = <12>;
+
+ hsync-active = <0>;
+ vsync-active = <0>;
+ de-active = <1>;
+ pixelclk-active = <0>;
+ };
+
+ port@lcd3 {
+ fpd_in: endpoint {
+ remote-endpoint = <&dpi_out3>;
};
};
};
diff --git a/arch/arm/boot/dts/dra72-evm-common.dtsi b/arch/arm/boot/dts/dra72-evm-common.dtsi
index b3a93c35ba7c..a7a073fac380 100644
--- a/arch/arm/boot/dts/dra72-evm-common.dtsi
+++ b/arch/arm/boot/dts/dra72-evm-common.dtsi
@@ -598,19 +598,54 @@ i2c_p3_exp: &i2c5 {
reg = <0x2c>;
slave-mode;
};
+ };
+};
- /* TLC chip for LCD panel power and backlight */
- fpd_disp: tlc59108@1c {
- status = "disabled";
- reg = <0x1c>;
- compatible = "ti,tlc59108-fpddisp";
- enable-gpios = <&pcf_gpio_21 0 GPIO_ACTIVE_LOW>;
- /* P0, SEL_GPMC_AD_VID_S0 */
-
- port@lcd3 {
- fpd_in: endpoint {
- remote-endpoint = <&dpi_out3>;
- };
+&disp_ser {
+ fpd_disp: tlc59108@1c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "ti,tlc59108";
+ reg = <0x1c>;
+
+ };
+};
+
+/ {
+ lcd_fpd: display_fpd {
+ /*
+ * This is not really a dpi panel, but panel-dpi driver
+ * works as dummy panel driver.
+ */
+ compatible = "lg,lp101wx2", "panel-dpi";
+
+ label = "lcd_fpd";
+ enable-gpios = <&pcf_gpio_21 0 GPIO_ACTIVE_LOW>;
+ /* P0, SEL_GPMC_AD_VID_S0 */
+ status = "disabled";
+
+ panel-timing {
+ clock-frequency = <69300404>;
+ hactive = <1280>;
+ vactive = <800>;
+
+ hfront-porch = <48>;
+ hback-porch = <44>;
+ hsync-len = <32>;
+
+ vfront-porch = <4>;
+ vback-porch = <7>;
+ vsync-len = <12>;
+
+ hsync-active = <0>;
+ vsync-active = <0>;
+ de-active = <1>;
+ pixelclk-active = <0>;
+ };
+
+ port@lcd3 {
+ fpd_in: endpoint {
+ remote-endpoint = <&dpi_out3>;
};
};
};
diff --git a/arch/arm/boot/dts/dra72-evm.dts b/arch/arm/boot/dts/dra72-evm.dts
index deef9b8520b2..73ac6c98771f 100644
--- a/arch/arm/boot/dts/dra72-evm.dts
+++ b/arch/arm/boot/dts/dra72-evm.dts
@@ -215,39 +215,6 @@
};
};
-&i2c5 {
- disp_ser: serializer@1b {
- compatible = "ti,ds90uh925q";
- reg = <0x1b>;
-
- #address-cells = <1>;
- #size-cells = <0>;
- ranges = <0x2c 0x2c>,
- <0x1c 0x1c>;
-
- disp_des: deserializer@2c {
- compatible = "ti,ds90uh928q";
- reg = <0x2c>;
- slave-mode;
- };
-
- /* TLC chip for LCD panel power and backlight */
- fpd_disp: tlc59108@1c {
- status = "disabled";
- reg = <0x1c>;
- compatible = "ti,tlc59108-fpddisp";
- enable-gpios = <&pcf_gpio_21 0 GPIO_ACTIVE_LOW>;
- /* P0, SEL_GPMC_AD_VID_S0 */
-
- port@lcd3 {
- fpd_in: endpoint {
- remote-endpoint = <&dpi_out3>;
- };
- };
- };
- };
-};
-
&hdmi {
vdda_video-supply = <&ldo5_reg>;
};