Message ID | 20240521-stk3311-v1-0-07a4966b355a@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | Add support for more stk3311 variant | expand |
On Tue, 21 May 2024 17:34:50 +0200 Barnabás Czémán <trabarni@gmail.com> wrote: > 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@gmail.com> Nice small and well presented series. Thanks! Applied to the togreg branch of iio.git. Note I'll rebase that on rc1 in a day or two and it will initially just be pushed out a testing for 0-day to see if it can find anythign we missed. Thanks, Jonathan > --- > 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,
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@gmail.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,