Commit Graph

4 Commits

Author SHA1 Message Date
mariotesi
6876605ae0 stm-ldd-iio: remove MAY_WAKEUP from default config
the may wakeup functionality has been removed from the
driver and managed via device tree where supported by
the target, for this reason defining it in the sensor
default config is no longer necessary.

Signed-off-by: mariotesi <mario.tesi@st.com>
Change-Id: If4de48330aebb923453c67f61ad845236d9f0670
Reviewed-on: https://gerrit.st.com/c/linuxandroidopen/stm-ldd-iio/+/326363
Tested-by: CITOOLS <MDG-smet-aci-reviews@list.st.com>
Reviewed-by: Matteo DAMENO <matteo.dameno@st.com>
2023-11-15 23:09:08 +01:00
Mario Tesi
71b8b2da0c drivers:iio:stm:imu:st_asm330lhhx: Add support to MLC/FSM
ASM330LHHX device include Finite State Machine (FSM) and Machine
Learning Core (MLC) HW block features which can be programmed through
binary ucf files generated by the "Unico" STmicroelectronics tool.
Through this patch the possibility to exploit the new features with
the following characteristics:
  - Preload a test configuration for MLC / FSM during probe.
  - Dynamically upload a new configuration via firmware upload.
  - Individually enable and disable IIO devices generated by the ucf
    configuration.
  - Max number of contemporary MLC 8 and FSM 16 supported.
  - Configurable MLC/FSM interrupt pin.
  - Management of MLC and FSM events as IIO_ACTIVITY type including output
    register data and timestamp.
  - Possibility to dynamically flush a configuration.

Signed-off-by: Mario Tesi <mario.tesi@st.com>
Change-Id: I17ff5a9133e93a75774f4b193d50cd23706d1237
Reviewed-on: https://gerrit.st.com/c/linuxandroidopen/stm-ldd-iio/+/262550
Tested-by: CITOOLS <MDG-smet-aci-reviews@list.st.com>
Reviewed-by: Denis CIOCCA <denis.ciocca@st.com>
2022-08-30 19:33:25 +02:00
Mario Tesi
d5251c1ad2 drivers:iio:stm:imu:st_asm330lhhx: Enable temperature sensor
Enable internal temperature sensor by default.

Signed-off-by: Mario Tesi <mario.tesi@st.com>
Change-Id: Id5e1b40957a13db670074cd574070d91ed7f6c9d
Reviewed-on: https://gerrit.st.com/c/linuxandroidopen/stm-ldd-iio/+/261192
Tested-by: CITOOLS <MDG-smet-aci-reviews@list.st.com>
Reviewed-by: Denis CIOCCA <denis.ciocca@st.com>
2022-08-12 00:02:58 +02:00
Mario Tesi
c8055e7d00 drivers:iio:stm:imu:st_asm330lhhx: Starting support asm330lhhx STMEMS IMU
Renamed st_asm330lhh driver to st_asm330lhhx, in order to include all
asm330lhh IMU device sensor family.

Signed-off-by: Mario Tesi <mario.tesi@st.com>
Change-Id: I98355a2050269eac4576d3e0a2d6243284c37387
Reviewed-on: https://gerrit.st.com/c/linuxandroidopen/stm-ldd-iio/+/260376
Tested-by: CITOOLS <MDG-smet-aci-reviews@list.st.com>
Reviewed-by: Denis CIOCCA <denis.ciocca@st.com>
2022-07-19 19:43:46 +02:00