Tool/software: Linux
hi:
we want to use the sii9022 to convert the lcd to hdmi.can you give us a dts and a document to guide hdmi?
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.
Tool/software: Linux
hi:
we want to use the sii9022 to convert the lcd to hdmi.can you give us a dts and a document to guide hdmi?
Hi,
Which version of software ?
If you are using processor SDK and latest one can you refer: arch/arm/boot/dts/am437x-gp-evm-hdmi.dts (Similar thing you can do AM335x)
Also refer :
1. Documentation/i2c/instantiating-devices
2. www.kernel.org/.../sii902x.txt
yes,I use the SDK PROCESSOR 3.02.
I add hdim same like am437x-gp-evm-hdmi.dts.but some node i do not how to modifty.
in am437x-gp-evm-hdmi,the dts is followed.
1.when use the hdmi ,the sound 0 is must disabled.
2.am335x dts have no dpi_out,is this in am335x dts file named lcdc?
#include "am437x-gp-evm.dts"
#include <dt-bindings/sound/sii9022-audio.h>
/ {
aliases {
display0 = &hdmi;
};
hdmi: connector {
compatible = "hdmi-connector";
label = "hdmi";
type = "b";
port {
hdmi_connector_in: endpoint {
remote-endpoint = <&sii9022_out>;
};
};
};
sound@1 {
compatible = "simple-audio-card";
simple-audio-card,name = "HDMI";
simple-audio-card,format = "i2s";
simple-audio-card,bitclock-master = <&hdmi_dailink_master>;
simple-audio-card,frame-master = <&hdmi_dailink_master>;
hdmi_dailink_master: simple-audio-card,cpu {
sound-dai = <&mcasp1>;
system-clock-frequency = <24000000>;
system-clock-direction = "out";
};
simple-audio-card,codec {
sound-dai = <&sii9022>;
system-clock-frequency = <12000000>;
};
};
};
&lcd_bl {
status = "disabled";
};
&sound0 {
status = "disabled";
};
&i2c1 {
sii9022: sii9022@3b {
#sound-dai-cells = <0>;
compatible = "sil,sii9022";
reg = <0x3b>;
interrupt-parent = <&gpio3>;
interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
i2s-fifo-routing = <
(ENABLE_BIT|CONNECT_SD0)
0
0
0
>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
sii9022_in: endpoint {
remote-endpoint = <&dpi_out>;
};
};
port@1 {
reg = <1>;
sii9022_out: endpoint {
remote-endpoint = <&hdmi_connector_in>;
};
};
};
};
};
&dss {
port {
dpi_out: endpoint@0 {
remote-endpoint = <&sii9022_in>;
data-lines = <24>;
};
};
};
/* Override SelLCDorHDMI from am437x-gp-evm.dts to select HDMI */
&gpio5 {
p8 {
output-low;
};
};
sorry,reply so late.
i test the dts file like attach file,it failed.it show the error like this.
sii9022 2-003b: [huzz]failed to find video source,nodename=sii9022
can you help me to check this dts?
i find that am437x hdmi use the dss,but am335x does not support dss,how can i do?