{ .name = "cros-ec-wdt", }
};
++static const struct mfd_cell cros_ec_led_cells[] = {
++ { .name = "cros-ec-led", },
++};
++
++ static const struct mfd_cell cros_ec_keyboard_leds_cells[] = {
++ { .name = "cros-keyboard-leds", },
++ };
++
static const struct cros_feature_to_cells cros_subdevices[] = {
{
.id = EC_FEATURE_CEC,
.mfd_cells = cros_ec_wdt_cells,
.num_cells = ARRAY_SIZE(cros_ec_wdt_cells),
},
++ {
++ .id = EC_FEATURE_LED,
++ .mfd_cells = cros_ec_led_cells,
++ .num_cells = ARRAY_SIZE(cros_ec_led_cells),
++ },
++ {
++ .id = EC_FEATURE_PWM_KEYB,
++ .mfd_cells = cros_ec_keyboard_leds_cells,
++ .num_cells = ARRAY_SIZE(cros_ec_keyboard_leds_cells),
++ },
};
static const struct mfd_cell cros_ec_platform_cells[] = {
#define LED_BRIGHT_HW_CHANGED BIT(21)
#define LED_RETAIN_AT_SHUTDOWN BIT(22)
#define LED_INIT_DEFAULT_TRIGGER BIT(23)
- #define LED_MULTI_COLOR BIT(24)
++ #define LED_REJECT_NAME_CONFLICT BIT(24)
+++#define LED_MULTI_COLOR BIT(25)
/* set_brightness_work / blink_timer flags, atomic, private. */
unsigned long work_flags;