[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240521-stk3311-v1-0-07a4966b355a@gmail.com>
Date: Tue, 21 May 2024 17:34:50 +0200
From: Barnabás Czémán <trabarni@...il.com>
To: Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>
Cc: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
Barnabás Czémán <trabarni@...il.com>
Subject: [PATCH 0/3] Add support for more stk3311 variant
This patch series remove probe failing when a compatible variant's chip id is not
defined in the driver like stk3311-a and make chip id additions easier.
It adds stk3311-a and stk3311-s34 chip ids.
I have tested stk3311-a in Xiaomi Redmi S2 (ysl) and Xiaom Redmi 5
(rosy),
it has 0x15 as chip id.
stk3311-s34 chip id comes from this thread it should be compatible with
this driver:
https://lore.kernel.org/linux-iio/20200703194406.110855-1-megous@megous.com/
Signed-off-by: Barnabás Czémán <trabarni@...il.com>
---
Barnabás Czémán (3):
iio: light: stk3310: relax failure to match id
iio: light: stk3310: make chip id check expandable
iio: light: stk3310: support more stk3311 variants
drivers/iio/light/stk3310.c | 31 ++++++++++++++++++++++++-------
1 file changed, 24 insertions(+), 7 deletions(-)
---
base-commit: 124cfbcd6d185d4f50be02d5f5afe61578916773
change-id: 20240521-stk3311-2ee6ddafb970
Best regards,
--
Barnabás Czémán <trabarni@...il.com>
Powered by blists - more mailing lists