Hi,
I can't get any /dev/fb0 device on my iMX. On the boot I have a NXP psplash image and after it turns off and nothing happens. I don't even have a log message error.
I have a LCD touch panel, connected to the iMX with LVDS. The hardware is OK as it works with an old LTIB distribution.
Please find attached :
Thanks
已解决! 转到解答。
It worked when I took the sabreauto device tree display configuration :
&ipu1_csi1_from_ipu1_csi1_mux {
clock-lanes = <0>;
data-lanes = <1 2>;
};mipi_xclk: mipi_xclk { /* I don't know if this block is relevant, I kept it anyway */
compatible = "pwm-clock";
#clock-cells = <0>;
clock-frequency = <22000000>;
clock-output-names = "mipi_pwm3";
pwms = <&pwm3 0 45>; /* 1 / 45 ns = 22 MHz */
status = "okay";
};backlight_lvds: backlight-lvds {
compatible = "pwm-backlight";
pwms = <&pwm4 0 50000>;
brightness-levels = <0 4 8 16 32 64 128 255>;
default-brightness-level = <7>;
power-supply = <®_3p3v>;
status = "okay";
};&ldb {
status = "okay";
lvds-channel@0 {
fsl,data-mapping = "spwg";
fsl,data-width = <18>;
status = "okay";
display-timings {
native-mode = <&timing0>;
timing0: atm0700l6l {
clock-frequency = <38000000>;
hactive = <800>;
vactive = <480>;
hback-porch = <46>;
hfront-porch = <210>;
vback-porch = <23>;
vfront-porch = <12>;
hsync-len = <10>;
vsync-len = <10>;
};
};
};
};
It worked when I took the sabreauto device tree display configuration :
&ipu1_csi1_from_ipu1_csi1_mux {
clock-lanes = <0>;
data-lanes = <1 2>;
};mipi_xclk: mipi_xclk { /* I don't know if this block is relevant, I kept it anyway */
compatible = "pwm-clock";
#clock-cells = <0>;
clock-frequency = <22000000>;
clock-output-names = "mipi_pwm3";
pwms = <&pwm3 0 45>; /* 1 / 45 ns = 22 MHz */
status = "okay";
};backlight_lvds: backlight-lvds {
compatible = "pwm-backlight";
pwms = <&pwm4 0 50000>;
brightness-levels = <0 4 8 16 32 64 128 255>;
default-brightness-level = <7>;
power-supply = <®_3p3v>;
status = "okay";
};&ldb {
status = "okay";
lvds-channel@0 {
fsl,data-mapping = "spwg";
fsl,data-width = <18>;
status = "okay";
display-timings {
native-mode = <&timing0>;
timing0: atm0700l6l {
clock-frequency = <38000000>;
hactive = <800>;
vactive = <480>;
hback-porch = <46>;
hfront-porch = <210>;
vback-porch = <23>;
vfront-porch = <12>;
hsync-len = <10>;
vsync-len = <10>;
};
};
};
};