Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 6f89dd9e9325 ("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>

authored by

Biju Das and committed by
Geert Uytterhoeven
08d7a73f 9123e3a7

+14 -1
+14 -1
arch/arm/boot/dts/iwg20d-q7-common.dtsi
··· 57 57 58 58 lvds-receiver { 59 59 compatible = "ti,ds90cf384a", "lvds-decoder"; 60 - powerdown-gpios = <&gpio7 25 GPIO_ACTIVE_LOW>; 60 + power-supply = <&vcc_3v3_tft1>; 61 61 62 62 ports { 63 63 #address-cells = <1>; ··· 81 81 panel { 82 82 compatible = "edt,etm0700g0dh6"; 83 83 backlight = <&lcd_backlight>; 84 + power-supply = <&vcc_3v3_tft1>; 84 85 85 86 port { 86 87 panel_in: endpoint { ··· 112 111 sndcodec: simple-audio-card,codec { 113 112 sound-dai = <&sgtl5000>; 114 113 }; 114 + }; 115 + 116 + vcc_3v3_tft1: regulator-panel { 117 + compatible = "regulator-fixed"; 118 + 119 + regulator-name = "vcc-3v3-tft1"; 120 + regulator-min-microvolt = <3300000>; 121 + regulator-max-microvolt = <3300000>; 122 + enable-active-high; 123 + startup-delay-us = <500>; 124 + gpio = <&gpio7 25 GPIO_ACTIVE_HIGH>; 115 125 }; 116 126 117 127 vcc_sdhi1: regulator-vcc-sdhi1 { ··· 219 207 reg = <0x38>; 220 208 interrupt-parent = <&gpio2>; 221 209 interrupts = <12 IRQ_TYPE_EDGE_FALLING>; 210 + vcc-supply = <&vcc_3v3_tft1>; 222 211 }; 223 212 }; 224 213