IMX6Q dual IPU problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6Q dual IPU problem

524 Views
liweihua
Contributor I

I have heard IMX6Q has two IPUs Compared with IMX6DL having only one. 

Then how to config to use both the two IPU?

My configration of device tree now is:

arch/arm/boot/dts/imx6q.dts:

&ldb {
 lvds-channel@0 {
  crtc = "ipu2-di0";
 };

 lvds-channel@1 {
  crtc = "ipu2-di1";
 };
};

arch/arm/boot/dts/imx6q.dtsi:

 lcd@0 {
  compatible = "fsl,lcd";
  ipu_id = <0>;
  disp_id = <0>;
  default_ifmt = "RGB24";
  pinctrl-names = "default";
  pinctrl-0 = <&pinctrl_ipu1>;
  status = "okay";
    };

Please modify it to use both the two IPU.

Thanks & Best Regards

Levi

Labels (1)
0 Kudos
1 Reply

411 Views
igorpadykov
NXP Employee
NXP Employee

Hi Levi

for ipu usage one can look at p.17 presentation

A Deep Dive into Image Processing for i.MX 6 Series Applications Processors 

Muxing performed by IOMUXC_GPR registers described in IOMUX Chapter of i.MX6Q Reference Manual.

For configuring various configurations may be useful to look at BD boards, as they have many lcd options

Configuring i.MX6 boards for different screens - Boundary Devices 

linux-imx6/arch/arm/boot/dts at boundary-imx_4.1.15_1.0.0_ga · boundarydevices/linux-imx6 · GitHub 

in dts file one can pay attention to entries like "ipu2-di0".

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos