AnsweredAssumed Answered

LVDS and PWM settings on iMX6

Question asked by ユーリ レリョーサ on Jan 21, 2015
Latest reply on Aug 20, 2015 by Ivan Nikolaenko

Hello Community,

 

We are having issues with display and backlight.

The fb driver seems run but the penguin logo does not show and the backlight driver doesn't seem to be even called.

 

Below are the related device tree parts. Is there something wrong with these settings?

 

mxcfb1: fb@0 {

  compatible = "fsl,mxc_sdc_fb";

  disp_dev = "ldb";

  interface_pix_fmt = "RGB24";

  mode_str ="LDB-WSVGA";

  default_bpp = <16>;

  int_clk = <0>;

  late_init = <0>;

  status = "okay";

};

&ldb {

  ipu_id = <0>;

  disp_id = <0>;

  ext_ref = <1>;

  mode = "sin0";

  sec_ipu_id = <1>;

  sec_disp_id = <0>;

  status = "okay";

};

 

backlight {

  compatible = "pwm-backlight";

  pwms = <&pwm1 0 10000000>;

  brightness-levels = <0 4 8 16 32 64 128 248>;

  default-brightness-level = <7>;

};

&pwm1 {

  pinctrl-names = "default";

  pinctrl-0 = <&pinctrl_pwm1_1>;

  status = "okay";

};

 

 

 

Also I noticed with the the reference manual for i.MX 6Dual/6Quad on page 213, IPU-1 & IPU-2 have [0260_0000] and [02A0_0000] addresses respectively.

But on imx6qdl.dtsi it is like so:

ipu1: ipu@02400000 {

  compatible = "fsl,imx6q-ipu";

  reg = <0x02400000 0x400000>;

  interrupts = <0 6 0x4 0 5 0x4>;

  clocks = <&clks 130>, <&clks 131>, <&clks 132>,

  <&clks 39>, <&clks 40>,

  <&clks 135>, <&clks 136>;

  clock-names = "bus", "di0", "di1",

       "di0_sel", "di1_sel",

       "ldb_di0", "ldb_di1";

  resets = <&src 2>;

  bypass_reset = <0>;

};

The register address is at [0240_0000] should this be corrected to [0260_0000]?

 

 

Thanks,

Yuri

Outcomes