I am using the verdin imx8mp som and am trying to stream hdmi using the tc358743. I have modified my kernel to include the drivers, and have all the video for linux commands down as i have tested it all on a raspberry pi before hand. What i am missing is the device tree overlay …
will the device tree create video0 so that i can sream or is that created in the driver?
this is the device tree i have so fair
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&i2c2>;
__overlay__ {
tc358743: tc358743@f {
compatible = "toshiba,tc358743";
reg = <0x0f>;
clocks = <&tc358743_clk>;
clock-names = "refclk";
port@0 {
reg = <0>;
tc358743_out: endpoint {
remote-endpoint = <&mipi_csi2_in>;
data-lanes = <1 2 3 4>;
clock-lanes = <0>;
link-frequencies = <297000000>;
};
};
};
};
};
fragment@1 {
target-path = "/";
__overlay__ {
tc358743_clk: tc358743_clk {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <27000000>;
status = "okay";
};
reg_mipi_1p0: regulator-mipi-1p0 {
compatible = "regulator-fixed";
regulator-name = "mipi_1p0";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
};
};
};
fragment@2 {
target = <&csi1_bridge>;
__overlay__ {
dma-coherent;
status = "okay";
port {
csi1_ep: endpoint {
remote-endpoint = <&csi1_mipi_ep>;
};
};
};
};
fragment@3 {
target = <&mipi_csi_1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
phy-supply = <®_mipi_1p0>;
fsl,csis-hs-settle = <6>; /* 13 */
fsl,csis-clk-settle = <0>;
clock-frequency = <333000000>;
port@0 {
reg = <0>;
mipi_csi2_in: endpoint {
remote-endpoint = <&tc358743_out>;
data-lanes = <1 2>;
clock-lanes = <0>;
};
};
port@1 {
reg = <1>;
csi1_mipi_ep: endpoint {
remote-endpoint = <&csi1_ep>;
};
};
};
};
};
what am i missing?