How to edit the addresses of SPI and GPIO in a kernel to make a touch panel work

mikel05

Member
Jul 9, 2019
5
0
1
Hi everyone.
I have a Japanese S6 Edge (404SC). Whenever I install a custom rom or kernel,the touchscreen wouldn’t work. I was told that the Japanese S6 has different addresses of SPI and GPIO in the kernel. So the thing is I must edit the addresses of the SPI and GPIO in the kernel to enable the touch panel driver to be configured properly and thus enable the touchscreen to work. I basically have no knowledge in that,TBH. So I want to kindly ask for your help in a friendly way on how to edit the addresses of the SPI and GPIO to the correct parameters in the kernel in order to make the touchscreen work in my phone whenever I flash a custom rom or kernel and rebuild the kernel.