RFT: nt36672a panel driver modernization and extensibility

This is request for testing on xiaomi-beryllium phone with Tianma panel.

To clarify, this MR does not have to be merged into sdm845-mainline kernel right now. This is pretty much a preview of what is going to be sent upstream in effort to support more panel variations for multiple xiaomi-sdm660 phones.

Relevant for sdm845 kernel are only first 3 commits. And maybe nvt-ts adjustment. Other commits adding other panel variants are just as an example to understand the whole concept. Please read individual commit messages for explanation and motivation.

I hope this makes testing a bit easier for @joelselvaraj ; in any case this will be sent upstream so you'll have to test anyway (or deal with consequences during next rebase, on linux-6.17 or 6.18, I'm not sure 😊 )

Expectation is that beryllium with Tianma panel contines to work with this as before, no changes.

P.S. I haven't even compile tested this on sdm845, but I surely did inour sdm660 kernel.

Edited by Alexey Min

Merge request reports

Loading