Difference between revisions of "IoTGateway/BSP/Linux/AM335x/V2/Hardware module/LCD Module"
From ESS-WIKI
Chang.qing (talk | contribs) (Created page with "= LVDS timing setting on SDK version 1 = *Add timing structure into dispaly driver LDB-XGA is an example for the resolution of your LVDS panel. You can input the actual reso...") |
Chang.qing (talk | contribs) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | = | + | {{DISPLAYTITLE:Display Module}} [[IoTGateway/BSP/Linux/AM335x/Hardware_module|<font style="background-color:yellow"><big><big>→Hardware Module</big></big></font>]] |
| − | + | __TOC__ | |
| − | + | = display timing setting on SDK = | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | If you want to select or change the type of LVDS panel, please set the parameter of "native-mode" in linux-4.1.6+gitAUTOINC+52c4aa7cdb-g52c4aa7/arch/arm/boot/dts/am335x-rsb4221.dts file to your panel parameter, which is shown as below: | |
| − | < | + | <pre>display-timings { |
| − | + | native-mode = <&timing2>; | |
| − | + | ... | |
| − | + | ... | |
| − | + | timing2: 1360x768 { | |
| − | + | hactive = <1024>; | |
| − | + | vactive = <768>; | |
| − | + | hback-porch = <120>; | |
| − | + | hfront-porch = <120>; | |
| − | + | hsync-len = <104>; | |
| − | + | vback-porch = <20>; | |
| − | + | vfront-porch = <20>; | |
| − | + | vsync-len = <1>; | |
| − | + | clock-frequency = <60000000>; | |
| + | hsync-active = <0>; | ||
| + | vsync-active = <0>; | ||
| + | }; | ||
}; | }; | ||
</pre> | </pre> | ||
| − | + | <span id="result_box" lang="en"><span></span></span>For the meaning of each attribute, refer to the “Documentation/devicetree/bindings/video/display-timing.txt” file in the source code | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | < | ||
| − | |||
| − | |||
| − | |||
| − | < | ||
| − | </ | ||
| − | |||
| − | |||
| − | < | ||
| − | |||
Latest revision as of 03:42, 8 February 2017
→Hardware Module
Contents
display timing setting on SDK
If you want to select or change the type of LVDS panel, please set the parameter of "native-mode" in linux-4.1.6+gitAUTOINC+52c4aa7cdb-g52c4aa7/arch/arm/boot/dts/am335x-rsb4221.dts file to your panel parameter, which is shown as below:
display-timings {
native-mode = <&timing2>;
...
...
timing2: 1360x768 {
hactive = <1024>;
vactive = <768>;
hback-porch = <120>;
hfront-porch = <120>;
hsync-len = <104>;
vback-porch = <20>;
vfront-porch = <20>;
vsync-len = <1>;
clock-frequency = <60000000>;
hsync-active = <0>;
vsync-active = <0>;
};
};
For the meaning of each attribute, refer to the “Documentation/devicetree/bindings/video/display-timing.txt” file in the source code