Difference between revisions of "IoTGateway/BSP/Linux/AM335x/V2/Hardware module/LCD Module"
From ESS-WIKI
Chang.qing (talk | contribs) |
Chang.qing (talk | contribs) |
||
Line 5: | Line 5: | ||
= display timing setting on SDK = | = 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: | + | 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 { | <pre>display-timings { | ||
native-mode = <&timing2>; | native-mode = <&timing2>; | ||
Line 26: | Line 26: | ||
</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 04: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