SC20 | Integrating GT911 touch

Hi All,
I’m trying to integrate GT911 TP to SC20.
and I’m getting ARB _LOST in i2c i don’t know why .
please help me to sort out the issue.

3.659813] Goodix-TS 5-005d: +++++++++++++++++for debug++++++++++
[ 3.659881] Goodix-TS 5-005d: ++++power gpio [944]!
[ 3.659890] Goodix-TS 5-005d: ++++IO power_en gpio [923]successfully
[ 3.659925] Goodix-TS 5-005d: Regulator get failed avdd ret=-19
[ 3.659935] Goodix-TS 5-005d: Regulator get failed vdd ret=-19
[ 3.660411] Goodix-TS 5-005d: ++++set sleep power_gpio on
[ 3.660771] Goodix-TS 5-005d: Can not lookup pmx_ts_release pinstate -19
[ 3.797508] i2c-msm-v2 78b9000.i2c: msm_bus_scale_register_client(mstr-id:86):0x8 (ok)
[ 3.842175] i2c-msm-v2 78b9000.i2c: ARB_LOST: msgs(n:1 cur:0 tx) bc(rx:0 tx:4) mode:FIFO slv_addr:0x5d MSTR_STS:0x081321d0 OPER:0x00000090
[ 3.868847] i2c-msm-v2 78b9000.i2c: ARB_LOST: msgs(n:1 cur:0 tx) bc(rx:0 tx:4) mode:FIFO slv_addr:0x5d MSTR_STS:0x081321d0 OPER:0x00000090
[ 3.891717] i2c-msm-v2 78b9000.i2c: ARB_LOST: msgs(n:1 cur:0 tx) bc(rx:0 tx:4) mode:FIFO slv_addr:0x5d MSTR_STS:0x081321d0 OPER:0x00000090
[ 3.916733] i2c-msm-v2 78b9000.i2c: ARB_LOST: msgs(n:1 cur:0 tx) bc(rx:0 tx:4) mode:FIFO slv_addr:0x5d MSTR_STS:0x081321d0 OPER:0x00000090
[ 3.936997] i2c-msm-v2 78b9000.i2c: ARB_LOST: msgs(n:1 cur:0 tx) bc(rx:0 tx:4) mode:FIFO slv_addr:0x5d MSTR_STS:0x081321d0 OPER:0x00000090
[ 3.948424] Goodix-TS 5-005d: init external watchdog failed!
[ 3.962812] i2c-msm-v2 78b9000.i2c: ARB_LOST: msgs(n:2 cur:0 tx) bc(rx:1 tx:2) mode:FIFO slv_addr:0x5d MSTR_STS:0x081321d0 OPER:0x00000010
[ 3.974241] Goodix-TS 5-005d: I2C retry: 1
[ 3.990489] i2c-msm-v2 78b9000.i2c: ARB_LOST: msgs(n:2 cur:0 tx) bc(rx:1 tx:2) mode:FIFO slv_addr:0x5d MSTR_STS:0x081321d0 OPER:0x00000010
[ 4.001918] Goodix-TS 5-005d: I2C retry: 2
[ 4.020626] i2c-msm-v2 78b9000.i2c: ARB_LOST: msgs(n:2 cur:0 tx) bc(rx:1 tx:2) mode:FIFO slv_addr:0x5d MSTR_STS:0x081321d0 OPER:0x00000010
[ 4.032055] Goodix-TS 5-005d: I2C retry: 3
[ 4.045156] i2c-msm-v2 78b9000.i2c: ARB_LOST: msgs(n:2 cur:0 tx) bc(rx:1 tx:2) mode:FIFO slv_addr:0x5d MSTR_STS:0x081321d0 OPER:0x00000010
[ 4.056584] Goodix-TS 5-005d: I2C retry: 4
[ 4.068997] i2c-msm-v2 78b9000.i2c: ARB_LOST: msgs(n:2 cur:0 tx) bc(rx:1 tx:2) mode:FIFO slv_addr:0x5d MSTR_STS:0x081321d0 OPER:0x00000010
[ 4.080429] Goodix-TS 5-005d: I2C retry: 5

hi richuci:
we have iintegrated GT911, you don’t need to modify anything.
if you hardware is reference to our doc, the touchupanel will work properly.

If you don’t mind you can send this file to me.
kernel/arch/arm/boot/dts/qcom/msm8909-mtp.dtsi

power-gpios = <&msm_gpio 33 0x0>;
You have modified the power-gpio. Quectel use gpio23. So please check your hardware design.

Hi jax,
We are using gpio33.so modified.

Befor you replaced the config data, did the touchpanel can work properly?
You test the touchpanel on Quectel’s EVB or your device?
If on your device, can you send me the hardware design.

Can you send me complete bootup log.
if you use original config, Whether the touchpanel can work properly?

Asked display vendor about the issue and tp uses 2.8V or 3.3V logic level.And we designed it for 1.8V so we level converted pins to 2.8V using wires.
now the timeout error has been gone but i2c is showing noisy bus error .Since wired the i2c communication distance has been increased.Can it cause that error?

i2c-msm-v2 78b9000.i2c: msm_bus_scale_register_client(mstr-id:86):0x8 (ok)
[ 3.827973] i2c-msm-v2 78b9000.i2c: BUS ERROR:noisy bus/unexpected start/stop tag: msgs(n:1 cur:0 tx) bc(rx:0 tx:4) mode:FIFO slv_addr:0x5d MSTR_STS:0x041121c4 OPER:0x00000080
[ 3.867629] i2c-msm-v2 78b9000.i2c: error timeout on polling for valid state. check core_clk
[ 3.875164] i2c-msm-v2 78b9000.i2c: BUS ERROR:noisy bus/unexpected start/stop tag: msgs(n:1 cur:0 tx) bc(rx:0 tx:4) mode:FIFO slv_addr:0x5d MSTR_STS:0x041121c4 OPER:0x00000080

hi richucj:
this is a normal log. you don’t need care this.
if the issue caused by voltage, why the touchpanel can work properly befor you update config data?

hi jax,
issue has been solved it was because of logic level issue.
thanks for the support…

Hi jax,
how can i change the screen orientation?
to rotate 180 degree…

hi rihucj:
I will colse this issue, if you have other issue, please create a new topic.

1 Like