Part Number: AM335
Hi,
We need enable display in Linux Kernel.
processor,if driver is availabe please help me how to enable in dts file.
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.
Part Number: AM335
Hi,
We need enable display in Linux Kernel.
processor,if driver is availabe please help me how to enable in dts file.
Hello,
We already have HDMI enabled and please refer to the following DT file: git.ti.com/.../am437x-gp-evm-hdmi.dts
Regards,
Krunal
Hello,
Please review the contents of the "am437x-gp-evm-hdmi.dts" file and only add nodes specific to hdmi/dss. If you include the file "am437x-gp-evm.dts", it will look for nodes specific to TI EVM. If your custom DTS file does not specific them, you will get an error.
Regards,
Krunal
Hello sir,
i think If I do not include am437x-gp-evm.dts I can not use nodes of am437x-gp-evm-hdmi.dts. Because in am437x-gp-evm-hdmi.dts some of the nodes are over riding,which are defined in m437x-gp-evm.dts.I have to include this.
what you mean nodes specific to nodes specific to hdmi/dss,
Are below one:
hdmi: connector {
compatible = "hdmi-connector";
label = "hdmi";
type = "b";
port {
hdmi_connector_in: endpoint {
remote-endpoint = <&sii9022_out>;
};
};
};
&dpi_out {
remote-endpoint = <&sii9022_in>;
data-lines = <24>;
};
/* Override SelLCDorHDMI from am437x-gp-evm.dts to select HDMI */
&gpio5 {
p8 {
output-low;
};
};
So kindly tell me which are nodes only I should copy..That is enough for me rest all I will take care
Hello,
In the am437x-gp-evm.dts file, there is a node related to DSS and you will need to use that. Please change the pinctrl based on your custom setup and I am not sure what transmitter you are using but for AM437x we are using SiI9022 from Silicon Image. In the gp-evm file, the endpoint points to lcd_in but in the hdmi file, we overwrite the value to sii9022_in.
Next, in the gp-evm file, we have gpio5 defined and you need to change output-high to output-low. Please keep in mind that this is specific to our board because we have a mux that selects either LCD or HDMI signals.
From the hdmi dts file, you will need to copy all the nodes related to hdmi and sii9022 (depends on what HDMI transmitter you are using). The i2c1 node is important because it setup the transmitter and if you want sound then the sound1 node should also be included.
Regards,
Krunal
Should I include "am437x-gp-evm.dts" in my .dts ? .Because you have included in am437x-gp-evm-hdmi.dts.
I thought you have your custom DTS file and if yes, are you able to boot your board with it? If yes, you do not to include the "am437x-gp-evm.dts" file.
You told In the am437x-gp-evm.dts file, there is a node related to DSS,Please confirm me whether below mentioned node which you told about.
Yes, both of them should be included and please change the pin mux based on your setup. Also, change the remote-endpoint.
Regards,
Krunal
Hello,
The sound0 node is used for configuring the McASP1+tlv320aic and you could remove the sound0 node. If you would like the sound functionality of HDMI, please refer to the sound1 node in the am437x-gp-evm-hdmi.dts.
Regards,
Krunal
Hi sir,
Thank you for you replay.
One last doubt I have. In "am437x-gp-evm.dts" there are many nodes defined,wile porting to my .dts file is it enough if I port only dssnode
Hi Krunal,
I enabled some modules while doing make menuconfig,but in .config some configuration are not set.
Hello,
I have attached our default config file and I recommend you to compare it with your configuration. If a config is not set, simply search for it in the menuconfig option and set the appropriate mode.
Regards,
Krunal
am437x_config.txt
Hi Krunal,
I went and eanbling perticular features,once after saving and exiting from make menuconfig,It is not set in .config.And again if I got menuconfig and see,those things wiil be disabled.
I am enablng and saving in menuconfig.Once exit again it will be disabled.
Hi sir,
Thank you for you replay.
One last doubt I have. In "amx-gp-evm.dts" there are many nodes defined,wile porting to my .dts file is it enough if Iport only dss node
Hello,
The above node looks correct and as I mentioned in my previous post, please change the remote-endpoint because you are not using lcd_in. Also, have you tried to boot your board with HDMI and if yes, please share what errors you are running into?
Regards,
Krunal
Hello,
Does your board boot and do you see anything on your HDMI output? Please try running the command modetest on your terminal. Also, please share the following files in text files (easier for me to parse):
1. HDMI dts file
2. ".config" file
3. boot log
Regards,
Krunal