Skip to content

Commit 8a15b4d

Browse files
akemnadelag-linaro
authored andcommitted
mfd: ntxec: Add version number for EC in Tolino Vision
The EC firmware has a different version number than anything defined until now. Signed-off-by: Andreas Kemnade <[email protected]> Signed-off-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 4d83bcb commit 8a15b4d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

drivers/mfd/ntxec.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ static int ntxec_probe(struct i2c_client *client)
175175
/* Bail out if we encounter an unknown firmware version */
176176
switch (version) {
177177
case NTXEC_VERSION_KOBO_AURA:
178+
case NTXEC_VERSION_TOLINO_VISION:
178179
subdevs = ntxec_subdev;
179180
n_subdevs = ARRAY_SIZE(ntxec_subdev);
180181
break;

include/linux/mfd/ntxec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ static inline u16 ntxec_reg8(u8 value)
3434
/* Known firmware versions */
3535
#define NTXEC_VERSION_KOBO_AURA 0xd726 /* found in Kobo Aura */
3636
#define NTXEC_VERSION_TOLINO_SHINE2 0xf110 /* found in Tolino Shine 2 HD */
37-
37+
#define NTXEC_VERSION_TOLINO_VISION 0xe135 /* found in Tolino Vision, contains RTC, ADC, PWM, home pad */
3838
#endif

0 commit comments

Comments
 (0)