AnsweredAssumed Answered

mx6ul platform sii902x hdmi

Question asked by bingking 88 on Dec 3, 2015
Latest reply on Dec 3, 2015 by bingking 88

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!

Outcomes