Question, i.MX6Q LDB pix clock setting

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Question, i.MX6Q LDB pix clock setting

1,854件の閲覧回数
SLICE
Contributor IV

Dear team,

I would like to ask about LDB pix clock setting

My customer needs to know how to set LDB(ldb_di0_ipu/ldb_di1_ipu) pix clock(LVDS_CLK) to 74.25MHz in the case of using 24MHz clock input into i.MX6Q.

In the customer’s understanding, LDB clock(LDB_DI0_SERIAL_CLK_ROOT / LDB_DI1_SERIAL_CLK_ROOT) should be 519.75MHz for making 74.25MHz of pix clock. (512.75MHz = 74.25MHz x 7)

So, they cannot get 74.25MHz of pix clock, accurately, with 24MHz clock.

Is it possible to get 74.25MHz of pix clock with 24MHz clock input?

If yes, please show me the way to configure.

Thanks,

Miyamoto

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,667件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

I upload the patch for how to change the lvds clock, hope helpful for you.

0 件の賞賛
返信

1,667件の閲覧回数
SLICE
Contributor IV

Hello Joan,

Could you please show me what can be achieved by applying the patch?

The LDVS clock gets to be 74.25MHz by applying it?

Best Regards,

Miyamoto

0 件の賞賛
返信

1,667件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

if you use the two LVDS channel lines to drive one screen that has an LVDS clock of 74.25Mhz.

try to set the source code  as below, just see the clock frequency:

====

&ldb {

        status = "okay";

        split-mode;

 

        lvds-channel@0 {

                fsl,data-mapping = "spwg";

                fsl,data-width = <24>;

                primary;

                status = "okay";

 

                display-timings {

                        native-mode = <&timing0>;

                        timing0: hsd100pxn1 {

                                clock-frequency = <148500000>;

                                hactive = <1920>;

                                vactive = <1080>;

                                hback-porch = <220>;

                                hfront-porch = <40>;

                                vback-porch = <21>;

                                vfront-porch = <7>;

                                hsync-len = <60>;

                                vsync-len = <10>;

                        };

                };

        };

};

====

0 件の賞賛
返信