This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TSC2007: How to switch pullup resistor

Part Number: TSC2007

Hi TI 

We are developing Android A11 with kernel 4.19

How could I switch PENIRQ pull-up resistor?

I tried several times but failed, with i2c clk 100kHz and 400kHz.

I think our i2c is normal because it could receive xy data from chip.

This is how I run the command for switch PENIRQ pull-up resistor:
err = i2c_smbus_write_byte(ts->client, 0xb1);

but kept return fail(-107).

Is there any sample code or  reference for it?

Thank you