platform/chrome: cros_ec_dev - Register cros-ec sensors

Check whether the ChromeOS Embedded Controller is a sensor hub and in
such case issue a command to get the number of sensors and register them

Signed-off-by: Gwendal Grignou <>
Signed-off-by: Enric Balletbo i Serra <>
Reviewed-by: Guenter Roeck <>
Acked-by: Olof Johansson <>
Signed-off-by: Jonathan Cameron <>
2 files changed