Skip to content

Commit 77f6154

Browse files
committed
MLK-12948 ARM: dts: imx7d-sdb: change the hardware reset gpio for mipi dsi
Change the hardware reset gpio to 'GPIO6_IO15' for mipi dsi to allow fec2 and mipi dsi can run at the same time. This needs some hardware rework as follows: " 1. Replace R631 with 100K resistor; 2. Remove D14, D24; 3. Solder the Cathode of the diode to R471, you can use BAT54HT1(ONSEMI) or NSR0320MW2T1G(ONSEMI); 4. Solder the wire to the Anode end of the diode; 5. Scrape the solder mask(Green oil) of the MIPI Reset via, then solder the end of the wire to the via. " Signed-off-by: Fancy Fang <[email protected]> (cherry picked from commit 0af28564e73f006f742a9af0db4bc5b8588e3490)
1 parent 042fabd commit 77f6154

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

arch/arm/boot/dts/imx7d-sdb-mipi-dsi.dts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,19 @@
1111
/ {
1212
mipi_dsi_reset: mipi-dsi-reset {
1313
compatible = "gpio-reset";
14-
reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
14+
reset-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>;
1515
reset-delay-us = <1000>;
1616
#reset-cells = <0>;
1717
};
1818
};
1919

20-
&fec2 {
21-
status = "disabled";
22-
};
23-
2420
&lcdif {
2521
disp-dev = "mipi_dsi_samsung";
2622
};
2723

2824
&mipi_dsi {
2925
pinctrl-names = "default";
30-
pinctrl-0 = <&pinctrl_enet2_epdc0_en>;
26+
pinctrl-0 = <&pinctrl_mipi_dsi_reset>;
3127
lcd_panel = "TRULY-WVGA-TFT3P5581E";
3228
resets = <&mipi_dsi_reset>;
3329
status = "okay";

arch/arm/boot/dts/imx7d-sdb.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,12 @@
562562
>;
563563
};
564564

565+
pinctrl_mipi_dsi_reset: mipi_dsi_reset_grp {
566+
fsl,pins = <
567+
MX7D_PAD_SAI1_TX_DATA__GPIO6_IO15 0x1b
568+
>;
569+
};
570+
565571
pinctrl_ecspi3_cs: ecspi3_cs_grp {
566572
fsl,pins = <
567573
MX7D_PAD_SD2_CD_B__GPIO5_IO9 0x80000000

0 commit comments

Comments
 (0)