]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: ntxec: Support for EC in Tolino Shine 2 HD
authorAndreas Kemnade <andreas@kemnade.info>
Mon, 15 Mar 2021 19:18:32 +0000 (20:18 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 14 Apr 2021 15:06:29 +0000 (16:06 +0100)
commite8aca98499104e30ef574370b531ee2614b57acb
tree26ce18db1ac72e1e79e3d66d6e2b445f61133a51
parent7fc0ffd738f528cb689c6eb5c4dca6accad0537b
mfd: ntxec: Support for EC in Tolino Shine 2 HD

Add the version of the EC in the Tolino Shine 2 HD
to the supported versions. It seems not to have an RTC
and does not ack data written to it.
The vendor kernel happily ignores write errors, using
I2C via userspace i2c-set also shows the error.
So add a quirk to ignore that error.

PWM can be successfully configured despite of that error.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ntxec.c
include/linux/mfd/ntxec.h