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?