@@ -97,12 +97,14 @@ enum {
CAP1106,
CAP1126,
CAP1188,
+ CAP1208,
};
static const struct cap11xx_hw_model cap11xx_devices[] = {
[CAP1106] = { .product_id = 0x55, .num_channels = 6, .num_leds = 0 },
[CAP1126] = { .product_id = 0x53, .num_channels = 6, .num_leds = 2 },
[CAP1188] = { .product_id = 0x50, .num_channels = 8, .num_leds = 8 },
+ [CAP1208] = { .product_id = 0x6b, .num_channels = 8, .num_leds = 0 },
};
static const struct reg_default cap11xx_reg_defaults[] = {
@@ -472,6 +474,7 @@ static int cap11xx_i2c_probe(struct i2c_client *i2c_client,
{ .compatible = "microchip,cap1106", },
{ .compatible = "microchip,cap1126", },
{ .compatible = "microchip,cap1188", },
+ { .compatible = "microchip,cap1208", },
{}
};
MODULE_DEVICE_TABLE(of, cap11xx_dt_ids);
@@ -480,6 +483,7 @@ static int cap11xx_i2c_probe(struct i2c_client *i2c_client,
{ "cap1106", CAP1106 },
{ "cap1126", CAP1126 },
{ "cap1188", CAP1188 },
+ { "cap1208", CAP1208 },
{}
};
MODULE_DEVICE_TABLE(i2c, cap11xx_i2c_ids);
Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be> --- drivers/input/keyboard/cap11xx.c | 4 ++++ 1 file changed, 4 insertions(+)