Hi fsl
in imx6ul-14x14-ddr3-arm2.dts
sii902x config:
sii902x_reset: sii902x-reset {
compatible = "gpio-reset";
reset-gpios = <&gpio1 23 0>;
reset-delay-us = <2000000>;
#reset-cells = <0>;
};
&i2c2 {
clock_frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c2>;
status = "okay";
sii902x@39 {
compatible = "SiI,sii902x";
reg = <0x39>;
interrupt-parent = <&gpio1>;
interrupts = <18 2>;
mode_str ="1024x768M@60";
bits-per-pixel = <16>;
resets = <&sii902x_reset>;
};
};
i2c pin config:
pinctrl_i2c1: i2c1grp {
fsl,pins = <
MX6UL_PAD_GPIO1_IO03__I2C1_SDA 0x4001b8b1
MX6UL_PAD_GPIO1_IO02__I2C1_SCL 0x4001b8b1
>;
};
pinctrl_i2c2: i2c2grp {
fsl,pins = <
MX6UL_PAD_CSI_HSYNC__I2C2_SCL 0x4001b8b0
MX6UL_PAD_CSI_VSYNC__I2C2_SDA 0x4001b8b0
>;
};
system log print:
sii902x 1-0039: Sii902x: cound not find device
the drivers/video/mxc/mxsfb_sii902x.c
/* Set 902x in hardware TPI mode on and jump out of D3 state */
if (i2c_smbus_write_byte_data(sii902x.client, 0xc7, 0x00) < 0) {
dev_err(&sii902x.client->dev,
" Sii902x: cound not find device\n");
return -ENODEV;
}
hardware test power supply reset were normal
can you give some advice
tks!
Hi bingking
please refer to attached i.MX 6UltraLite EVK Board Hardware
User’s Guide sect.2.21 HDMI display connector (J1001) how to
use hdmi.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
hello igorpadykov
the board is our custom made ,chip has welding, signals test are normal !
i2c test is ok
but if (i2c_smbus_write_byte_data(sii902x.client, 0xc7, 0x00) < 0) error!
whether in the public version of the transplanted over sii902x code?
thank you very much!
based on error: Sii902x: cound not find device\n"
seems device is not found, you can check i2c signals with oscilloscope
~igor
hardware signals no problem,Can not determine whether the software config OK
the above dts config
tks!