This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/DRA76P: How to make all display up in J6-plus Rev. B (fake lcd_hdmi, hdmi, fpd) simultaneously.

Part Number: DRA76P

Tool/software: Linux

Already this topic is discussed in following thread :

https://e2e.ti.com/support/processors/f/791/t/719730

Here, I did according to last suggestion that need to assign unique alias to all display to detect like:

/ {                                                                              
    aliases {

        display0= &lcd_hdmi;                                                          
        display1 = &fpd_disp;                                                    
        display2 = &hdmi0;                                                       
    };                                                                           
};

Now,

1. fpd is working properly and HDMI also working properly but on fake lcd the mirror image is coming of HDMI display.

2. Also, in modetest command only 2 crtcs are visible one for fpd and another for HDMI.

Please refer attached final dts file, if I am wrong or I didn't explain properly.

#include "dra76-evm-fake-lcd.dts"
#include "dra7x-evm-fpd-auo-g101evn01.0.dtsi"                                    
                                                                                 
/ {                                                                              
    aliases {
	display0 = &lcd_hdmi;                                                                   
        display1 = &fpd_disp;                                                    
        display2 = &hdmi0;                                                       
    };                                                                           
};                                                                               
                                                                                 
&dss {                                                                           
    ports {                                                                      
        status = "ok";                                                           
    };                                                                           
};                                                                               
                                                                                 
&disp_ser {                                                                      
    status = "ok";                                                               
    ranges = <0x0 0x2d>;                                                         
};                                                                               
                                                                                 
/* Tie the end points of DSS and FPDLink together */                             
&fpd_in {                                                                        
    remote-endpoint = <&dpi_out3>;                                               
};                                                                               
                                                                                 
&dpi_out3 {                                                                      
    remote-endpoint = <&fpd_in>;                                                 
};                                                                               
                                                                                 
&lcd_fpd {                                                                       
    status = "ok";                                                               
};                                                                               
                                                                                 
/* U21 on the EVM */                                                             
/* gpmc_ad_vid_s0: high: GPMC , low: VOUT3 */                                    
&pcf_gpio_21 {                                                                   
    p0 {                                                                         
        gpio-hog;                                                                
        gpios = <0 GPIO_ACTIVE_HIGH>;                                            
        output-low;                                                              
        line-name = "gpmc_ad_vid_s0";                                            
    };                                                                           
};

                                                                                 
/* U110 on the EVM. For Rev A boards */                                          
/*                                                                               
&pcf_hdmi {                                                                      
    p11 {                                                                        
        gpio-hog;                                                                
        gpios = <11 GPIO_ACTIVE_HIGH>;                                           
        output-low;                                                              
        line-name = "disp1_vpoc_onn";                                            
    };                                                                           
};                                                                               
*/                                                                               
                                                                                 
/* For supplying power to the display via FPDLink */                             
&gpio2 {                                                                         
    p2 {                                                                         
        gpio-hog;                                                                
        gpios =  <2 GPIO_ACTIVE_HIGH>;                                           
        output-low;                                                              
        line-name = "disp1_vpoc_onn";                                            
    };                                                                           
};                        
So, how can I get 3 crtcs corresponding to fake-lcd, fpd and HDMI? And how will be auto mirroring avoided?

Regards

Mayur