Difference between revisions of "LVDS"
From Rockchip open source Document
(Created page with " === * How to Enable LVDS Module === ---- '''1. Driver Compile'''<br/> Ensure below configures have been selected: <pre><code>CONFIG_ROCKCHIP_LVDS=y</code> </pre> Bellow dr...") |
|||
Line 1: | Line 1: | ||
− | = | + | = References = |
− | --- | + | [https://github.com/rockchip-linux/kernel/tree/release-4.4/drivers/media/platform/rockchip-rga source code] |
− | + | [https://github.com/rockchip-linux/kernel/blob/release-4.4/Documentation/devicetree/bindings/display/rockchip/rockchip-lvds.txt device-tree document] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | = Tips = | |
− | == | + | == Whether LVDS display card has been registered successfully == |
− | |||
− | |||
If the LVDS display card has been created, it would create a sysfs debug directory. | If the LVDS display card has been created, it would create a sysfs debug directory. | ||
Line 51: | Line 23: | ||
*Check the kernel log for more detail (dmesg | grep lvds) | *Check the kernel log for more detail (dmesg | grep lvds) | ||
− | + | == Check LVDS display card status: status, enabled, modes == | |
<pre><code>$ cd /sys/class/drm/card0-LVDS-1 | <pre><code>$ cd /sys/class/drm/card0-LVDS-1 | ||
$ cat status # should printed "connected" or "disconnected" | $ cat status # should printed "connected" or "disconnected" | ||
Line 58: | Line 30: | ||
</pre> | </pre> | ||
− | + | == If you still have no picture on LVDS panel, please check bellow information: == | |
*Check the LVDS panel power supply. | *Check the LVDS panel power supply. | ||
Line 64: | Line 36: | ||
*Check the hardware connected status, or test the panel on workable board. | *Check the hardware connected status, or test the panel on workable board. | ||
− | + | === === | |
− | |||
− | === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 02:50, 11 October 2017
Contents
References
Tips
Whether LVDS display card has been registered successfully
If the LVDS display card has been created, it would create a sysfs debug directory.
<code>$ ls /sys/class/drm/card0-LVDS-1</code>
So you just need to check that directory. If that directory is missing in your machine board, please check:
- Whether LVDS have been enabled in DTS files.
- Whether LVDS panel have been registered successfully.
- Whether you have available VOP module for LVDS.
- Check the kernel log for more detail (dmesg | grep lvds)
Check LVDS display card status: status, enabled, modes
<code>$ cd /sys/class/drm/card0-LVDS-1 $ cat status # should printed "connected" or "disconnected" $ cat enabled # should printed "enabled" or "disabled" $ cat modes # should printed the available mode list, like 1536x2048</code>
If you still have no picture on LVDS panel, please check bellow information:
- Check the LVDS panel power supply.
- Check the panel datasheet, ensure you have configured the timing and data format rightly.
- Check the hardware connected status, or test the panel on workable board.