Hi yi
for using hdmi please follow i.MX6Q Sabre SD schematic:
Schematics (1)
Design files, including hardware schematics, Gerbers, and OrCAD files.
SABRE Platform for Smart Devices|NXP
and use software on below link:
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
when set the kernel command line:
1.video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 video=mxcfb1:dev=ldb,bpp=32,if=RGB24,fbpix=RGB32 video=mxcfb2:off
hdmi is output,but lvds is disabled
2.video=mxcfb0:dev=ldb,bpp=32,if=RGB24,fbpix=RGB32 video=mxcfb1:dev=hdmi,1920x1080M@60,bpp=32,if=RGB24,
lvds is output, but hdmi is disabled
now, in my project, we hope lvds and hdmi is also output to the same image, how to config?
please try with Demo Images from
dual lcds usage is described in p.26 "Specifying displays" i.MX_Linux_User's_Guide.pdf
included in
Best regards
igor
I used LVDS + HDMI for display,
the kernel CMD is :Kernel command line: console=ttymxc3,115200 init=/init video=mxcfb0:dev=ldb,bpp=32,if=RGB24,fbpix=RGB32 video=mxcfb1:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb2:off vmalloc=400M androidboot.console=ttymxc3 consoleblank=0 androidboot.hardware=freescale cma=448M androidboot.selinux=permissive androidboot.dm_verity=disabled loglevel=8 buildvariant=eng
lcd_manufac = desaysv
I'm not sure if HDMI CLK has output,please check my DTS, thank you!
arch/arm/boot/dts/imx6qdl.dtsi:
hdmi_core: hdmi_core@00120000 {
compatible = "fsl,imx6q-hdmi-core";
reg = <0x00120000 0x9000>;
clocks = <&clks IMX6QDL_CLK_HDMI_ISFR>,
<&clks IMX6QDL_CLK_HDMI_IAHB>,
<&clks IMX6QDL_CLK_HSI_TX>;
clock-names = "hdmi_isfr", "hdmi_iahb", "mipi_core";
status = "disabled";
};
hdmi_video: hdmi_video@020e0000 {
compatible = "fsl,imx6q-hdmi-video";
reg = <0x020e0000 0x1000>;
reg-names = "hdmi_gpr";
interrupts = <0 115 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX6QDL_CLK_HDMI_ISFR>,
<&clks IMX6QDL_CLK_HDMI_IAHB>,
<&clks IMX6QDL_CLK_HSI_TX>;
clock-names = "hdmi_isfr", "hdmi_iahb", "mipi_core";
status = "disabled";
};
hdmi_audio: hdmi_audio@00120000 {
compatible = "fsl,imx6q-hdmi-audio";
clocks = <&clks IMX6QDL_CLK_HDMI_ISFR>,
<&clks IMX6QDL_CLK_HDMI_IAHB>,
<&clks IMX6QDL_CLK_HSI_TX>;
clock-names = "hdmi_isfr", "hdmi_iahb", "mipi_core";
dmas = <&sdma 2 25 0>;
dma-names = "tx";
status = "disabled";
};
hdmi_cec: hdmi_cec@00120000 {
compatible = "fsl,imx6q-hdmi-cec";
interrupts = <0 115 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};
arch/arm/boot/dts/imx6qdl-sabresd.dtsi:
aliases {
mxcfb0 = &mxcfb1;
mxcfb1 = &mxcfb2;
};
mxcfb1: fb@0 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "ldb";
interface_pix_fmt = "RGB666";
default_bpp = <16>;
int_clk = <0>;
late_init = <0>;
status = "okay";
};
mxcfb2: fb@1 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "hdmi";
interface_pix_fmt = "RGB24";
mode_str ="1920x1080M@60";
default_bpp = <24>;
int_clk = <0>;
late_init = <0>;
status = "okay";
};
&hdmi_cec {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hdmi_cec>;
status = "okay";
};
&hdmi_core {
ipu_id = <0>;
disp_id = <0>;
status = "okay";
};
&hdmi_video {
fsl,phy_reg_vlev = <0x0294>;
fsl,phy_reg_cksymtx = <0x800d>;
HDMI-supply = <®_hdmi>;
status = "okay";
};
hdmi: edid@50 {
compatible = "fsl,imx6-hdmi-i2c";
reg = <0x50>;
};
pinctrl_hdmi_cec: hdmicecgrp {
fsl,pins = <
MX6QDL_PAD_KEY_ROW2__HDMI_TX_CEC_LINE 0x108b0
>;
};
pinctrl_hdmi_hdcp: hdmihdcpgrp {
fsl,pins = <
MX6QDL_PAD_KEY_COL3__HDMI_TX_DDC_SCL 0x4001b8b1
MX6QDL_PAD_KEY_ROW3__HDMI_TX_DDC_SDA 0x4001b8b1
>;
};
Please help check the above DTS configuration,thank you!