A number of recent AMD Ryzen laptops use an ARM based I2C controller called "MP2" for which no driver is in mainline yet. This typically controls functions like touchpads or touchscreens. The most recent version (v10 at the time of writing) was posted to the linux-i2c mailing list can be found at this bug report's URL field. I tested this driver to apply against and work with gentoo-sources-4.19.2. Please consider adding this driver to gentoo-sources.
ok thanks you
Hi, Chí-Thanh, This driver is still being discussed[1] on the upstream mailing list with the latest version posted a week ago with no response as of this comment writing. I'd be happier if we added this to genpatches under the 'experimental' use flag. Is that acceptable to you? [1] https://lkml.org/lkml/2018/11/14/748
I think there is not really a risk here as the driver defaults to N, and even if built, will only initialize on laptops that have an AMD MP2 I2C controller. Those systems will not work properly without the driver anyway. Note that Ubuntu already ships an older version of this patch, enabled by default for all users.
v15 of the driver has been accepted for merging in the upcoming 4.22 merge window. https://www.spinics.net/lists/linux-i2c/msg38330.html https://www.spinics.net/lists/linux-i2c/msg38332.html
After some delay in mainlining for extra discussion, i2c_amd_mp2 is now merged in i2c-next for kernel 5.2 release. https://www.spinics.net/lists/linux-i2c/msg39682.html
Chithanh, Can you find me the patch set here ? https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git/ I looked in i2c/for-next, as indicated, but I can't find the series. https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git/log/?h=i2c/for-next Am I looking in the wrong repo ?
It is here: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git/commit/?h=i2c/for-next&id=529766e0a0114438887382a68d97341fbf8349fb
sys-kernel/gentoo-sources-5.2.0 is now in tree with mainline i2c_amd_mp2, no point in adding this to older kernels now
Is there any plan for upstream to backport it? Or are you happy that it WORKSFORME ?! :)