Tool/software:
I have edp bridge sn65dsi86 i need to connect with mipi dsi. i will share my dts for the same. I am getting an error for bridge attach issue [ 5.084554] [drm:drm_bridge_attach] *ERROR* failed to attach bridge /soc@0/bus@32c00000/mipi_dsi@32e60000 to encoder DSI-40: -19 what will be the cause for it does i need to enable any configuration for this. i am using a custom board.
&lcdif1 {
status = "okay";
lcdif1_disp: port@0 {
reg = <0>;
lcdif_to_dsim_1: endpoint {
remote-endpoint = <&dsim_from_lcdif_2>;
};
};
};
&mipi_dsi {
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
dsim_from_lcdif_2: endpoint {
remote-endpoint = <&lcdif_to_dsim_1>;
};
};
port@1 {
reg = <1>;
dsim_to_edpbridge: endpoint {
remote-endpoint = <&edp_bridge_in>;
};
};
};
};
&i2c3{
clock-frequency = <400000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c3>;
status = "okay";
sn65dsi86_bridge: sn65dsi86@2c{
compatible = "ti,sn65dsi86";
reg = <0x2c>;
status ="okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_dp>;
enable-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
vccio-supply = <&vcc_1v8>;
vpll-supply = <&vcc_1v8>;
vcca-supply = <&vcc_1v2>;
vcc-supply = <&vcc_1v2>;
clock-names = "refclk";
clocks = <&refclk>;
ports{
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
edp_bridge_in: endpoint {
remote-endpoint = <&dsim_to_edpbridge>;
data-lanes = <0 1 2 3>;
};
};
port@1 {
reg = <1>;
edp_bridge_out: endpoint {
remote-endpoint = <&panel_in>;
data-lanes = <0 1 2 3>;
};
};
};
};