diff options
author | Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com> | 2021-08-11 22:48:16 +0200 |
---|---|---|
committer | Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com> | 2021-10-06 12:04:18 +0300 |
commit | 34924f5a91df68134a5b5fb04cce05f08da06199 (patch) | |
tree | 9aa2e46d41d9edc07799f552ac67a7ad5349aae6 /binding/iiodevices-binding.c | |
parent | 537e8fb05c31fab3ab447f0a4e222b1091245a1a (diff) |
Add SCMI IIO accelerometer and gyroscope.
ARM System Control and Management Interface [1] provides sensor protocol
which can implement various sensors. In particular, using virtio
transport for SCMI one can provide virtual sensors.
For now add sensors which can be backed by physical one on AGL Reference
Hardware board.
[1]: https://developer.arm.com/architectures/system-architectures/software-standards/scmi
Bug-AGL: SPEC-3865
Signed-off-by: Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com>
Change-Id: I932101dd057eb305338459930a243fb1749496de
Diffstat (limited to 'binding/iiodevices-binding.c')
-rw-r--r-- | binding/iiodevices-binding.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/binding/iiodevices-binding.c b/binding/iiodevices-binding.c index f39ec6d..d4d4ba8 100644 --- a/binding/iiodevices-binding.c +++ b/binding/iiodevices-binding.c @@ -79,6 +79,8 @@ static struct iio_info iio_infos[] = { { "16-006b", "compass", "magn"}, { "asm330lhh_accel", "acceleration", "accel"}, { "asm330lhh_gyro", "gyroscope", "anglvel"}, + { "scmi.iio.accel", "acceleration", "accel"}, + { "scmi.iio.gyro", "gyroscope", "anglvel"}, }; /*get event by afb_event_t*/ |