Changes

Jump to: navigation, search

DESK-MX6-L/Peripherals/HDMI

3,511 bytes added, 16:55, 8 October 2020
Created page with "<section begin=History/> {| style="border-collapse:collapse; " !colspan="4" style="width:100%; text-align:left"; border-bottom:solid 2px #ededed"|History |- !style="border-le..."
<section begin=History/>
{| style="border-collapse:collapse; "
!colspan="4" style="width:100%; text-align:left"; border-bottom:solid 2px #ededed"|History
|-
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Version
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Issue Date
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Notes
|-
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|1.0.0
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|Oct 2020
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|First DESK release
|-
|-
|}
<section end=History/>
<section begin=Body/>

==Peripheral HDMI ==

=== Device tree configuration ===
Here below an example of device tree configuration used on standard DAVE's kit for the AXELLite SOM:

From <code>imx6qdl-sbcx-revb-common.dtsi</code>:

<pre>
hdmi_edid: edid@50 {
compatible = "fsl,imx6-hdmi-i2c";
reg = <0x50>;
};
</pre>

From <code>imx6qdl-axelcommon.dtsi</code>:

<pre>
&hdmi_cec {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hdmi_cec_2>;
status = "okay";
};

&hdmi_core {
ipu_id = <0>;
disp_id = <0>;
status = "okay";
};

&hdmi_video {
fsl,phy_reg_vlev = <0x0294>;
fsl,phy_reg_cksymtx = <0x800d>;
status = "okay";
};

&iomuxc {
...
...
hdmi_cec {
pinctrl_hdmi_cec_2: hdmicecgrp-2 {
fsl,pins = <
MX6QDL_PAD_KEY_ROW2__HDMI_TX_CEC_LINE 0x1f8b0
>;
};
};
...
...
};
</pre>

===Accessing the peripheral===

For enabling the HDMI device, it is required to instantiate its framebuffer with the related configuration, for example, with a ''1920x1080p60'' display:

<pre>
&mxcfb3 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "hdmi";
interface_pix_fmt = "RGB24";
mode_str ="1920x1080M@60";
default_bpp = <32>;
status = "okay";
}
</pre>

====Linux messages at boot time====

<pre class="workstation-terminal">
...
...
[ 2.358974] 20e0000.hdmi_video supply HDMI not found, using dummy regulator
...
...
[ 2.818470] mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0x1a:0xa0:0xc1
...
...
[ 2.831348] mxc_sdc_fb fb@2: registered mxc display driver hdmi...
</pre>

=== Additional information ===
HDMI framebuffer can be accessed through the standard <code>/dev/fbX</code> ''fb'' device.

The configured framebuffer can be checked using standard <code>fbset</code> utility:

<pre class="workstation-terminal">
root@imx6qxelk:~# fbset -fb /dev/fb2

mode "1920x1080-60"
# D: 148.500 MHz, H: 67.500 kHz, V: 60.000 Hz
geometry 1920 1080 1920 1080 32
timings 6734 148 88 36 4 44 5
hsync high
vsync high
rgba 8/16,8/8,8/0,8/24
endmode

root@imx6qxelk:~#
</pre>

----

[[Category:AXEL Lite]]
8,256
edits

Navigation menu