Display Output
Each CPU supports a different set of display options. The table below shows what is supported and which display is the default.
| Board | Parallel RGB | LVDS0 | LVDS1 | HDMI | MIPI DSI |
|---|---|---|---|---|---|
| RZ/G3E SOM | Yes | Yes | Yes | Yes* | Yes |
*) Via MIPI-DSI to HDMI bridge either on the SOM Carrier Board or on an expansion board
The RZ/G3E supports up to 2 displays at the same time.
HDMI
An HDMI display can be connected in two different ways:
-
Using the onboard MIPI-DSI to HDMI bridge and a micro-HDMI cable inserted in connector J22. Make sure S1-6 is in position ON.
-
Using an external MIPI-DSI to HDMI adapter with its FPC cable inserted in connector J21. Make sure S1-6 is in position OFF.
Both alternatives use either rzg3e-ea-som-hdmi.dtb (for ox01f10 camera) or rzg3e-ea-som-hdmi-ov5640.dtb (for ov5640 camera).
LVDS
LVDS can be set up as one of
-
only LVDS0 (single, for pixel clocks 25-87 MHz), use
rzg3e-ea-som-lvds0.dtb. The device tree file is setup for the Riverdi RVT121HVLFWCA0-B with a resolution of 1280x800 @60Hz and using a USB touch controller. -
only LVDS1 (single, for pixel clocks 25-87 MHz), use
rzg3e-ea-som-lvds1.dtb. The device tree file is setup for the Riverdi RVT121HVLFWCA0-B with a resolution of 1280x800 @60Hz and using a USB touch controller. -
both interfaces (dual, for pixel clocks 50-174 MHz) for resolutions up to 1920x1080. Use
rzg3e-ea-som-lvds01.dtbwhich is setup for a generic LVDS display with a resolution of 1920x1080 @60Hz.
Parallel RGB
Use rzg3e-ea-som-lcd.dtb. The device tree file is setup for the Newhaven nhd_5.0_800480tf-atxl display which has a resolution of 800x480.
The display uses the fs5x06 capacitive touch screen driver and it is configured in the device tree.
Two Display interfaces at the same time
The RZ/G3E supports up to 2 displays at the same time. There are no prepared device tree files for this, however you can create one quite easily. This examples is for using both LVDS0 and HDMI at the same time.
-
Start by reading through the instructions in How do I create my own device tree file to get familiar with the overall process
-
Make a copy of the lvds0 device tree file and give it the new name
rzg3e-ea-som-lvds0-hdmi.dts
cp arch/arm64/boot/dts/renesas/rzg3e-ea-som-lvds0{,-hdmi}.dts
- Open the new file in an editor and change the include statements to include
rzg3e-ea-som-hdmi.dtsinstead ofrzg3e-ea-som.dtsi. So from
/dts-v1/;
#include "rzg3e-ea-som.dtsi"
to
/dts-v1/;
#include "rzg3e-ea-som-hdmi.dts"
Note that the file extension changes from .dtsi to .dts
-
You now have a device tree file that supports both LVDS0 and HDMI. The steps are the same to create a file with HDMI+LCD or LVDS0+LCD.
-
Follow the instructions in How do I create my own device tree file to put your new file to use
U-Boot
The U-Boot is not configured for display output but it is used to select which dtb (device tree) file to use. Pick which dtb file to use from the sections above and then follow the instructions in How do select which device tree file to use.
Linux
The ea-image-base and core-image-base described in Available Images both use Weston which is a simple, minimal reference implementation of the Wayland protocol.
Any configured display will be showing the Weston desktop when fully booted into Linux. It has a desktop background, shows the date+time and has a button in the upper left corner to create a terminal.
The desktop can be configured in /etc/xdg/weston/weston.ini but that is a big topic and not described here.
To see some information about the configured displays (in this example we will asume that both the lvds0 and HDMI displays are used as described above).
ls -1 /sys/class/drm/
card0
card0-HDMI-A-1
card0-LVDS-1
version
For more information about the LVDS0 display:
ls -1 /sys/class/drm/card0-LVDS-1/
device
dpms
edid
enabled
modes
power
status
subsystem
uevent
cat /sys/class/drm/card0-LVDS-1/status
connected
cat /sys/class/drm/card0-LVDS-1/modes
1280x800
The controls are similar for the HDMI display but the modes file shows all the modes that the HDMI display support.
ls -1 /sys/class/drm/card0-HDMI-A-1/
device
dpms
edid
enabled
modes
power
status
subsystem
uevent
cat /sys/class/drm/card0-HDMI-A-1/status
connected
cat /sys/class/drm/card0-HDMI-A-1/modes
1920x1080
1920x1080
1920x1080
1920x1080
1920x1080
1920x1080
1680x1050
1600x900
1280x1024
1440x900
1366x768
1280x800
1280x720
1280x720
1280x720
1280x720
1024x768
800x600
800x600
720x576
720x576
720x480
720x480
720x480
720x480
720x480
640x480
640x480
640x480