Skip to content

Commit 08d7a73

Browse files
bijudasgeertu
authored andcommitted
ARM: dts: iwg20d-q7-common: Fix touch controller probe failure
As per the iWave RZ/G1M schematic, the signal LVDS_PPEN controls the supply voltage for the touch panel, LVDS receiver and RGB LCD panel. Add a regulator for these device nodes and remove the powerdown-gpios property from the lvds-receiver node as it results in a touch controller driver probe failure. Fixes: 6f89dd9 ("ARM: dts: iwg20d-q7-common: Add LCD support") Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Link: https://lore.kernel.org/r/20200924080535.3641-1-biju.das.jz@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
1 parent 9123e3a commit 08d7a73

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

arch/arm/boot/dts/iwg20d-q7-common.dtsi

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858
lvds-receiver {
5959
compatible = "ti,ds90cf384a", "lvds-decoder";
60-
powerdown-gpios = <&gpio7 25 GPIO_ACTIVE_LOW>;
60+
power-supply = <&vcc_3v3_tft1>;
6161

6262
ports {
6363
#address-cells = <1>;
@@ -81,6 +81,7 @@
8181
panel {
8282
compatible = "edt,etm0700g0dh6";
8383
backlight = <&lcd_backlight>;
84+
power-supply = <&vcc_3v3_tft1>;
8485

8586
port {
8687
panel_in: endpoint {
@@ -113,6 +114,17 @@
113114
};
114115
};
115116

117+
vcc_3v3_tft1: regulator-panel {
118+
compatible = "regulator-fixed";
119+
120+
regulator-name = "vcc-3v3-tft1";
121+
regulator-min-microvolt = <3300000>;
122+
regulator-max-microvolt = <3300000>;
123+
enable-active-high;
124+
startup-delay-us = <500>;
125+
gpio = <&gpio7 25 GPIO_ACTIVE_HIGH>;
126+
};
127+
116128
vcc_sdhi1: regulator-vcc-sdhi1 {
117129
compatible = "regulator-fixed";
118130

@@ -207,6 +219,7 @@
207219
reg = <0x38>;
208220
interrupt-parent = <&gpio2>;
209221
interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
222+
vcc-supply = <&vcc_3v3_tft1>;
210223
};
211224
};
212225

0 commit comments

Comments
 (0)