]> www.infradead.org Git - users/willy/linux.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)
commitd1157530d476ffce4485182eea5b492065362a09
tree26ce18db1ac72e1e79e3d66d6e2b445f61133a51
parent4917e498c6894ba077867aff78f82cffd5ffbb5c
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