Hi All,
I am using a custom board with IMX6q. I am trying to enable an analog output using ADV7391.
I am using Yocto and my kernel is patched with the patchs from this thread I also followed the
instruction detailed there:
https://community.nxp.com/docs/DOC-94019
The only difference is that I am using IPU1_DISP1 and not IPU1_DISP0
and I patched the dtsi accordingly
+ adv7393: adv7393@2a{
+ compatible = "adi,adv7393";
+ reg = <0x2a>;
+ ipu_id = <0>;
+ disp_id = <1>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_hummingboard2_ipu1_adv7393>;
+ };
+ pinctrl_hummingboard2_ipu1_adv7393: hummingboard2_ipu1_adv7393 {
+ fsl,pins = <
+ MX6QDL_PAD_EIM_A16__IPU1_DI1_DISP_CLK 0x10
+ /* DE */
+ MX6QDL_PAD_EIM_DA10__IPU1_DI1_PIN15 0x10
+ /* HSync */
+ MX6QDL_PAD_EIM_DA11__IPU1_DI1_PIN02 0x10
+ /* VSync */
+ MX6QDL_PAD_EIM_DA12__IPU1_DI1_PIN03 0x10
+ MX6QDL_PAD_EIM_A21__IPU1_DISP1_DATA16 0x10
+ MX6QDL_PAD_EIM_A22__IPU1_DISP1_DATA17 0x10
+ MX6QDL_PAD_EIM_A23__IPU1_DISP1_DATA18 0x10
+ MX6QDL_PAD_EIM_A24__IPU1_DISP1_DATA19 0x10
+ MX6QDL_PAD_EIM_D31__IPU1_DISP1_DATA20 0x10
+ MX6QDL_PAD_EIM_D30__IPU1_DISP1_DATA21 0x10
+ MX6QDL_PAD_EIM_D26__IPU1_DISP1_DATA22 0x10
+ MX6QDL_PAD_EIM_D27__IPU1_DISP1_DATA23 0x10
+ >;
+ };
+
I tried a number of configuration but all I managed to get is an odd vertical scrolling. I Cant see any picture on this display even when using the fb directly.
My question is if anyone tried to get an output from IPU1_DISP1? All other examples I saw always used IPU1_DISP0
my IMX6 SoM doesn't expose the IPU1_DISP0 pins. And I can see that IPU1_DISP1 doesn't reach the iomux like all other displays.
Any Help will be much appreciated !
Thanks,
Eyal
since you use ipu1 di1, why did you use ipu_id=0 in the source code?
+ adv7393: adv7393@2a{
+ compatible = "adi,adv7393";
+ reg = <0x2a>;
+ ipu_id = <0>;
+ disp_id = <1>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_hummingboard2_ipu1_adv7393>;
+ };