I was trying to use one of the gpios on the tps659113 on our custom board. I noticed that the gpio functions use tps65910_clear_bits(), defined in linux drivers/mfd/tps65910.c. It has the line:
data &= mask;
Surely it should be:
data &= (~mask);
????
Dan -