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'.
Showing the changes to include/linux (2 of 3 files). Show all
Unified · Split
| @@ -24,6 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | |
| 25 | 25 | #define CROS_EC_DEV_NAME "cros_ec" |
| 26 | 26 | #define CROS_EC_DEV_PD_NAME "cros_pd" |
| 27 | +#define CROS_EC_DEV_ISH_NAME "cros_ish" | |
| 27 | 28 | |
| 28 | 29 | /* |
| 29 | 30 | * The EC is unresponsive for a time after a reboot command. Add a |
| @@ -856,6 +856,8 @@ enum ec_feature_code { · 855 unmodified lines | ||
| 856 | 856 | EC_FEATURE_RTC = 27, |
| 857 | 857 | /* EC supports CEC commands */ |
| 858 | 858 | EC_FEATURE_CEC = 35, |
| 859 | + /* The MCU is an Integrated Sensor Hub */ | |
| 860 | + EC_FEATURE_ISH = 40, | |
| 859 | 861 | }; |
| 860 | 862 | |
| 861 | 863 | #define EC_FEATURE_MASK_0(event_code) (1UL << (event_code % 32)) |