MLK-12948 ARM: dts: imx7d-sdb: change the hardware reset gpio for mipi dsi
authorFancy Fang <chen.fang@nxp.com>
Thu, 30 Jun 2016 05:38:39 +0000 (13:38 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:31:07 +0000 (02:31 +0300)
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 <chen.fang@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
arch/arm/boot/dts/imx7d-sdb-mipi-dsi.dts
arch/arm/boot/dts/imx7d-sdb.dts

index 71d6684..bbfca36 100644 (file)
 / {
        mipi_dsi_reset: mipi-dsi-reset {
                compatible = "gpio-reset";
-               reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
+               reset-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>;
                reset-delay-us = <1000>;
                #reset-cells = <0>;
        };
 };
 
-&fec2 {
-       status = "disabled";
-};
-
 &lcdif {
        disp-dev = "mipi_dsi_samsung";
 };
 
 &mipi_dsi {
        pinctrl-names = "default";
-       pinctrl-0 = <&pinctrl_enet2_epdc0_en>;
+       pinctrl-0 = <&pinctrl_mipi_dsi_reset>;
        lcd_panel = "TRULY-WVGA-TFT3P5581E";
        resets = <&mipi_dsi_reset>;
        status = "okay";
index 0857896..d60a214 100644 (file)
                        >;
                };
 
+               pinctrl_mipi_dsi_reset: mipi_dsi_reset_grp {
+                       fsl,pins = <
+                               MX7D_PAD_SAI1_TX_DATA__GPIO6_IO15 0x1b
+                       >;
+               };
+
                pinctrl_ecspi3: ecspi3grp {
                        fsl,pins = <
                                MX7D_PAD_SAI2_TX_SYNC__ECSPI3_MISO      0x2