mfd: cros_ec: Instantiate properly CrOS ISH MCU device
authorRushikesh S Kadam <rushikesh.s.kadam@intel.com>
Fri, 1 Mar 2019 08:20:54 +0000 (13:50 +0530)
committerLee Jones <lee.jones@linaro.org>
Tue, 14 May 2019 07:13:26 +0000 (08:13 +0100)
commitd4cee9509e508df34d1dbfad6b42e5bf907d20fd
treed84cffc2ca0c11de30f46eee8256acb5c7c07eab
parent730080a758fdc44fbfc214dd004553ef13d5b89b
mfd: cros_ec: Instantiate properly CrOS ISH MCU device

Integrated Sensor Hub (ISH) is also a MCU running EC
having feature bit EC_FEATURE_ISH. Instantiate it as
a special CrOS EC device with device name 'cros_ish'.

Signed-off-by: Rushikesh S Kadam <rushikesh.s.kadam@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Acked-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/cros_ec_dev.c
include/linux/mfd/cros_ec.h
include/linux/mfd/cros_ec_commands.h