commit | fdcf6bbb4ed388844e74810e117ac87db1347f3a | [log] [tgz] |
---|---|---|
author | Nuno Sá <nuno.sa@analog.com> | Mon Feb 10 15:26:02 2020 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Mar 08 17:28:30 2020 +0000 |
tree | d325639461e72f88afbf4d853c6320b3be00757c | |
parent | 3f17ada8f38c57b6c81d41db6d911932b280d5b5 [diff] |
iio: imu: adis: Add self_test_reg variable This patch adds a dedicated self_test_reg variable. This is also a step to let new drivers make use of `adis_initial_startup()`. Some devices use MSG_CTRL reg to request a self_test command while others use the GLOB_CMD register. Signed-off-by: Nuno Sá <nuno.sa@analog.com> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>