On Sat, 27 Jul 2024 00:23:30 +0530 Kaustabh Chakraborty <kauschluss@xxxxxxxxxxx> wrote: > STK3013 is a part manufactured by Sensortek which is marketed as a [1] > "Proximity Sensor". This part is available in several consumer mobile > devices, including, but not limited to, Samsung Galaxy J7 Prime and > Samsung Galaxy A2 Core. > > The existing ambient light sensor seemed suitable for this chip, and on > enabling the driver, it was discovered that these "Proximity Sensors" had > ambient light sensing capabilities as well. > > The downstream kernel driver shipped with this phone by Samsung [2] exposes > a sysfs interface for proximity sensing, but leaves out the light sensing > features, hence there's no such functionality in userspace. > > The following patch series aims to add support for STK3013 as an > ambient light/proximity sensor. > > [1] https://www.sensortek.com.tw/index.php/en/products/optical-sensor/ > [2] https://github.com/samsungexynos7870/android_kernel_samsung_exynos7870/blob/master/drivers/sensors/stk3013.c Series LGTM. I'll leave it on list for a few more days though for other review to come in. Thanks, Jonathan