lkml.org 
[lkml]   [2019]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC 25/25] WIP: leds: tm1628: Prepare AiP1618 keys
Date
Extend definition with key input lines.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
drivers/leds/leds-tm1628.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/leds/leds-tm1628.c b/drivers/leds/leds-tm1628.c
index 2caf1e63fc90..e28809d9a700 100644
--- a/drivers/leds/leds-tm1628.c
+++ b/drivers/leds/leds-tm1628.c
@@ -699,6 +699,8 @@ static const struct tm1628_info aip1618_info = {
.seg_mask = GENMASK(14, 12) | GENMASK(5, 1),
.modes = aip1618_modes,
.default_mode = 3,
+ .k_mask = BIT(2),
+ .ks_mask = GENMASK(5, 1),
.pwm_map = tm1628_pwm_map,
.default_pwm = 0,
};
--
2.16.4
\
 
 \ /
  Last update: 2019-12-12 04:41    [W:0.157 / U:11.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site