Firefly开源社区

标题: 【求助帖】RK3288 D-PHY问题 [打印本页]

作者: clare1942    时间: 2018-3-14 17:26
标题: 【求助帖】RK3288 D-PHY问题
在rk32_mipi_dsi.c里面,rk32_phy_init所定义的几个寄存器如下*********************************************************************

        test_data[0] = 0x30;
        rk32_dwc_phy_test_wr(dsi, code_pll_input_loop_div_rat, test_data, 1);
        mdelay(2);
        test_data[0] = 0x4d;
        rk32_dwc_phy_test_wr(dsi, 0x20, test_data, 1);
        test_data[0] = 0x3d;
        rk32_dwc_phy_test_wr(dsi, 0x21, test_data, 1);
        test_data[0] = 0xdf;
        rk32_dwc_phy_test_wr(dsi, 0x21, test_data, 1);
        test_data[0] =  0x7;
        rk32_dwc_phy_test_wr(dsi, 0x22, test_data, 1);
        test_data[0] = 0x80 | 0x7;
        rk32_dwc_phy_test_wr(dsi, 0x22, test_data, 1);
        test_data[0] = 0x80 | 15;
        rk32_dwc_phy_test_wr(dsi, code_hstxdatalanerequsetstatetime, test_data, 1);
        test_data[0] = 0x80 | 85;
        rk32_dwc_phy_test_wr(dsi, code_hstxdatalanepreparestatetime, test_data, 1);

        test_data[0] = 0x40 | 10;
        rk32_dwc_phy_test_wr(dsi, code_hstxdatalanehszerostatetime, test_data, 1);


*********************************************************************
可以请问0x20,0x21,0x22这几个寄存器所代表的意思是啥么呢?
因为这些值是写死的,但在某些屏必须依照MIPI的协议,去修改这些值的设定
谢谢





欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1