aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com>2021-08-11 22:48:16 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2021-11-03 14:28:10 +0000
commit0972d75a487820e3c68e63819a9b7d9bcd7ddb0b (patch)
tree09bd5687199f0a873701e2f32bfdf88c2ac7631b
parentddd5a7a1b868659f653db5d28840321c2aaf8d44 (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 (cherry picked from commit 34924f5a91df68134a5b5fb04cce05f08da06199)
-rw-r--r--binding/iiodevices-binding.c2
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*/