Question
Interfacing with SN65DSI83 : DSI TO BRIDGE
Hi all,
I am trying to interface SN65DSI83 with STM32MP1.
Below is my device tree:
<dc{
status = "okay";
/* USER CODE BEGIN ltdc */
port {
#address-cells = <1>;
#size-cells = <0>;
ltdc_ep0_out: endpoint@0 {
reg = <0>;
remote-endpoint = <&dsi_in>;
};
};
/* USER CODE END ltdc */
};
&dsi {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
dsi_in: endpoint {
remote-endpoint = <<dc_ep0_out>;
};
};
port@1 {
reg = <1>;
dsi_out: endpoint {
remote-endpoint = <&dsi_lvds_bridge_in>;
};
};
};
};
&i2c4 {
dsi_lvds_bridge: sn65dsi83@2c {
compatible = "ti,sn65dsi83";
reg = <0x2c>;
ti,dsi-lanes = <2>;
ti,lvds-format = <1>;
ti,lvds-bpp = <24>;
ti,width-mm = <217>;
ti,height-mm = <136>;
enable-gpios = <&gpiob 10 GPIO_ACTIVE_LOW>;
interrupt-parent = <&gpiob>;
interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
/* pinctrl-0 = <&pinctrl_lvds>; */
status = "okay";
display-timings {
lvds {
clock-frequency = <66000000>;
hactive = <1024>;
vactive = <768>;
hback-porch = <200>;
hfront-porch = <0>;
vback-porch = <38>;
vfront-porch = <0>;
hsync-len = <1>;
vsync-len = <1>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <0>;
};
};
port {
dsi_lvds_bridge_in: endpoint {
remote-endpoint = <&dsi_out>;
};
};
};
};I have ported the driver available for ti-sn65dsi83 from main linux tree since it is not yet available in the latest release.
However I keep getting following message upon kernel boot:
sn65dsi83: probe of 0-002c failed with error -22Any leads will be highly appreciated.
